SPECS: pwauth.spec (NEW) - initial, (from Mandriva)

cieciwa cieciwa at pld-linux.org
Tue May 8 22:19:51 CEST 2007


Author: cieciwa                      Date: Tue May  8 20:19:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, (from Mandriva)

---- Files affected:
SPECS:
   pwauth.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pwauth.spec
diff -u /dev/null SPECS/pwauth.spec:1.1
--- /dev/null	Tue May  8 22:19:51 2007
+++ SPECS/pwauth.spec	Tue May  8 22:19:46 2007
@@ -0,0 +1,92 @@
+# $Revision$, $Date$
+Summary:	A Unix Web Authenticator
+Name:		pwauth
+Version:	2.3.2
+Release:	1
+License:	BSD
+Group:		System/Servers
+######		Unknown group!
+URL:		http://www.unixpapa.com/pwauth/
+Source0:	http://www.unixpapa.com/software/%{name}-%{version}.tar.gz
+Source1:	%{name}.pam
+Patch1:		%{name}-2.3.2-config.diff
+Patch2:		%{name}-2.3.2-pam.diff
+Patch3:		%{name}-2.3.2-server.diff
+BuildRequires:	pam-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pwauth is an authenticator designed to be used with mod_auth_external
+and the Apache HTTP Daemon to support reasonably secure web
+authentication out of the system password database on most versions of
+Unix.
+
+What pwauth actually does is very simple. Given a login and a
+password, it returns a status code indicating whether it is a valid
+login/password or not. It is normally installed as an suid-root
+program, so other programs (like Apache or a CGI program) can run it
+to check if a login/password is valid even though they don't
+themselves have read access to the system password database.
+
+%prep
+
+%setup -q
+%patch1 -p0
+%patch2 -p0
+%patch3 -p1
+
+#bzcat %{SOURCE1} > pwauth.pam
+
+%build
+
+%{__make} CFLAGS="%{optflags}" LIB="-lpam -ldl"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+
+install -d %{buildroot}%{_sysconfdir}/pam.d
+install -d %{buildroot}%{_bindir}
+
+install -m0755 pwauth %{buildroot}%{_bindir}/
+install -m0755 unixgroup %{buildroot}%{_bindir}/
+
+install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/pwauth
+install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/unixgroup
+
+%clean
+[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES FORM_AUTH INSTALL README
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/pwauth
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/unixgroup
+%attr(04550,root,apache) %{_bindir}/pwauth
+%attr(04550,root,apache) %{_bindir}/unixgroup
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <pld-list at pld.org.pl>
+All persons listed below can be reached at <cvs_login>@pld.org.pl
+
+$Log$
+Revision 1.1  2007/05/08 20:19:46  cieciwa
+- initial, (from Mandriva)
+
+* Sat Feb 11 2006 Oden Eriksson <oeriksson at mandriva.com> 2.3.2-1mdk
+- 2.3.2
+- drop P0, seems implemented upstream
+- rediffed patches; P1,P2,P3
+
+* Sat Feb 11 2006 Oden Eriksson <oeriksson at mandriva.com> 2.2.8-4mdk
+- use "include" directive instead of deprecated pam_stack module 
+
+* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 2.2.8-3mdk
+- Rebuild
+
+* Mon May 02 2005 Luca Berra <bluca at vodka.it> 2.2.8-2mdk
+- disable the SERVER_UID feature, apache userid is dynamic
+
+* Mon Feb 14 2005 Oden Eriksson <oeriksson at mandrakesoft.com> 2.2.8-1mdk
+- initial Mandrakelinux package
================================================================


More information about the pld-cvs-commit mailing list