summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-27 16:06:47 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-27 16:06:47 +0000
commit57e2ef7f052c5a9cc5f8956b92fed4c3064d6735 (patch)
tree77b59db8f2196f6def9cc15ba01f0fe79c1f6cd5 /mail-mta/sendmail
parentMarking webkit-gtk-0_p40220-r1 ppc for bug 271861 (diff)
downloadhistorical-57e2ef7f052c5a9cc5f8956b92fed4c3064d6735.tar.gz
historical-57e2ef7f052c5a9cc5f8956b92fed4c3064d6735.tar.bz2
historical-57e2ef7f052c5a9cc5f8956b92fed4c3064d6735.zip
Bump to 8.14.3, fixes #255072
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'mail-mta/sendmail')
-rw-r--r--mail-mta/sendmail/ChangeLog9
-rw-r--r--mail-mta/sendmail/Manifest14
-rw-r--r--mail-mta/sendmail/sendmail-8.14.3.ebuild196
3 files changed, 206 insertions, 13 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index 47164bac1dd7..b05ba9df27ac 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/sendmail
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.80 2008/03/12 17:13:51 phreak Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.81 2009/06/27 16:06:47 patrick Exp $
+
+*sendmail-8.14.3 (27 Jun 2009)
+
+ 27 Jun 2009; Patrick Lauer <patrick@gentoo.org> +sendmail-8.14.3.ebuild:
+ Bump to 8.14.3, fixes #255072
12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Andrea Barisani (lcars, #94632) from metadata.xml.
diff --git a/mail-mta/sendmail/Manifest b/mail-mta/sendmail/Manifest
index 4a22d8c03eb5..40c0e456511c 100644
--- a/mail-mta/sendmail/Manifest
+++ b/mail-mta/sendmail/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX errata-8.13.7-1.patch 428 RMD160 2ca5313cdc21569f10bd85c7a96d5ac86d5da862 SHA1 586ba29dae6d24433ec1d8ff5992b42e63c3d886 SHA256 a308384cbb3d829c1990dde5a453b9a1c06c0696ff85965946ffec73232f1b3e
AUX errata-8.13.7-2.patch 554 RMD160 e9fb7716126c61fc27874001a89088b394828ec5 SHA1 61d9b87effac3498adb8049d19ceca5e52bb8444 SHA256 e387011e5c3d183259ba0ed933b313e4a24eaf3a17f2b6e60debfe8cbbfbff04
AUX mailer.conf 1306 RMD160 7f752b3b88208eda71f96de6621e050a684b8fdb SHA1 a2704751d866367f969554841af8f637766db528 SHA256 f07e22401ff9fae449bfb093dfc608b6f8e71af1c7c3790d89a71af9a1411a44
@@ -16,6 +13,7 @@ DIST sendmail.8.13.8.tar.gz 2010975 RMD160 a5d333b073d681f056421e836df4067f331a8
DIST sendmail.8.14.0.tar.gz 2056927 RMD160 2095840c732fb843011c335d2c1f918b9ffdf4e4 SHA1 fd93987ffe081303eef964e0746e344c04881ca9 SHA256 dc2f8663d6e1e8c08029f3501779680e5a61a86017cf2085ec5dc295f2295977
DIST sendmail.8.14.1.tar.gz 2061959 RMD160 180c90e9a64e8896798ed6b9cf883d481e11f5ac SHA1 327a77a3b5a55810f2addae7dfd6cfd95645f476 SHA256 73143bee92ef961498e053f7ec47dca27bb8c450e4974cc69519f24c768ec32e
DIST sendmail.8.14.2.tar.gz 2064346 RMD160 9db665f955b5a2b5d83adad4c3dfd483c6e0b9be SHA1 2b92a1d439374249ef6bf024cfb8072902c5682a SHA256 7be1c533ab0b3c841a8b28954c79bd2e4474b9a212163b0f20cd30e255d06e3a
+DIST sendmail.8.14.3.tar.gz 2069209 RMD160 5423360ce908c985827cf6524a6de87e3451c27a SHA1 814c54c3917aa6b0981b5ea99fb34e0c02f31489 SHA256 5cc69cdc055b587cbedad4efbf17c1dfc52a6ae18ec83a3d2e83e5f5fcdc119b
EBUILD sendmail-8.13.6-r1.ebuild 6641 RMD160 e9cc85791d4cefce8cb820bc17ea0a4127d6a884 SHA1 f39f4426108c6f7b6a83e1da73b05d619f1bc71e SHA256 b3148fbeca9699b8ff21673a1bde252847579ae20c616d3fb634e1021bb59e57
EBUILD sendmail-8.13.7-r1.ebuild 6684 RMD160 fb4369543cd2402681e9c4e2b43eeb8d2280ec8e SHA1 73150f1d6a779aa9569f0cdb13cf9cd789a00346 SHA256 4c488f5cef9a4699233dafa44d1a1f5d8c7fb77638991cbe5951f89faceee0b4
EBUILD sendmail-8.13.7.ebuild 6590 RMD160 cbc9258a0aaa764843da30b0996ae0f0acea59d5 SHA1 aa3a96ddf8e52bea4447dda789ee24048265fef6 SHA256 36d7cc88472a06ab15c9904cbc7e752620a80ed7564d4888b3baadd664c1ec3c
@@ -23,12 +21,6 @@ EBUILD sendmail-8.13.8.ebuild 6700 RMD160 e114ad1f04a14f465f7c90237848a7a80f9aa0
EBUILD sendmail-8.14.0.ebuild 6699 RMD160 cbb20359863bbe66e3b28bdf1dd7c8d7c6102156 SHA1 aaa85bf761663c98f743d397cddd1650622d5b73 SHA256 de704080ecf447a900af24019277879795ea10741bc38fc6adedce996375ceae
EBUILD sendmail-8.14.1.ebuild 6709 RMD160 8a78a23aa9e37d2f15ccce4eb35c31bf487cea16 SHA1 b67fdca54f60ea573ac3449144208cb9c6e1601c SHA256 a444ece752a6e6c66af81da9974ab1b3ec18b179c08f7c2f84db05db1aa50b56
EBUILD sendmail-8.14.2.ebuild 6709 RMD160 0c4f376fddd606dc383882a94e5013ea2eaccf6b SHA1 fbe96a01c7a54e9e3b396f6f6106957a889b4a2c SHA256 faa96d34d4a60ff612eb2f0ce8a72b37d65900583b9125dd0e783cca153b2918
-MISC ChangeLog 18096 RMD160 162afe126479c3546bf8cfc511dc3a0273db93c5 SHA1 a3b982575195066058a9a69ecc2cf0b9e99f1526 SHA256 cc890ba7f1cdda73bfe1301b59dcb98a12f9f0f68dedd6cedb5b8d34ecd45673
+EBUILD sendmail-8.14.3.ebuild 6711 RMD160 d48b7269777391eccb074b457069460f9ffda9e7 SHA1 4b36a1a693a6ab586ea29f62a3624268d4c75019 SHA256 8fbaa6142676fdc885a74c3aacf3e3413faa7dd2e359db465e4ddaf35fb4e91f
+MISC ChangeLog 18237 RMD160 5f23735aebd6ef605d2795dfcb1e1c170e1eb9e9 SHA1 d78e945957691f70ffb075a44a5938e3103f3fc0 SHA256 80c5918984d20af1137feb51acfa03917233ee0404df1d02c8404d2f1af02d20
MISC metadata.xml 162 RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 SHA1 e6aecefcc2137d6047cedfe447686775ab59cb48 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH2A/ByuNVb5qfaOYRAvCgAJ91uzoGHnkseLzCtlGvca7NbicgEACfc04p
-hl2iZMZ6S0qIVrz8xFAfyaQ=
-=zS8i
------END PGP SIGNATURE-----
diff --git a/mail-mta/sendmail/sendmail-8.14.3.ebuild b/mail-mta/sendmail/sendmail-8.14.3.ebuild
new file mode 100644
index 000000000000..ab9e16f3ca41
--- /dev/null
+++ b/mail-mta/sendmail/sendmail-8.14.3.ebuild
@@ -0,0 +1,196 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.14.3.ebuild,v 1.1 2009/06/27 16:06:47 patrick Exp $
+
+inherit eutils
+
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ssl ldap sasl tcpd mbox mailwrapper ipv6 nis sockets"
+
+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
+ !net-mail/vacation
+ "
+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}
+
+ epatch ${FILESDIR}/sendmail-delivered_hdr.patch || die
+
+ 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_LIBS="${conf_sendmail_LIBS} -lsasl2"
+ use tcpd && confENVDEF="${confENVDEF} -DTCPWRAPPERS" \
+ && confLIBS="${confLIBS} -lwrap"
+ use ssl && confENVDEF="${confENVDEF} -DSTARTTLS -D_FFR_DEAL_WITH_ERROR_SSL" \
+ && confLIBS="${confLIBS} -lssl -lcrypto" \
+ && conf_sendmail_LIBS="${conf_sendmail_LIBS} -lssl -lcrypto"
+ use ldap && confMAPDEF="${confMAPDEF} -DLDAPMAP" \
+ && confLIBS="${confLIBS} -lldap -llber"
+ use ipv6 && confENVDEF="${confENVDEF} -DNETINET6"
+ use nis && confENVDEF="${confENVDEF} -DNIS"
+ use sockets && confENVDEF="${confENVDEF} -DSOCKETMAP"
+ sed -e "s:@@confCCOPTS@@:${confCCOPTS}:" \
+ -e "s/@@confMAPDEF@@/${confMAPDEF}/" \
+ -e "s/@@confENVDEF@@/${confENVDEF}/" \
+ -e "s/@@confLIBS@@/${confLIBS}/" \
+ -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"
+ pushd libmilter
+ sh Build || die "libmilter compilation failed"
+ popd
+}
+
+src_install () {
+ OBJDIR="obj.`uname -s`.`uname -r`.`uname -m`"
+ dodir /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
+
+ 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"
+
+ 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/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
+ newdoc libmilter/README README.libmilter
+
+ newdoc cf/README README.cf
+ newdoc cf/cf/README README.install-cf
+ cp -pPR cf/* ${D}/usr/share/sendmail-cf
+ insinto /etc/mail
+ if use mbox
+ then
+ doins ${FILESDIR}/sendmail.mc
+ else
+ newins ${FILESDIR}/sendmail-procmail.mc sendmail.mc
+ fi
+ m4 ${D}/usr/share/sendmail-cf/m4/cf.m4 ${D}/etc/mail/sendmail.mc \
+ > ${D}/etc/mail/sendmail.cf
+ echo "include(\`/usr/share/sendmail-cf/m4/cf.m4')dnl" \
+ > ${D}/etc/mail/submit.mc
+ cat ${D}/usr/share/sendmail-cf/cf/submit.mc >> ${D}/etc/mail/submit.mc
+ 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
+ doinitd ${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
+ rm ${D}/usr/bin/mailq
+ rm ${D}/usr/bin/newaliases
+ mv ${D}/usr/share/man/man8/sendmail.8 \
+ ${D}/usr/share/man/man8/sendmail-sendmail.8
+ mv ${D}/usr/share/man/man1/mailq.1 \
+ ${D}/usr/share/man/man1/mailq-sendmail.1
+ mv ${D}/usr/share/man/man1/newaliases.1 \
+ ${D}/usr/share/man/man1/newaliases-sendmail.1
+ mv ${D}/usr/share/man/man5/aliases.5 \
+ ${D}/usr/share/man/man5/aliases-sendmail.5
+ dosed 's/} sendmail/} sendmail.sendmail/' /etc/init.d/sendmail
+ dosed 's/sbin\/sendmail/sbin\/sendmail.sendmail/' /etc/init.d/sendmail
+ fi
+
+}
+
+pkg_setup() {
+ einfo "checking for smmsp group... create if missing."
+ enewgroup smmsp 209 || die "problem adding group smmsp"
+ einfo "checking for smmsp user... create if missing."
+ enewuser smmsp 209 -1 /var/spool/mqueue smmsp \
+ || die "problem adding user smmsp"
+}
+
+pkg_postinst() {
+ if ! use mailwrapper && [[ -e /etc/mailer.conf ]]
+ then
+ elog
+ elog "Since you emerged sendmail without mailwrapper in USE,"
+ elog "you probably want to 'emerge -C mailwrapper' now."
+ elog
+ fi
+}