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
commit3e0a13aa5c30c920fd10c3ac9885ffcfcbd0692d (patch)
treed280cbf2fb0c197f14439b1d1c5a718e45132972 /net-mail/vm-pop3d
parentStable on ppc. (diff)
downloadgentoo-2-3e0a13aa5c30c920fd10c3ac9885ffcfcbd0692d.tar.gz
gentoo-2-3e0a13aa5c30c920fd10c3ac9885ffcfcbd0692d.tar.bz2
gentoo-2-3e0a13aa5c30c920fd10c3ac9885ffcfcbd0692d.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
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-mail/vm-pop3d')
-rw-r--r--net-mail/vm-pop3d/ChangeLog12
-rw-r--r--net-mail/vm-pop3d/Manifest9
-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, 41 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..efc1719ca6db 100644
--- a/net-mail/vm-pop3d/Manifest
+++ b/net-mail/vm-pop3d/Manifest
@@ -1,7 +1,8 @@
-MD5 5993211c81f74546b77180e8ac131d5e ChangeLog 1027
+MD5 e3ec19d0d7f02421a0d568699303ef2c vm-pop3d-1.1.6.ebuild 1051
+MD5 d51945581886ba01431a9456733b94b7 ChangeLog 1378
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 5d5433b6ea3e1aae0a0d8a1c5b1886fc vm-pop3d-1.1.6.ebuild 962
+MD5 17ba04560b71fd0314edffb87f983bf5 files/vm-pop3d.pamd 369
+MD5 e1515948a1a678c194fc980f6cee45df files/vm-pop3d.confd 168
+MD5 847a17f7837acb64629ec8943c5a5e72 files/vm-pop3d.rc3 467
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
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
}