summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-06-11 21:15:50 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-06-11 21:15:50 +0000
commit8d8d7dfe0a896fd59bc122e3aaaeec27bde10767 (patch)
tree1680b6a3eb832d0eaf61a51cfb36a4e4bd79f002 /net-mail
parentgnome-core fixes (diff)
downloadgentoo-2-8d8d7dfe0a896fd59bc122e3aaaeec27bde10767.tar.gz
gentoo-2-8d8d7dfe0a896fd59bc122e3aaaeec27bde10767.tar.bz2
gentoo-2-8d8d7dfe0a896fd59bc122e3aaaeec27bde10767.zip
Minor fixos. Should be reasonable now, so unmasking.
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/sendmail/files/site.config.m417
-rw-r--r--net-mail/sendmail/sendmail-8.12.4.ebuild14
2 files changed, 24 insertions, 7 deletions
diff --git a/net-mail/sendmail/files/site.config.m4 b/net-mail/sendmail/files/site.config.m4
new file mode 100644
index 000000000000..e4402ba8fb96
--- /dev/null
+++ b/net-mail/sendmail/files/site.config.m4
@@ -0,0 +1,17 @@
+define(`confCCOPTS', `@@confCCOPTS@@')
+define(`confMAPDEF', `@@confMAPDEF@@')
+define(`confENVDEF', `@@confENVDEF@@')
+define(`confLIBS', `@@confLIBS@@')
+define(`confSTDIO_TYPE', `portable')
+define(`confLDOPTS', `-s')
+define(`confMANOWN', `root')
+define(`confMANGRP', `root')
+define(`confMANMODE', `644')
+define(`confMAN1SRC', `1')
+define(`confMAN5SRC', `5')
+define(`confMAN8SRC', `8')
+define(`confLDOPTS_SO', `-shared -Wl')
+APPENDDEF(`conf_sendmail_ENVDEF', `@@conf_sendmail_ENVDEF@@')
+APPENDDEF(`conf_sendmail_LIBS', `@@conf_sendmail_LIBS@@')
+APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
+
diff --git a/net-mail/sendmail/sendmail-8.12.4.ebuild b/net-mail/sendmail/sendmail-8.12.4.ebuild
index e9a317106653..5a688f52697a 100644
--- a/net-mail/sendmail/sendmail-8.12.4.ebuild
+++ b/net-mail/sendmail/sendmail-8.12.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/sendmail-8.12.4.ebuild,v 1.2 2002/06/11 20:55:31 g2boojum Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/sendmail-8.12.4.ebuild,v 1.3 2002/06/11 21:15:50 g2boojum Exp $
DESCRIPTION="Widely-used Mail Transport Agent (MTA)."
HOMEPAGE="http://www.sendmail.org"
@@ -64,9 +64,10 @@ src_unpack() {
confLIBS="-lnsl -lcrypt"
conf_sendmail_ENVDEF="-DFALSE=0 -DTRUE=1"
conf_sendmail_LIBS=""
- use sasl && confLIBS="${confLIBS} -lsasl" && \
- conf_sendmail_ENVDEF="${conf_sendmail_ENVDEF} -DSASL" && \
- conf_sendmail_LIBS="${conf_sendmail_LIBS} -lsasl"
+ use sasl && confLIBS="${confLIBS} -lsasl" \
+ && confENVDEF="${confENVDEF} -DSASL" \
+ && conf_sendmail_ENVDEF="${conf_sendmail_ENVDEF} -DSASL" \
+ && conf_sendmail_LIBS="${conf_sendmail_LIBS} -lsasl"
use tcpd && confENVDEF="${confENVDEF} -DTCPWRAPPERS" \
&& confLIBS="${confLIBS} -lwrap"
use ssl && confENVDEF="${confENVDEF} -DSTARTTLS" \
@@ -79,7 +80,7 @@ src_unpack() {
sed -e "s/@@confCCOPTS@@/${confCCOPTS}/" \
-e "s/@@confMAPDEF@@/${confMAPDEF}/" \
-e "s/@@confENVDEF@@/${confENVDEF}/" \
- -e "s/@@confLIBS/${confLIBS}/" \
+ -e "s/@@confLIBS@@/${confLIBS}/" \
-e "s/@@conf_sendmail_ENVDEF@@/${conf_sendmail_ENVDEF}/" \
-e "s/@@conf_sendmail_LIBS@@/${conf_sendmail_LIBS}/" \
${FILESDIR}/site.config.m4 > ${S}/devtools/Site/site.config.m4
@@ -128,8 +129,7 @@ src_install () {
newdoc libmilter/README README.libmilter
newdoc cf/README README.cf
newdoc cf/cf/README README.install-cf
- insinto /usr/share/sendmail-cf
- doins cf/*
+ cp -a cf/* ${D}/usr/share/sendmail-cf
insinto /etc/mail
newins cf/cf/generic-linux.mc sendmail.mc
newins cf/cf/generic-linux.cf sendmail.cf