pwdutils: Remove
This package no longer builds and is obsolete (use ‘shadow’ instead).
This commit is contained in:
parent
d1d0720861
commit
e0afec2edc
@ -1,42 +0,0 @@
|
|||||||
{ stdenv, fetchurl, pam, gnutls, libnscd }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "pwdutils-3.2.6";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://kernel/linux/utils/net/NIS/${name}.tar.bz2";
|
|
||||||
sha256 = "1pyawvv9x0hiachn1mb257s6hm92dh1ykczgp7ik8z6jl020z3n7";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pam gnutls libnscd ];
|
|
||||||
|
|
||||||
patches = [ ./sys-stat-h.patch ];
|
|
||||||
|
|
||||||
postPatch =
|
|
||||||
'' for i in src/tst-*
|
|
||||||
do
|
|
||||||
sed -i "$i" -e's|/bin/bash|/bin/sh|g'
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = "--disable-ldap --enable-gnutls --exec-prefix=$(out)";
|
|
||||||
|
|
||||||
# FIXME: The test suite seems to make assumptions that don't hold in Nix
|
|
||||||
# chroots.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Linux pwdutils, utilities to manage passwd information";
|
|
||||||
|
|
||||||
longDescription =
|
|
||||||
'' Pwdutils is a collection of utilities to manage the passwd
|
|
||||||
information stored in local files, NIS, NIS+ or LDAP and can replace
|
|
||||||
the shadow suite complete.
|
|
||||||
'';
|
|
||||||
|
|
||||||
license = "GPLv2";
|
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
Fix builds with current glibc git, which appears to be stricter
|
|
||||||
about <sys/stat.h>.
|
|
||||||
|
|
||||||
--- pwdutils-3.2.6/src/useradd.c~ 2008-10-16 13:46:07.000000000 +0200
|
|
||||||
+++ pwdutils-3.2.6/src/useradd.c 2010-04-26 11:24:43.000000000 +0200
|
|
||||||
@@ -18,6 +18,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#include <sys/stat.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <utmp.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
--- pwdutils-3.2.6/src/userdel.c~ 2006-11-29 14:20:39.000000000 +0100
|
|
||||||
+++ pwdutils-3.2.6/src/userdel.c 2010-04-26 11:26:08.000000000 +0200
|
|
||||||
@@ -18,6 +18,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#include <sys/stat.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <utmp.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
diff -ubB --show-c-function pwdutils-3.2.6/src/usermod.c\~ pwdutils-3.2.6/src/usermod.c
|
|
||||||
--- pwdutils-3.2.6/src/usermod.c~ 2006-11-29 14:20:41.000000000 +0100
|
|
||||||
+++ pwdutils-3.2.6/src/usermod.c 2010-04-26 11:27:41.000000000 +0200
|
|
||||||
@@ -18,6 +18,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#include <sys/stat.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <utmp.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
@ -6163,8 +6163,6 @@ let
|
|||||||
|
|
||||||
"procps-ng" = callPackage ../os-specific/linux/procps-ng { };
|
"procps-ng" = callPackage ../os-specific/linux/procps-ng { };
|
||||||
|
|
||||||
pwdutils = callPackage ../os-specific/linux/pwdutils { };
|
|
||||||
|
|
||||||
qemu_kvm = callPackage ../os-specific/linux/qemu-kvm { };
|
qemu_kvm = callPackage ../os-specific/linux/qemu-kvm { };
|
||||||
|
|
||||||
firmwareLinuxNonfree = callPackage ../os-specific/linux/firmware/firmware-linux-nonfree { };
|
firmwareLinuxNonfree = callPackage ../os-specific/linux/firmware/firmware-linux-nonfree { };
|
||||||
|
@ -146,7 +146,6 @@ with (import ./release-lib.nix);
|
|||||||
policykit = linux;
|
policykit = linux;
|
||||||
portmap = linux;
|
portmap = linux;
|
||||||
procps = linux;
|
procps = linux;
|
||||||
pwdutils = linux;
|
|
||||||
python = allBut "i686-cygwin";
|
python = allBut "i686-cygwin";
|
||||||
pythonFull = linux;
|
pythonFull = linux;
|
||||||
readline = all;
|
readline = all;
|
||||||
|
@ -229,7 +229,6 @@ with (import ./release-lib.nix);
|
|||||||
postfix = linux;
|
postfix = linux;
|
||||||
ppl = all;
|
ppl = all;
|
||||||
procps = linux;
|
procps = linux;
|
||||||
pwdutils = linux;
|
|
||||||
pthreadmanpages = linux;
|
pthreadmanpages = linux;
|
||||||
pygtk = linux;
|
pygtk = linux;
|
||||||
pyqt4 = linux;
|
pyqt4 = linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user