rpms/mod_auth_pam/devel COPYING-mod_auth_pam, NONE, 1.1 mod_auth_pam-auth_pam.conf, NONE, 1.1 mod_auth_pam-httpd.pam, NONE, 1.1 mod_auth_pam.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Tue Sep 27 22:10:36 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/mod_auth_pam/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7876/devel

Modified Files:
	.cvsignore sources 
Added Files:
	COPYING-mod_auth_pam mod_auth_pam-auth_pam.conf 
	mod_auth_pam-httpd.pam mod_auth_pam.spec 
Log Message:
auto-import mod_auth_pam-1.1.1-1 on branch devel from mod_auth_pam-1.1.1-1.src.rpm


--- NEW FILE COPYING-mod_auth_pam ---
/* Copyright (c) 2000 Ingo Luetkebohle, All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR OTHER CODE CONTRIBUTORS
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */


--- NEW FILE mod_auth_pam-auth_pam.conf ---
LoadModule auth_pam_module modules/mod_auth_pam.so
LoadModule auth_sys_group_module modules/mod_auth_sys_group.so


--- NEW FILE mod_auth_pam-httpd.pam ---
#%PAM-1.0
auth       required	pam_stack.so service=system-auth
account    required	pam_stack.so service=system-auth
# Comment out the previous account line and uncomment the following line if
# you wish to allow logins that don't have a system account
#account    required     pam_permit.so


--- NEW FILE mod_auth_pam.spec ---
Name:           mod_auth_pam
Version:        1.1.1
Release:        1
Summary:        PAM authentication module for Apache

Group:          System Environment/Daemons
License:        Distributable
URL:            http://pam.sourceforge.net/mod_auth_pam/
Source0:        http://pam.sourceforge.net/mod_auth_pam/dist/%{name}-2.0-%{version}.tar.gz
Source1:        mod_auth_pam-auth_pam.conf
Source2:        COPYING-mod_auth_pam
Source3:        mod_auth_pam-httpd.pam
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  httpd-devel pam-devel
Requires:       httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)

%description
The PAM authentication module implements Basic authentication on top of the
Pluggable Authentication Module library. Thereby it supports standard unix
passwd, shadow, NIS, SMB auth and radius authentication transparently and
easily interchangeable, wherever the HTTP protocol allows it.

%prep
%setup -q -n %{name}
find -name CVS -type d | xargs rm -r
install -p -m 644 %{SOURCE2} COPYING

%build
make %{?_smp_mflags} APXS=%{_sbindir}/apxs

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules
install -m 755 .libs/%{name}.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
install -m 755 .libs/mod_auth_sys_group.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/auth_pam.conf

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/httpd

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING README doc samples
%{_libdir}/httpd/modules/*.so
%config(noreplace) %{_sysconfdir}/pam.d/*
%config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf

%changelog
* Sat Sep 27 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 1.1.1-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mod_auth_pam/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Sep 2005 22:08:33 -0000	1.1
+++ .cvsignore	27 Sep 2005 22:10:17 -0000	1.2
@@ -0,0 +1 @@
+mod_auth_pam-2.0-1.1.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mod_auth_pam/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Sep 2005 22:08:33 -0000	1.1
+++ sources	27 Sep 2005 22:10:18 -0000	1.2
@@ -0,0 +1 @@
+ab873520ddd2fee7d480dfd53e464e0a  mod_auth_pam-2.0-1.1.1.tar.gz




More information about the fedora-extras-commits mailing list