Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 62262 Details for
Bug 96632
a little help to run xmail!
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Added RDEPEND on net-firewall/iptables and checks for needed kernel config options
xmail-1.21.ebuild.diff (text/plain), 1.51 KB, created by
Jakub Moc (RETIRED)
on 2005-06-29 13:20:28 UTC
(
hide
)
Description:
Added RDEPEND on net-firewall/iptables and checks for needed kernel config options
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2005-06-29 13:20:28 UTC
Size:
1.51 KB
patch
obsolete
>--- xmail-1.21.ebuild.orig 2005-01-27 18:25:35.000000000 +0100 >+++ xmail-1.21.ebuild 2005-06-29 22:04:29.000000000 +0200 >@@ -2,7 +2,7 @@ > # 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 >+inherit eutils linux-info > > DESCRIPTION="The world's fastest email server" > HOMEPAGE="http://www.xmailserver.org/" >@@ -15,9 +15,31 @@ > > 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 96632
: 62262