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
commit3913a1f97bd7ce4afd478a5c535363d106c1cec6 (patch)
tree816534dab35eb203ad25ed07b1619bda290d9024 /www-apache
parentRemove ppc-macos conditional (diff)
downloadgentoo-2-3913a1f97bd7ce4afd478a5c535363d106c1cec6.tar.gz
gentoo-2-3913a1f97bd7ce4afd478a5c535363d106c1cec6.tar.bz2
gentoo-2-3913a1f97bd7ce4afd478a5c535363d106c1cec6.zip
initial ebuild, #204921
(Portage version: 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/Manifest6
-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, 62 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..ea9539a04328
--- /dev/null
+++ b/www-apache/mod_authn_pam/Manifest
@@ -0,0 +1,6 @@
+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 738 RMD160 15cf893f75372b5e566442f16bc6a37db9ad65a3 SHA1 390d240cb6204b27b9935bdbd5b8f01d83e3dd4c SHA256 99e00323d3807972f802d6d8afd54478ff1811dadf7c4dda76e2a6741cc43ba6
+MISC ChangeLog 336 RMD160 27d52a95519d1f2a754fc38111d12db015e9b527 SHA1 ed7d60fe5d53c8575b29a9f2399e3cff79e3a4bb SHA256 c18f43d227bd8ba7607d0802fe0b57a8e457aef3439367da90ab492bba9ccc0d
+MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe
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
+}