summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/cyrus-sasl/ChangeLog7
-rw-r--r--dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild14
-rw-r--r--dev-libs/cyrus-sasl/files/saslauthd.pam8
3 files changed, 23 insertions, 6 deletions
diff --git a/dev-libs/cyrus-sasl/ChangeLog b/dev-libs/cyrus-sasl/ChangeLog
index b1e17c54d755..3e04af8d9110 100644
--- a/dev-libs/cyrus-sasl/ChangeLog
+++ b/dev-libs/cyrus-sasl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/cyrus-sasl
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.50 2004/01/15 21:50:16 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/ChangeLog,v 1.51 2004/01/15 22:00:12 max Exp $
+
+ 15 Jan 2004; Max Kalika <max@gentoo.org> cyrus-sasl-2.1.17.ebuild,
+ files/saslauthd.pam:
+ Add PAM file from bug #27690 contributed by Ryan Dalzell. Fix installation of
+ .rc6 and .conf files
15 Jan 2004; Max Kalika <max@gentoo.org> cyrus-sasl-2.1.17.ebuild,
files/cyrus-sasl-2.1.17-pgsql-include.patch:
diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
index f4d9beb23a6f..eeff7cb503fd 100644
--- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
+++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.2 2004/01/15 21:50:16 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.3 2004/01/15 22:00:12 max Exp $
inherit eutils flag-o-matic
@@ -119,10 +119,14 @@ src_install () {
docinto saslauthd
dodoc saslauthd/{AUTHORS,COPYING,ChangeLog,LDAP_SASLAUTHD,NEWS,README}
+ if [ "`use pam`" ] ; then
+ insinto /etc/pam.d
+ newins "${FILESDIR}/saslauthd.pam" saslauthd
+ fi
+
exeinto /etc/init.d
- newexe "${FILESDIR}/pwcheck.rc6 pwcheck"
- exeinto /etc/init.d
- newexe "${FILESDIR}/saslauthd.rc6 saslauthd"
+ newexe "${FILESDIR}/pwcheck.rc6" pwcheck
+ newexe "${FILESDIR}/saslauthd.rc6" saslauthd
insinto /etc/conf.d
- newins "${FILESDIR}/saslauthd.conf saslauthd"
+ newins "${FILESDIR}/saslauthd.conf" saslauthd
}
diff --git a/dev-libs/cyrus-sasl/files/saslauthd.pam b/dev-libs/cyrus-sasl/files/saslauthd.pam
new file mode 100644
index 000000000000..b6654c410ad4
--- /dev/null
+++ b/dev-libs/cyrus-sasl/files/saslauthd.pam
@@ -0,0 +1,8 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+auth required pam_stack.so service=system-auth
+
+account required pam_stack.so service=system-auth
+
+session required pam_stack.so service=system-auth