Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39817

Summary: QA: mail-mta/xmail - dropped keyword
Product: Gentoo Linux Reporter: Daniel Black (RETIRED) <dragonheart>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: langthang, max, merlin, qa
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.gentoo.org/doc/en/gentoo-howto.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 35308, 91141    
Bug Blocks:    

Description Daniel Black (RETIRED) gentoo-dev 2004-01-29 15:31:33 UTC
Forbidden by ref url:

/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  touch ${D}/chroot/xmail/var/MailRoot/bin/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:          touch ${D}/etc/xmail/${i}/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:          touch ${D}/etc/xmail/userauth/${i}/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f ${D}/etc/xmail/userauth/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/cmdaliases/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/custdomains/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/domains/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/filters/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/pop3linklocks/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/pop3links/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/pop3locks/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/userauth/pop3/.keep
/usr/portage/net-mail/xmail/xmail-1.15.ebuild:  rm -f /etc/xmail/userauth/smtp/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  touch ${D}/chroot/xmail/var/MailRoot/bin/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:          touch ${D}/etc/xmail/${i}/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:          touch ${D}/etc/xmail/userauth/${i}/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f ${D}/etc/xmail/userauth/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/cmdaliases/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/custdomains/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/domains/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/filters/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/pop3linklocks/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/pop3links/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/pop3locks/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/userauth/pop3/.keep
/usr/portage/net-mail/xmail/xmail-1.16.ebuild:  rm -f /etc/xmail/userauth/smtp/.keep


use keepdir instead
Comment 1 Nick Hadaway 2004-03-18 17:27:19 UTC
i would love to use keepdir...

this is kind of a special situation though... the .keep files are only created utilized and deleted during the install as keeping the .keep files in the ${D} after installation leaves you with a malfunctioning mail server... 

any ideas?
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-03-22 01:28:20 UTC
My gut feel is that .keep files realy aren't needed duing the install. Hoping a QA person may have more insight.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-22 01:44:40 UTC
max, can you have a look at this one please?  seems to relate to the postfix issue you had recently

I do agree that daniel is correct, instead of touch'ing the .keep files, keepdir should be done instead
Comment 4 Max Kalika (RETIRED) gentoo-dev 2004-03-22 13:37:15 UTC
ok, I just fixed postfix.  Essentially the best way to do this, is create the directories during pkg_postinst() (look at postfix-2.0.19.ebuild).  But be sure those directories don't exist after src_install() because portage will blow them away on version upgrade if they're empty.  I remove them during src_install() and add them back during pkg_postinst() in postfix.  Something similar should work here.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-12-29 15:23:35 UTC
this can be closed if xmail-1.16.ebuild is removed.

BTW why the drop in ppc keyword in 1.20?
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2005-05-01 15:13:48 UTC
I removed xmail-1.16 from portage, as 1.16-r1 supersedes it. Thanks everyone.

As for the dropped keyword, it will be best if ppc team has a look on it. It was dropped when merlin@g.o bumped xmail from 1.16-r1 to 1.20. CCing both ppc@ and merlin@.
Comment 7 Tuan Van (RETIRED) gentoo-dev 2005-05-05 10:33:42 UTC
~ppc is in  xmail-1.21.ebuild 3 months ago. If we resolve bug 91141, this one can be closed.
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2005-05-15 13:52:39 UTC
Removing ppc from CC since it's already keyworded.
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2005-06-06 06:26:24 UTC
Closing, thanks everyone.