From b139def9c112f05a5f2ff900870a295a9b62a557 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:28:58 +0100 Subject: [PATCH] update to 1.1.1 rebased versione without 2.0 prefix [release 1.1.1-1mamba;Sun Aug 01 2021] --- apache-mod_auth_pam.spec | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/apache-mod_auth_pam.spec b/apache-mod_auth_pam.spec index 1ea6d5e..e014c6d 100644 --- a/apache-mod_auth_pam.spec +++ b/apache-mod_auth_pam.spec @@ -2,20 +2,20 @@ %define minver %(echo %version | cut -d. -f3-5) Name: apache-mod_auth_pam -Version: 2.0.1.1.1 -Release: 2mamba +Epoch: 1 +Version: 1.1.1 +Release: 1mamba Summary: An apache module that implements Basic authentication on top of PAM Group: System/Servers Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://pam.sourceforge.net/mod_auth_pam -Source: http://pam.sourceforge.net/mod_auth_pam/dist/mod_auth_pam-%{majver}-%{minver}.tar.gz +URL: http://pam.sourceforge.net/mod_auth_pam/ +Source: http://pam.sourceforge.net/mod_auth_pam/dist/mod_auth_pam-2.0-%{version}.tar.gz Source1: %{name}-httpd License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libapr1-devel BuildRequires: pam-devel Requires: apache >= 2.4.0 @@ -45,7 +45,7 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/httpd if [ $1 -ge 1 ]; then apxs -e -a -n auth_pam %{_libdir}/apache/mod_auth_pam.so > /dev/null apxs -e -a -n auth_sys_group %{_libdir}/apache/mod_auth_sys_group.so > /dev/null - %{_initrddir}/httpd condrestart + service httpd condrestart fi exit 0 @@ -54,8 +54,7 @@ if [ $1 -eq 0 ]; then #erase apxs -e -A -n auth_pam %{_libdir}/apache/mod_auth_pam.so > /dev/null apxs -e -A -n auth_sys_group %{_libdir}/apache/mod_auth_sys_group.so > /dev/null - - %{_initrddir}/httpd condrestart + service httpd condrestart fi exit 0 @@ -67,6 +66,10 @@ exit 0 %doc README %changelog +* Sun Aug 01 2021 Silvan Calarco 1.1.1-1mamba +- update to 1.1.1 +- rebased versione without 2.0 prefix + * Sat Jun 13 2015 Silvan Calarco 2.0.1.1.1-2mamba - rebuilt with apache 2.4.x