diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2002-06-27 16:29:56 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2002-06-27 16:29:56 +0000 |
commit | d46e61bfd37c6bd3d0162c7ef47b288232d1fd9f (patch) | |
tree | b7e0cc9d72c2ed2af00bcc68b4f35f6ec2c82d01 /net-mail | |
parent | unmasking portage 2.0.7 (diff) | |
download | gentoo-2-d46e61bfd37c6bd3d0162c7ef47b288232d1fd9f.tar.gz gentoo-2-d46e61bfd37c6bd3d0162c7ef47b288232d1fd9f.tar.bz2 gentoo-2-d46e61bfd37c6bd3d0162c7ef47b288232d1fd9f.zip |
Make sure queue dirs don't get "emerge clean"ed out of existence.
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/sendmail/ChangeLog | 6 | ||||
-rw-r--r-- | net-mail/sendmail/files/digest-sendmail-8.12.4-r2 (renamed from net-mail/sendmail/files/digest-sendmail-8.12.4-r1) | 0 | ||||
-rw-r--r-- | net-mail/sendmail/sendmail-8.12.4-r2.ebuild (renamed from net-mail/sendmail/sendmail-8.12.4-r1.ebuild) | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/net-mail/sendmail/ChangeLog b/net-mail/sendmail/ChangeLog index c1691b25f823..83aeb88ff896 100644 --- a/net-mail/sendmail/ChangeLog +++ b/net-mail/sendmail/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for <CATEGORY>/<PACKAGE_NAME> # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/ChangeLog,v 1.4 2002/06/24 21:03:57 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/ChangeLog,v 1.5 2002/06/27 16:29:56 g2boojum Exp $ + + 27 Jun 2002; Grant Goodyear <g2boojum@gentoo.org> sendmail-8.12.4-r2.ebuild: + + Make sure that queue directories don't get cleaned away. 24 Jun 2002; Thilo Bangert <bangert@gentoo.org> sendmail-8.12.4-r1.ebuild: diff --git a/net-mail/sendmail/files/digest-sendmail-8.12.4-r1 b/net-mail/sendmail/files/digest-sendmail-8.12.4-r2 index ac023cc4008c..ac023cc4008c 100644 --- a/net-mail/sendmail/files/digest-sendmail-8.12.4-r1 +++ b/net-mail/sendmail/files/digest-sendmail-8.12.4-r2 diff --git a/net-mail/sendmail/sendmail-8.12.4-r1.ebuild b/net-mail/sendmail/sendmail-8.12.4-r2.ebuild index 91cbf4c9ef80..5b814034dced 100644 --- a/net-mail/sendmail/sendmail-8.12.4-r1.ebuild +++ b/net-mail/sendmail/sendmail-8.12.4-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/sendmail-8.12.4-r1.ebuild,v 1.4 2002/06/25 08:43:04 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/sendmail-8.12.4-r2.ebuild,v 1.1 2002/06/27 16:29:56 g2boojum Exp $ DESCRIPTION="Widely-used Mail Transport Agent (MTA)." HOMEPAGE="http://www.sendmail.org" @@ -39,6 +39,16 @@ SRC_URI="ftp://ftp.sendmail.org/pub/${PN}/${PN}.${PV}.tar.gz" S=${WORKDIR}/${P} +#adds ".keep" files so that dirs aren't auto-cleaned +keepdir() { + dodir $* + local x + for x in $* + do + touch ${D}/${x}/.keep + done +} + pkg_setup() { if ! grep -q ^smmsp: /etc/group then @@ -102,6 +112,7 @@ src_install () { dodir /var/spool/{mqueue,clientmqueue} /etc/conf.d fperms 770 /var/spool/clientmqueue fperms 700 /var/spool/mqueue + keepdir /var/spool/{clientmqueue,mqueue} for dir in libmilter libsmutil sendmail mailstats praliases smrsh makemap vacation do make DESTDIR=${D} MANROOT=/usr/share/man/man \ |