diff options
author | Cory Visi <merlin@gentoo.org> | 2004-06-28 21:29:34 +0000 |
---|---|---|
committer | Cory Visi <merlin@gentoo.org> | 2004-06-28 21:29:34 +0000 |
commit | 6fc16386f447db1e676f7da5620740fe7e22008f (patch) | |
tree | fb1a4238fc6001f58ed1f58f74b0dce418cd13ea /mail-mta/xmail | |
parent | Version bump. (Manifest recommit) (diff) | |
download | gentoo-2-6fc16386f447db1e676f7da5620740fe7e22008f.tar.gz gentoo-2-6fc16386f447db1e676f7da5620740fe7e22008f.tar.bz2 gentoo-2-6fc16386f447db1e676f7da5620740fe7e22008f.zip |
version bump to 1.20
Diffstat (limited to 'mail-mta/xmail')
-rw-r--r-- | mail-mta/xmail/ChangeLog | 7 | ||||
-rw-r--r-- | mail-mta/xmail/Manifest | 4 | ||||
-rw-r--r-- | mail-mta/xmail/files/digest-xmail-1.20 | 1 | ||||
-rw-r--r-- | mail-mta/xmail/xmail-1.20.ebuild | 131 |
4 files changed, 141 insertions, 2 deletions
diff --git a/mail-mta/xmail/ChangeLog b/mail-mta/xmail/ChangeLog index 22edf5419b83..7b182c9b0841 100644 --- a/mail-mta/xmail/ChangeLog +++ b/mail-mta/xmail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/xmail # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.4 2004/06/28 20:57:20 merlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.5 2004/06/28 21:29:34 merlin Exp $ + +*xmail-1.20 (28 Jun 2004) + + 28 Jun 2004; Cory Visi <merlin@gentoo.org> xmail-1.20.ebuild: + version bump from 1.16-r1 to 1.20 *xmail-1.16-r1 (28 Jun 2004) diff --git a/mail-mta/xmail/Manifest b/mail-mta/xmail/Manifest index 115fc1349355..398895bf0a79 100644 --- a/mail-mta/xmail/Manifest +++ b/mail-mta/xmail/Manifest @@ -1,6 +1,7 @@ -MD5 15dd8d3933e737131339dc0045f162ff ChangeLog 3699 +MD5 61200e6fd07a5009ae421c20aa892462 ChangeLog 3827 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 fbe01f03eedb07517c65edf35c80471e xmail-1.16-r1.ebuild 3579 +MD5 aef077e0137b5c8581c1a0e6c0bac2c6 xmail-1.20.ebuild 3396 MD5 161a15d2a99e86598b8c284a993603c9 xmail-1.16.ebuild 3246 MD5 e00a488aecb141a34c5ec43eac58b9a9 files/15xmail 24 MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16 62 @@ -8,3 +9,4 @@ MD5 8f93bde743cf3f7a77f27bcf602aa4dc files/xmail.confd 409 MD5 6445512ce263f40aad7eabadeea2e3d7 files/xmail.initd 2803 MD5 83d5827b27ef269bc0cd20f87b1fd8c2 files/xmailwizard 2306 MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16-r1 62 +MD5 6581875d1cebeca3b8fe46e7474622e1 files/digest-xmail-1.20 62 diff --git a/mail-mta/xmail/files/digest-xmail-1.20 b/mail-mta/xmail/files/digest-xmail-1.20 new file mode 100644 index 000000000000..ea0696f0e284 --- /dev/null +++ b/mail-mta/xmail/files/digest-xmail-1.20 @@ -0,0 +1 @@ +MD5 1c9279508957b2c03e024412ade9bb19 xmail-1.20.tar.gz 404113 diff --git a/mail-mta/xmail/xmail-1.20.ebuild b/mail-mta/xmail/xmail-1.20.ebuild new file mode 100644 index 000000000000..28f716457675 --- /dev/null +++ b/mail-mta/xmail/xmail-1.20.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.20.ebuild,v 1.1 2004/06/28 21:29:34 merlin Exp $ + +inherit eutils + +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" + +DEPEND="virtual/glibc + >=sys-apps/sed-4" +PROVIDE="virtual/mta" + +pkg_setup() { + enewgroup xmail + enewuser xmail -1 /bin/false /dev/null xmail +} + +src_compile() { + sed -i -e "s:^CFLAGS = -O2:CFLAGS=$CFLAGS:g" Makefile.lnx + + # Makefile does not setup dependencies properly to handle parallel build + emake -j1 -f Makefile.lnx || die + + sed -e "s:/var/MailRoot:/chroot/xmail/var/MailRoot:g" sendmail.sh > sendmail.sh.new +} + +src_install() { + # create some image directories with default diropts + dodir /etc/conf.d + dodir /etc/init.d + dodir /etc/env.d + + einfo "Setting up directory hierarchy" + diropts -m 700 -o xmail -g xmail + dodir /etc/xmail + keepdir /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 + + for i in cmdaliases custdomains domains filters pop3linklocks\ + pop3links pop3locks userauth + do + keepdir /etc/xmail/${i} + done + + for i in pop3 smtp + do + keepdir /etc/xmail/userauth/${i} + 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 + + 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 + fowners xmail:xmail /etc/xmail/${i}.tab + fperms 600 /etc/xmail/${i}.tab + done + + einfo "Installing the XMail documentation" + 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}/bin + exeopts -o xmail -g xmail -m 4700 + exeinto /usr/sbin + newexe sendmail sendmail.xmail + exeopts -o root -g root -m 755 + newexe ../sendmail.sh.new sendmail + exeopts -o xmail -g xmail -m 700 + exeinto /chroot/xmail/var/MailRoot/bin + doexe CtrlClnt XMail XMCrypt MkUsers +} + +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." + + ewarn + ewarn "Make sure you have iptables/netfilter with connection tracking" + ewarn "and the REDIRECT target enabled in your kernel!" + ewarn +} |