1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

srelay: init at 0.4.8b6 (#16833)

This commit is contained in:
Jookia 2016-07-11 11:41:02 +10:00 committed by Franz Pletz
parent f57fe6c2f9
commit ba2232f1f2
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -ru srelay-0.4.8b4.orig/configure srelay-0.4.8b4/configure
--- srelay-0.4.8b4.orig/configure 2010-12-21 01:11:14.000000000 +1100
+++ srelay-0.4.8b4/configure 2016-06-22 09:03:42.250000345 +1000
@@ -1875,7 +1875,7 @@
;;
linux*)
case "$host_cpu" in
- i*86|mips*|powerpc*|sparc*|x86_64*)
+ i*86|mips*|powerpc*|sparc*|x86_64*|arm*)
OS=LINUX
cat >>confdefs.h <<\_ACEOF
#define LINUX 1

View file

@ -0,0 +1,21 @@
{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
name = "srelay-0.4.8b6";
src = fetchurl {
url = "https://sourceforge.net/projects/socks-relay/files/socks-relay/srelay-0.4.8/srelay-0.4.8b6.tar.gz";
sha256 = "1az9ds10hpmpw6bqk7fcd1w70001kz0mm48v3vgg2z6vrbmgn0qj";
};
patches = [ ./arm.patch ];
installPhase = "install -D srelay $out/bin/srelay";
meta = {
description = "A SOCKS proxy and relay";
homepage = http://socks-relay.sourceforge.net/;
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.bsd3;
};
}

View file

@ -5996,6 +5996,8 @@ in
srecord = callPackage ../development/tools/misc/srecord { };
srelay = callPackage ../tools/networking/srelay { };
xidel = callPackage ../tools/text/xidel { };