summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-03-16 08:13:22 +0000
committerUlrich Müller <ulm@gentoo.org>2008-03-16 08:13:22 +0000
commit8ff8fceb01d0dfb457d28f94c4b63b3be060105c (patch)
tree080bdc893327ee0b7b907add689da778465becc0 /mail-mta/postfix
parentUse emake in src_install. (diff)
downloadhistorical-8ff8fceb01d0dfb457d28f94c4b63b3be060105c.tar.gz
historical-8ff8fceb01d0dfb457d28f94c4b63b3be060105c.tar.bz2
historical-8ff8fceb01d0dfb457d28f94c4b63b3be060105c.zip
Remove old, bug 201671.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'mail-mta/postfix')
-rw-r--r--mail-mta/postfix/ChangeLog5
-rw-r--r--mail-mta/postfix/Manifest13
-rw-r--r--mail-mta/postfix/postfix-2.2.10-r1.ebuild340
3 files changed, 9 insertions, 349 deletions
diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog
index 547a9a988671..7ad2917dc7ce 100644
--- a/mail-mta/postfix/ChangeLog
+++ b/mail-mta/postfix/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/postfix
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.153 2008/03/16 04:36:15 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.154 2008/03/16 08:13:22 ulm Exp $
+
+ 16 Mar 2008; Ulrich Mueller <ulm@gentoo.org> -postfix-2.2.10-r1.ebuild:
+ Remove old, bug 201671.
16 Mar 2008; Ryan Hill <dirtyepic@gentoo.org> postfix-2.4.6-r2.ebuild:
Keyword ~mips for bug #201671.
diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index 984586ebe912..d7a76347611a 100644
--- a/mail-mta/postfix/Manifest
+++ b/mail-mta/postfix/Manifest
@@ -8,26 +8,23 @@ AUX postfix.rc6.2.2.9 648 RMD160 5c8242c63e4263734ae2c51f20c5970db53dc604 SHA1 f
AUX smtp.pass 141 RMD160 799433a4ee9e9e32f20aa2d31f85f33faa2bc7e6 SHA1 e1d75aa259fa07b257a617e056662aecfd19957f SHA256 c9b3b56a8df2367cc15bc43a70304fac7ebdd7697e1d450d1bcb4bfdd3e078e9
AUX smtp.sasl 131 RMD160 6831f9bbfd76be0d39fdda4270120824ebb9f52f SHA1 613dff95ac21bd306c2917e5360430772efbb146 SHA256 954ba1e80537ca01b935b856e31ec4e3e41c138f04b7cf99ccb969876b8b78e7
DIST postfix-2.2.10-vda.patch.gz 7799 RMD160 01c36255cb2bac7518b94fd5074d1182b7680bdd SHA1 00a989f11fb8bb4561738e454960d6b163a7c68e SHA256 32aa3f7219e3da3bda362223ee34d6571c796f601b565de1890bce628446e0cc
-DIST postfix-2.2.10.tar.gz 2443513 RMD160 12376298eef12cbe127687328ebfb9166cfee5d6 SHA1 a432bd45f0c7098482394dd7b9c97100e8a040e1 SHA256 7c3f4cabd9f5bbba0c8987b0dcbafdce45a4f13b7f917bcfc6d7b3caf8ce34f1
DIST postfix-2.2.11.tar.gz 2448022 RMD160 0915a4daafeb4e316754d5da1305f3d69074d705 SHA1 e0fe3d2ce8e7b5ec4e760d03d8bcdf67b46544be SHA256 07d3959a20f0d47785cad3dddf22676b041a57c798cb7bad43c405389abf1d12
-DIST postfix-2.2.8-vda.patch.gz 7741 RMD160 c74969b300232900d816df5f5dad7e3178db43ed SHA1 149ad8fc82cc7aad5f5d86b89694efbb79bfef9b SHA256 b325514aa1bb3f90dcc749be16f7c74d18d8ab75cee6f9b20d740dd0ce5c07ac
DIST postfix-2.3.3-vda.patch.gz 7944 RMD160 bdbd0798ca4d23c6e8443b26b957b8d0d252da1d SHA1 70c2d41363ead6d9129849e09df551d6ed77920a SHA256 4fdff601e0b2653025c9b9ca8875e995b8052e2e362c3a5e035c3d2859bd4fa2
DIST postfix-2.3.8.tar.gz 2787761 RMD160 2984ca8e81375a3124801c999d23637e745de54c SHA1 c40ebae5cdcd53e13ae8ba5cac1a70167576859b SHA256 f19c26646e19cc93bdb01b1118ad6bdc67c0ec506c7dc989370e117c8d43f3e6
DIST postfix-2.4.5-vda-ng.patch.gz 12241 RMD160 d88971edd77d2fd38479d55ad941599ce0fb26e3 SHA1 7bc3a9639e64747b49bd862dc7cc326ab3aacd72 SHA256 ca21c1fddb1c6f11b90a363408056f0656dcbd747198ef61c7ee2998a07e0087
DIST postfix-2.4.5.tar.gz 2934634 RMD160 a6ffd6211f292c56558ebd2ebce8f09deea95ca1 SHA1 dc3616ffd441c23748273527b6693835f3502ad2 SHA256 bce55ae6be130ef085c9968bfdf8ac36e4b77dd4bd84ba9da4fc7fc3464c65d7
DIST postfix-2.4.6-vda-ng-r2.patch.gz 12397 RMD160 a03f29df52eb5c2974206cd3ee32305c24d4be73 SHA1 71c9b71a238093f944865fbc90704a25710d3f3f SHA256 d8186d4c0f19b0a989d98305d9bd1c8e27223c3a4fb549d5581f279e567fadf5
DIST postfix-2.4.6.tar.gz 2935249 RMD160 115b3a4eb982701e29db2e52e294ec8ee69bdae5 SHA1 226222707fd8d963d3173070cac96370c453ffa7 SHA256 00d079d6354bb3979b186da6bbe281b42eea2716620da781bcdb36dd558edcca
-EBUILD postfix-2.2.10-r1.ebuild 10283 RMD160 b2b3629e12b4371bece59da7181ab58a97de45be SHA1 11540902c277d87e18b645ff979e80c0774b776a SHA256 e2a72f6c761020ffdf77526558f4b9ec635cdc3911e9eba98e020a3b895f923b
EBUILD postfix-2.2.11-r1.ebuild 10448 RMD160 c407b24fb1bea9d24a383fee8dadafa947dadc30 SHA1 4ef1ef001c1cf8746174747044b8cccdc834a233 SHA256 5d4d6ed2a019db9e20c0cec7343536fe7712fe531e21e87f395f8994c3b3a09d
EBUILD postfix-2.3.8-r1.ebuild 11781 RMD160 c198c76f96e2ff31912e1196eca5f47d97bec8d3 SHA1 4f4eff4ce639f32e31a07b85c00ac6aa310f6d69 SHA256 02343d6b1cb15cfe450535fa6a911456272beeb19ee3e076ed00b43e853f9867
EBUILD postfix-2.4.5.ebuild 11678 RMD160 fb60b2092618dc26a634fad020f825957e2d3413 SHA1 19d8dd063b6437b361ef4ad14239b5b7ef3c5cab SHA256 e206fe2db84685d199da6a18e29f0e50475a9cb979066bd65ad113cf0273c1c3
EBUILD postfix-2.4.6-r2.ebuild 11700 RMD160 0fde99296f4a9d1e9ebf444e80453f836e105a63 SHA1 4a10f47fb2a006618c1c4c1e44f31d5f810c963a SHA256 fb3503ad317bd1da989140ac2a94dfc5ac120e31c8a48b2be710f5b8442af1e7
-MISC ChangeLog 47576 RMD160 042792c1e3d940c9a85527a628e8137def0c133c SHA1 140769452b7d7d95e7f81c0ed9462d4a5716d6e9 SHA256 58c6c44f1499eb2774daac53dce3eda26eeea3d4c5d19f21b8e4fd5c4dfcd18f
+MISC ChangeLog 47671 RMD160 c4ab8b6768268d33f6375ef490fe890403ef7e7e SHA1 1b544c61ce02e4edc561954b5dcaadb67c640a4e SHA256 a46d6554e3a845e45b9275f4c596495bc49fd0b9769de6f3624d98e0a101fef4
MISC metadata.xml 162 RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 SHA1 e6aecefcc2137d6047cedfe447686775ab59cb48 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v1.4.8 (GNU/Linux)
-iD8DBQFH3KPEiqiDRvmkBmIRAm/FAKDPHMWkEZsWZywz9dEIF0RsBoqRQACbBHpN
-v9KQFUI5dPBOA7IOwF/vVqk=
-=GakP
+iEYEARECAAYFAkfc1oQACgkQOeoy/oIi7uzjeACfalpgx9nscpzrzLYzzHnChhQH
+YWUAmwVnhdHhasW18ISAeD+MwMv7J4UY
+=oJSE
-----END PGP SIGNATURE-----
diff --git a/mail-mta/postfix/postfix-2.2.10-r1.ebuild b/mail-mta/postfix/postfix-2.2.10-r1.ebuild
deleted file mode 100644
index 864c3136c650..000000000000
--- a/mail-mta/postfix/postfix-2.2.10-r1.ebuild
+++ /dev/null
@@ -1,340 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.2.10-r1.ebuild,v 1.4 2007/10/21 11:15:08 solar Exp $
-
-inherit eutils ssl-cert toolchain-funcs flag-o-matic mailer pam
-IUSE="ipv6 pam ldap mysql postgres ssl sasl mbox nis vda selinux hardened cdb"
-#IUSE="ipv6 pam ldap mysql postgres ssl sasl mbox nis vda selinux hardened devel"
-
-MY_PV=${PV}
-MY_SRC=${PN}-${MY_PV}
-#DEV_SRC=${MY_SRC}-newdb-nonprod
-VDA_VER=2.2.8
-VDA_P="${PN}-${VDA_VER}-vda"
-RC_VER="2.2.9"
-
-DESCRIPTION="A fast and secure drop-in replacement for sendmail."
-HOMEPAGE="http://www.postfix.org/"
-SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${MY_SRC}.tar.gz
- vda? ( http://web.onda.com.br/nadal/postfix/VDA/${VDA_P}.patch.gz ) "
-# devel? ( ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/${DEV_SRC}.tar.gz ) "
-
-LICENSE="IPL-1"
-SLOT="0"
-#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-
-PROVIDE="${PROVIDE} virtual/mda"
-DEPEND="cdb? ( || ( >=dev-db/cdb-0.75-r1 >=dev-db/tinycdb-0.74 ) )
- >=sys-libs/db-3.2
- >=dev-libs/libpcre-3.4
- pam? ( virtual/pam )
- ldap? ( >=net-nds/openldap-1.2 )
- mysql? ( virtual/mysql )
- postgres? ( >=dev-db/postgresql-7.1 )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- sasl? ( >=dev-libs/cyrus-sasl-2 )"
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00
- selinux? ( sec-policy/selinux-postfix )"
-
-#if use devel; then
-# MY_SRC=${DEV_SRC}
-#fi
-
-S=${WORKDIR}/${MY_SRC}
-
-group_user_check() {
- einfo "checking for postfix group... create if missing."
- enewgroup postfix 207
- einfo "checking for postdrop group... create if missing."
- enewgroup postdrop 208
- einfo "checking for postfix user... create if missing."
- enewuser postfix 207 -1 /var/spool/postfix postfix
-}
-
-pkg_setup() {
- # do not upgrade from postfix-2.1. logic to fix bug #53324
- if [[ -f /var/lib/init.d/started/postfix ]] ; then
- if has_version '<mail-mta/postfix-2.2' ; then
- if [ "${FORCE_UPGRADE}" ]; then
- echo
- ewarn "You are upgrading from a incompatible version and"
- ewarn "you have FORCE_UPGRADE set, will build this package with postfix running."
- ewarn "You MUST stop postfix BEFORE install it to your system."
- echo
- else
- echo
- eerror "You are upgrading from a incompatible version."
- eerror "You MUST stop postfix BEFORE install it to your system."
- eerror "If you want a minimal downtime, emerge postfix with:"
- eerror "\`FORCE_UPGRADE=1 emerge --buildpkgonly postfix\`; then"
- eerror "\`/etc/init.d/postfix stop && emerge --usepkgonly postfix\`"
- eerror "run etc-update or dispatch-conf and merge the configuration files."
- eerror "Next /etc/init.d/postfix start"
- die "upgrade from an incompatible version!"
- echo
- fi
-
- else
- echo
- ewarn "It is safe to upgrade your current version while it's running."
- ewarn "If you don't want to take any chance; please hit Ctrl+C now;"
- ewarn "stop Postfix then emerge again."
- ewarn "You have been warned!"
- ewarn "Waiting 5 seconds before continuing."
- echo
- epause 5
- fi
- fi
-
- echo
- ewarn "Read \"ftp://ftp.porcupine.org/mirrors/postfix-release/official/${MY_SRC}.RELEASE_NOTES\""
- ewarn "for incompatible changes before continue."
- ewarn "Bugs should be filed at \"http://bugs.gentoo.org\""
- ewarn "assign to \"net-mail@gentoo.org\"."
- echo
- #epause 5
-
- # put out warnings to work around bug #45764
- if has_version '<=mail-mta/postfix-2.0.18'; then
- echo
- ewarn "You are upgrading from postfix-2.0.18 or earlier, one of the empty queue"
- ewarn "directory get deleted during unmerge the older version (#45764). Please run"
- ewarn "\`etc/postfix/post-install upgrade-source\` to recreate them."
- echo
- #epause 5
- fi
-
- #TLS non-prod warn
- if use ssl; then
- echo
- ewarn "you have \"ssl\" in your USE flags, TLS will be enabled."
- ewarn "This service entry is incompatible with previous TLS patch."
- ewarn "Visit http://www.postfix.org/TLS_README.html for more info."
- echo
- #epause 5
- fi
-
- # IPV6 non-prod warn
- if use ipv6; then
- echo
- ewarn "you have \"ipv6\" in your USE flags, IPV6 will be enabled."
- ewarn "Visit http://www.postfix.org/IPV6_README.html for more info."
- echo
- fi
-
- # add postfix, postdrop user/group. Bug #77565.
- group_user_check || die "failed to check/add needed user/group"
-
-}
-
-src_unpack() {
- unpack ${A} && cd "${S}"
-
- epatch "${FILESDIR}/${PN}-master.cf.patch"
-
- if use vda ; then
- epatch "${WORKDIR}/${VDA_P}.patch"
- fi
-
- # Postfix does not get the FQDN if no hostname is configured.
- epatch "${FILESDIR}/${PN}-2.0.9-get-FQDN.patch"
-
- sed -i -e "/^#define ALIAS_DB_MAP/s|hash:/etc/aliases|hash:/etc/mail/aliases|" \
- src/util/sys_defs.h || die "sed failed"
-
-}
-
-src_compile() {
- cd ${S}
- # added -Wl,-z,now wrt 62674.
- # remove -ldl as it is not necessary, resolve bug #106446.
- # -Wl,-z,now replaced by $(bindnow-flags)
- # make sure LDFLAGS get passed down to the executables.
- local mycc="-DHAS_PCRE" mylibs="$(bindnow-flags) ${LDFLAGS} -lpcre -lcrypt -lpthread"
-
- use pam && mylibs="${mylibs} -lpam"
-
- if use ldap ; then
- mycc="${mycc} -DHAS_LDAP"
- mylibs="${mylibs} -lldap -llber"
- fi
-
- if use mysql ; then
- mycc="${mycc} -DHAS_MYSQL -I/usr/include/mysql"
- mylibs="${mylibs} -lmysqlclient -lm -lz"
- fi
-
- if use postgres ; then
- if best_version '=dev-db/postgresql-7.3*' ; then
- mycc="${mycc} -DHAS_PGSQL -I/usr/include/postgresql"
- else
- mycc="${mycc} -DHAS_PGSQL -I/usr/include/postgresql/pgsql"
- fi
- mylibs="${mylibs} -lpq"
- fi
-
- if use ssl ; then
- mycc="${mycc} -DUSE_TLS"
- mylibs="${mylibs} -lssl -lcrypto"
- fi
-
- if use sasl ; then
- mycc="${mycc} -DUSE_SASL_AUTH -I/usr/include/sasl"
- mylibs="${mylibs} -lsasl2"
- fi
-
- if ! use nis; then
- sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" src/util/sys_defs.h || \
- die "sed failed"
- fi
-
- # CDB support, bug #112293
- if use cdb; then
- mycc="${mycc} -DHAS_CDB"
- CDB_LIBS=""
-
- # tinycdb is preferred.
- if has_version dev-db/tinycdb; then
- einfo "build with dev-db/tinycdb"
- # ugly hack because gentoo doesn't install cdb.h
- cp /usr/include/tinycdb.h ${S}/src/util/cdb.h || die \
- "failed to cp /usr/include/tinycdb.h to ${S}/util/cdb.h"
- CDB_LIBS="-ltinycdb"
- else
- CDB_PATH="/usr/lib"
- for i in cdb.a alloc.a buffer.a unix.a byte.a
- do CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}"
- done
- fi
-
- mylibs="${mylibs} ${CDB_LIBS}"
- fi
-
- mycc="${mycc} -DDEF_DAEMON_DIR=\\\"/usr/lib/postfix\\\""
- mycc="${mycc} -DDEF_MANPAGE_DIR=\\\"/usr/share/man\\\""
- mycc="${mycc} -DDEF_README_DIR=\\\"/usr/share/doc/${PF}/readme\\\""
- mycc="${mycc} -DDEF_HTML_DIR=\\\"/usr/share/doc/${PF}/html\\\""
-
- ebegin "Starting make makefiles..."
-
- local my_cc=$(tc-getCC)
- einfo "CC=${my_cc:=gcc}"
-
- # workaround for bug #76512
- [ "$(gcc-version)" == "3.4" ] && use hardened && replace-flags -O? -Os
-
- make CC="${my_cc:=gcc}" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" \
- makefiles || die "configure problem"
-
- emake || die "compile problem"
-}
-
-src_install () {
- /bin/sh postfix-install \
- -non-interactive \
- install_root="${D}" \
- config_directory="/usr/share/doc/${PF}/defaults" \
- readme_directory="/usr/share/doc/${PF}/readme" \
- || die "postfix-install failed"
-
- # Fix spool removal on upgrade.
- rm -rf "${D}/var"
- keepdir /var/spool/postfix
-
- # Install an rmail for UUCP, closing bug #19127.
- dobin auxiliary/rmail/rmail
-
- # mailwrapper stuff
- if use mailwrapper ; then
- mv "${D}/usr/sbin/sendmail" "${D}/usr/sbin/sendmail.postfix"
- mv "${D}/usr/bin/rmail" "${D}/usr/bin/rmail.postfix"
- rm "${D}/usr/bin/mailq" "${D}/usr/bin/newaliases"
-
- mv "${D}/usr/share/man/man1/sendmail.1" \
- "${D}/usr/share/man/man1/sendmail-postfix.1"
- mv "${D}/usr/share/man/man1/newaliases.1" \
- "${D}/usr/share/man/man1/newaliases-postfix.1"
- mv "${D}/usr/share/man/man1/mailq.1" \
- "${D}/usr/share/man/man1/mailq-postfix.1"
- mv "${D}/usr/share/man/man5/aliases.5" \
- "${D}/usr/share/man/man5/aliases-postfix.5"
-
- mailer_install_conf
- else
- # Provide another link for legacy FSH.
- dosym /usr/sbin/sendmail /usr/lib/sendmail
- fi
-
- # Install qshape tool.
- dobin auxiliary/qshape/qshape.pl
-
- # performance tuning tools.
- dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
- doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
-
- # Set proper permissions on required files/directories.
- fowners root:postdrop /usr/sbin/post{drop,queue}
- fperms 02711 /usr/sbin/post{drop,queue}
-
- keepdir /etc/postfix
- mv ${D}/usr/share/doc/${PF}/defaults/{*.cf,post*-*} ${D}/etc/postfix
- if use mbox ; then
- mypostconf="mail_spool_directory=/var/spool/mail"
- else
- mypostconf="home_mailbox=.maildir/"
- fi
-
- "${D}/usr/sbin/postconf" -c "${D}/etc/postfix" -e \
- ${mypostconf} || die "postconf failed"
-
- insinto /etc/postfix
- newins "${FILESDIR}/smtp.pass" saslpass
- fperms 600 /etc/postfix/saslpass
-
- newinitd "${FILESDIR}/postfix.rc6.${RC_VER}" postfix || \
- die "newinitd failed"
-
- mv "${S}/examples" "${D}/usr/share/doc/${PF}/"
- dodoc *README COMPATIBILITY HISTORY INSTALL LICENSE PORTING RELEASE_NOTES*
- dohtml html/*
-
- pamd_mimic_system smtp auth account
-
- # do not install server.{key,pem) if they are exist.
- if use ssl && [[ ! -f /etc/ssl/postfix/server.key && ! -f /etc/ssl/postfix/server.pem ]]; then
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Postfix SMTP Server}"
- insinto /etc/ssl/postfix
- docert server
- fowners postfix:mail /etc/ssl/postfix/server.{key,pem}
- fi
-
- if use sasl ; then
- insinto /etc/sasl2
- newins "${FILESDIR}/smtp.sasl" smtpd.conf
- fi
-}
-
-pkg_postinst() {
-
- # add postfix, postdrop user/group. Bug #77565.
- group_user_check || die "failed to check/add needed user/group"
-
- ebegin "Fixing queue directories and permissions"
- "${ROOT}/etc/postfix/post-install" upgrade-permissions
- echo
- ewarn "If you upgraded from postfix-1.x, you must revisit"
- ewarn "your configuration files. See"
- ewarn " /usr/share/doc/${PF}/RELEASE_NOTES"
- ewarn "for a list of changes."
-
- if [ ! -e /etc/mail/aliases.db ] ; then
- echo
- ewarn "You must edit /etc/mail/aliases to suit your needs"
- ewarn "and then run /usr/bin/newaliases. Postfix will not"
- ewarn "work correctly without it."
- fi
-
- mailer_pkg_postinst
-}