summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Barisani <lcars@gentoo.org>2005-06-23 10:30:37 +0000
committerAndrea Barisani <lcars@gentoo.org>2005-06-23 10:30:37 +0000
commit71b9cd2f4ea67ef8760bd70c0def5cd559a77fe0 (patch)
treec5071bc45f336190379e1a51c1075485bf43919d /mail-mta
parentadded sendmail-8.13.4-r1 (diff)
downloadhistorical-71b9cd2f4ea67ef8760bd70c0def5cd559a77fe0.tar.gz
historical-71b9cd2f4ea67ef8760bd70c0def5cd559a77fe0.tar.bz2
historical-71b9cd2f4ea67ef8760bd70c0def5cd559a77fe0.zip
new revision
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/sendmail/ChangeLog7
-rw-r--r--mail-mta/sendmail/Manifest38
-rw-r--r--mail-mta/sendmail/files/digest-sendmail-8.13.4-r11
-rw-r--r--mail-mta/sendmail/metadata.xml2
-rw-r--r--mail-mta/sendmail/sendmail-8.13.4-r1.ebuild170
5 files changed, 193 insertions, 25 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index 9a94e2fc11a7..e0e195ba355a 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/sendmail
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.35 2005/06/23 10:09:15 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.36 2005/06/23 10:30:37 lcars Exp $
+
+*sendmail-8.13.4-r1 (23 Jun 2005)
+
+ 23 Jun 2005; lcars metadata.xml, +sendmail-8.13.4-r1.ebuild:
+ Taking over maintainership. New revision that uses mailer.eclass.
23 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org> sendmail-8.13.4.ebuild:
Stable on alpha
diff --git a/mail-mta/sendmail/Manifest b/mail-mta/sendmail/Manifest
index 9d4679f3fe37..cd7c6f7cb3fe 100644
--- a/mail-mta/sendmail/Manifest
+++ b/mail-mta/sendmail/Manifest
@@ -1,30 +1,22 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a64ea83203b75855ea6fdb16f95b2a38 sendmail-8.13.3.ebuild 5992
+MD5 e26d873ae3bc04a9abd30d01eb382f0c ChangeLog 11870
+MD5 6d7255cf075f705e7706d7f7c2fc4a53 metadata.xml 218
MD5 c77f180f8a2e154ffd41becf19407a59 sendmail-8.13.1-r1.ebuild 5962
+MD5 a64ea83203b75855ea6fdb16f95b2a38 sendmail-8.13.3.ebuild 5992
MD5 7ffaa7ff1daa36fdf6e78ac1326daefd sendmail-8.13.4.ebuild 5852
-MD5 142937bc47d8fe2dc890ad1a85a11019 ChangeLog 11703
-MD5 07aa1897fda73805b9d68a2b82090e5f metadata.xml 218
-MD5 9cf5b1a30908c5f96f258b835f430865 files/sendmail.cf 39312
-MD5 1a9fedeb2f17b9a7de4f0f8da6c06d63 files/sendmail.mc 299
-MD5 9f4b4fca4930038c7a6dab0d0e80e5b6 files/site.config.m4 453
+MD5 a7be78c28f2d91ac17630172830e4c10 sendmail-8.13.4-r1.ebuild 5647
+MD5 0027be040b9dacdf253813fe2ddb8982 files/digest-sendmail-8.13.1-r1 68
+MD5 45c504b2c249bc5724f0029328d56b78 files/digest-sendmail-8.13.3 68
+MD5 470e80bc008f602eb5fcc165f9e3546b files/digest-sendmail-8.13.4 68
+MD5 61d4e49cceb149f6ff46cf6a1b598b88 files/mailer.conf 1306
+MD5 a66e50b3a5cf1d70054dccf17d7ec13f files/sendmail 605
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 45c504b2c249bc5724f0029328d56b78 files/digest-sendmail-8.13.3 68
-MD5 470e80bc008f602eb5fcc165f9e3546b files/digest-sendmail-8.13.4 68
+MD5 7b2a2b2f8f608ddbd8b0c1b910ffb981 files/sendmail-delivered_hdr.patch 341
MD5 875d3c33bfa16e73e5e75ecb1d1a9d2b files/sendmail-procmail.cf 39897
MD5 40db5be0dc4aad98df023d3af8e8c132 files/sendmail-procmail.mc 357
-MD5 a66e50b3a5cf1d70054dccf17d7ec13f files/sendmail 605
-MD5 61d4e49cceb149f6ff46cf6a1b598b88 files/mailer.conf 1306
-MD5 0027be040b9dacdf253813fe2ddb8982 files/digest-sendmail-8.13.1-r1 68
-MD5 7b2a2b2f8f608ddbd8b0c1b910ffb981 files/sendmail-delivered_hdr.patch 341
-MD5 4b37f61de2fd8de372a4bd8ab6f92edf files/sendmail-8.12.2-smrsh-paths.patch 5625
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCuoqEViELBEf1JB0RAs8eAJ9efM/a5KA2Bx9V3+PWrJ9bx6VRTACeLIbm
-yUO+Xk5k98kjK9eCESDZCXs=
-=Ea/7
------END PGP SIGNATURE-----
+MD5 9cf5b1a30908c5f96f258b835f430865 files/sendmail.cf 39312
+MD5 1a9fedeb2f17b9a7de4f0f8da6c06d63 files/sendmail.mc 299
+MD5 9f4b4fca4930038c7a6dab0d0e80e5b6 files/site.config.m4 453
+MD5 470e80bc008f602eb5fcc165f9e3546b files/digest-sendmail-8.13.4-r1 68
diff --git a/mail-mta/sendmail/files/digest-sendmail-8.13.4-r1 b/mail-mta/sendmail/files/digest-sendmail-8.13.4-r1
new file mode 100644
index 000000000000..517a9b0b4e1a
--- /dev/null
+++ b/mail-mta/sendmail/files/digest-sendmail-8.13.4-r1
@@ -0,0 +1 @@
+MD5 61e336750b48b01abaa69b4d7c9473b5 sendmail.8.13.4.tar.gz 1974606
diff --git a/mail-mta/sendmail/metadata.xml b/mail-mta/sendmail/metadata.xml
index 7f0c39af38e6..2bb47912bc46 100644
--- a/mail-mta/sendmail/metadata.xml
+++ b/mail-mta/sendmail/metadata.xml
@@ -2,5 +2,5 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
-<maintainer><email>gregf@gentoo.org</email></maintainer>
+<maintainer><email>lcars@gentoo.org</email></maintainer>
</pkgmetadata>
diff --git a/mail-mta/sendmail/sendmail-8.13.4-r1.ebuild b/mail-mta/sendmail/sendmail-8.13.4-r1.ebuild
new file mode 100644
index 000000000000..d993edaee862
--- /dev/null
+++ b/mail-mta/sendmail/sendmail-8.13.4-r1.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/sendmail-8.13.4-r1.ebuild,v 1.1 2005/06/23 10:30:37 lcars Exp $
+
+inherit eutils mailer
+
+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 mailwrapper ipv6"
+
+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"
+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"
+ 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`.`arch`"
+ 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/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
+ newdoc libmilter/README README.libmilter
+
+ 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.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 "# 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
+ rm ${D}/usr/bin/mailq
+ rm ${D}/usr/bin/newaliases
+ dosed 's/} sendmail/} sendmail.sendmail/' /etc/init.d/sendmail
+ dosed 's/sbin\/sendmail/sbin\/sendmail.sendmail/' /etc/init.d/sendmail
+ mailer_install_conf
+ fi
+
+}
+
+pkg_preinst() {
+ if ! groupmod smmsp; then
+ groupadd smmsp || die "problem adding group smmsp"
+ fi
+}