Merge pull request #288805 from patka-123/drop-adtool

adtool: drop
This commit is contained in:
Pol Dellaiera 2024-02-15 23:00:00 +01:00 committed by GitHub
commit d3b2368887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 48 deletions

View File

@ -1,46 +0,0 @@
{ lib, stdenv, fetchurl, openldap }:
stdenv.mkDerivation rec {
pname = "adtool";
version = "1.3.3";
src = fetchurl {
url = "https://gp2x.org/adtool/${pname}-${version}.tar.gz";
sha256 = "1awmpjamrwivi69i0j2fyrziy9s096ckviqd9c4llc3990mfsn4n";
};
configureFlags = [
"--sysconfdir=/etc"
];
installFlags = [
"sysconfdir=$(out)/etc"
];
buildInputs = [ openldap ];
# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: ../../src/lib/libactive_directory.a(active_directory.o):/build/adtool-1.3.3/src/lib/active_directory.h:31:
# multiple definition of `system_config_file'; adtool.o:/build/adtool-1.3.3/src/tools/../../src/lib/active_directory.h:31: first defined here
env.NIX_CFLAGS_COMPILE = "-fcommon";
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/doc/adtool
mv $out/etc/* $out/share/doc/adtool
rmdir $out/etc
'';
# It requires an LDAP server for tests
doCheck = false;
meta = with lib; {
description = "Active Directory administration utility for Unix";
homepage = "https://gp2x.org/adtool";
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
broken = true; # does not link against recent libldap versions and unmaintained since 2017
};
}

View File

@ -58,6 +58,7 @@ mapAliases ({
AusweisApp2 = ausweisapp; # Added 2023-11-08
a4term = a4; # Added 2023-10-06
adtool = throw "'adtool' has been removed, as it was broken and unmaintained";
aether = throw "aether has been removed from nixpkgs; upstream unmaintained, security issues"; # Added 2023-10-03
airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
alertmanager-bot = throw "alertmanager-bot is broken and has been archived by upstream"; # Added 2023-07-28

View File

@ -18141,8 +18141,6 @@ with pkgs;
adreaper = callPackage ../tools/security/adreaper { };
adtool = callPackage ../tools/admin/adtool { };
aeron = callPackage ../servers/aeron { };
inherit (callPackage ../development/tools/alloy { })