diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-12-25 20:04:12 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-12-25 20:04:12 +0000 |
commit | ae9b8dc398504a232cae26e92300f08571e19ea0 (patch) | |
tree | f7cf6673095ccb7686632cae7f252365e1ae8482 /net-mail/mailbase | |
parent | fix user environmetn (diff) | |
download | gentoo-2-ae9b8dc398504a232cae26e92300f08571e19ea0.tar.gz gentoo-2-ae9b8dc398504a232cae26e92300f08571e19ea0.tar.bz2 gentoo-2-ae9b8dc398504a232cae26e92300f08571e19ea0.zip |
bug #8029
Diffstat (limited to 'net-mail/mailbase')
-rw-r--r-- | net-mail/mailbase/ChangeLog | 6 | ||||
-rw-r--r-- | net-mail/mailbase/mailbase-0.00-r5.ebuild | 18 |
2 files changed, 14 insertions, 10 deletions
diff --git a/net-mail/mailbase/ChangeLog b/net-mail/mailbase/ChangeLog index f0df8db079ee..58b50f482612 100644 --- a/net-mail/mailbase/ChangeLog +++ b/net-mail/mailbase/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-mail/mailbase # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/ChangeLog,v 1.6 2002/12/19 04:30:42 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/ChangeLog,v 1.7 2002/12/25 20:04:12 azarah Exp $ + + 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mailbase-0.00-r5.ebuild : + Always set the ownership and permissions in pkg_postinst(), closing bug #8029. + Cleanup the build a bit by using keepdir, fowners and fperms. *mailbase-0.00-r5 (18 Dec 2002) diff --git a/net-mail/mailbase/mailbase-0.00-r5.ebuild b/net-mail/mailbase/mailbase-0.00-r5.ebuild index ba7637ad692c..bec2e237d045 100644 --- a/net-mail/mailbase/mailbase-0.00-r5.ebuild +++ b/net-mail/mailbase/mailbase-0.00-r5.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r5.ebuild,v 1.1 2002/12/19 04:30:42 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r5.ebuild,v 1.2 2002/12/25 20:04:12 azarah Exp $ -S=${WORKDIR} +S="${WORKDIR}" DESCRIPTION="MTA layout package" SRC_URI="" HOMEPAGE="http://www.gentoo.org/" @@ -12,7 +12,6 @@ LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~alpha" DEPEND="" -RDEPEND="" src_install() { dodir /etc/mail @@ -21,10 +20,9 @@ src_install() { insinto /etc/ doins ${FILESDIR}/mailcap - dodir /var/spool/mail - chown root.mail ${D}/var/spool/mail - chmod 1777 ${D}/var/spool/mail - touch ${D}/var/spool/mail/.keep + keepdir /var/spool/mail + fowners root.mail /var/spool/mail + fperms 1777 /var/spool/mail dosym /var/spool/mail /var/mail } @@ -32,7 +30,9 @@ pkg_postinst() { if [ ! -d ${ROOT}/var/spool/mail ] then mkdir -p ${ROOT}/var/spool/mail - chown root.mail ${ROOT}/var/spool/mail - chmod 1777 ${ROOT}/var/spool/mail fi + + # Always set these to close bug #8029. + chown root.mail ${ROOT}/var/spool/mail + chmod 1777 ${ROOT}/var/spool/mail } |