update to 1.1.1

rebased versione without 2.0 prefix [release 1.1.1-1mamba;Sun Aug 01 2021]
This commit is contained in:
Silvan Calarco 2024-01-05 20:28:58 +01:00
parent 263c6233de
commit b139def9c1

View File

@ -2,20 +2,20 @@
%define minver %(echo %version | cut -d. -f3-5) %define minver %(echo %version | cut -d. -f3-5)
Name: apache-mod_auth_pam Name: apache-mod_auth_pam
Version: 2.0.1.1.1 Epoch: 1
Release: 2mamba Version: 1.1.1
Release: 1mamba
Summary: An apache module that implements Basic authentication on top of PAM Summary: An apache module that implements Basic authentication on top of PAM
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pam.sourceforge.net/mod_auth_pam URL: http://pam.sourceforge.net/mod_auth_pam/
Source: http://pam.sourceforge.net/mod_auth_pam/dist/mod_auth_pam-%{majver}-%{minver}.tar.gz Source: http://pam.sourceforge.net/mod_auth_pam/dist/mod_auth_pam-2.0-%{version}.tar.gz
Source1: %{name}-httpd Source1: %{name}-httpd
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libapr1-devel BuildRequires: libapr1-devel
BuildRequires: pam-devel BuildRequires: pam-devel
Requires: apache >= 2.4.0 Requires: apache >= 2.4.0
@ -45,7 +45,7 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/httpd
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
apxs -e -a -n auth_pam %{_libdir}/apache/mod_auth_pam.so > /dev/null 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 apxs -e -a -n auth_sys_group %{_libdir}/apache/mod_auth_sys_group.so > /dev/null
%{_initrddir}/httpd condrestart service httpd condrestart
fi fi
exit 0 exit 0
@ -54,8 +54,7 @@ if [ $1 -eq 0 ]; then
#erase #erase
apxs -e -A -n auth_pam %{_libdir}/apache/mod_auth_pam.so > /dev/null 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 apxs -e -A -n auth_sys_group %{_libdir}/apache/mod_auth_sys_group.so > /dev/null
service httpd condrestart
%{_initrddir}/httpd condrestart
fi fi
exit 0 exit 0
@ -67,6 +66,10 @@ exit 0
%doc README %doc README
%changelog %changelog
* Sun Aug 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- update to 1.1.1
- rebased versione without 2.0 prefix
* Sat Jun 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1.1.1-2mamba * Sat Jun 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1.1.1-2mamba
- rebuilt with apache 2.4.x - rebuilt with apache 2.4.x