summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lutgens <lamer@gentoo.org>2001-08-13 22:08:19 +0000
committerBen Lutgens <lamer@gentoo.org>2001-08-13 22:08:19 +0000
commit7157ce8ea38c56f08e302eb087b01d993e67051e (patch)
treeefd6e09bc9fb729f17b22f2ab1e3d83cdc567de2 /net-mail/courier-imap
parentStuff I missed before (diff)
downloadgentoo-2-7157ce8ea38c56f08e302eb087b01d993e67051e.tar.gz
gentoo-2-7157ce8ea38c56f08e302eb087b01d993e67051e.tar.bz2
gentoo-2-7157ce8ea38c56f08e302eb087b01d993e67051e.zip
Added the necessary pam.d files for these two daemons.
Diffstat (limited to 'net-mail/courier-imap')
-rw-r--r--net-mail/courier-imap/courier-imap-1.3.8.ebuild4
-rw-r--r--net-mail/courier-imap/files/pam.d-imap12
2 files changed, 15 insertions, 1 deletions
diff --git a/net-mail/courier-imap/courier-imap-1.3.8.ebuild b/net-mail/courier-imap/courier-imap-1.3.8.ebuild
index c6e168a64b7d..de8fce3ed220 100644
--- a/net-mail/courier-imap/courier-imap-1.3.8.ebuild
+++ b/net-mail/courier-imap/courier-imap-1.3.8.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-1.3.8.ebuild,v 1.3 2001/06/01 14:53:46 blutgens Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-1.3.8.ebuild,v 1.4 2001/08/13 22:08:19 lamer Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -91,6 +91,8 @@ src_install () {
rm ${D}/usr/sbin/mkimapdcert
exeinto /usr/sbin
doexe ${FILESDIR}/mkimapdcert
+ insinto /etc/pam.d
+ doins ${FILEDIR}/pam.d-imap
}
pkg_config() {
diff --git a/net-mail/courier-imap/files/pam.d-imap b/net-mail/courier-imap/files/pam.d-imap
new file mode 100644
index 000000000000..d400202714a2
--- /dev/null
+++ b/net-mail/courier-imap/files/pam.d-imap
@@ -0,0 +1,12 @@
+# Copyright 1998-2001 Double Precision, Inc. See COPYING for
+# distribution information.
+#
+# To use the authpam authentication module with imapd, you must
+# configure your PAM library to authenticate the "imap" service.
+# See your system documentation for information on how to configure your
+# PAM services. In most cases, all you need to do is to install this file
+# as /etc/pam.d/imapd, but check your system documentation to make sure.
+
+auth required /lib/security/pam_pwdb.so shadow nullok
+account required /lib/security/pam_pwdb.so
+session required /lib/security/pam_pwdb.so