]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- not finished, anyone?
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 16 Jul 2003 23:30:36 +0000 (23:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pwdutils.spec -> 1.1

pwdutils.spec [new file with mode: 0644]

diff --git a/pwdutils.spec b/pwdutils.spec
new file mode 100644 (file)
index 0000000..b917f3d
--- /dev/null
@@ -0,0 +1,77 @@
+# TODO:
+# - finish it
+# - use the same *.pam files as in shadow.spec
+# - subpackage with rpasswd daemon
+#
+Summary:       utilities to manage the passwd and shadow user informtation
+Name:          pwdutils
+Version:       2.3.90
+Release:       1
+License:       GPL
+Group:         Applications/System
+Source0:       ftp://ftp.kernel.org/pub/linux/utils/net/NIS/pwdutils-2.3.90.tar.bz2
+Patch0:                %{name}-userbuild.patch
+BuildRequires: openssl-devel
+BuildRequires: openldap-devel
+BuildRequires: pam-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pwdutils is a collection of utilities to manage the passwd and shadow user information. The difference to the shadow suite is that these utilities can also modify the information stored in NIS, NIS+, or LDAP. PAM is used for user authentication and changing the pasword. It contains passwd, chage, chfn, chsh, and a daemon for changing the password on a remote machine over a secure SSL connection. The daemon also uses PAM so that it can change passwords independent of where they are stored. 
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-rpath
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{!?_without_static:#}/sbin/ldconfig
+if [ ! -f /etc/shadow ]; then
+       %{_sbindir}/pwconv
+fi
+
+%{!?_without_static:#}%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS README THANKS TODO
+
+
+%attr(750,root,root) %dir %{_sysconfdir}/default
+%attr(640,root,root) %config %verify(not md5 size mtime) %{_sysconfdir}/default/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/chage
+%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/passwd
+%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/shadow
+%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/useradd
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/login.defs
+%attr(600,root,root) %ghost %{_sysconfdir}/shadow
+%dir /etc/skel
+%{!?_without_static:#}%attr(755,root,root) %{_libdir}/lib*
+%attr(755,root,root) %{_sbindir}/chpasswd
+%attr(755,root,root) %{_sbindir}/group*
+%attr(755,root,root) %{_sbindir}/grpck
+%attr(755,root,root) %{_sbindir}/pwck
+%attr(755,root,root) %{_sbindir}/*conv
+%attr(4755,root,root) %{_bindir}/passwd
This page took 0.086369 seconds and 4 git commands to generate.