From dac6f134316f1859f4f75a593309ecd00fc779ec Mon Sep 17 00:00:00 2001 From: ajs124 Date: Wed, 15 Dec 2021 19:06:11 +0000 Subject: [PATCH] pbis-open: drop --- pkgs/tools/security/pbis/default.nix | 70 ---------------------------- pkgs/top-level/aliases.nix | 5 +- pkgs/top-level/all-packages.nix | 2 - 3 files changed, 3 insertions(+), 74 deletions(-) delete mode 100644 pkgs/tools/security/pbis/default.nix diff --git a/pkgs/tools/security/pbis/default.nix b/pkgs/tools/security/pbis/default.nix deleted file mode 100644 index acd1fc5607bc..000000000000 --- a/pkgs/tools/security/pbis/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, perl, flex, bison, curl, - pam, popt, libiconv, libuuid, openssl_1_0_2, cyrus_sasl, sqlite, tdb, libxml2 }: - -stdenv.mkDerivation rec { - pname = "pbis-open"; - version = "9.1.0"; - - src = fetchFromGitHub { - owner = "BeyondTrust"; - repo = pname; - rev = version; - sha256 = "081jm34sf488nwz5wzs55d6rxx3sv566x6p4h1yqcjaw36174m8v"; - }; - - nativeBuildInputs = [ - autoconf automake libtool perl flex bison - ]; - - # curl must be placed after openssl_1_0_2, because it pulls openssl 1.1 dependency. - buildInputs = [ - pam popt libiconv libuuid openssl_1_0_2 cyrus_sasl - curl sqlite popt tdb libxml2 - ]; - - postPatch = '' - patchShebangs . - sed -i -e 's/legacy//g' lwupgrade/MakeKitBuild # disable /opt/ symlinks - sed -i -e 's/tdb.h//g' samba-interop/MakeKitBuild #include fails but it won't affect the build - ''; - preConfigure = '' - mkdir release - cd release - if [ $CC = gcc ]; then - NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=format-overflow -Wno-error=address-of-packed-member" - fi - NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libxml2}/include/libxml2 -Wno-error=array-bounds -Wno-error=pointer-sign -Wno-error=deprecated-declarations -Wno-error=unused-variable" - ''; - configureScript = "../configure"; - configureFlags = [ - "CFLAGS=-O" - "--docdir=${placeholder "prefix"}/share/doc" - "--mandir=${placeholder "prefix"}/share/doc/man" - "--datadir=${placeholder "prefix"}/share" - "--lw-initdir=${placeholder "prefix"}/etc/init.d" - "--selinux=no" # NixOS does not support SELinux - "--build-isas=x86_64" # [lwbase] endianness (host/x86_32): [lwbase] ERROR: could not determine endianness - "--fail-on-warn=no" - # "--debug=yes" - ]; # ^ See https://github.com/BeyondTrust/pbis-open/issues/124 - configureFlagsArray = [ "--lw-bundled-libs=linenoise-mob tomlc99 opensoap krb5 cyrus-sasl curl openldap ${ if libuuid == null then "libuuid" else "" }" ]; - # ^ it depends on old krb5 version 1.9 (issue #228) - # linenoise-mod, tomlc99, opensoap is not in nixpkgs. - # krb5 must be old one, and cyrus-sasl and openldap have dependency to newer libkrb5 that cause runtime error - enableParallelBuilding = true; - makeFlags = "SHELL="; - hardeningDisable = [ "format" ]; # -Werror=format-security - installPhase = '' - mkdir $sys - mv stage/{lib,var} $sys - mv stage$out $out - ''; - outputs = [ "out" "sys" ]; - - meta = with lib; { - description = "BeyondTrust AD Bridge Open simplifies the process of joining non-Microsoft hosts to Active Directory domains"; - homepage = "https://github.com/BeyondTrust/pbis-open"; - license = with licenses; [ gpl2 lgpl21 ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 78067c42334b..191344cbd989 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -848,10 +848,11 @@ mapAliases ({ parquet-cpp = throw "'parquet-cpp' has been renamed to/replaced by 'arrow-cpp'"; # Converted to throw 2022-02-22 patchmatrix = throw "'patchmatrix' has been renamed to/replaced by 'open-music-kontrollers.patchmatrix'"; # Added 2022-03-09 pass-otp = throw "'pass-otp' has been renamed to/replaced by 'pass.withExtensions'"; # Converted to throw 2022-02-22 - pdfmod = throw "pdfmod has been removed"; # Added 2022-01-15 - pdfread = throw "pdfread has been remove because it is unmaintained for years and the sources are no longer available"; # Added 2021-07-22 + pbis-open = throw "pbis-open has been removed, because it is no longer maintained upstream"; # added 2021-12-15 pdf-redact-tools = throw "pdf-redact-tools has been removed from nixpkgs because the upstream has abandoned the project"; # Added 2022-01-01 pdf2htmlEx = throw "pdf2htmlEx has been removed from nixpkgs, as it was unmaintained"; # Added 2020-11-03 + pdfmod = throw "pdfmod has been removed"; # Added 2022-01-15 + pdfread = throw "pdfread has been remove because it is unmaintained for years and the sources are no longer available"; # Added 2021-07-22 perlXMLParser = throw "'perlXMLParser' has been renamed to/replaced by 'perlPackages.XMLParser'"; # Converted to throw 2022-02-22 perlArchiveCpio = throw "'perlArchiveCpio' has been renamed to/replaced by 'perlPackages.ArchiveCpio'"; # Converted to throw 2022-02-22 pgadmin = pgadmin4; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 042bfc4a6d76..0cf4ba89639b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27940,8 +27940,6 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) IOKit; }; - pbis-open = callPackage ../tools/security/pbis { }; - pcmanfm = callPackage ../applications/misc/pcmanfm { }; pcmanfm-qt = lxqt.pcmanfm-qt;