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,30 @@
{
lib,
stdenv,
fetchurl,
pcre2,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "leafnode";
version = "1.12.0";
src = fetchurl {
url = "mirror://sourceforge/project/leafnode/leafnode/${finalAttrs.version}/leafnode-${finalAttrs.version}.tar.gz";
sha256 = "sha256-tGfOcyH2F6IeglfY00u199eKusnn6HeqD7or3Oz3ed4=";
};
configureFlags = [
"--with-ipv6"
];
buildInputs = [ pcre2 ];
meta = {
homepage = "https://leafnode.sourceforge.io/index.shtml";
description = "Implementation of a store & forward NNTP proxy, stable release";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = [ ];
};
})

View File

@@ -0,0 +1,48 @@
{
lib,
stdenv,
fetchurl,
pcre,
libxcrypt,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "leafnode";
version = "2.0.0.alpha20140727b";
src = fetchurl {
url = "http://krusty.dt.e-technik.tu-dortmund.de/~ma/leafnode/beta/leafnode-${finalAttrs.version}.tar.bz2";
sha256 = "sha256-NOuiy7uHG3JMjV3UAtHDWK6yG6QmvrVljhVe0NdGEHU=";
};
configureFlags = [ "--enable-runas-user=nobody" ];
prePatch = ''
substituteInPlace Makefile.in --replace 02770 0770
'';
# configure uses id to check environment; we don't want this check
preConfigure = ''
sed -re 's/^ID[=].*/ID="echo whatever"/' -i configure
'';
# The is_validfqdn is far too restrictive, and only allows
# Internet-facing servers to run. In order to run leafnode via
# localhost only, we need to disable this check.
postConfigure = ''
sed -i validatefqdn.c -e 's/int is_validfqdn(const char \*f) {/int is_validfqdn(const char *f) { return 1;/;'
'';
buildInputs = [
pcre
libxcrypt
];
meta = {
homepage = "https://leafnode.sourceforge.io/index.shtml";
description = "Implementation of a store & forward NNTP proxy, under development";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = [ ];
};
})