From: cvs2git Date: Mon, 28 May 2001 23:41:47 +0000 (+0000) Subject: This commit was manufactured by cvs2git to create branch 'PLD_1_0_freez'. X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=932d5621a8a242eccd8355bd544f3efb9c0ca588;p=packages%2Fapache-mod_auth_pam.git This commit was manufactured by cvs2git to create branch 'PLD_1_0_freez'. Sprout from master 2001-05-28 23:41:47 UTC kloczek '- fix module symbol name.' Delete: apache-mod_auth_pam.spec --- diff --git a/apache-mod_auth_pam.spec b/apache-mod_auth_pam.spec deleted file mode 100644 index c67feb4..0000000 --- a/apache-mod_auth_pam.spec +++ /dev/null @@ -1,55 +0,0 @@ -%define mod_name auth_pam -Summary: This is the PAM authentication module for Apache -Name: apache-mod_%{mod_name} -Version: 1.0a -Release: 1 -License: GPL -Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery -Source0: http://pam.sourceforge.net/mod_auth_pam/dist/mod_%{mod_name}.tar.gz -BuildRequires: /usr/sbin/apxs -BuildRequires: apache(EAPI)-devel -Prereq: /usr/sbin/apxs -Requires: apache(EAPI) -URL: http://pam.sourceforge.net/mod_auth_pam/ -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) - -%define _pkglibdir %(/usr/sbin/apxs -q LIBEXECDIR) - -%description -This is an authentication module for Apache that allows you to -authenticate HTTP clients using PAM (pluggable authentication module). - -%prep -%setup -q -n mod_%{mod_name}-%{version} - -%build -/usr/sbin/apxs -c mod_%{mod_name}.c -o mod_%{mod_name}.so -lpam -ldl - -%install -rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_pkglibdir} - -install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir} - -%post -/usr/sbin/apxs -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 -if [ -f /var/lock/subsys/httpd ]; then - /etc/rc.d/init.d/httpd restart 1>&2 -fi - -%preun -if [ "$1" = "0" ]; then - /usr/sbin/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 - if [ -f /var/lock/subsys/httpd ]; then - /etc/rc.d/init.d/httpd restart 1>&2 - fi -fi - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(644,root,root,755) -%attr(755,root,root) %{_pkglibdir}/*