summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2004-09-19 18:14:04 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2004-09-19 18:14:04 +0000
commit20a6aa067467481429bf6c2cfad6dac0d6cfbe01 (patch)
treec00f6c772716893e741142c7cf8f7747931f1863 /mail-mta/sendmail
parentdon't use packed jars anymore (Manifest recommit) (diff)
downloadgentoo-2-20a6aa067467481429bf6c2cfad6dac0d6cfbe01.tar.gz
gentoo-2-20a6aa067467481429bf6c2cfad6dac0d6cfbe01.tar.bz2
gentoo-2-20a6aa067467481429bf6c2cfad6dac0d6cfbe01.zip
version bump
Diffstat (limited to 'mail-mta/sendmail')
-rw-r--r--mail-mta/sendmail/ChangeLog7
-rw-r--r--mail-mta/sendmail/Manifest16
-rw-r--r--mail-mta/sendmail/files/digest-sendmail-8.13.11
-rw-r--r--mail-mta/sendmail/sendmail-8.13.1.ebuild182
4 files changed, 198 insertions, 8 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index 81a110cc17c6..c67dcd745dc9 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/sendmail
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.15 2004/07/21 20:53:23 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.16 2004/09/19 18:14:04 g2boojum Exp $
+
+*sendmail-8.13.1 (19 Sep 2004)
+
+ 19 Sep 2004; Grant Goodyear <g2boojum@gentoo.org> +sendmail-8.13.1.ebuild:
+ Version bump
21 Jul 2004; Tom Gall <tgall@gentoo.org> sendmail-8.12.11-r3.ebuild:
stable on ppc64, bug #57573
diff --git a/mail-mta/sendmail/Manifest b/mail-mta/sendmail/Manifest
index add5d34ce88f..987510022b78 100644
--- a/mail-mta/sendmail/Manifest
+++ b/mail-mta/sendmail/Manifest
@@ -1,15 +1,17 @@
+MD5 93a365615996aed3e45735bb24914bf0 sendmail-8.12.11-r3.ebuild 5845
+MD5 18a8af300dccc6074aac1471f3ac7e44 sendmail-8.13.1.ebuild 5854
MD5 cc49c38b9de16de4dec68695307ffdd1 ChangeLog 8876
MD5 07aa1897fda73805b9d68a2b82090e5f metadata.xml 218
-MD5 93a365615996aed3e45735bb24914bf0 sendmail-8.12.11-r3.ebuild 5845
+MD5 9cf5b1a30908c5f96f258b835f430865 files/sendmail.cf 39312
+MD5 a029154f3bd93696277b71733be6fa11 files/sendmail.mc 929
+MD5 bae92533adb7471b10497848f1d32bd9 files/site.config.m4 543
MD5 cf0c79a7387b7d83db30abc68269f467 files/digest-sendmail-8.12.11-r3 69
-MD5 61d4e49cceb149f6ff46cf6a1b598b88 files/mailer.conf 1306
-MD5 a316ad36c567063810fb793c5320179e files/sendmail 598
MD5 d7d99c72954d524b1d0eafbfe0e77afc files/sendmail-8.12.2-makemapman.patch 2088
-MD5 4b37f61de2fd8de372a4bd8ab6f92edf files/sendmail-8.12.2-smrsh-paths.patch 5625
MD5 b412547381b852586d5d4d6ffcd80b4a files/sendmail-8.12.2-unix.patch 395
MD5 95d58f15432e44c91f8018839f65327c files/sendmail-8.12.6-r1-gentoo.diff 1701
+MD5 0027be040b9dacdf253813fe2ddb8982 files/digest-sendmail-8.13.1 68
MD5 875d3c33bfa16e73e5e75ecb1d1a9d2b files/sendmail-procmail.cf 39897
MD5 247288da5ccc5b2836791dfffac7fc08 files/sendmail-procmail.mc 987
-MD5 9cf5b1a30908c5f96f258b835f430865 files/sendmail.cf 39312
-MD5 a029154f3bd93696277b71733be6fa11 files/sendmail.mc 929
-MD5 bae92533adb7471b10497848f1d32bd9 files/site.config.m4 543
+MD5 a316ad36c567063810fb793c5320179e files/sendmail 598
+MD5 61d4e49cceb149f6ff46cf6a1b598b88 files/mailer.conf 1306
+MD5 4b37f61de2fd8de372a4bd8ab6f92edf files/sendmail-8.12.2-smrsh-paths.patch 5625
diff --git a/mail-mta/sendmail/files/digest-sendmail-8.13.1 b/mail-mta/sendmail/files/digest-sendmail-8.13.1
new file mode 100644
index 000000000000..7c05c7348120
--- /dev/null
+++ b/mail-mta/sendmail/files/digest-sendmail-8.13.1
@@ -0,0 +1 @@
+MD5 5407db289086261d7e7a09920d2ea14e sendmail.8.13.1.tar.gz 1963257
diff --git a/mail-mta/sendmail/sendmail-8.13.1.ebuild b/mail-mta/sendmail/sendmail-8.13.1.ebuild
new file mode 100644
index 000000000000..70fa78a61b6c
--- /dev/null
+++ b/mail-mta/sendmail/sendmail-8.13.1.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.13.1.ebuild,v 1.1 2004/09/19 18:14:04 g2boojum Exp $
+
+DESCRIPTION="Widely-used Mail Transport Agent (MTA)"
+HOMEPAGE="http://www.sendmail.org/"
+SRC_URI="ftp://ftp.sendmail.org/pub/${PN}/${PN}.${PV}.tar.gz"
+
+LICENSE="Sendmail"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~hppa ~alpha ~ia64 ~s390 ~amd64 ~ppc64"
+IUSE="ssl ldap sasl tcpd mbox milter mailwrapper"
+
+DEPEND="net-mail/mailbase
+ sys-devel/m4
+ sasl? ( >=dev-libs/cyrus-sasl-2.1.10 )
+ tcpd? ( sys-apps/tcp-wrappers )
+ ssl? ( dev-libs/openssl )
+ ldap? ( net-nds/openldap )
+ >=sys-libs/db-3.2
+ "
+RDEPEND="${DEPEND}
+ >=net-mail/mailbase-0.00
+ !mailwrapper? ( !virtual/mta )
+ mailwrapper? ( >=net-mail/mailwrapper-0.2 )"
+PDEPEND="!mbox? ( mail-filter/procmail )"
+PROVIDE="virtual/mta"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ confCCOPTS="${CFLAGS}"
+ confMAPDEF="-DMAP_REGEX"
+ conf_sendmail_LIBS=""
+ use sasl && confLIBS="${confLIBS} -lsasl2" \
+ && confENVDEF="${confENVDEF} -DSASL=2" \
+ && confCCOPTS="${confCCOPTS} -I/usr/include/sasl" \
+ && conf_sendmail_ENVDEF="${conf_sendmail_ENVDEF} -DSASL=2" \
+ && conf_sendmail_LIBS="${conf_sendmail_LIBS} -lsasl2"
+ use tcpd && confENVDEF="${confENVDEF} -DTCPWRAPPERS" \
+ && confLIBS="${confLIBS} -lwrap"
+ use ssl && confENVDEF="${confENVDEF} -DSTARTTLS" \
+ && confLIBS="${confLIBS} -lssl -lcrypto" \
+ && conf_sendmail_ENVDEF="${conf_sendmail_ENVDEF} -DSTARTTLS" \
+ && conf_sendmail_LIBS="${conf_sendmail_LIBS} -lssl -lcrypto"
+ use ldap && confMAPDEF="${confMAPDEF} -DLDAPMAP" \
+ && confLIBS="${confLIBS} -lldap -llber"
+ use milter && confENVDEF="${confENVDEF} -DMILTER"
+ sed -e "s:@@confCCOPTS@@:${confCCOPTS}:" \
+ -e "s/@@confMAPDEF@@/${confMAPDEF}/" \
+ -e "s/@@confENVDEF@@/${confENVDEF}/" \
+ -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
+}
+
+src_compile() {
+ sh Build || die "compilation failed in main Build script"
+
+ if use milter
+ then
+ pushd libmilter
+ sh Build || die "libmilter compilation failed"
+ popd
+ fi
+}
+
+src_install () {
+ OBJDIR="obj.`uname -s`.`uname -r`.`arch`"
+ dodir /etc/pam.d /usr/bin /usr/lib
+ dodir /usr/share/man/man{1,5,8} /usr/sbin /var/log /usr/share/sendmail-cf
+ dodir /var/spool/{mqueue,clientmqueue} /etc/conf.d
+ keepdir /var/spool/{clientmqueue,mqueue}
+ for dir in libsmutil sendmail mailstats praliases smrsh makemap vacation editmap
+ do
+ make DESTDIR=${D} MANROOT=/usr/share/man/man \
+ SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \
+ MANOWN=root MANGRP=root INCOWN=root INCGRP=root \
+ LIBOWN=root LIBGRP=root GBINOWN=root GBINGRP=root \
+ MSPQOWN=root CFOWN=root CFGRP=root \
+ install -C ${OBJDIR}/${dir} \
+ || die "install failed"
+ done
+ for dir in rmail mail.local
+ do
+ make DESTDIR=${D} MANROOT=/usr/share/man/man \
+ SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \
+ MANOWN=root MANGRP=root INCOWN=root INCGRP=root \
+ LIBOWN=root LIBGRP=root GBINOWN=root GBINGRP=root \
+ MSPQOWN=root CFOWN=root CFGRP=root \
+ force-install -C ${OBJDIR}/${dir} \
+ || die "install failed"
+ done
+
+ if use milter
+ then
+ dodir /usr/include/libmilter
+ make DESTDIR=${D} MANROOT=/usr/share/man/man \
+ SBINOWN=root SBINGRP=root UBINOWN=root UBINGRP=root \
+ MANOWN=root MANGRP=root INCOWN=root INCGRP=root \
+ LIBOWN=root LIBGRP=root GBINOWN=root GBINGRP=root \
+ MSPQOWN=root CFOWN=root CFGRP=root \
+ install -C ${OBJDIR}/libmilter \
+ || die "install failed"
+ fi
+
+ fowners root:smmsp /usr/sbin/sendmail
+ fperms 2555 /usr/sbin/sendmail
+ fowners smmsp:smmsp /var/spool/clientmqueue
+ fperms 770 /var/spool/clientmqueue
+ fperms 700 /var/spool/mqueue
+ dosym /usr/sbin/sendmail /usr/lib/sendmail
+ dosym /usr/sbin/makemap /usr/bin/makemap
+ dodoc FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc/op/op.ps
+ newdoc sendmail/README README.sendmail
+ newdoc sendmail/SECURITY SECURITY
+ newdoc sendmail/TUNING TUNING
+ newdoc smrsh/README README.smrsh
+
+ if use milter
+ then
+ newdoc libmilter/README README.libmilter
+ fi
+
+ newdoc cf/README README.cf
+ newdoc cf/cf/README README.install-cf
+ cp -a cf/* ${D}/usr/share/sendmail-cf
+ insinto /etc/mail
+ if use mbox
+ then
+ doins ${FILESDIR}/{sendmail.cf,sendmail.mc}
+ else
+ newins ${FILESDIR}/sendmail-procmail.cf sendmail.cf
+ newins ${FILESDIR}/sendmail-procmail.mc sendmail.mc
+ fi
+ echo "# local-host-names - include all aliases for your machine here" \
+ > ${D}/etc/mail/local-host-names
+ cat << EOF > ${D}/etc/mail/trusted-users
+# trusted-users - users that can send mail as others without a warning
+# apache, mailman, majordomo, uucp are good candidates
+EOF
+ cat << EOF > ${D}/etc/mail/access
+# Check the /usr/share/doc/sendmail/README.cf file for a description
+# of the format of this file. (search for access_db in that file)
+# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
+# package.
+#
+
+EOF
+cat << EOF > ${D}/etc/conf.d/sendmail
+# Config file for /etc/init.d/sendmail
+# add start-up options here
+SENDMAIL_OPTS="-bd -q30m -L sm-mta" # default daemon mode
+CLIENTMQUEUE_OPTS="-Ac -q30m -L sm-cm" # clientmqueue
+KILL_OPTS="" # add -9/-15/your favorite evil SIG level here
+
+EOF
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/sendmail
+ keepdir /usr/adm/sm.bin
+
+ if use mailwrapper
+ then
+ mv ${D}/usr/sbin/sendmail ${D}/usr/sbin/sendmail.sendmail
+ insinto /etc/mail
+ doins ${FILESDIR}/mailer.conf
+ dosed 's/} sendmail/} sendmail.sendmail/' /etc/init.d/sendmail
+ fi
+
+}
+
+pkg_postinst() {
+ if ! use mailwrapper && [[ -e /etc/mailer.conf ]]
+ then
+ einfo
+ einfo "Since you emerged sendmail without mailwrapper in USE,"
+ einfo "you probably want to 'emerge -C mailwrapper' now."
+ einfo
+ fi
+}