diff --git a/.cvsignore b/.cvsignore index e69de29..fd7eb53 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +passwd-0.64.1.tar.gz diff --git a/passwd.spec b/passwd.spec new file mode 100644 index 0000000..d56943d --- /dev/null +++ b/passwd.spec @@ -0,0 +1,60 @@ +Summary: The passwd utility for setting/changing passwords using PAM. +Name: passwd +Version: 0.64.1 +Release: 4 +Copyright: BSD +Group: System Environment/Base +Source: passwd-%{version}.tar.gz +Buildroot: %{_tmppath}/passwd-root +Requires: pam >= 0.59, /etc/pam.d/system-auth +Requires: pwdb >= 0.58 + +%description +The passwd package contains a system utility (passwd) which sets +and/or changes passwords, using PAM (Pluggable Authentication +Modules). + +To use passwd, you should have PAM installed on your system. + +%prep +%setup -q + +%build +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" + +%install +mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} +make install TOP_DIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir} +strip $RPM_BUILD_ROOT%{_bindir}/passwd +mkdir -p $RPM_BUILD_ROOT/etc/pam.d/ +install -m 644 passwd.pamd $RPM_BUILD_ROOT/etc/pam.d/passwd + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%config /etc/pam.d/passwd +%attr(4511,root,root) %{_bindir}/passwd +%{_mandir}/man1/passwd.1* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 5 2000 Nalin Dahyabhai +- move man pages to %{_mandir} + +* Thu Jun 1 2000 Nalin Dahyabhai +- modify PAM setup to use system-auth +- modify for building as non-root users + +* Mon Feb 7 2000 Bill Nottingham +- fix manpage links + +* Fri Feb 04 2000 Nalin Dahyabhai +- document --stdin in man page +- fix for gzipped man pages + +* Sat Apr 10 1999 Cristian Gafton +- first build from the new source code base. diff --git a/sources b/sources index e69de29..5b1fae0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6f4167cfbb33630d32aa617eba0bbb21 passwd-0.64.1.tar.gz