Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 4e610fd6372b73339299636d02f3fe35 > files > 7

pwauth-2.3.10-11.mga9.src.rpm

Name:		pwauth
Version:	2.3.10
Release:	%mkrel 11
Summary:	A Unix Web Authenticator
License:	BSD
Group:		System/Servers
URL:		https://code.google.com/p/pwauth/
Source0:	http://pwauth.googlecode.com/files/%{name}-%{version}.tar.gz
Source1:	pwauth.pam
Patch0:		pwauth-typo_fix.diff
Patch1:		pwauth-config.diff
Patch2:		pwauth-2.3.2-pam.diff
Patch4:		pwauth-ldflags_fix.diff
BuildRequires:	pam-devel
# To get apache user
Requires:       webserver-base

%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
%patch0 -p0
%patch1 -p1
%patch2 -p0
%patch4 -p0

cp %{SOURCE1} pwauth.pam

%build
%serverbuild

%make_build CFLAGS="$CFLAGS" LDFLAGS="%{ldflags}" LIB="-lpam -ldl"

%install
install -d %{buildroot}%{_sysconfdir}/pam.d
install -d %{buildroot}%{_bindir}

install -m0755 pwauth %{buildroot}%{_bindir}/
install -m0755 unixgroup %{buildroot}%{_bindir}/

install -m0644 pwauth.pam %{buildroot}%{_sysconfdir}/pam.d/pwauth
install -m0644 pwauth.pam %{buildroot}%{_sysconfdir}/pam.d/unixgroup

%files
%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


%changelog
* Sat Dec 03 2022 umeabot <umeabot> 2.3.10-11.mga9
+ Revision: 1915828
- Mageia 9 Mass Rebuild

* Fri Feb 14 2020 umeabot <umeabot> 2.3.10-10.mga8
+ Revision: 1516186
- Mageia 8 Mass Rebuild

* Sun Sep 23 2018 umeabot <umeabot> 2.3.10-9.mga7
+ Revision: 1300417
- Mageia 7 Mass Rebuild

* Mon Feb 08 2016 umeabot <umeabot> 2.3.10-8.mga6
+ Revision: 944886
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 2.3.10-7.mga5
+ Revision: 740266
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.3.10-6.mga5
+ Revision: 687845
- Mageia 5 Mass Rebuild

* Sat Sep 13 2014 joequant <joequant> 2.3.10-5.mga5
+ Revision: 675055
- requires webserver base

* Wed Jul 09 2014 joequant <joequant> 2.3.10-4.mga5
+ Revision: 650864
- sync config with fedora - previously pwauth could not
  be run by user apache which would break pam authentication

* Fri Oct 18 2013 umeabot <umeabot> 2.3.10-3.mga4
+ Revision: 517701
- Mageia 4 Mass Rebuild

* Sun Jan 13 2013 umeabot <umeabot> 2.3.10-2.mga3
+ Revision: 378357
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Jan 28 2012 kamil <kamil> 2.3.10-1.mga2
+ Revision: 202372
- new version 2.3.10
- drop pwauth-2.3.2-server.diff

* Fri Sep 09 2011 tv <tv> 2.3.9-1.mga2
+ Revision: 141865
- rediff patch 1
- new release

* Wed Feb 23 2011 ennael <ennael> 2.3.8-3.mga1
+ Revision: 58135
- imported package pwauth


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 2.3.8-3mdv2011.0
+ Revision: 607248
- rebuild

* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 2.3.8-2mdv2010.1
+ Revision: 519062
- rebuild

* Sun Jun 21 2009 Oden Eriksson <oeriksson@mandriva.com> 2.3.8-1mdv2010.0
+ Revision: 387621
- 2.3.8
- new url
- rediffed patches

* Wed Mar 11 2009 Oden Eriksson <oeriksson@mandriva.com> 2.3.7-1mdv2009.1
+ Revision: 353771
- 2.3.7

* Mon Dec 22 2008 Oden Eriksson <oeriksson@mandriva.com> 2.3.6-2mdv2009.1
+ Revision: 317558
- rebuild

* Sun Aug 03 2008 Oden Eriksson <oeriksson@mandriva.com> 2.3.6-1mdv2009.0
+ Revision: 262179
- 2.3.6
- rediffed P1
- fixed a typo (P0)
- set ldflags (P4)
- use %%serverbuild macro

* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 2.3.2-4mdv2009.0
+ Revision: 225118
- rebuild

* Wed Mar 05 2008 Oden Eriksson <oeriksson@mandriva.com> 2.3.2-3mdv2008.1
+ Revision: 179371
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request


* Wed Mar 07 2007 Oden Eriksson <oeriksson@mandriva.com> 2.3.2-2mdv2007.0
+ Revision: 134448
- Import pwauth

* Wed Mar 07 2007 Oden Eriksson <oeriksson@mandriva.com> 2.3.2-2
- bunzip sources

* Sat Feb 11 2006 Oden Eriksson <oeriksson@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@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

* Tue May 03 2005 Luca Berra <bluca@vodka.it> 2.2.8-2mdk
- disable the SERVER_UID feature, apache userid is dynamic

* Mon Feb 14 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.2.8-1mdk
- initial Mandrakelinux package