summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-09-12 16:14:03 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-09-12 16:14:03 +0000
commit45b67aedd1509be11cd4225205dc3731255df081 (patch)
tree7fdc23b71d80c46875972c9ddd04e06ae9ea368f /net-mail
parentfixing Manifest (diff)
downloadgentoo-2-45b67aedd1509be11cd4225205dc3731255df081.tar.gz
gentoo-2-45b67aedd1509be11cd4225205dc3731255df081.tar.bz2
gentoo-2-45b67aedd1509be11cd4225205dc3731255df081.zip
Cleanup
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/postfix/ChangeLog5
-rw-r--r--net-mail/postfix/Manifest4
-rw-r--r--net-mail/postfix/files/digest-postfix-2.0.154
-rw-r--r--net-mail/postfix/postfix-2.0.15.ebuild251
4 files changed, 5 insertions, 259 deletions
diff --git a/net-mail/postfix/ChangeLog b/net-mail/postfix/ChangeLog
index 3ca1b48c6af7..4e30d2936cfb 100644
--- a/net-mail/postfix/ChangeLog
+++ b/net-mail/postfix/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/postfix
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.86 2003/09/12 16:01:44 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.87 2003/09/12 16:14:00 lostlogic Exp $
+
+ 12 Sep 2003; Brandon Low <lostlogic@gentoo.org> postfix-2.0.15.ebuild:
+ Cleanup
*postfix-2.0.15-r1 (12 Sep 2003)
diff --git a/net-mail/postfix/Manifest b/net-mail/postfix/Manifest
index d97ba5e18dc3..c23588e567e2 100644
--- a/net-mail/postfix/Manifest
+++ b/net-mail/postfix/Manifest
@@ -1,13 +1,12 @@
MD5 b141e7104f8415ee713080be1428377f postfix-2.0.10-r1.ebuild 6160
MD5 fb2a0d195963e2dad30eba4238352499 postfix-2.0.13.ebuild 6368
MD5 4896326c3dc6885664ff4ce74614c274 postfix-2.0.13-r1.ebuild 6345
-MD5 546484b95f4013875dc6a1b4952134d6 postfix-2.0.15.ebuild 6383
MD5 f7902206b1ea1c3894f86f798f2eb0bd postfix-2.0.9.ebuild 6241
MD5 ef533edc3256c24f6ef2a04444b71404 postfix-1.1.11.20020917-r1.ebuild 4598
MD5 de51d2542b3a6d669a2f523b63e6e1d2 postfix-2.0.12-r1.ebuild 6027
MD5 a0bed4adcd5039175b633ec641660e04 postfix-2.0.14.ebuild 6379
MD5 53caf99049103faa8331297d7f0784e1 postfix-2.0.15-r1.ebuild 6384
-MD5 d6a9557972ab76117b43225e6261cb15 ChangeLog 17538
+MD5 f82e3fa9d5f6f297e1aa39afff11a786 ChangeLog 17622
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 9486f47c362cb65c1ad4760647a7b3a5 postfix-2.0.11.ebuild 6031
MD5 3b74d1f1c47c8d5630d8f356adb2e28b postfix-1.1.11.20020917.ebuild 4578
@@ -20,7 +19,6 @@ MD5 40a96d0b5dfb56714e11d1f379ddc5a7 files/main.cf 18376
MD5 1d4abcdc55f9e76735ae1ae0fcc13c53 files/digest-postfix-2.0.11 295
MD5 c0419702f95f1ae3461d57ef00cf9dc4 files/digest-postfix-2.0.13 296
MD5 b16da80a639afb1445a78346a3469d17 files/digest-postfix-2.0.14 296
-MD5 28f9abb977fb49f9fa4f9893516edcce files/digest-postfix-2.0.15 296
MD5 e651e2015b6c6f1495ac84a37e4a8871 files/smtpd.conf 130
MD5 ff6584c14212d383b742fe5fc0aceed5 files/postfix-2.0.9-get-FQDN.patch 993
MD5 e17b09d7df6537631ef2263b83fe0d38 files/master.cf 4421
diff --git a/net-mail/postfix/files/digest-postfix-2.0.15 b/net-mail/postfix/files/digest-postfix-2.0.15
deleted file mode 100644
index 472153498279..000000000000
--- a/net-mail/postfix/files/digest-postfix-2.0.15
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 723c2b7f67016e0c19b0e1aa08dad246 postfix-2.0.15.tar.gz 1351964
-MD5 0f2faa625053b92ba579232bea97cac5 pfixtls-0.8.15-2.0.14-0.9.7b.tar.gz 233924
-MD5 4934ec94b558cf092edfc0a8c86ea4c4 ipv6-1.18-pf-2.0.14.patch.gz 42058
-MD5 9cd3bfc18c2a47004c3b7cc1fc151b94 tls+ipv6-1.18-pf-2.0.14.patch.gz 110452
diff --git a/net-mail/postfix/postfix-2.0.15.ebuild b/net-mail/postfix/postfix-2.0.15.ebuild
deleted file mode 100644
index f192854d308a..000000000000
--- a/net-mail/postfix/postfix-2.0.15.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-2.0.15.ebuild,v 1.1 2003/09/08 21:50:00 lostlogic Exp $
-
-IUSE="ssl mysql sasl ldap ipv6 maildir mbox postgres"
-
-inherit eutils
-TLS_P="pfixtls-0.8.15-2.0.14-0.9.7b"
-IPV6="1.18"
-IPV6_P="ipv6-${IPV6}-pf-2.0.14"
-IPV6_TLS_P="tls+ipv6-${IPV6}-pf-2.0.14"
-PGSQL_P="postfix-pg.postfix-2.0.0.2"
-
-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/${P}.tar.gz
- ssl? ( ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/${TLS_P}.tar.gz )
- ipv6? ( ftp://ftp.stack.nl/pub/postfix/tls+ipv6/${IPV6}/${IPV6_P}.patch.gz )
- ipv6? ( ftp://ftp.stack.nl/pub/postfix/tls+ipv6/${IPV6}/${IPV6_TLS_P}.patch.gz )"
-
-SLOT="0"
-LICENSE="IPL-1"
-KEYWORDS="~x86 ~sparc ~ppc"
-
-PROVIDE="virtual/mta
- virtual/mda"
-
-DEPEND=">=sys-libs/db-3.2
- >=sys-apps/sed-4
- >=dev-libs/libpcre-3.4
- ldap? ( >=net-nds/openldap-1.2 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- sasl? ( dev-libs/cyrus-sasl )
- postgres? ( >=dev-db/postgresql-7.1 )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00
- !virtual/mta"
-
-is_postfix_installed() {
- if [ -d /etc/postfix ] ; then
- return 1
- fi
-
- return 0
-}
-
-pkg_setup() {
- if ! grep -q ^postdrop: /etc/group ; then
- groupadd postdrop || die "problem adding group postdrop"
- fi
-
- if ! grep -q ^mail:.*postfix /etc/group ; then
- usermod -G mail postfix || die "problem adding user postfix to group mail"
- fi
-
- # Prevent mangling the smtpd.conf file
- if [ ! -L ${ROOT}/usr/lib/sasl2/smtpd.conf ]
- then
- if [ -f ${ROOT}/usr/lib/sasl2/smtpd.conf ]
- then
- ebegin "Protecting your smtpd.conf file"
- if [ ! -d ${ROOT}/etc/sasl2 ]
- then
- mkdir -p ${ROOT}/etc/sasl2
- fi
-
- # This shouldn't be necessary, but apparently
- # Without it things can still get messy.
- if [ -L ${ROOT}/etc/sasl2/smtpd.conf ]
- then
- rm ${ROOT}/etc/sasl2/smtpd.conf
- fi
-
- # If both files exist, make sure that we
- # preserve a copy of each with the ._cfg
- # system
- if [ -f ${ROOT}/etc/sasl2/smtpd.conf ]
- then
- mv ${ROOT}/etc/sasl2/smtpd.conf \
- ${ROOT}/etc/sasl2/._cfg0000_smtpd.conf
- fi
- mv ${ROOT}/usr/lib/sasl2/smtpd.conf ${ROOT}/etc/sasl2
- eend
- fi
- fi
-
-}
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd ${S}
-
- if [ "`use ssl`" ]; then
- if [ "`use ipv6`" ]; then
- epatch ${DISTDIR}/${IPV6_TLS_P}.patch.gz
- else
- unpack ${TLS_P}.tar.gz
- epatch ${WORKDIR}/${P}/${TLS_P}/pfixtls.diff
- fi
- CCARGS="${CCARGS} -DHAS_SSL"
- AUXLIBS="${AUXLIBS} -lssl -lcrypto"
- elif [ "`use ipv6`" ]; then
- epatch ${DISTDIR}/${IPV6_P}.patch.gz
- fi
-
- if [ "`use postgres`" ]; then
- epatch ${FILESDIR}/${PGSQL_P}.patch.bz2
- CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/postgresql"
- AUXLIBS="${AUXLIBS} -lpq"
- fi
-
- cd ${S}/conf
- sed -i -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf
-
- if [ "`use sasl`" ] ; then
- # sasl 2
- if [ -f /usr/include/sasl/sasl.h ]; then
- AUXLIBS="${AUXLIBS} -lsasl2"
- CCARGS="${CCARGS} -I/usr/include/sasl -DUSE_SASL_AUTH"
- # sasl 1
- elif [ -f /usr/include/sasl.h ]; then
- AUXLIBS="${AUXLIBS} -lsasl"
- CCARGS="${CCARGS} -DUSE_SASL_AUTH"
- fi
- fi
-
- cd ${S}/src/global
- sed -i -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h
-
- if [ "`use mysql`" ] ; then
- CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql"
- AUXLIBS="${AUXLIBS} -lmysqlclient -lm -lz"
- fi
-
- if [ "`use ldap`" ] ; then
- CCARGS="${CCARGS} -DHAS_LDAP"
- AUXLIBS="${AUXLIBS} -lldap -llber"
- fi
-
- if [ "`use pam`" ] ; then
- AUXLIBS="${AUXLIBS} -lpam"
- fi
-
- CCARGS="${CCARGS} -DHAS_PCRE"
- AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -ldl -lcrypt"
-
- DEBUG=""
-
- cd ${S}
- make makefiles CC="${CC}" OPT="${CFLAGS}" DEBUG="${DEBUG}" \
- CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" \
- || die "creating makefiles failed"
-
- # Postfix do not get the FQDN if no hostname is configured
- epatch ${FILESDIR}/${PN}-2.0.9-get-FQDN.patch
-}
-
-src_compile() {
- #this is a bug fix for gcc-2.95.3-r5 (bug 16547)
- export CC=gcc
- emake || die "compile problem"
-}
-
-src_install () {
- dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample
- keepdir /var/spool/postfix/tmp
-
- cd ${S}/bin
- dosbin post* sendmail
- fowners root:postdrop /usr/sbin/{postdrop,postqueue}
- fperms 2755 /usr/sbin/{postdrop,postqueue}
-
- dosym /usr/sbin/sendmail /usr/bin/mailq
- dosym /usr/sbin/sendmail /usr/bin/newaliases
- dosym /usr/sbin/sendmail /usr/lib/sendmail
-
- cd ${S}/libexec
- exeinto /usr/lib/postfix
- doexe *
-
- cd ${S}/man
- doman man*/*
-
- cd ${S}
- dodoc *README COMPATIBILITY HISTORY INSTALL LICENSE PORTING RELEASE_NOTES*
- cd README_FILES
- find . -type l |xargs rm
- dodoc *
-
- cd ${S}
- dohtml html/*
-
- cd ${S}/conf
- insinto /etc/postfix/sample
- doins access aliases canonical pcre_table regexp_table \
- relocated transport virtual *.cf
-
- exeinto /etc/postfix
- doexe postfix-script post-install postfix-files
-
- insinto /etc/postfix
- doins ${S}/conf/{main,master}.cf ${FILESDIR}/saslpass
- cd ${D}/etc/postfix
- epatch ${FILESDIR}/postfix-2.0.14/main.cf.diff
- sed -i -e "s|/usr/share/doc/POSTFIX|/usr/share/doc/${PF}|" main.cf
- chmod 644 main.cf
- rm -f main.cf~
- fperms 600 /etc/postfix/saslpass
-
- exeinto /etc/init.d ; doexe ${FILESDIR}/postfix
- insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp
-
- if [ "`use sasl`" ]; then
- insinto /etc/sasl2
- doins ${FILESDIR}/smtpd-2.0.conf smtpd.conf
- dodir /usr/lib/sasl2
- dosym ../../../etc/sasl2/smtpd.conf /usr/lib/sasl2/smtpd.conf
- fi
-
- cd ${D}/etc/postfix
- if [ "`use maildir`" ]; then
- sed -i -e "s:^#\(home_mailbox = \)Maildir/:\1.maildir/:" main.cf
- elif [ "`use mbox`" ]; then
- sed -i -e "s:^#\(mail_spool_directory = /var/spool/mail\):\1:" main.cf
- fi
-
- #install an rmail for UUCP, closing bug #19127
- cd ${S}/auxiliary/rmail
- dobin rmail
-
- if [ "`use postgres`" ]; then
- cd ${S}/README_FILES
- dodoc PGSQL_README
- cd ${S}
- fi
-}
-
-pkg_postinst() {
- install -d -m 0755 ${ROOT}/var/spool/postfix
-
- ewarn "If you upgraded from <postfix-2, you must revisit your configuration files."
- ewarn "See /usr/share/doc/${PF}/RELEASE_NOTES for a list of changes."
-
- if [ ! -e /etc/mail/aliases.db ] ; then
- echo
- ewarn "You must edit /etc/mail/aliases to suit your needs and then run"
- ewarn "/usr/bin/newaliases. Postfix will not work correctly without it."
- fi
-}