summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-04-23 04:23:05 +0000
committerTim Harder <radhermit@gentoo.org>2013-04-23 04:23:05 +0000
commit7175b66d9a6ebb8f891837584147eb020005dc5e (patch)
tree3fbf31d8a34bde11734d0b05108e1d297b455cbe /mail-mta/sendmail
parentBump (diff)
downloadhistorical-7175b66d9a6ebb8f891837584147eb020005dc5e.tar.gz
historical-7175b66d9a6ebb8f891837584147eb020005dc5e.tar.bz2
historical-7175b66d9a6ebb8f891837584147eb020005dc5e.zip
Version bump.
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'mail-mta/sendmail')
-rw-r--r--mail-mta/sendmail/ChangeLog7
-rw-r--r--mail-mta/sendmail/Manifest24
-rw-r--r--mail-mta/sendmail/sendmail-8.14.7.ebuild200
3 files changed, 216 insertions, 15 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index 7b66debf8d6c..37c70afc33c8 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/sendmail
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.103 2013/02/28 17:54:43 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.104 2013/04/23 04:23:00 radhermit Exp $
+
+*sendmail-8.14.7 (23 Apr 2013)
+
+ 23 Apr 2013; Tim Harder <radhermit@gentoo.org> +sendmail-8.14.7.ebuild:
+ Version bump.
28 Feb 2013; Jason A. Donenfeld <zx2c4@gentoo.org> sendmail-8.14.4.ebuild,
sendmail-8.14.5-r1.ebuild, sendmail-8.14.5-r2.ebuild, sendmail-8.14.5.ebuild,
diff --git a/mail-mta/sendmail/Manifest b/mail-mta/sendmail/Manifest
index 19c908d4d198..3c2f11ed4230 100644
--- a/mail-mta/sendmail/Manifest
+++ b/mail-mta/sendmail/Manifest
@@ -17,27 +17,23 @@ AUX site.config.m4 564 SHA256 3a7d586f8dfc24f7ed53621c04374aeca91153ded80cf17411
DIST sendmail.8.14.4.tar.gz 2080472 SHA256 bc0109437c5018b3ea8999edb63506db2f3b31c4c1ab4367cb56236a7df97cb1
DIST sendmail.8.14.5.tar.gz 2092508 SHA256 fb65a86a0f87f12aefb933ee8990540f7a680a594f7fedfdd28918f3934bfb88 SHA512 178addd247f1c7c8ca90d70b9240db4cad4e55f0710d5df0fe979e5473a182d2035150c352836576a28bb2b9660b0d5ebfcd95269a156ac0d2c3dba3edb60452 WHIRLPOOL 2e073759a44d535629d9cce91da4a7082e085defeb9491a4470a8a8c8b18e1545129527c0138a74edb405a9c9724e5a597ee99c7852a423696c495ad8fef783f
DIST sendmail.8.14.6.tar.gz 2104299 SHA256 4ecbaeb2fec8829cd2852acbd8aca66a1383c1237e8401b2fa5377ee3b6d80cd SHA512 012fc396723a97ea5ad95e8b3ea6a3a40aeb97b85ed8af20ae9486729abe149e85cef4a8a16f763ae3d772a41547066434f97b25055e37590a768efa0c9c3757 WHIRLPOOL 271a09a49ab27e99365f171c617738b35a05949aeea8e6941caad712d75c0a3881da6e5528f0ca2900853a224d54db51800d1797ca80cfe7c9716a1283ff2a4d
+DIST sendmail.8.14.7.tar.gz 2112670 SHA256 fa4ff9e67d1e5a42f353eedb207e08b38c0ac31030f7165866de2c520f508710 SHA512 872fef1be984ae8aecdf4299459de50fea86a3b3758e0aac01ea4307fa936a03e66d3ef8d1352cd21afe588b53b04a1cea6e099ba64a5edab5a31e25fb8e0bd3 WHIRLPOOL 82d7b85a130900bd18e43df182850c1fd589caa21e90c055592ebd89e9da6a6dfa35b2baed87b56ca7772b24bb8567266cfad7352167068aad405e3fcfe9202e
EBUILD sendmail-8.14.4.ebuild 6596 SHA256 a39b292a923d3342a46aeb1eea9b043fa66db5341efe68a459967ca2cbf905f4 SHA512 f525d3514cb1657b73ac26651f35255cb45cc09becfa43a0b5ca100057590f0213ce31e4f36940f0ddf5a7380f1b394e3410d71152d011828730f5b3f876280e WHIRLPOOL 7983fb07d6af7f695e706ca53c640685a303ab91baf8171cd2f2d0809a2de7a50cff96b6d665493334738548f6a08f20f179c4ea50cc5e7c56397bda813b24b9
EBUILD sendmail-8.14.5-r1.ebuild 6661 SHA256 43812922f2944e90c00afd5896b720345a97943f59fe7242a46e62f01e918b2c SHA512 adffb9464739576dffd0b37c723ec391a24fa73015278dda69e0eacfc481d069ba554f972f1fa890ece371b88bd963fed2224df905a50cb9541068b94d82b3c3 WHIRLPOOL f51d64eadcf9a8b9df46dea9df72849234aee8c49a0cf33e6e82811ac05b6ef54415bd325fcd904c6a11f827c760ab279f51791384263e15327cf14fc421b440
EBUILD sendmail-8.14.5-r2.ebuild 6903 SHA256 a0265ebe3c79309b0c8ef3afc7bd36ad5cb7a14736137732dbf3f8e5ac614421 SHA512 60fb452f8ba9ebb5c6435495f52208059408aca080eaf1a197d5476194b62fe634b339fe324d2fa3e3650f7b6fd61f3c08c91fa9078686adf77573527edf91c8 WHIRLPOOL eb9c7686a95618d2ef796754aa53163d1eeb13c4e1170ae40a5e9dba6936512ad6b24a82a06d886a476606057cfa0c0ea239e82828322fb76efb0901e0cf2ce8
EBUILD sendmail-8.14.5.ebuild 6611 SHA256 4daf30820408d649ffd01e4eadc1cf0be30516ce84c89af3e1243a7f6627022d SHA512 68bcbaeb44c219718e0d4aecf44b462e40293abc7fc135aac3ac16949c792b5cdc9cdce972ebe7b21f1183e7dc4ed4ae834727971965684d5bab4c3cf2c9a85e WHIRLPOOL a1a54eecfa951304e7600a37d7a401eeb806c6fa237df92e4db91971f40b6155ffc6940976cacd5f4e2d96b6b6cb7e4cf446b823cf2bcf373ef6f802c6013e2e
EBUILD sendmail-8.14.6.ebuild 6922 SHA256 615c1bfbdf46826983fc68fb1302371a963d5d0a2b4df3282e297d998dc744a4 SHA512 201554d6bcce27140ac9104df51eeb9b8f5264c819ddb91ce61265256f3558c6f66169cf759eeaf70a8ad554d1b2eace3da83fbe0998cd0a84986ae2cae16867 WHIRLPOOL 7bca8b287c81df4bcf9b1cea9659de8abb1743f7d31334306c66e47493b15b74193518435b67f2fc00cc6fbee7e0bb754c5f72cccead71bbea9028cfc870c907
-MISC ChangeLog 22575 SHA256 c7c023d538d16a13b06076e996cc7930a1c4f3f37c7388b912a358de14bb0419 SHA512 bc32641f23195c4e79261744020fcfba67ef536559d859a23d6f36d06ac12a17e5d281df41e1d8fee9639f04a6db4750b196823bdfabf4e2f25db1af0e63052d WHIRLPOOL b1eeafc1920544bb3cc7a6e9b6799d32ecb2b2926e55dde7dee25d81e0e2452fcff5fd6e7d4352c7e9102ea7c9264b05d80fb4da2ae2c8de21f463336fe9e1a5
+EBUILD sendmail-8.14.7.ebuild 6934 SHA256 f29a84614203d3125e50cb82adc8ba27ee75b14d71d6f47a56bb28d1f762a64d SHA512 73ca7848c378c9c28669922c3d6df41470f9304194e520f84504d87e07262a46d706c99065b167621306171bee89dda114c8caddd662af8cc6cdd36e00625901 WHIRLPOOL 5ec0a3596742cbd507b189967a93166946cc458c226a08b97e48259fc5813416f149361ef7a127ecec41d0e43cf8afb0eaedaa96152f054cdc53f39d5f90e437
+MISC ChangeLog 22702 SHA256 73f0db1cc66d0f883850b3408355ebc3a9cf5c213288a88dea73b4877ef84a9d SHA512 bcc1934994bfa26209387eceb854e32ac826244e436f6670245c1556ae4ea5298801537568c696505fd9bd2b4d25c74ad112b69e409e7ab7d32e081a122bcda6 WHIRLPOOL 68b84dd41cb94dff2c3eb9a27c3b85dc08e5c17dffed5d282f0f9c45f0ed2e783b911c38c71e357d50081d6bd54990c97104dc224db7e606b98a9fdbf0b2ea72
MISC metadata.xml 162 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b SHA512 b706438a0eda682ad16d8e2217bd54d5fa9f8b305efc6e009d0bf523df159162afee0fae9107c5887e12bb64951bbee4c36c8f4744d008ba8fc2db4c01504fa2 WHIRLPOOL d1196dde03902f1b7eee5c0ad8e30243470e014ec8b6d56fe556125f636872345f0dec41e45f39fa14993db3db78a782efdcf26c3d50cdccd88f4f7c8b7dc67a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJRL5niAAoJEEn8cBKl3gOuDJQP/3GLeZCBCa0uhCG7apHJiR1B
-Hy7RcQCMZbT17VFyWKQZJjunH8+Elte4oai+1FPZ50A7jWJh9QS/p9fEqAjltzzA
-gDjHgTAP3sw7fVDg2ldmVIiq6SAoGEv986Q6ZIzmRagMGobYWeZPr85p3KshWXuf
-sYRp+xzOQ77jHYXkI4KB+UErLNJNilmILZSHDDtfNljpJ1QxZilheHS1wnBj9wkr
-hgJIB5OKnZ+/Y2xV4xMHNXvtGk7/YdlhumI52yJ5/r79XkA4qwLSuuc/uBFCknur
-tG+0ILsQFqJYp6cQvhu0rNFIU51G683L6H0ggHmfEyJFkhNvF9kOp5nVzegfR+X5
-S8iUhO/EyMyhWOcy66kq+HGZAVwo2bEwjpufiDJVLY4ewOtAgL8CpsLTtA9sLW2R
-Hw0CyH63f2q50bL6e+hadB3QPTTUyAk6rmcM0kjuleL4ZIBYb6DxTnuuYCD1Indd
-wvnyGOWs2QM+Hh6xUUZHRH2K5XHPm2FtabYQNTF73VMq/g23Jy8M/S/orv+90mLY
-JoX6aCe7OC9l5zYWQgnFAnALCMDKpvFJuQiV8awq4s7IAC6Me80wsITKC1vYKxth
-Yb0lEa5JE3/4WrVUNE4miL5WNhc+sJPYZ3uUcE0pwlV+3ebSLinU5zfsQzyCJe5x
-bila8cXutNPPNOExKUNr
-=1u66
+iQEcBAEBCAAGBQJRdgyoAAoJEEqz6FtPBkyj4vgH/39BZ+/N8h1L3QApG8lTe3OR
+59P4PtTrNw7T6ukpIuIH4eZTwjYnFSfgC1pCj6at+N/oJRPvxGwJ5cWhFkHBQOX9
+5KXNis3r0rRe3vLRIYCmQRNAVSOsIDbZegXdnutTL0gPgtExp/fpxG/x06WJje2r
+gimh+xDDxE1b+Ybl6Ak8t8pBlt96ynHFZGMzhn+csAvAOq/jdL0k0yT6WIcE1cqo
+DHHDWG8eQ8q8z1OZCzciC+JtiyAHcU/GQtIvyCxGV9/nPZUnVaH1QzBakaOkNnXw
+Cy7APHa+h7q8GwJn4bZLtF5UG1P3PPEIIDwp7PcKxAwRNYDrzAL8PdxoDCfnnuQ=
+=ytLn
-----END PGP SIGNATURE-----
diff --git a/mail-mta/sendmail/sendmail-8.14.7.ebuild b/mail-mta/sendmail/sendmail-8.14.7.ebuild
new file mode 100644
index 000000000000..bf91cd25fcbf
--- /dev/null
+++ b/mail-mta/sendmail/sendmail-8.14.7.ebuild
@@ -0,0 +1,200 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.14.7.ebuild,v 1.1 2013/04/23 04:23:00 radhermit Exp $
+
+EAPI="5"
+inherit eutils multilib toolchain-funcs user
+
+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 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
+ !mail-mta/courier
+ !mail-mta/esmtp
+ !mail-mta/exim
+ !mail-mta/mini-qmail
+ !mail-mta/msmtp[mta]
+ !mail-mta/netqmail
+ !mail-mta/nullmailer
+ !mail-mta/postfix
+ !mail-mta/opensmtpd
+ !mail-mta/qmail-ldap
+ !<mail-mta/ssmtp-2.64-r2
+ !>=mail-mta/ssmtp-2.64-r2[mta]"
+
+PDEPEND="!mbox? ( mail-filter/procmail )"
+
+# 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.2
+
+pkg_setup() {
+ enewgroup smmsp 209
+ enewuser smmsp 209 -1 /var/spool/mqueue smmsp
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${PN}"-8.14.6-build-system.patch
+ epatch "${FILESDIR}"/sendmail-delivered_hdr.patch
+ epatch "${FILESDIR}"/libmilter-sharedlib.patch
+ epatch "${FILESDIR}"/"${PN}"-8.14.5+db-5.0.patch
+ epatch "${FILESDIR}"/sendmail-starttls-multi-crl.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" \
+ && confENVDEF="${confENVDEF} -D_FFR_TLS_1" \
+ && 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
+
+ docinto contrib
+ dodoc contrib/*
+
+ insinto /etc/mail
+ if use mbox
+ then
+ newins "${FILESDIR}"/sendmail.mc-r1 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
+ if use sasl; then
+ dodir /etc/sasl2
+ cat <<- EOF > "${D}"/etc/sasl2/Sendmail.conf
+ pwcheck_method: saslauthd
+ mech_list: PLAIN LOGIN
+
+ EOF
+ fi
+
+ doinitd "${FILESDIR}"/sendmail
+ keepdir /usr/adm/sm.bin
+}