diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-06-13 10:31:40 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-06-13 10:31:40 +0000 |
commit | c89584c034a25f5b3ada3959083f2a61ac7eab22 (patch) | |
tree | 27d5cae08b1d0cdfbe1b4f931c55e7bc5e182685 /net-mail/postfix | |
parent | Added hppa to KEYWORDS. (diff) | |
download | historical-c89584c034a25f5b3ada3959083f2a61ac7eab22.tar.gz historical-c89584c034a25f5b3ada3959083f2a61ac7eab22.tar.bz2 historical-c89584c034a25f5b3ada3959083f2a61ac7eab22.zip |
remove cruft
Diffstat (limited to 'net-mail/postfix')
-rw-r--r-- | net-mail/postfix/Manifest | 8 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-2.0.11 | 4 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-2.0.3 | 3 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-2.0.8 | 3 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-2.0.9-r1 | 3 | ||||
-rw-r--r-- | net-mail/postfix/postfix-2.0.11.ebuild | 202 | ||||
-rw-r--r-- | net-mail/postfix/postfix-2.0.3.ebuild | 195 | ||||
-rw-r--r-- | net-mail/postfix/postfix-2.0.8.ebuild | 200 | ||||
-rw-r--r-- | net-mail/postfix/postfix-2.0.9-r1.ebuild | 209 |
9 files changed, 0 insertions, 827 deletions
diff --git a/net-mail/postfix/Manifest b/net-mail/postfix/Manifest index 09d3453ae710..46252e91ee5f 100644 --- a/net-mail/postfix/Manifest +++ b/net-mail/postfix/Manifest @@ -1,11 +1,7 @@ -MD5 2c904f060968d879be6a209b51dec470 postfix-2.0.9-r1.ebuild 5574 MD5 e6a3d41964c3f27d3fc79b241df1b13d postfix-2.0.10-r1.ebuild 5394 MD5 ead334460917ae4879673b31d59f46e8 postfix-2.0.9.ebuild 5471 MD5 76726846989c0b6a5fc643d06b804e45 postfix-1.1.11.20020917-r1.ebuild 4945 -MD5 f897c860cfc3df2435d1d403a90a36b7 postfix-2.0.8.ebuild 5320 -MD5 bdc0fccbffe6e56257af41ac5d1372b0 postfix-2.0.3.ebuild 5113 MD5 f3e72049a5b5ec1fdd817597590c8592 ChangeLog 14422 -MD5 3644bd12c6afe5546387ded3b1ad47b3 postfix-2.0.11.ebuild 5393 MD5 c79b19f95cb38b8802966d7efb54bc60 postfix-1.1.11.20020917.ebuild 4924 MD5 a3eadfcfa0bf6f88ccff41e2d065745b files/postfix-2.0.8_patch.patch 552 MD5 6775371821db3139dd2470c794a1e01f files/digest-postfix-1.1.11.20020917-r1 166 @@ -13,14 +9,10 @@ MD5 fd4b6e380aed0e58ae1f882c71d1de52 files/postfix.rc6 521 MD5 569f1c46350b2718419b72bb9c443c3f files/saslpass 135 MD5 460833c3a1ffc3a240c72f0537802b5c files/tls+ipv6-1.4-pf-1.1.11-20020917.patch.bz2 72150 MD5 40a96d0b5dfb56714e11d1f379ddc5a7 files/main.cf 18376 -MD5 1d4abcdc55f9e76735ae1ae0fcc13c53 files/digest-postfix-2.0.11 295 MD5 e651e2015b6c6f1495ac84a37e4a8871 files/smtpd.conf 130 -MD5 e126c8295dad90d20bf2d6a47086ab0e files/digest-postfix-2.0.9-r1 220 MD5 ff6584c14212d383b742fe5fc0aceed5 files/postfix-2.0.9-get-FQDN.patch 993 MD5 e17b09d7df6537631ef2263b83fe0d38 files/master.cf 4421 MD5 6775371821db3139dd2470c794a1e01f files/digest-postfix-1.1.11.20020917 166 -MD5 c33c672b82d58d36299c1cfd66dddf40 files/digest-postfix-2.0.3 219 -MD5 32967889bdab593d4329d63cfc07820d files/digest-postfix-2.0.8 220 MD5 e126c8295dad90d20bf2d6a47086ab0e files/digest-postfix-2.0.9 220 MD5 798b43d4f63482e4eae84941d5b4f40e files/smtp.pam 206 MD5 3004148a32063214f57f0316b9f46116 files/postfix 517 diff --git a/net-mail/postfix/files/digest-postfix-2.0.11 b/net-mail/postfix/files/digest-postfix-2.0.11 deleted file mode 100644 index d7c0b57edce0..000000000000 --- a/net-mail/postfix/files/digest-postfix-2.0.11 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 a6bb9809a29c7e00a576491e1b57b79a postfix-2.0.11.tar.gz 1349765 -MD5 31f1e830882025957f735e5e9b7dd2fd pfixtls-0.8.13-2.0.10-0.9.7b.tar.gz 226122 -MD5 f338521aaccd7a15deaf606c1bab4d16 ipv6-1.14-pf-2.0.11.patch.gz 36029 -MD5 c33700d22bd1bc612413a48899bd7896 tls+ipv6-1.14-pf-2.0.11.patch.gz 99562 diff --git a/net-mail/postfix/files/digest-postfix-2.0.3 b/net-mail/postfix/files/digest-postfix-2.0.3 deleted file mode 100644 index 6150059b4757..000000000000 --- a/net-mail/postfix/files/digest-postfix-2.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5ac45e0aab1725d273d1372d9337ecfe postfix-2.0.3.tar.gz 1339919 -MD5 72ff441a6e43bf00a8a1d8691ffae1de pfixtls-0.8.13-2.0.3-0.9.7.tar.gz 225910 -MD5 7eb7b6dd6d651f722e5da7dc3aa43cc1 tls+ipv6-1.12-pf-2.0.3.patch.gz 95350 diff --git a/net-mail/postfix/files/digest-postfix-2.0.8 b/net-mail/postfix/files/digest-postfix-2.0.8 deleted file mode 100644 index 85a3e3afed23..000000000000 --- a/net-mail/postfix/files/digest-postfix-2.0.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 58be08ee4cd0c48247bcb0cdda9bb522 postfix-2.0.8.tar.gz 1347496 -MD5 42e3c15c5d9b59eb4cd15304f9c11627 pfixtls-0.8.13-2.0.6-0.9.7a.tar.gz 226006 -MD5 b2bec23a55360ac5bfa55426ecb5f1e3 tls+ipv6-1.13-pf-2.0.7.patch.gz 95608 diff --git a/net-mail/postfix/files/digest-postfix-2.0.9-r1 b/net-mail/postfix/files/digest-postfix-2.0.9-r1 deleted file mode 100644 index 65a9ea9bebbe..000000000000 --- a/net-mail/postfix/files/digest-postfix-2.0.9-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c1ad12edfa19c23579b251078c464651 postfix-2.0.9.tar.gz 1347572 -MD5 42e3c15c5d9b59eb4cd15304f9c11627 pfixtls-0.8.13-2.0.6-0.9.7a.tar.gz 226006 -MD5 b2bec23a55360ac5bfa55426ecb5f1e3 tls+ipv6-1.13-pf-2.0.7.patch.gz 95608 diff --git a/net-mail/postfix/postfix-2.0.11.ebuild b/net-mail/postfix/postfix-2.0.11.ebuild deleted file mode 100644 index b909a8a873e9..000000000000 --- a/net-mail/postfix/postfix-2.0.11.ebuild +++ /dev/null @@ -1,202 +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.11.ebuild,v 1.1 2003/06/11 14:33:07 lostlogic Exp $ - -inherit eutils - -TLS_P="pfixtls-0.8.13-2.0.10-0.9.7b" -IPV6="1.14" -IPV6_P="ipv6-${IPV6}-pf-${PV}" -IPV6_TLS_P="tls+${IPV6_P}" -IUSE="ssl mysql sasl ldap ipv6 maildir mbox" -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 )" -LICENSE="IPL-1" -SLOT="0" -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 )" -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 -} - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - if [ "`use ssl`" ]; then - if [ "`use ipv6`" ]; then - epatch ${DISTDIR}/${IPV6_TLS_P}.patch.gz || die "ipv6/tls patch died" - else - unpack ${TLS_P}.tar.gz - epatch ${WORKDIR}/${P}/${TLS_P}/pfixtls.diff || die "tls patch died" - fi - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - elif [ "`use ipv6`" ]; then - epatch ${DISTDIR}/${IPV6_P}.patch.gz || die "ipv6 patch died" - 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 \ - /var/spool/postfix/tmp - touch ${D}/var/spool/postfix/.keep - - cd ${S}/bin - dosbin post* sendmail - chown root:postdrop ${D}/usr/sbin/{postdrop,postqueue} - chmod 2755 ${D}/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.0/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 - # sasl 2 - if [ -f /usr/include/sasl/sasl.h ] ; then - insinto /usr/lib/sasl2 - doins ${FILESDIR}/smtpd.conf - else - insinto /etc/sasl - doins ${FILESDIR}/smtpd.conf - fi - 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 -} - -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 -} diff --git a/net-mail/postfix/postfix-2.0.3.ebuild b/net-mail/postfix/postfix-2.0.3.ebuild deleted file mode 100644 index b2b4912b43cf..000000000000 --- a/net-mail/postfix/postfix-2.0.3.ebuild +++ /dev/null @@ -1,195 +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.3.ebuild,v 1.8 2003/02/13 19:00:55 mkeadle Exp $ - -inherit eutils - -TLS_P="pfixtls-0.8.13-2.0.3-0.9.7" -IPV6_P="tls+ipv6-1.12-pf-2.0.3" -IUSE="ssl mysql sasl ldap ipv6 maildir mbox" -DESCRIPTION="A fast and secure drop-in replacement for sendmail" -HOMEPAGE="http://www.postfix.org" -SRC_URI="ftp://ftp.pca.dfn.de/pub/tools/net/postfix/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/1.12/${IPV6_P}.patch.gz )" -LICENSE="IPL-1" -SLOT="0" -KEYWORDS="x86 ~sparc ~ppc" -PROVIDE="virtual/mta - virtual/mda" -DEPEND=">=sys-libs/db-3.2 - >=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 )" -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 -} - -src_unpack() { - unpack ${A} - cd ${S} - if [ "`use ssl`" ] && [ "`use ipv6`" ]; then - epatch ${WORKDIR}/${IPV6_P}.patch || die - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - elif [ "`use ssl`" ]; then - epatch ${WORKDIR}/${TLS_P}/pfixtls.diff || die - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - fi - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ - < main.cf.orig > 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 - mv mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ - < mail_params.h.orig > 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" -} - -src_compile() { - emake || die "compile problem" -} - -src_install () { - dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample \ - /var/spool/postfix/tmp - touch ${D}/var/spool/postfix/.keep - - cd ${S}/bin - dosbin post* sendmail - chown root:postdrop ${D}/usr/sbin/{postdrop,postqueue} - chmod 2755 ${D}/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.0/main.cf.diff - mv main.cf main.cf.orig - sed <main.cf.orig >main.cf \ - -e "s|/usr/share/doc/POSTFIX|/usr/share/doc/${PF}|" - chmod 644 main.cf - rm main.cf.orig - fperms 600 /etc/postfix/saslpass - - exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix - insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp - - if [ "`use sasl`" ] ; then - # sasl 2 - if [ -f /usr/include/sasl/sasl.h ] ; then - insinto /usr/lib/sasl2 - doins ${FILESDIR}/smtpd.conf - else - insinto /etc/sasl - doins ${FILESDIR}/smtpd.conf - fi - fi - cd ${D}/etc/postfix - if [ "`use maildir`" ]; then - cp main.cf main.cf.premaildir - sed -e "s:#home_mailbox = Maildir/:home_mailbox = .maildir/:" \ - < main.cf.premaildir > main.cf - rm main.cf.premaildir - elif [ "`use mbox`" ]; then - cp main.cf main.cf.prembox - sed -e "s:#mail_spool_directory = /var/spool/mail:mail_spool_directory = /var/spool/mail:" \ - < main.cf.prembox > main.cf - rm main.cf.prembox - fi - rm main.cf~ -} - -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 -} diff --git a/net-mail/postfix/postfix-2.0.8.ebuild b/net-mail/postfix/postfix-2.0.8.ebuild deleted file mode 100644 index f24f563d7405..000000000000 --- a/net-mail/postfix/postfix-2.0.8.ebuild +++ /dev/null @@ -1,200 +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.8.ebuild,v 1.1 2003/04/16 15:52:14 lostlogic Exp $ - -inherit eutils - -TLS_P="pfixtls-0.8.13-2.0.6-0.9.7a" -IPV6_P="tls+ipv6-1.13-pf-2.0.7" -IUSE="ssl mysql sasl ldap ipv6 maildir mbox" -DESCRIPTION="A fast and secure drop-in replacement for sendmail" -HOMEPAGE="http://www.postfix.org" -SRC_URI="ftp://ftp.pca.dfn.de/pub/tools/net/postfix/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/1.13/${IPV6_P}.patch.gz )" -LICENSE="IPL-1" -SLOT="0" -KEYWORDS="~x86 ~sparc ~ppc" -PROVIDE="virtual/mta - virtual/mda" -DEPEND=">=sys-libs/db-3.2 - >=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 )" -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 -} - -src_unpack() { - unpack ${A} - cd ${S} - if [ "`use ssl`" ] && [ "`use ipv6`" ]; then - patch ${WORKDIR}/${IPV6_P}.patch < ${FILESDIR}/${P}_patch.patch || die - epatch ${WORKDIR}/${IPV6_P}.patch || die - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - elif [ "`use ssl`" ]; then - epatch ${WORKDIR}/${TLS_P}/pfixtls.diff || die - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - fi - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ - < main.cf.orig > 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 - mv mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ - < mail_params.h.orig > 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" -} - -src_compile() { - emake || die "compile problem" -} - -src_install () { - dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample \ - /var/spool/postfix/tmp - touch ${D}/var/spool/postfix/.keep - - cd ${S}/bin - dosbin post* sendmail - chown root:postdrop ${D}/usr/sbin/{postdrop,postqueue} - chmod 2755 ${D}/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.0/main.cf.diff - mv main.cf main.cf.orig - sed <main.cf.orig >main.cf \ - -e "s|/usr/share/doc/POSTFIX|/usr/share/doc/${PF}|" - chmod 644 main.cf - rm main.cf.orig - fperms 600 /etc/postfix/saslpass - - exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix - insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp - - if [ "`use sasl`" ] ; then - # sasl 2 - if [ -f /usr/include/sasl/sasl.h ] ; then - insinto /usr/lib/sasl2 - doins ${FILESDIR}/smtpd.conf - else - insinto /etc/sasl - doins ${FILESDIR}/smtpd.conf - fi - fi - cd ${D}/etc/postfix - if [ "`use maildir`" ]; then - cp main.cf main.cf.premaildir - sed -e "s:#home_mailbox = Maildir/:home_mailbox = .maildir/:" \ - < main.cf.premaildir > main.cf - rm main.cf.premaildir - elif [ "`use mbox`" ]; then - cp main.cf main.cf.prembox - sed -e "s:#mail_spool_directory = /var/spool/mail:mail_spool_directory = /var/spool/mail:" \ - < main.cf.prembox > main.cf - rm main.cf.prembox - fi - rm main.cf~ -} - -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 -} diff --git a/net-mail/postfix/postfix-2.0.9-r1.ebuild b/net-mail/postfix/postfix-2.0.9-r1.ebuild deleted file mode 100644 index c9b8ddcd6d7e..000000000000 --- a/net-mail/postfix/postfix-2.0.9-r1.ebuild +++ /dev/null @@ -1,209 +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.9-r1.ebuild,v 1.1 2003/04/28 18:32:07 azarah Exp $ - -inherit eutils - -TLS_P="pfixtls-0.8.13-2.0.6-0.9.7a" -IPV6_P="tls+ipv6-1.13-pf-2.0.7" -IUSE="ssl mysql sasl ldap ipv6 maildir mbox" -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/1.13/${IPV6_P}.patch.gz )" -LICENSE="IPL-1" -SLOT="0" -KEYWORDS="~x86 ~sparc ~ppc" -PROVIDE="virtual/mta - virtual/mda" -DEPEND=">=sys-libs/db-3.2 - >=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 )" -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 -} - -src_unpack() { - unpack ${A} - cd ${S} - if [ "`use ssl`" ] && [ "`use ipv6`" ]; then - patch ${WORKDIR}/${IPV6_P}.patch < ${FILESDIR}/postfix-2.0.8_patch.patch || die - epatch ${WORKDIR}/${IPV6_P}.patch || die - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - elif [ "`use ssl`" ]; then - epatch ${WORKDIR}/${TLS_P}/pfixtls.diff || die - CCARGS="${CCARGS} -DHAS_SSL" - AUXLIBS="${AUXLIBS} -lssl -lcrypto" - fi - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ - < main.cf.orig > 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 - mv mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ - < mail_params.h.orig > 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}/${P}-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 \ - /var/spool/postfix/tmp - touch ${D}/var/spool/postfix/.keep - - cd ${S}/bin - dosbin post* sendmail - chown root:postdrop ${D}/usr/sbin/{postdrop,postqueue} - chmod 2755 ${D}/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.0/main.cf.diff - mv main.cf main.cf.orig - sed <main.cf.orig >main.cf \ - -e "s|/usr/share/doc/POSTFIX|/usr/share/doc/${PF}|" - chmod 644 main.cf - rm main.cf.orig - 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 - # sasl 2 - if [ -f /usr/include/sasl/sasl.h ] ; then - insinto /usr/lib/sasl2 - doins ${FILESDIR}/smtpd.conf - else - insinto /etc/sasl - doins ${FILESDIR}/smtpd.conf - fi - fi - cd ${D}/etc/postfix - if [ "`use maildir`" ]; then - cp main.cf main.cf.premaildir - sed -e "s:#home_mailbox = Maildir/:home_mailbox = .maildir/:" \ - < main.cf.premaildir > main.cf - rm main.cf.premaildir - elif [ "`use mbox`" ]; then - cp main.cf main.cf.prembox - sed -e "s:#mail_spool_directory = /var/spool/mail:mail_spool_directory = /var/spool/mail:" \ - < main.cf.prembox > main.cf - rm main.cf.prembox - fi - rm main.cf~ - - #install an rmail for UUCP, closing bug #19127 - cd ${S}/auxiliary/rmail - dobin rmail -} - -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 -} |