summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2005-02-16 19:24:52 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2005-02-16 19:24:52 +0000
commite61a90230d04ac0b437cbe74d353e80c31841fd4 (patch)
treedbfefaaeae7a1f34b7bd4c495d17fca2d9f54c49
parentStable on ppc. (diff)
downloadhistorical-e61a90230d04ac0b437cbe74d353e80c31841fd4.tar.gz
historical-e61a90230d04ac0b437cbe74d353e80c31841fd4.tar.bz2
historical-e61a90230d04ac0b437cbe74d353e80c31841fd4.zip
pam.d file wasn't beeing installed. wrt #40952. Reported by: Shaun Cloherty <s.cloherty@gsbme.unsw.edu.au>. Also fix init.script. No need to bump
Package-Manager: portage-2.0.51-r15
-rw-r--r--net-mail/vm-pop3d/ChangeLog12
-rw-r--r--net-mail/vm-pop3d/Manifest19
-rw-r--r--net-mail/vm-pop3d/files/vm-pop3d.pamd7
-rw-r--r--net-mail/vm-pop3d/files/vm-pop3d.rc324
-rw-r--r--net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild10
5 files changed, 51 insertions, 21 deletions
diff --git a/net-mail/vm-pop3d/ChangeLog b/net-mail/vm-pop3d/ChangeLog
index 279f528ca8e6..c311e7fb8c57 100644
--- a/net-mail/vm-pop3d/ChangeLog
+++ b/net-mail/vm-pop3d/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-mail/vm-pop3d
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/ChangeLog,v 1.9 2004/10/18 12:26:43 dholm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/ChangeLog,v 1.10 2005/02/16 19:24:52 ferdy Exp $
+
+ 16 Feb 2005; Fernando J. Pereda <ferdy@gentoo.org> +files/vm-pop3d.pamd,
+ files/vm-pop3d.rc3, vm-pop3d-1.1.6.ebuild:
+ Add pam.d file and modify init.d script
+
+ 16 Feb 2005; Fernando J. Pereda <ferdy@gentoo.org> vm-pop3d-1.1.6.ebuild:
+ pam.d file wasn't beeing installed. wrt #40952. Reported by: Shaun Cloherty
+ <s.cloherty@gsbme.unsw.edu.au>
18 Oct 2004; David Holm <dholm@gentoo.org> vm-pop3d-1.1.6.ebuild:
Added to ~ppc.
diff --git a/net-mail/vm-pop3d/Manifest b/net-mail/vm-pop3d/Manifest
index ae59749c80d6..35bd451a40d6 100644
--- a/net-mail/vm-pop3d/Manifest
+++ b/net-mail/vm-pop3d/Manifest
@@ -1,7 +1,18 @@
-MD5 5993211c81f74546b77180e8ac131d5e ChangeLog 1027
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 50244614c27f97fdd538c8193ae709c3 vm-pop3d-1.1.6.ebuild 1051
+MD5 ee129d94c3d68d2592fcf8269ab43935 ChangeLog 1379
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 5d5433b6ea3e1aae0a0d8a1c5b1886fc vm-pop3d-1.1.6.ebuild 962
+MD5 a9d324f523ea86118e7332afd4a86680 files/vm-pop3d.pamd 371
+MD5 e1515948a1a678c194fc980f6cee45df files/vm-pop3d.confd 168
+MD5 adb66961ba9e71bb61c57a8baef56471 files/vm-pop3d.rc3 464
MD5 ffe8e1df8587bd263bbd0d3f6bbc3f47 files/digest-vm-pop3d-1.1.6 66
MD5 800c7ed87d86ddfdfb50e3a2738c3f74 files/makefile.in.diff 408
-MD5 e1515948a1a678c194fc980f6cee45df files/vm-pop3d.confd 168
-MD5 b9ca12bfeabd41c02b404f47c3d81faf files/vm-pop3d.rc3 450
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCE54RViELBEf1JB0RAplnAJ0V1H+KyRXL4D/4120AB1X3rY2ldgCfcUvL
++8n3l0HN1+TqA3t6kYh6R5Y=
+=qR+s
+-----END PGP SIGNATURE-----
diff --git a/net-mail/vm-pop3d/files/vm-pop3d.pamd b/net-mail/vm-pop3d/files/vm-pop3d.pamd
new file mode 100644
index 000000000000..079609e29bd8
--- /dev/null
+++ b/net-mail/vm-pop3d/files/vm-pop3d.pamd
@@ -0,0 +1,7 @@
+# Standard pam.d file for mail service packages.
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/files/vm-pop3d.pamd,v 1.1 2005/02/16 19:24:52 ferdy Exp $
+
+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
diff --git a/net-mail/vm-pop3d/files/vm-pop3d.rc3 b/net-mail/vm-pop3d/files/vm-pop3d.rc3
index 8aae60bcbd2f..ef0c32d92a6a 100644
--- a/net-mail/vm-pop3d/files/vm-pop3d.rc3
+++ b/net-mail/vm-pop3d/files/vm-pop3d.rc3
@@ -1,23 +1,21 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/files/vm-pop3d.rc3,v 1.5 2004/07/14 23:52:56 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/files/vm-pop3d.rc3,v 1.6 2005/02/16 19:24:52 ferdy Exp $
-SERVICE=vm-pop3d
-
-opts="start stop restart"
+depend() {
+ need net
+ use logger
+}
start() {
- ebegin "Starting $SERVICE"
- /usr/sbin/vm-pop3d $OPTS
+ ebegin "Starting vm-pop3d"
+ start-stop-daemon --start --quiet --exec /usr/sbin/vm-pop3d -- ${OPTS}
+ eend ${?}
}
stop() {
- ebegin "Stopping $SERVICE"
- killall -15 /usr/sbin/vm-pop3d
-}
-
-restart() {
- stop
- start
+ ebegin "Stopping vm-pop3d"
+ killall vm-pop3d
+ eend ${?}
}
diff --git a/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild b/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild
index c48e8a820de8..098b8a6d78b9 100644
--- a/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild
+++ b/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild,v 1.13 2004/10/18 12:26:43 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild,v 1.14 2005/02/16 19:24:52 ferdy Exp $
inherit eutils
@@ -39,4 +39,10 @@ src_install() {
newexe ${FILESDIR}/vm-pop3d.rc3 vm-pop3d
insinto /etc/conf.d
newins ${FILESDIR}/vm-pop3d.confd vm-pop3d
+
+ if use pam;
+ then
+ insinto /etc/pam.d
+ newins ${FILESDIR}/vm-pop3d.pamd vm-pop3d
+ fi
}