summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-01-04 16:45:13 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-01-04 16:45:13 +0000
commitb58aee7ba933ad789f50cdff63e42a116f702d0c (patch)
tree7d347e42922b26c80b06f17fae1947162eb8f430 /mail-mta
parentRemove old (diff)
downloadhistorical-b58aee7ba933ad789f50cdff63e42a116f702d0c.tar.gz
historical-b58aee7ba933ad789f50cdff63e42a116f702d0c.tar.bz2
historical-b58aee7ba933ad789f50cdff63e42a116f702d0c.zip
Bump
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/sendmail/ChangeLog9
-rw-r--r--mail-mta/sendmail/Manifest14
-rw-r--r--mail-mta/sendmail/sendmail-8.14.4.ebuild208
3 files changed, 218 insertions, 13 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index 2f0647b058ab..c81224e2acde 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/sendmail
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.85 2009/09/20 09:26:19 mrness Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.86 2010/01/04 16:45:13 patrick Exp $
+
+*sendmail-8.14.4 (04 Jan 2010)
+
+ 04 Jan 2010; Patrick Lauer <patrick@gentoo.org> +sendmail-8.14.4.ebuild:
+ Bump
*sendmail-8.14.3-r2 (20 Sep 2009)
diff --git a/mail-mta/sendmail/Manifest b/mail-mta/sendmail/Manifest
index e7d4873941b5..47d3a06248e8 100644
--- a/mail-mta/sendmail/Manifest
+++ b/mail-mta/sendmail/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX libmilter-sharedlib.patch 2843 RMD160 fc25843bb7d9dd0f7ebddb87fd9e80839438b277 SHA1 ab100120cb86fe362cbd9fefefde8e54c3716bad SHA256 3a753b0881fe622814b471ee5f9037905c7cc3ed08ef74908464ab5307e59d5a
AUX mailer.conf 1306 RMD160 7f752b3b88208eda71f96de6621e050a684b8fdb SHA1 a2704751d866367f969554841af8f637766db528 SHA256 f07e22401ff9fae449bfb093dfc608b6f8e71af1c7c3790d89a71af9a1411a44
AUX sendmail 701 RMD160 991eb44041ac33d04693a838b7e976a7cca14e61 SHA1 ac6991b5d77b428ba58b6a3a4aa8ba0834ffbfaa SHA256 c95de55fbd5334ec54f17efe69a33c242a9ba28cd76f11cc3c7ff8418cf49acb
@@ -13,17 +10,12 @@ DIST sendmail.8.14.0.tar.gz 2056927 RMD160 2095840c732fb843011c335d2c1f918b9ffdf
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
+DIST sendmail.8.14.4.tar.gz 2080472 RMD160 d998062ee6b4e80eb90cc6e790f971bd02b52254 SHA1 ba192f9a5114437aaec952f503fa2f09ee6dbe57 SHA256 bc0109437c5018b3ea8999edb63506db2f3b31c4c1ab4367cb56236a7df97cb1
EBUILD sendmail-8.14.0.ebuild 6770 RMD160 a009273ffca47ac4b24f6d020f1a7cf88f391842 SHA1 12d83e1a8b2ffb611c9b1410cd801263f86a8af1 SHA256 7f2ebef84753a5ccf0f8b006de2d621f39466d6fc299ef84cdd7fcefc55d4eb9
EBUILD sendmail-8.14.1.ebuild 6780 RMD160 059a1ae2638fbafedf602bcabe6bc03958609e6e SHA1 feaacfc09585ba3f33c3a483cc662a60de4ef85e SHA256 6cbbbc7b66e1dbb733979d36e6a92c35efa059896981afd6d19ac439cc2b7f54
EBUILD sendmail-8.14.2.ebuild 6780 RMD160 f13212d00222dd806029dcd0528baf84bc758df2 SHA1 53d43462e2c6559d4e758fff8bc8e641a2f87d31 SHA256 8d31f2c0431b10d571c0cba90beeff7d3083f5c462147752c9fade3e2c5087a5
EBUILD sendmail-8.14.3-r1.ebuild 7506 RMD160 4e831f1cf6bbdd22642b8edd28f61dd5f2b7d224 SHA1 3eb176a66a60bc8864f38b9cf985d1c145a1fb1b SHA256 d9f2c449056055a54636c9abbee58a55746c92d36c1e80c742112e7b72983e5d
EBUILD sendmail-8.14.3-r2.ebuild 7558 RMD160 71553a98f389260d52851182acc6d8ad03e14efd SHA1 f5927077560aedb1dae45cee0f9f05f79c3fc83d SHA256 4c9dca40d549b9c0457d1e2a4bcc66c7314983be6645d9782b504d8d968e1d6d
-MISC ChangeLog 19531 RMD160 cbbb0f38fbb5961522187f9ebd10d76ede547b4e SHA1 6f8a293edd0dfbef6739c01216e741fd79e3749d SHA256 f9d333734e920bf30d9d48c540337ac139166cb040662fa02e794bb062018332
+EBUILD sendmail-8.14.4.ebuild 7556 RMD160 38f2d38a8db124a0129d7d7a536441cb9ff2959e SHA1 fc86ce740255ed26293186e4a9ad0dfd7c4a3554 SHA256 4a302a699c85ec75c4438a5f6bc613ef088fc313e362780dae81ea340b1048d8
+MISC ChangeLog 19647 RMD160 fd19b1c319315881c2141875006adde5a2daf48e SHA1 74b350c105f14fcad1fd57e970fe601566e4daea SHA256 05f9f314ba8b22ed8a24da4c9a69b9fbbe795871f763004bdcd1b689b2233d6f
MISC metadata.xml 162 RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 SHA1 e6aecefcc2137d6047cedfe447686775ab59cb48 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkq19UUACgkQ9A5kJBGSrsvPQgCdHatQ9amsUZI04lJe5hJgelWs
-0lkAn0uNZEhN/QVewg5/7k3yNICGueez
-=w77U
------END PGP SIGNATURE-----
diff --git a/mail-mta/sendmail/sendmail-8.14.4.ebuild b/mail-mta/sendmail/sendmail-8.14.4.ebuild
new file mode 100644
index 000000000000..db650d9850f5
--- /dev/null
+++ b/mail-mta/sendmail/sendmail-8.14.4.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.14.4.ebuild,v 1.1 2010/01/04 16:45:13 patrick Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+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 !net-mail/mailwrapper )
+ mailwrapper? ( >=net-mail/mailwrapper-0.2 )"
+PDEPEND="!mbox? ( mail-filter/procmail )"
+PROVIDE="virtual/mta"
+
+# libmilter library is part of sendmail, but it does not share the version number with it.
+# In order to find the right libmilter version number, check SMFI_VERSION definition
+# that can be found in ${S}/include/libmilter/mfapi.h (see also SM_LM_VRS_* defines).
+# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001.
+LIBMILTER_VER=1.0.1
+
+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"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/sendmail-build-system.patch
+ epatch "${FILESDIR}"/sendmail-delivered_hdr.patch
+ epatch "${FILESDIR}"/libmilter-sharedlib.patch
+
+ local confCC="$(tc-getCC)"
+ local confCCOPTS="${CFLAGS}"
+ local confLDOPTS="${LDFLAGS}"
+ local confMAPDEF="-DMAP_REGEX"
+ local 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/@@confLDOPTS@@/${confLDOPTS}/" \
+ -e "s/@@confCC@@/${confCC}/" \
+ -e "s/@@confMAPDEF@@/${confMAPDEF}/" \
+ -e "s/@@confENVDEF@@/${confENVDEF}/" \
+ -e "s/@@confLIBS@@/${confLIBS}/" \
+ -e "s/@@conf_sendmail_LIBS@@/${conf_sendmail_LIBS}/" \
+ "${FILESDIR}"/site.config.m4 > devtools/Site/site.config.m4
+}
+
+src_compile() {
+ sh Build || die "compilation failed in main Build script"
+ pushd libmilter
+ sh Build MILTER_SOVER=${LIBMILTER_VER} || die "libmilter compilation failed"
+ popd
+}
+
+src_install () {
+ local MY_LIBDIR=/usr/$(get_libdir)
+ local MY_OBJDIR="obj.`uname -s`.`uname -r`.`uname -m`"
+ dodir /usr/bin ${MY_LIBDIR} /usr/include/libmilter
+ 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}" LIBDIR="${MY_LIBDIR}" 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 "${MY_OBJDIR}/${dir}" \
+ || die "install failed"
+ done
+ for dir in rmail mail.local
+ do
+ make DESTDIR="${D}" LIBDIR="${MY_LIBDIR}" 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 "${MY_OBJDIR}/${dir}" \
+ || die "install failed"
+ done
+
+ make DESTDIR="${D}" LIBDIR="${MY_LIBDIR}" 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 \
+ MILTER_SOVER=${LIBMILTER_VER} \
+ install -C "${MY_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 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_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
+}