diff options
author | Aron Griffis <agriffis@gentoo.org> | 2005-06-24 22:49:18 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2005-06-24 22:49:18 +0000 |
commit | 3043a533304064cb14ac0f1347e09121bea21f92 (patch) | |
tree | c77fc0fa8a31b8a4a967577a8c539d8fa0d58878 /net-mail | |
parent | Move keepdir from pkg_preinst to src_install where it belongs. Use chown and (diff) | |
download | gentoo-2-3043a533304064cb14ac0f1347e09121bea21f92.tar.gz gentoo-2-3043a533304064cb14ac0f1347e09121bea21f92.tar.bz2 gentoo-2-3043a533304064cb14ac0f1347e09121bea21f92.zip |
User "mail" is part of baselayout /etc/passwd, there's no need to call
useradd. Move directory creation to src_install where it belongs
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/pop3vscan/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild | 13 | ||||
-rw-r--r-- | net-mail/pop3vscan/pop3vscan-0.4.ebuild | 12 |
3 files changed, 18 insertions, 16 deletions
diff --git a/net-mail/pop3vscan/ChangeLog b/net-mail/pop3vscan/ChangeLog index 1508ea9d8612..5bbd120ec5e9 100644 --- a/net-mail/pop3vscan/ChangeLog +++ b/net-mail/pop3vscan/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/pop3vscan -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/ChangeLog,v 1.14 2004/12/19 18:22:02 weeve Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/ChangeLog,v 1.15 2005/06/24 22:49:18 agriffis Exp $ + + 24 Jun 2005; Aron Griffis <agriffis@gentoo.org> pop3vscan-0.4.ebuild, + pop3vscan-0.4-r1.ebuild: + User "mail" is part of baselayout /etc/passwd, there's no need to call + useradd. Move directory creation to src_install where it belongs 19 Dec 2004; Jason Wever <weeve@gentoo.org> pop3vscan-0.4-r1.ebuild: Stable on sparc. diff --git a/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild b/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild index 6112829e0e3b..122cdcc46a25 100644 --- a/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild +++ b/net-mail/pop3vscan/pop3vscan-0.4-r1.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/pop3vscan/pop3vscan-0.4-r1.ebuild,v 1.6 2004/12/19 18:22:02 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild,v 1.7 2005/06/24 22:49:18 agriffis Exp $ inherit eutils @@ -42,15 +42,14 @@ src_install () { doins ${FILESDIR}/pop3vscan fperms 755 /etc/init.d/pop3vscan + dodir /var/spool/pop3vscan + fperms 700 /var/spool/pop3vscan + fowners mail /var/spool/pop3vscan + dodoc README } pkg_postinst() { - useradd -d /tmp -s /bin/false -g nogroup mail - dodir /var/spool/pop3vscan - fowners mail /var/spool/pop3vscan - fperms 700 /var/spool/pop3vscan - einfo "You need configure /etc/pop3vscan and /etc/pop3vscan.mail" einfo "For start pop3vscan you can use /etc/init.d/pop3vscan start" einfo "You need port-redirecting, a rule like:" diff --git a/net-mail/pop3vscan/pop3vscan-0.4.ebuild b/net-mail/pop3vscan/pop3vscan-0.4.ebuild index bfa960308a93..40da6c28a93e 100644 --- a/net-mail/pop3vscan/pop3vscan-0.4.ebuild +++ b/net-mail/pop3vscan/pop3vscan-0.4.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/pop3vscan/pop3vscan-0.4.ebuild,v 1.15 2004/10/01 21:39:34 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/pop3vscan-0.4.ebuild,v 1.16 2005/06/24 22:49:18 agriffis Exp $ DESCRIPTION="A transparent POP3-Proxy with virus-scanning capabilities." SRC_URI="mirror://sourceforge/pop3vscan/${P}.tar.gz" @@ -35,15 +35,13 @@ src_install () { doins ${FILESDIR}/pop3vscan fperms 755 /etc/init.d/pop3vscan + dodir /var/spool/pop3vscan + fperms 700 /var/spool/pop3vscan + dodoc README } pkg_postinst() { - useradd -d /tmp -s /bin/false -g nogroup mail - dodir /var/spool/pop3vscan - fowners mail /var/spool/pop3vscan - fperms 700 /var/spool/pop3vscan - einfo "You need configure /etc/pop3vscan and /etc/pop3vscan.mail" einfo "For start pop3vscan you can use /etc/init.d/pop3vscan start" einfo "You need port-redirecting, a rule like:" |