summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Kulbe <superlag@gentoo.org>2005-01-27 17:25:35 +0000
committerAaron Kulbe <superlag@gentoo.org>2005-01-27 17:25:35 +0000
commita41031f0726b3eb14b2352d4d25a2afe65275c2f (patch)
treea7670a2766272f14d2f8b110257f8e1b488839ea /mail-mta/xmail
parentppc app (diff)
downloadhistorical-a41031f0726b3eb14b2352d4d25a2afe65275c2f.tar.gz
historical-a41031f0726b3eb14b2352d4d25a2afe65275c2f.tar.bz2
historical-a41031f0726b3eb14b2352d4d25a2afe65275c2f.zip
Bumping to 1.21, adding ~ppc
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'mail-mta/xmail')
-rw-r--r--mail-mta/xmail/ChangeLog9
-rw-r--r--mail-mta/xmail/Manifest26
-rw-r--r--mail-mta/xmail/files/digest-xmail-1.211
-rw-r--r--mail-mta/xmail/xmail-1.16-r1.ebuild4
-rw-r--r--mail-mta/xmail/xmail-1.16.ebuild4
-rw-r--r--mail-mta/xmail/xmail-1.20.ebuild4
-rw-r--r--mail-mta/xmail/xmail-1.21.ebuild132
7 files changed, 155 insertions, 25 deletions
diff --git a/mail-mta/xmail/ChangeLog b/mail-mta/xmail/ChangeLog
index 0736dece6a37..9b8c0a9aa1e0 100644
--- a/mail-mta/xmail/ChangeLog
+++ b/mail-mta/xmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/xmail
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.9 2004/12/06 15:13:57 ticho Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.10 2005/01/27 17:25:35 superlag Exp $
+
+*xmail-1.21 (27 Jan 2005)
+
+ 27 Jan 2005; Aaron Kulbe <superlag@gentoo.org> +xmail-1.21.ebuild:
+ Version bump to 1.21.
06 Dec 2004; Andrej Kacian <ticho@gentoo.org> xmail-1.16-r1.ebuild,
xmail-1.20.ebuild:
diff --git a/mail-mta/xmail/Manifest b/mail-mta/xmail/Manifest
index b96b89fb7881..f40256f89dda 100644
--- a/mail-mta/xmail/Manifest
+++ b/mail-mta/xmail/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b227352ee17e75699bfbec934b5dcca6 ChangeLog 4177
-MD5 81c1c50375497368a0c76dfeb2abe64a xmail-1.16-r1.ebuild 3584
+MD5 92a1937e9812bd1af96aafdb3ccff47e ChangeLog 4302
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 9fe64671f2bd2f30c80e8addfaedc916 xmail-1.20.ebuild 3502
-MD5 e305afd019b5b4dd27ee724c6e967f97 xmail-1.16.ebuild 3253
-MD5 006332f5dceeb1f9e334cbd295a98344 files/xmail.initd 2796
+MD5 16c208409d4fe62a11522e0a0bb08e9a xmail-1.16-r1.ebuild 3587
+MD5 c44c56e07b3a1157b53970085828e1d4 xmail-1.16.ebuild 3253
+MD5 9501b6d84b021f0d772bb9641752affc xmail-1.20.ebuild 3505
+MD5 548f8763268c2ab63ddd32c1fd82d723 xmail-1.21.ebuild 3511
MD5 8f93bde743cf3f7a77f27bcf602aa4dc files/xmail.confd 409
-MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16-r1 62
MD5 e00a488aecb141a34c5ec43eac58b9a9 files/15xmail 24
+MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16 62
+MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16-r1 62
MD5 6581875d1cebeca3b8fe46e7474622e1 files/digest-xmail-1.20 62
+MD5 006332f5dceeb1f9e334cbd295a98344 files/xmail.initd 2796
MD5 722274fd9ffd32da5477fb703d3f657c files/xmailwizard 2299
-MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16 62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBtJNfQlM6RnzZP+IRAsKLAJ9IpkTbi03TETLWo0ns8Xz6m8CmTgCdH4Ry
-HmSgAdCihfqGkgJ4u7lr6pU=
-=VnE3
------END PGP SIGNATURE-----
+MD5 6f4ea67473a8953af58100fb58d22b8f files/digest-xmail-1.21 62
diff --git a/mail-mta/xmail/files/digest-xmail-1.21 b/mail-mta/xmail/files/digest-xmail-1.21
new file mode 100644
index 000000000000..233445323fc4
--- /dev/null
+++ b/mail-mta/xmail/files/digest-xmail-1.21
@@ -0,0 +1 @@
+MD5 c6417c5b66cd0b0bff7375767d07235b xmail-1.21.tar.gz 413237
diff --git a/mail-mta/xmail/xmail-1.16-r1.ebuild b/mail-mta/xmail/xmail-1.16-r1.ebuild
index fb76895807f9..19cb08309470 100644
--- a/mail-mta/xmail/xmail-1.16-r1.ebuild
+++ b/mail-mta/xmail/xmail-1.16-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.16-r1.ebuild,v 1.4 2004/12/06 15:13:57 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.16-r1.ebuild,v 1.5 2005/01/27 17:25:35 superlag Exp $
inherit eutils
diff --git a/mail-mta/xmail/xmail-1.16.ebuild b/mail-mta/xmail/xmail-1.16.ebuild
index 545e8896c6d9..2682f386a839 100644
--- a/mail-mta/xmail/xmail-1.16.ebuild
+++ b/mail-mta/xmail/xmail-1.16.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.16.ebuild,v 1.5 2004/07/14 16:55:27 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.16.ebuild,v 1.6 2005/01/27 17:25:35 superlag Exp $
inherit eutils
diff --git a/mail-mta/xmail/xmail-1.20.ebuild b/mail-mta/xmail/xmail-1.20.ebuild
index 2e442820501e..97129402ddc6 100644
--- a/mail-mta/xmail/xmail-1.20.ebuild
+++ b/mail-mta/xmail/xmail-1.20.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 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.5 2004/12/06 15:13:57 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.20.ebuild,v 1.6 2005/01/27 17:25:35 superlag Exp $
inherit eutils
diff --git a/mail-mta/xmail/xmail-1.21.ebuild b/mail-mta/xmail/xmail-1.21.ebuild
new file mode 100644
index 000000000000..1e2dd9b49b50
--- /dev/null
+++ b/mail-mta/xmail/xmail-1.21.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.21.ebuild,v 1.1 2005/01/27 17:25:35 superlag 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 ~ppc ~sparc"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=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
+}