Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33402 Details for
Bug 25530
XMail's sendmail does not work
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xmail-1.16.ebuild.diff
xmail-1.16.ebuild.diff (text/plain), 3.04 KB, created by
Cory Visi (RETIRED)
on 2004-06-16 16:47:56 UTC
(
hide
)
Description:
xmail-1.16.ebuild.diff
Filename:
MIME Type:
Creator:
Cory Visi (RETIRED)
Created:
2004-06-16 16:47:56 UTC
Size:
3.04 KB
patch
obsolete
>--- xmail-1.16.ebuild.orig 2004-06-16 19:22:04.081487447 -0400 >+++ xmail-1.16.ebuild 2004-06-16 19:42:33.406441364 -0400 >@@ -12,7 +12,8 @@ > SLOT="0" > KEYWORDS="x86 ~sparc ~ppc" > >-DEPEND="virtual/glibc" >+DEPEND="virtual/glibc >+ >=sys-apps/sed-4" > PROVIDE="virtual/mta" > > pkg_setup() { >@@ -21,19 +22,27 @@ > } > > src_compile() { >+ sed -i -e "s:^CFLAGS = -O2:CFLAGS=$CFLAGS:g" Makefile.lnx >+ >+ # Makefile does not setup dependencies properly to handle parallel build > if use x86 ; then >- emake -f Makefile.lnx || die >+ emake -j1 -f Makefile.lnx || die > elif use sparc ; then >- emake -f Makefile.slx || die >+ emake -j1 -f Makefile.slx || die > fi >- sed -e "s:/var/MailRoot:/etc/xmail:g" sendmail.sh > sendmail.sh.new >+ 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 >- dodir /chroot/xmail/var/MailRoot/bin >+ keepdir /chroot/xmail/var/MailRoot/bin > dodir /etc/xmail/tabindex > dodir /etc/xmail/dnscache/mx > dodir /etc/xmail/dnscache/ns >@@ -43,19 +52,15 @@ > 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 >+ keepdir /etc/xmail/${i} > done > > for i in pop3 smtp > do >- dodir /etc/xmail/userauth/${i} >- touch ${D}/etc/xmail/userauth/${i}/.keep >+ keepdir /etc/xmail/userauth/${i} > done > rm -f ${D}/etc/xmail/userauth/.keep > >@@ -67,17 +72,17 @@ > 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 >+ fowners xmail:xmail /etc/xmail/${i}.tab >+ fperms 600 /etc/xmail/${i}.tab > done > > einfo "Installing the XMail documentation" >- umask 022 > dodoc ${S}/docs/* > dodoc ${S}/gpl.txt > dodoc ${S}/ToDo.txt >@@ -91,12 +96,14 @@ > 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 >+ 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 >- newsbin sendmail.sh.new sendmail > } > > pkg_postinst() { >@@ -120,7 +127,8 @@ > > einfo "You can quickly configure XMail by running ${FILESDIR}/xmailwizard." > >- ewarn "" >- ewarn "Make sure you have iptables enabled in your kernel!" >- ewarn "" >+ ewarn >+ ewarn "Make sure you have iptables/netfilter with connection tracking" >+ ewarn "and the REDIRECT target enabled in your kernel!" >+ ewarn > }
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 25530
: 33402 |
33403