diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-08-06 14:37:45 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-08-06 14:37:45 +0000 |
commit | 1e3807839d8280400e957e95a1ddfd18aa584f7d (patch) | |
tree | b9288c83bc1367b025e17f2fe70767b188db7263 /www-apache | |
parent | Fix building with GLIBC 2.10+ wrt #272878. (diff) | |
download | gentoo-2-1e3807839d8280400e957e95a1ddfd18aa584f7d.tar.gz gentoo-2-1e3807839d8280400e957e95a1ddfd18aa584f7d.tar.bz2 gentoo-2-1e3807839d8280400e957e95a1ddfd18aa584f7d.zip |
remove mod_auth_pam
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_auth_pam/ChangeLog | 125 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/Manifest | 18 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/files/10_mod_auth_pam.conf | 25 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/files/apache2.pam | 6 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch | 66 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/metadata.xml | 5 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild | 65 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r2.ebuild | 65 |
8 files changed, 0 insertions, 375 deletions
diff --git a/www-apache/mod_auth_pam/ChangeLog b/www-apache/mod_auth_pam/ChangeLog deleted file mode 100644 index e5136a17ab14..000000000000 --- a/www-apache/mod_auth_pam/ChangeLog +++ /dev/null @@ -1,125 +0,0 @@ -# ChangeLog for www-apache/mod_auth_pam -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_pam/ChangeLog,v 1.5 2008/05/14 23:16:30 flameeyes Exp $ - - 14 May 2008; Diego Pettenò <flameeyes@gentoo.org> - mod_auth_pam-1.1.1-r2.ebuild: - Depend on virtual/pam as the code builds fine with OpenPAM. - - 31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> - files/10_mod_auth_pam.conf, mod_auth_pam-1.1.1-r1.ebuild, - mod_auth_pam-1.1.1-r2.ebuild: - fix depend.apache usage wrt #208033; cleanup - - 27 Jan 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml: - update metadata; fix changelog - - 29 Jul 2007; Christian Heim <phreak@gentoo.org> +files/apache2.pam, - +files/mod_auth_pam-1.1.1-service_name.patch, +files/10_mod_auth_pam.conf, - +metadata.xml, +mod_auth_pam-1.1.1-r1.ebuild, - +mod_auth_pam-1.1.1-r2.ebuild: - Moving net-www/mod_auth_pam to www-apache/mod_auth_pam (#81244). - - 29 Jun 2007; Luca Longinotti <chtekk@gentoo.org> files/apache2.pam, - metadata.xml: - Fix DOS line endings. - - 14 Jun 2007; Christian Heim <phreak@gentoo.org> - files/10_mod_auth_pam.conf: - Document "AuthBasicAuthoritative Off" in the configuration examples. - - 14 Jun 2007; Christian Heim <phreak@gentoo.org> files/apache2.pam: - Fixing apache2.pam as pointed out in #155050 (thanks to candrews at - integralblue.com). - - 12 May 2007; Luca Longinotti <chtekk@gentoo.org> - -files/10_mod_auth_pam_ap1.conf, - -files/mod_auth_pam-1.1.1-compile-fix.patch, mod_auth_pam-1.1.1-r1.ebuild, - mod_auth_pam-1.1.1-r2.ebuild: - Remove Apache1 support, fix Apache2 support. - - 20 Jan 2007; Christian Heim <phreak@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild, mod_auth_pam-1.1.1-r2.ebuild: - Remove unneeded RESTRICT="nomirror". - -*mod_auth_pam-1.1.1-r2 (15 Jan 2007) - - 15 Jan 2007; Luca Longinotti <chtekk@gentoo.org> - files/mod_auth_pam-1.1.1-compile-fix.patch, - +files/mod_auth_pam-1.1.1-service_name.patch, - mod_auth_pam-1.1.1-r1.ebuild, +mod_auth_pam-1.1.1-r2.ebuild: - Misc fixes, add service name specification support for Apache2, fixes bug - #133134. - - 14 Jan 2007; Luca Longinotti <chtekk@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - Uniform install usage. - - 14 Jan 2007; Luca Longinotti <chtekk@gentoo.org> - -files/1.1.1-r1/10_mod_auth_pam.conf, files/10_mod_auth_pam.conf, - -files/1.1.1-r1-1/10_mod_auth_pam.conf, +files/10_mod_auth_pam_ap1.conf, - -files/mod_auth_pam-1.1.1-gentoo.diff, mod_auth_pam-1.1.1-r1.ebuild: - Cleanup. - - 04 Jun 2006; Michael Stewart <vericgar@gentoo.org> - -mod_auth_pam-1.1.1.ebuild: - Remove old-style ebuilds - - 21 Mar 2006; Joseph Jezak <josejx@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - Marked ppc stable for bug #125167. Thanks to mabi for testing. - - 16 Mar 2006; Krzysiek Pawlik <nelchael@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - Stable on x86, see bug #125167. - - 08 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> files/apache2.pam: - Remove pam_console reference, bug 98454. - - 05 May 2005; Sven Wegener <swegener@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - Added missing parentheses to SRC_URI. - - 25 Feb 2005; Benedikt Boehm <hollow@gentoo.org> - +files/1.1.1-r1-1/10_mod_auth_pam.conf, mod_auth_pam-1.1.1-r1.ebuild: - fixed 1.3 support - - 25 Feb 2005; Benedikt Boehm <hollow@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - fixed minor bugs - - 17 Feb 2005; Benedikt Boehm <hollow@gentoo.org> - +files/mod_auth_pam-1.1.1-compile-fix.patch, - -files/mod_auth_pam-1.1.1-r1-gentoo.diff, mod_auth_pam-1.1.1-r1.ebuild, - mod_auth_pam-1.1.1.ebuild: - fixed bug #81044. cleaned up and fixed 1.1.1-r1 - - 23 Jan 2005; Christian Parpart <trapni@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - code cleanup; added missing need_apache2 - - 23 Jan 2005; Christian Parpart <trapni@gentoo.org> - mod_auth_pam-1.1.1-r1.ebuild: - adding ~amd64 to keywords - -*mod_auth_pam-1.1.1-r1 (10 Jan 2005) - - 10 Jan 2005; Christian Parpart <trapni@gentoo.org> - +mod_auth_pam-1.1.1-r1.ebuild, +files/mod_auth_pam-1.1.1-compile-fix.patch: - fixed bug, that prevented the modules to be installed; - minor typo fix that caused apache2.pam not beeing installed - - 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> - mod_auth_pam-1.1.1.ebuild: - Masked mod_auth_pam-1.1.1.ebuild stable for ppc - - 23 Jun 2004; Chuck Short <zul@gentoo.org> files/apache2.pam, - files/mod_auth_pam-1.1.1-gentoo.diff: - Added missing files. - -*mod_auth_pam-1.1.1 (14 Jun 2004) - - 14 Jun 2004; Chuck Short <zul@gentoo.org> mod_auth_pam-1.1.1.ebuild, - files/10_mod_auth_pam.conf: - Initial ebuild, closes #28114. - diff --git a/www-apache/mod_auth_pam/Manifest b/www-apache/mod_auth_pam/Manifest deleted file mode 100644 index 9561cb5533fc..000000000000 --- a/www-apache/mod_auth_pam/Manifest +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 10_mod_auth_pam.conf 773 RMD160 43cbaa2b64c4f8908004b038a5959897e6964e85 SHA1 f68372a05d81a20037e1160c573a611767046dd9 SHA256 3921993579f7f276b497b3915e2e25c1c61b602f99fa8dc586366f8117c15090 -AUX apache2.pam 193 RMD160 a7fef247ec9ea0f201d87140b107c42a9ed0979e SHA1 0a832eb9e850bad4a172b18a8f368183aa253820 SHA256 f849e877a0a7bd23e2d0ce747d674a5a5ace7da603c90a36a468a83fb123aee1 -AUX mod_auth_pam-1.1.1-service_name.patch 1644 RMD160 3a85398814be77c2f111b5a6ad447ac5f9442fd2 SHA1 e7bbd920d2da8fda63288488f7a0d367cdd1e05b SHA256 a3b5ebfa4533815dc6c9eb86d28eb8e6a4cd4959cd6d77d90774dc0c63efc023 -DIST mod_auth_pam-2.0-1.1.1.tar.gz 11456 RMD160 4dbc4daae2e696b44767577d63ccf24aec397f2c SHA1 9c7f5c552490d5d26e64401987291046714b870e SHA256 21c55e3a3539e05782654d4dc6f12345b0a4eac29425c20c41f540260866977b -EBUILD mod_auth_pam-1.1.1-r1.ebuild 1567 RMD160 b44e82360071553284aecc55b584e585fde95fff SHA1 fbb1160c64d774d5c18461a5a0125710feff1cc9 SHA256 73f78ccf020141a305fbb330e172304f25c1e5edd7eb18634df1d3c916edb19a -EBUILD mod_auth_pam-1.1.1-r2.ebuild 1545 RMD160 562527b6d9bef24308ce312c50f704c540c6531e SHA1 6834d35d0cfd001919ef3e90ca1551553c49e171 SHA256 da077d3189a637cb8df3e90ffb67584184deedcd85dfd0335a94474e18248d52 -MISC ChangeLog 4574 RMD160 21942621a0a8f0dd939faf4218bae55fc41e0884 SHA1 507044a5ba7b56c8ea0178196481fc7a80e4baca SHA256 940b205a6a322603218d60df8ef11eaa6439be741da91216a95b9a7f2c6cfa9f -MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkgrctQACgkQAiZjviIA2XiiQgCfWBPE5Zrq6lOke7I4ZkSl/fBW -tlkAn2Pz40yAqC13cPcEJt2LnAxYcLgu -=cYPH ------END PGP SIGNATURE----- diff --git a/www-apache/mod_auth_pam/files/10_mod_auth_pam.conf b/www-apache/mod_auth_pam/files/10_mod_auth_pam.conf deleted file mode 100644 index e437ac90d75d..000000000000 --- a/www-apache/mod_auth_pam/files/10_mod_auth_pam.conf +++ /dev/null @@ -1,25 +0,0 @@ -<IfDefine AUTH_PAM> -LoadModule auth_pam_module modules/mod_auth_pam.so -LoadModule auth_sys_group_module modules/mod_auth_sys_group.so - -# EXAMPLE 1: authentificate against a single PAM account -#AuthPAM_Enabled on -# If you want to make mod_auth_pam work with apache-2.2, please uncomment -# the following line: -#AuthBasicAuthoritative Off -#AuthType Basic -#AuthName "secure area" -#Require user webmaster - -# EXAMPLE 2: authentificate against a a PAM group, so, that each user -# beeing in this group may access this "secure area" -#AuthPAM_Enabled on -# If you want to make mod_auth_pam work with apache-2.2, please uncomment -# the following line: -#AuthBasicAuthoritative Off -#AuthType Basic -#AuthName "secure area" -#Require group staff -</IfDefine> - -# vim:syntax=apache diff --git a/www-apache/mod_auth_pam/files/apache2.pam b/www-apache/mod_auth_pam/files/apache2.pam deleted file mode 100644 index a17959a3929f..000000000000 --- a/www-apache/mod_auth_pam/files/apache2.pam +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth include system-auth -auth required pam_nologin.so -account include system-auth -password include system-auth -session include system-auth diff --git a/www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch b/www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch deleted file mode 100644 index 82529db2c0ff..000000000000 --- a/www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- mod_auth_pam.c 2002-08-24 16:22:23.000000000 +0200 -+++ mod_auth_pam.c 2004-10-27 16:48:50.000000000 +0200 -@@ -126,6 +126,9 @@ - * fall through but return "access denied" instead - * Defaults to off - * -+ * AuthPAM_Service <service> The PAM-service to be used for authentication. -+ * Defaults to "apache2" -+ * - * AuthPAM_Authorative on|off DEPRECATED - */ - -@@ -146,12 +149,12 @@ - - /* change this to 0 on RedHat 4.x */ - #define PAM_STRE_NEEDS_PAMH 1 --#define VERSION "2.0-1.1" -+#define VERSION "2.0-1.1e" - - module auth_pam_module; - - static const char -- *pam_servicename = "httpd", -+ *pam_servicename = "apache2", - *valid_user = "valid-user"; - - typedef struct { -@@ -190,6 +193,7 @@ - * username (defaults to 0) */ - enabled; /* 1 to use mod_auth_pam, 0 otherwise - * (defaults to 1) */ -+ const char* pam_servicename; - } auth_pam_dir_config; - - static -@@ -214,6 +218,7 @@ - new->fail_delay = 0; /* 0 ms */ - new->fall_through = 0; /* off */ - new->enabled = 1; /* on */ -+ new->pam_servicename = pam_servicename; - return new; - } - -@@ -237,6 +242,11 @@ - "on|off - determines if PAM authentication is enabled. " - "(default is on.)"), - -+ AP_INIT_TAKE1("AuthPAM_Service", -+ ap_set_string_slot, (void *) APR_OFFSETOF(auth_pam_dir_config, pam_servicename), -+ OR_AUTHCFG, -+ "PAM-service to be used for authentication"), -+ - {NULL} - }; - -@@ -341,7 +351,7 @@ - userinfo.name = r->user; - - /* initialize pam */ -- if ((res = pam_start(pam_servicename, -+ if ((res = pam_start(conf->pam_servicename, - userinfo.name, - &conv_info, - &pamh)) != PAM_SUCCESS) { - - diff --git a/www-apache/mod_auth_pam/metadata.xml b/www-apache/mod_auth_pam/metadata.xml deleted file mode 100644 index 64a719ea1bfd..000000000000 --- a/www-apache/mod_auth_pam/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>apache</herd> -</pkgmetadata> diff --git a/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild b/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild deleted file mode 100644 index b6a7ec3dd6ce..000000000000 --- a/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r1.ebuild,v 1.2 2008/01/31 17:08:34 hollow Exp $ - -inherit eutils apache-module - -DESCRIPTION="PAM authentication module for Apache." -HOMEPAGE="http://pam.sourceforge.net/mod_auth_pam/" -SRC_URI="http://pam.sourceforge.net/mod_auth_pam/dist/${PN}-2.0-${PV}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ppc ~sparc x86" -IUSE="" - -DEPEND="sys-libs/pam" -RDEPEND="${DEPEND}" - -APXS2_ARGS="-c ${PN}.c -lpam" -APACHE2_EXECFILES=".libs/mod_auth_sys_group.so" - -APACHE2_MOD_CONF="10_${PN}" -APACHE2_MOD_DEFINE="AUTH_PAM" - -DOCFILES="INSTALL README doc/*" - -need_apache - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i -e 's/servicename = "httpd"/servicename = "apache2"/' "${PN}.c" -} - -src_compile() { - apache-module_src_compile - ${APXS} -c mod_auth_sys_group.c -} - -src_install() { - apache-module_src_install - insinto /etc/pam.d - newins "${FILESDIR}/apache2.pam" apache2 -} - -pkg_postinst() { - apache-module_pkg_postinst - - local gid=`grep ^shadow: /etc/group | cut -d: -f3` - einfo - einfo "If the system is configured with the shadow authentication method" - einfo "the following commands must be executed by root to make /etc/shadow" - einfo "accessible by the Apache webserver:" - einfo - if [[ -z "${gid}" ]] ; then - einfo " # groupadd shadow" - einfo " # gpasswd -a apache shadow" - fi - einfo " # chgrp shadow /etc/shadow" - einfo " # chmod 640 /etc/shadow" - einfo -} diff --git a/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r2.ebuild b/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r2.ebuild deleted file mode 100644 index 602b443de8ed..000000000000 --- a/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_pam/mod_auth_pam-1.1.1-r2.ebuild,v 1.3 2008/05/14 23:16:30 flameeyes Exp $ - -inherit eutils apache-module - -DESCRIPTION="PAM authentication module for Apache." -HOMEPAGE="http://pam.sourceforge.net/mod_auth_pam/" -SRC_URI="http://pam.sourceforge.net/mod_auth_pam/dist/${PN}-2.0-${PV}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND="virtual/pam" -RDEPEND="${DEPEND}" - -APXS2_ARGS="-c ${PN}.c -lpam" -APACHE2_EXECFILES=".libs/mod_auth_sys_group.so" - -APACHE2_MOD_CONF="10_${PN}" -APACHE2_MOD_DEFINE="AUTH_PAM" - -DOCFILES="INSTALL README doc/*" - -need_apache - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-service_name.patch" -} - -src_compile() { - apache-module_src_compile - ${APXS} -c mod_auth_sys_group.c -} - -src_install() { - apache-module_src_install - insinto /etc/pam.d - newins "${FILESDIR}/apache2.pam" apache2 -} - -pkg_postinst() { - apache-module_pkg_postinst - - local gid=`grep ^shadow: /etc/group | cut -d: -f3` - einfo - einfo "If the system is configured with the shadow authentication method" - einfo "the following commands must be executed by root to make /etc/shadow" - einfo "accessible by the Apache webserver:" - einfo - if [[ -z "${gid}" ]] ; then - einfo " # groupadd shadow" - einfo " # gpasswd -a apache shadow" - fi - einfo " # chgrp shadow /etc/shadow" - einfo " # chmod 640 /etc/shadow" - einfo -} |