summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-02-07 21:34:37 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-02-07 21:34:37 +0000
commitaba859f0a6ab2afc0917afcae86e6c9dc63a2f78 (patch)
tree057803c2b9024ff83639531cf51695ec0543043f /www-apache
parentRemove ppc-macos conditional (diff)
downloadhistorical-aba859f0a6ab2afc0917afcae86e6c9dc63a2f78.tar.gz
historical-aba859f0a6ab2afc0917afcae86e6c9dc63a2f78.tar.bz2
historical-aba859f0a6ab2afc0917afcae86e6c9dc63a2f78.zip
initial ebuild, #204921
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_authn_pam/ChangeLog11
-rw-r--r--www-apache/mod_authn_pam/Manifest16
-rw-r--r--www-apache/mod_authn_pam/files/10_mod_authn_pam.conf5
-rw-r--r--www-apache/mod_authn_pam/files/apache2.pam6
-rw-r--r--www-apache/mod_authn_pam/metadata.xml5
-rw-r--r--www-apache/mod_authn_pam/mod_authn_pam-0.0.1.ebuild29
6 files changed, 72 insertions, 0 deletions
diff --git a/www-apache/mod_authn_pam/ChangeLog b/www-apache/mod_authn_pam/ChangeLog
new file mode 100644
index 000000000000..088920a67726
--- /dev/null
+++ b/www-apache/mod_authn_pam/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apache/mod_authn_pam
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_authn_pam/ChangeLog,v 1.1 2008/02/07 21:34:37 hollow Exp $
+
+*mod_authn_pam-0.0.1 (07 Feb 2008)
+
+ 07 Feb 2008; Benedikt Böhm <hollow@gentoo.org>
+ +files/10_mod_authn_pam.conf, +files/apache2.pam, +metadata.xml,
+ +mod_authn_pam-0.0.1.ebuild:
+ initial ebuild, #204921
+
diff --git a/www-apache/mod_authn_pam/Manifest b/www-apache/mod_authn_pam/Manifest
new file mode 100644
index 000000000000..5d7a18ccf0c4
--- /dev/null
+++ b/www-apache/mod_authn_pam/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 10_mod_authn_pam.conf 115 RMD160 62a22078637fdcd578da211796ebb2c20d72f5b3 SHA1 c6ab3c95ab93ff8608fd527afe212f5557d85a6a SHA256 50007b241627e57597f97a1872957f56f41d64b118d33d8b2dd70e92e31d5503
+AUX apache2.pam 193 RMD160 a7fef247ec9ea0f201d87140b107c42a9ed0979e SHA1 0a832eb9e850bad4a172b18a8f368183aa253820 SHA256 f849e877a0a7bd23e2d0ce747d674a5a5ace7da603c90a36a468a83fb123aee1
+DIST mod_authn_pam-0.0.1.tar.bz2 3562 RMD160 798362801a67a37e455c48353398c6fbdf0788f8 SHA1 5698dab99d6ccf8c7435f0e31924eaa3d8d165fa SHA256 489672758317a3ee59496a55037ca66fa021750f333bc879cbb1e7bcedbfd9fd
+EBUILD mod_authn_pam-0.0.1.ebuild 737 RMD160 576d3d4d500f8ef69897ed7223914ffbf08e0046 SHA1 6870065d3be87f2b72ecaba6ee0bd25006d1da6e SHA256 93960ae47e750281f5412a73b2403f79b838413624f2fe86590291143a36d7f3
+MISC ChangeLog 432 RMD160 829e2a3e1d9299e3323b0401c2eb65ab4f878fb0 SHA1 7df706e2389879871ee55e7600c00ccd0c038a13 SHA256 2eb1a9bbdaa7347260dc02ce3a8e93bc3a6d7b9cefbff0cdff6d23e2ed00c965
+MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.8 (GNU/Linux)
+
+iEYEARECAAYFAkereXUACgkQmPFBzbX68WHjZACeIALCWz+lPWTyv7BNB7TvZGqL
+EWoAn3M8T1tTNFpwbmZqUkGIPPaKGPdy
+=zOS8
+-----END PGP SIGNATURE-----
diff --git a/www-apache/mod_authn_pam/files/10_mod_authn_pam.conf b/www-apache/mod_authn_pam/files/10_mod_authn_pam.conf
new file mode 100644
index 000000000000..6ebc6e8122fe
--- /dev/null
+++ b/www-apache/mod_authn_pam/files/10_mod_authn_pam.conf
@@ -0,0 +1,5 @@
+<IfDefine AUTHN_PAM>
+LoadModule authn_pam_module modules/mod_authn_pam.so
+</IfDefine>
+
+# vim: ts=4 filetype=apache
diff --git a/www-apache/mod_authn_pam/files/apache2.pam b/www-apache/mod_authn_pam/files/apache2.pam
new file mode 100644
index 000000000000..a17959a3929f
--- /dev/null
+++ b/www-apache/mod_authn_pam/files/apache2.pam
@@ -0,0 +1,6 @@
+#%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_authn_pam/metadata.xml b/www-apache/mod_authn_pam/metadata.xml
new file mode 100644
index 000000000000..64a719ea1bfd
--- /dev/null
+++ b/www-apache/mod_authn_pam/metadata.xml
@@ -0,0 +1,5 @@
+<?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_authn_pam/mod_authn_pam-0.0.1.ebuild b/www-apache/mod_authn_pam/mod_authn_pam-0.0.1.ebuild
new file mode 100644
index 000000000000..42db02ac7378
--- /dev/null
+++ b/www-apache/mod_authn_pam/mod_authn_pam-0.0.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_authn_pam/mod_authn_pam-0.0.1.ebuild,v 1.1 2008/02/07 21:34:37 hollow Exp $
+
+inherit eutils apache-module
+
+DESCRIPTION="PAM authentication module for Apache."
+HOMEPAGE="http://mod-auth.sourceforge.net/docs/mod_authn_pam/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/pam"
+RDEPEND="${DEPEND}"
+
+APXS2_ARGS="-c ${PN}.c -lpam"
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="AUTHN_PAM"
+
+need_apache2_2
+
+src_install() {
+ apache-module_src_install
+ insinto /etc/pam.d
+ newins "${FILESDIR}"/apache2.pam apache2
+}