diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 22:37:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 22:37:15 +0000 |
commit | 39506a1d301c7e145b8bde23a08408c0f2e61a4d (patch) | |
tree | b79312f998552a280754db0f6199c42d07134669 /net-mail | |
parent | fix group check in enewuser #43278 (diff) | |
download | gentoo-2-39506a1d301c7e145b8bde23a08408c0f2e61a4d.tar.gz gentoo-2-39506a1d301c7e145b8bde23a08408c0f2e61a4d.tar.bz2 gentoo-2-39506a1d301c7e145b8bde23a08408c0f2e61a4d.zip |
old
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/xmail/files/digest-xmail-1.15 | 1 | ||||
-rw-r--r-- | net-mail/xmail/xmail-1.15.ebuild | 122 |
2 files changed, 0 insertions, 123 deletions
diff --git a/net-mail/xmail/files/digest-xmail-1.15 b/net-mail/xmail/files/digest-xmail-1.15 deleted file mode 100644 index da8db88c0742..000000000000 --- a/net-mail/xmail/files/digest-xmail-1.15 +++ /dev/null @@ -1 +0,0 @@ -MD5 df7b85c889d8ac420559cb5a1e0678b7 xmail-1.15.tar.gz 402472 diff --git a/net-mail/xmail/xmail-1.15.ebuild b/net-mail/xmail/xmail-1.15.ebuild deleted file mode 100644 index 236a14730ec2..000000000000 --- a/net-mail/xmail/xmail-1.15.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/xmail/xmail-1.15.ebuild,v 1.5 2003/09/05 02:38:47 msterret Exp $ - -DESCRIPTION="The world's fastest email server" -HOMEPAGE="http://www.xmailserver.org/" -SRC_URI="http://www.xmailserver.org/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~sparc" -IUSE="" -DEPEND="virtual/glibc" -PROVIDE="virtual/mta" - -pkg_setup() { - if ! grep -q ^xmail: /etc/group - then - groupadd xmail || die "problem adding group xmail" - fi - if ! grep -q ^xmail: /etc/passwd - then - useradd -g xmail -d /dev/null -s /bin/false xmail \ - || die "problem adding user xmail" - fi -} - -src_compile() { - emake -f Makefile.lnx || die - sed -e "s:/var/MailRoot:/etc/xmail:g" sendmail.sh > sendmail.sh.new -} - -src_install() { - einfo "Setting up directory hierarchy" - diropts -m 700 -o xmail -g xmail - dodir /etc/xmail - dodir /chroot/xmail/var/MailRoot/bin - dodir /etc/xmail/tabindex - dodir /etc/xmail/dnscache/mx - dodir /etc/xmail/dnscache/ns - dodir /etc/xmail/spool/local - dodir /etc/xmail/spool/temp - dodir /etc/xmail/logs - dodir /etc/init.d - dodir /etc/conf.d - - touch ${D}/chroot/xmail/var/MailRoot/bin/.keep - - for i in cmdaliases custdomains domains filters pop3linklocks\ - pop3links pop3locks userauth - do - dodir /etc/xmail/${i} - touch ${D}/etc/xmail/${i}/.keep - done - - for i in pop3 smtp - do - dodir /etc/xmail/userauth/${i} - touch ${D}/etc/xmail/userauth/${i}/.keep - done - rm -f ${D}/etc/xmail/userauth/.keep - - einfo "Installing the XMail initial configuration" - insopts -o xmail -g xmail -m 600 - cd ${S}/MailRoot - insinto /etc/xmail - doins server.tab ctrl.ipmap.tab dnsroots finger.ipmap.tab\ - message.id pop3.ipmap.tab smtp.ipmap.tab\ - userdef.tab - - umask 077 - for i in mailusers extaliases domains mailusers aliases \ - aliasdomain extaliases pop3links smtpauth smtpextauth \ - smtpfwd smtprelay smtpgw spam-address spammers ctrlaccounts \ - filters.in filters.out - do - touch ${D}/etc/xmail/${i}.tab - done - - einfo "Installing the XMail documentation" - umask 022 - dodoc ${S}/docs/* - dodoc ${S}/gpl.txt - dodoc ${S}/ToDo.txt - - - einfo "Installing the XMail software" - insinto /etc/env.d - doins ${FILESDIR}/15xmail - exeinto /etc/init.d - newexe ${FILESDIR}/xmail.initd xmail - insinto /etc/conf.d - newins ${FILESDIR}/xmail.confd xmail - cd ${S} - insopts -o xmail -g xmail -m 4700 - newsbin sendmail sendmail.xmail - insopts -o xmail -g xmail -m 700 - exeinto /chroot/xmail/var/MailRoot/bin - doexe CtrlClnt XMail XMCrypt MkUsers - newsbin sendmail.sh.new sendmail -} - -pkg_postinst() { - rm -f /etc/xmail/cmdaliases/.keep - rm -f /etc/xmail/custdomains/.keep - rm -f /etc/xmail/domains/.keep - rm -f /etc/xmail/filters/.keep - rm -f /etc/xmail/pop3linklocks/.keep - rm -f /etc/xmail/pop3links/.keep - rm -f /etc/xmail/pop3locks/.keep - rm -f /etc/xmail/userauth/pop3/.keep - rm -f /etc/xmail/userauth/smtp/.keep - - #read -n 1 -p "Do you want to configure XMail now (y/n)? " YESNO - #echo "" - #if [ $YESNO == 'Y' -o $YESNO == 'y' ] ; then - # sh ${FILESDIR}/xmailwizard - #else - # einfo "You can quickly configure XMail by running ${FILESDIR}/xmailwizard." - #fi - - einfo "You can quickly configure XMail by running ${FILESDIR}/xmailwizard." -} |