mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
leafnode: drop
Drop leafnode package as part of #356387,migrating from the end-of-life PCRE to PCRE2. `leafnode` uses an 2014 alpha version of leafnode 2, which does not appear to have been developed further since then. Leafnode 1 still receives updates and available through the `leafnode1` package providing a possible alternative.
This commit is contained in:
@@ -99,6 +99,8 @@
|
||||
|
||||
- `buildFHSEnvChroot` has been removed after deprecation in 23.05.
|
||||
|
||||
- `leafnode` has been removed, as it was an unmaintained alpha-release of leafnode 2 and has a dependency on the EOL PRCE-library. Consider using `leafnode1` instead, which is still maintained.
|
||||
|
||||
- `gh-actions-cache` has been removed since its functionality has been integrated directly into `gh` (`gh cache`). See [upstream readme](https://github.com/actions/gh-actions-cache).
|
||||
|
||||
- `requireFile` now sets `meta.license = lib.licenses.unfree` by default. Users of `requireFile`-based derivations that preserve this default will need to explicitly allow their evaluation as described in [](#sec-allow-unfree).
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
{
|
||||
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 = [ ];
|
||||
};
|
||||
})
|
||||
@@ -1196,6 +1196,7 @@ mapAliases {
|
||||
layan-kde = throw "'layan-kde' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20
|
||||
lazarus-qt = throw "'lazarus-qt' has been renamed to/replaced by 'lazarus-qt5'"; # Converted to throw 2025-10-27
|
||||
leaf = throw "'leaf' has been removed as it is unmaintained. Consider using 'fastfetch' instead"; # Added 2026-04-24
|
||||
leafnode = throw "'leafnode' has been removed as it is unmaintained and depends on EOL library PCRE. Consider using leafnode1 instead"; # Added 2026-07-30
|
||||
ledger-agent = throw "ledger-agent has been removed because upstream dropped Ledger support"; # Added 2026-03-11
|
||||
ledger_agent = throw "ledger-agent has been removed because upstream dropped Ledger support"; # Added 2026-03-11
|
||||
lepton = throw "'lepton' has been removed as it is archived upstream and has known vulnerabilities (CVE-2022-4104). Consider using 'lepton-jpeg-util' instead"; # Added 2026-06-29
|
||||
|
||||
Reference in New Issue
Block a user