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,14 @@
diff --git a/configure.ac b/configure.ac
index cac74f1..a6bc935 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,6 +9,9 @@ AM_INIT_AUTOMAKE([subdir-objects])
AM_SILENT_RULES([yes])
AC_GNU_SOURCE
+AM_GNU_GETTEXT_VERSION([0.25])
+AM_GNU_GETTEXT([external])
+
# Checks for programs.
AC_PROG_CC_C99
# Required by automake < 1.14

View File

@@ -0,0 +1,60 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchurl,
autoreconfHook,
gettext,
libev,
pcre2,
pkg-config,
udns,
}:
stdenv.mkDerivation rec {
pname = "sniproxy";
version = "0.6.1";
src = fetchFromGitHub {
owner = "dlundquist";
repo = "sniproxy";
rev = version;
sha256 = "sha256-htM9CrzaGnn1dnsWQ+0V6N65Og7rsFob3BlSc4UGfFU=";
};
patches = [
./gettext-0.25.patch
(fetchurl {
name = "compat-pcre2.patch";
# Using Arch Linux patch because the following upstream patches do not apply cleanly:
# https://github.com/dlundquist/sniproxy/commit/62e621f050f79eb78598b1296a089ef88a19ea91
# https://github.com/dlundquist/sniproxy/commit/7fdd86c054a21f7ac62343010de20f28645b14d2
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/sniproxy/-/raw/3272f9f0d406c51122f90708bfcc7b4ba0eb38c9/sniproxy-0.6.1-pcre2.patch?inline=false";
hash = "sha256-v6qdBAWXit0Zg43OsgzCTb4cSPm7gsEXVd7W8LvBgMk=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
gettext
libev
pcre2
udns
];
meta = with lib; {
homepage = "https://github.com/dlundquist/sniproxy";
description = "Transparent TLS and HTTP layer 4 proxy with SNI support";
license = licenses.bsd2;
maintainers = with maintainers; [
womfoo
raitobezarius
];
platforms = platforms.linux;
mainProgram = "sniproxy";
};
}