summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/mod_auth_pam/files')
-rw-r--r--net-www/mod_auth_pam/files/1.1.1-r1/10_mod_auth_pam.conf31
-rw-r--r--net-www/mod_auth_pam/files/digest-mod_auth_pam-1.1.1-r11
-rw-r--r--net-www/mod_auth_pam/files/mod_auth_pam-1.1.1-r1-gentoo.diff12
3 files changed, 44 insertions, 0 deletions
diff --git a/net-www/mod_auth_pam/files/1.1.1-r1/10_mod_auth_pam.conf b/net-www/mod_auth_pam/files/1.1.1-r1/10_mod_auth_pam.conf
new file mode 100644
index 000000000000..cc5ecd38291f
--- /dev/null
+++ b/net-www/mod_auth_pam/files/1.1.1-r1/10_mod_auth_pam.conf
@@ -0,0 +1,31 @@
+<IfDefine AUTH_PAM>
+ <IfModule !mod_auth_pam.c>
+ LoadModule auth_pam_module modules/mod_auth_pam.so
+ </IfModule>
+ <IfModule !mod_auth_sys_group.c>
+ LoadModule auth_sys_group_module modules/mod_auth_sys_group.so
+ </IfModule>
+</IfDefine>
+
+### EXAMPLE 1: authentificate against a single PAM account
+###
+# <IfModule mod_auth_pam.c>
+# AuthPAM_Enabled on
+#
+# AuthType Basic
+# AuthName "secure area"
+# Require user webmaster
+# </IfModule>
+
+### EXAMPLE 2: authentificate against a a PAM group, so, that each user
+### beeing in this group may access this "secure area"
+###
+# <IfModule mod_auth_sys_group.c>
+# AuthPAM_Enabled on
+#
+# AuthType Basic
+# AuthName "secure area"
+# Require group staff
+# </IfModule>
+
+# vim:syntax=apache
diff --git a/net-www/mod_auth_pam/files/digest-mod_auth_pam-1.1.1-r1 b/net-www/mod_auth_pam/files/digest-mod_auth_pam-1.1.1-r1
new file mode 100644
index 000000000000..d6c1f8c5cbb8
--- /dev/null
+++ b/net-www/mod_auth_pam/files/digest-mod_auth_pam-1.1.1-r1
@@ -0,0 +1 @@
+MD5 ab873520ddd2fee7d480dfd53e464e0a mod_auth_pam-2.0-1.1.1.tar.gz 11456
diff --git a/net-www/mod_auth_pam/files/mod_auth_pam-1.1.1-r1-gentoo.diff b/net-www/mod_auth_pam/files/mod_auth_pam-1.1.1-r1-gentoo.diff
new file mode 100644
index 000000000000..8f7376d5223d
--- /dev/null
+++ b/net-www/mod_auth_pam/files/mod_auth_pam-1.1.1-r1-gentoo.diff
@@ -0,0 +1,12 @@
+diff -urN mod_auth_pam.orig/mod_auth_pam.c mod_auth_pam/mod_auth_pam.c
+--- mod_auth_pam.orig/mod_auth_pam.c 2002-08-24 16:22:23.000000000 +0200
++++ mod_auth_pam/mod_auth_pam.c 2003-09-07 12:07:05.000000000 +0200
+@@ -151,7 +151,7 @@
+ module auth_pam_module;
+
+ static const char
+- *pam_servicename = "httpd",
++ *pam_servicename = "apache2",
+ *valid_user = "valid-user";
+
+ typedef struct {