push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 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,32 @@
{
lib,
stdenv,
fetchurl,
libxcrypt,
}:
stdenv.mkDerivation rec {
pname = "srelay";
version = "0.4.8";
src = fetchurl {
url = "mirror://sourceforge/project/socks-relay/socks-relay/srelay-${version}/srelay-${version}.tar.gz";
sha256 = "1sn6005aqyfvrlkm5445cyyaj6h6wfyskfncfmds55x34hfyxpvl";
};
patches = [ ./arm.patch ];
buildInputs = [ libxcrypt ];
installPhase = "install -D srelay $out/bin/srelay";
meta = {
description = "SOCKS proxy and relay";
homepage = "http://socks-relay.sourceforge.net/";
platforms = lib.platforms.unix;
license = lib.licenses.bsd3;
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
mainProgram = "srelay";
};
}