summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2005-06-29 21:12:17 +0000
committerTuan Van <langthang@gentoo.org>2005-06-29 21:12:17 +0000
commit1654185c8e0ff98df3de73db7333c0a92268cdf8 (patch)
tree6516aa85d2628f8f1ec60d3cf151d32979bd9a74 /mail-mta
parentRevert udev back to 054; update unionfs code. (diff)
downloadhistorical-1654185c8e0ff98df3de73db7333c0a92268cdf8.tar.gz
historical-1654185c8e0ff98df3de73db7333c0a92268cdf8.tar.bz2
historical-1654185c8e0ff98df3de73db7333c0a92268cdf8.zip
Fix issues in bug #96632. Thanks to Jakub Moc <jakub@gentoo.org> for the patch.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/xmail/ChangeLog6
-rw-r--r--mail-mta/xmail/Manifest10
-rw-r--r--mail-mta/xmail/xmail-1.21.ebuild26
3 files changed, 34 insertions, 8 deletions
diff --git a/mail-mta/xmail/ChangeLog b/mail-mta/xmail/ChangeLog
index 194a3ab14365..79532c35c3d6 100644
--- a/mail-mta/xmail/ChangeLog
+++ b/mail-mta/xmail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-mta/xmail
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.12 2005/06/06 13:25:38 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.13 2005/06/29 21:12:17 langthang Exp $
+
+ 29 Jun 2005; Tuấn Văn <langthang@gentoo.org> xmail-1.21.ebuild:
+ Fix issues in bug #96632. Thanks to Jakub Moc <jakub@gentoo.org> for
+ the patch.
06 Jun 2005; Andrej Kacian <ticho@gentoo.org> -xmail-1.16.ebuild:
Removed 1.16.
diff --git a/mail-mta/xmail/Manifest b/mail-mta/xmail/Manifest
index 22d497e69ea2..c933d08ab023 100644
--- a/mail-mta/xmail/Manifest
+++ b/mail-mta/xmail/Manifest
@@ -1,10 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 548f8763268c2ab63ddd32c1fd82d723 xmail-1.21.ebuild 3511
+MD5 41502efe6204fe5ebe2b88a5755b2557 xmail-1.21.ebuild 4424
MD5 9501b6d84b021f0d772bb9641752affc xmail-1.20.ebuild 3505
MD5 16c208409d4fe62a11522e0a0bb08e9a xmail-1.16-r1.ebuild 3587
-MD5 21c3fef049c0512e901716efc9fafeb4 ChangeLog 4538
+MD5 6d4621c575701711305b2c4c239c39f6 ChangeLog 4697
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 e00a488aecb141a34c5ec43eac58b9a9 files/15xmail 24
MD5 5bbd572781bd63319f432d3a74a399cf files/digest-xmail-1.16-r1 62
@@ -16,7 +16,7 @@ MD5 e3d8c8b19f80d10a348f2d10f33e1cc6 files/xmail.initd 2802
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCpE7pQlM6RnzZP+IRAvztAJ9bL4+RIcmZACj44mFYvppW3wA8XQCffvj4
-pIaiAsiVuC5+hGWFWkrBOQI=
-=jiEa
+iD8DBQFCww4Z5FrxP71izLARAhT+AJ94qOy2awEdPg1zeMuQC4ijkBPzQACbBXIl
+sazRkQwYOFkX+FDm29AZpzI=
+=50l6
-----END PGP SIGNATURE-----
diff --git a/mail-mta/xmail/xmail-1.21.ebuild b/mail-mta/xmail/xmail-1.21.ebuild
index 1e2dd9b49b50..c81af601ace7 100644
--- a/mail-mta/xmail/xmail-1.21.ebuild
+++ b/mail-mta/xmail/xmail-1.21.ebuild
@@ -1,8 +1,8 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.21.ebuild,v 1.2 2005/06/29 21:12:17 langthang Exp $
-inherit eutils
+inherit eutils linux-info
DESCRIPTION="The world's fastest email server"
HOMEPAGE="http://www.xmailserver.org/"
@@ -15,9 +15,31 @@ IUSE=""
DEPEND="virtual/libc
>=sys-apps/sed-4"
+RDEPEND="net-firewall/iptables"
PROVIDE="virtual/mta"
pkg_setup() {
+
+ linux-info_pkg_setup
+
+ if ! (linux_chkconfig_present NETFILTER); then
+ eerror "${P} requires netfilter/iptables support enabled in kernel!"
+ eerror
+ eerror "Recompile your kernel with CONFIG_NETFILTER and CONFIG_IP_NF_TARGET_REDIRECT"
+ eerror "support enabled and reboot. Then try to emerge ${P} again."
+ die "Kernel without CONFIG_NETFILTER detected!"
+ fi
+
+ if ! (linux_chkconfig_present IP_NF_TARGET_REDIRECT); then
+ eerror "${P} requires CONFIG_IP_NF_TARGET_REDIRECT support to be enabled in kernel!"
+ eerror "Recompile your kernel with netfilter REDIRECT target support enabled."
+ eerror
+ eerror "Reboot will be required if compiled directly into kernel."
+ eerror "If reboot is not desired you should choose a module instead and run"
+ eerror "make modules && make modules_install"
+ die "Kernel without CONFIG_IP_NF_TARGET_REDIRECT detected!"
+ fi
+
enewgroup xmail
enewuser xmail -1 /bin/false /dev/null xmail
}