diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-17 05:07:51 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-17 05:07:51 +0000 |
commit | 87dbac6c499d0cb6076568cf8d74a2aed948c6a5 (patch) | |
tree | 1bfd331985608836acee621a7c48f17f91b1109d /net-mail/postfix | |
parent | Added sparc and sparc64 KEYWORDS. (diff) | |
download | historical-87dbac6c499d0cb6076568cf8d74a2aed948c6a5.tar.gz historical-87dbac6c499d0cb6076568cf8d74a2aed948c6a5.tar.bz2 historical-87dbac6c499d0cb6076568cf8d74a2aed948c6a5.zip |
repoman'd
Diffstat (limited to 'net-mail/postfix')
-rw-r--r-- | net-mail/postfix/files/digest-postfix-1.1.11 | 2 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-1.1.11-r1 | 2 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-1.1.11-r2 | 2 | ||||
-rw-r--r-- | net-mail/postfix/files/digest-postfix-1.1.7-r4 | 2 | ||||
-rw-r--r-- | net-mail/postfix/postfix-1.1.11-r1.ebuild | 140 | ||||
-rw-r--r-- | net-mail/postfix/postfix-1.1.11-r2.ebuild | 147 | ||||
-rw-r--r-- | net-mail/postfix/postfix-1.1.11-r3.ebuild | 6 | ||||
-rw-r--r-- | net-mail/postfix/postfix-1.1.11.ebuild | 135 | ||||
-rw-r--r-- | net-mail/postfix/postfix-1.1.7-r4.ebuild | 131 | ||||
-rw-r--r-- | net-mail/postfix/postfix-1.1.8.ebuild | 4 |
10 files changed, 7 insertions, 564 deletions
diff --git a/net-mail/postfix/files/digest-postfix-1.1.11 b/net-mail/postfix/files/digest-postfix-1.1.11 deleted file mode 100644 index 6ad541484afc..000000000000 --- a/net-mail/postfix/files/digest-postfix-1.1.11 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 b34bb2b5018327c19456a77814141208 postfix-1.1.11.tar.gz 1190741 -MD5 82fc61f233f5edcece3baa749e53677d pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz 196051 diff --git a/net-mail/postfix/files/digest-postfix-1.1.11-r1 b/net-mail/postfix/files/digest-postfix-1.1.11-r1 deleted file mode 100644 index 6ad541484afc..000000000000 --- a/net-mail/postfix/files/digest-postfix-1.1.11-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 b34bb2b5018327c19456a77814141208 postfix-1.1.11.tar.gz 1190741 -MD5 82fc61f233f5edcece3baa749e53677d pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz 196051 diff --git a/net-mail/postfix/files/digest-postfix-1.1.11-r2 b/net-mail/postfix/files/digest-postfix-1.1.11-r2 deleted file mode 100644 index 6ad541484afc..000000000000 --- a/net-mail/postfix/files/digest-postfix-1.1.11-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 b34bb2b5018327c19456a77814141208 postfix-1.1.11.tar.gz 1190741 -MD5 82fc61f233f5edcece3baa749e53677d pfixtls-0.8.11a-1.1.11-0.9.6d.tar.gz 196051 diff --git a/net-mail/postfix/files/digest-postfix-1.1.7-r4 b/net-mail/postfix/files/digest-postfix-1.1.7-r4 deleted file mode 100644 index 9d34ea6d05c2..000000000000 --- a/net-mail/postfix/files/digest-postfix-1.1.7-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 320ea040f13c084a5e8bea680b422e06 postfix-1.1.7.tar.gz 1186995 -MD5 a00656e4e7fd1e4827c3e805799d2359 pfixtls-0.8.7-1.1.7-0.9.6c.tar.gz 195132 diff --git a/net-mail/postfix/postfix-1.1.11-r1.ebuild b/net-mail/postfix/postfix-1.1.11-r1.ebuild deleted file mode 100644 index 7dba8d6131c0..000000000000 --- a/net-mail/postfix/postfix-1.1.11-r1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# /space/gentoo/cvsroot/gentoo-x86/net-mail/postfix/postfix-1.1.8.ebuild,v 1.1 2002/05/14 03:49:25 woodchip Exp - -DESCRIPTION="A fast and secure drop-in replacement for sendmail" -HOMEPAGE="http://www.postfix.org/" -LICENSE="IPL-1" -SLOT="0" -KEYWORDS="*" - -POSTFIX_TLS_VER="0.8.11a-${PV}-0.9.6d" - -S=${WORKDIR}/${P} -SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${P}.tar.gz - ssl? ( ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-${POSTFIX_TLS_VER}.tar.gz )" - -PROVIDE="virtual/mta" -DEPEND=">=sys-libs/db-3.2 - >=dev-libs/libpcre-3.4 - sasl? ( >=dev-libs/cyrus-sasl-1.5.27 ) - ldap? ( >=net-nds/openldap-1.2 ) - mysql? ( >=dev-db/mysql-3.23.28 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" -RDEPEND="${DEPEND} - >=net-mail/mailbase-0.00 - !virtual/mta" - -pkg_setup() { - if ! grep -q ^postdrop: /etc/group ; then - groupadd postdrop || die "problem adding group postdrop" - fi -} - -src_unpack() { - unpack ${A} - - use ssl && ( \ - cd ${S} - patch -p1 < ${WORKDIR}/pfixtls-${POSTFIX_TLS_VER}/pfixtls.diff || die - ) - - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf.orig > main.cf - - cd ${S}/src/global - cp mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h.orig > mail_params.h - - use mysql \ - && CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" \ - && AUXLIBS="${AUXLIBS} -lmysqlclient -lm" - - use ldap \ - && CCARGS="${CCARGS} -DHAS_LDAP" \ - && AUXLIBS="${AUXLIBS} -lldap -llber" - - use ssl \ - && CCARGS="${CCARGS} -DHAS_SSL" \ - && AUXLIBS="${AUXLIBS} -lssl" - - # note: if sasl is built w/ pam, then postfix _MUST_ be built w/ pam - use pam && AUXLIBS="${AUXLIBS} -lpam" - - # stuff we always want... - CCARGS="${CCARGS} -I/usr/include -DHAS_PCRE" - AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -ldl -lcrypt" - if [ "`use sasl`" ] - then - AUXLIBS="${AUXLIBS} -lsasl" - CCARGS="${CCARGS} -DUSE_SASL_AUTH" - fi - DEBUG="" - - cd ${S} - make tidy || die - make makefiles CC="cc" OPT="${CFLAGS}" DEBUG="${DEBUG}" \ - CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" || die -} - -src_compile() { - emake || die "compile problem" -} - -src_install () { - dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample - - 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/mail - 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 LICENSE PORTING RELEASE_NOTES INSTALL - dohtml html/* - - cd ${S}/conf - insinto /etc/postfix/sample - doins access aliases canonical relocated transport \ - pcre_table regexp_table postfix-script* *.cf - - exeinto /etc/postfix - doexe postfix-script post-install postfix-files || die - - insinto /etc/postfix - doins ${FILESDIR}/main.cf master.cf || die - - exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix - insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp - insinto /etc/sasl ; doins ${FILESDIR}/smtpd.conf -} - -pkg_postinst() { - install -d 0755 ${ROOT}/var/spool/postfix - - ewarn "If you've upgraded from <postfix-1.1.8, you must update" - ewarn "/etc/postfix/master.cf to the latest version" - ewarn "(/etc/postfix/._cfg*_master.cf). Otherwise Postfix will" - ewarn "not work correctly." - - if [ ! -e /etc/mail/aliases.db ] ; then - ewarn "" - ewarn "First time installers: You must edit" - ewarn "/etc/mail/aliases to suit your needs and then run" - ewarn "/usr/bin/aliases. Postfix will not work correctly" - ewarn "without it." - fi -} diff --git a/net-mail/postfix/postfix-1.1.11-r2.ebuild b/net-mail/postfix/postfix-1.1.11-r2.ebuild deleted file mode 100644 index 0fd6a94519f8..000000000000 --- a/net-mail/postfix/postfix-1.1.11-r2.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# /space/gentoo/cvsroot/gentoo-x86/net-mail/postfix/postfix-1.1.8.ebuild,v 1.1 2002/05/14 03:49:25 woodchip Exp - -DESCRIPTION="A fast and secure drop-in replacement for sendmail" -HOMEPAGE="http://www.postfix.org/" -LICENSE="IPL-1" -SLOT="0" -KEYWORDS="*" - -POSTFIX_TLS_VER="0.8.11a-${PV}-0.9.6d" - -S=${WORKDIR}/${P} -SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${P}.tar.gz - ssl? ( ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-${POSTFIX_TLS_VER}.tar.gz )" - -PROVIDE="virtual/mta" -DEPEND=">=sys-libs/db-3.2 - >=dev-libs/libpcre-3.4 - >=dev-libs/cyrus-sasl-2.1.5 - ldap? ( >=net-nds/openldap-1.2 ) - mysql? ( >=dev-db/mysql-3.23.28 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" -RDEPEND="${DEPEND} - >=net-mail/mailbase-0.00 - !virtual/mta" - -pkg_setup() { - if ! grep -q ^postdrop: /etc/group ; then - groupadd postdrop || die "problem adding group postdrop" - fi -} - -src_unpack() { - unpack ${A} - - use ssl && ( \ - cd ${S} - patch -p1 < ${WORKDIR}/pfixtls-${POSTFIX_TLS_VER}/pfixtls.diff || die - ) - - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf.orig > main.cf - - cd ${S}/src/global - cp mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h.orig > mail_params.h - - use mysql \ - && CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" \ - && AUXLIBS="${AUXLIBS} -lmysqlclient -lm" - - use ldap \ - && CCARGS="${CCARGS} -DHAS_LDAP" \ - && AUXLIBS="${AUXLIBS} -lldap -llber" - - use ssl \ - && CCARGS="${CCARGS} -DHAS_SSL" \ - && AUXLIBS="${AUXLIBS} -lssl" - - # note: if sasl is built w/ pam, then postfix _MUST_ be built w/ pam - use pam && AUXLIBS="${AUXLIBS} -lpam" - - # stuff we always want... - CCARGS="${CCARGS} -I/usr/include -DHAS_PCRE" - AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -ldl -lcrypt" - - # sasl v1 - #if [ "`use sasl`" ] - #then - # AUXLIBS="${AUXLIBS} -lsasl" - # CCARGS="${CCARGS} -DUSE_SASL_AUTH" - #fi - - # sasl v2 - cd ${S} - patch -p1 < ${FILESDIR}/postfix-1.1.11-saslv2.diff || die - - DEBUG="" - - cd ${S} - make tidy || die - make makefiles CC="cc" OPT="${CFLAGS}" DEBUG="${DEBUG}" \ - CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" || die -} - -src_compile() { - emake || die "compile problem" -} - -src_install () { - dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample - - 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/mail - 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 LICENSE PORTING RELEASE_NOTES INSTALL - dohtml html/* - - cd ${S}/conf - insinto /etc/postfix/sample - doins access aliases canonical relocated transport \ - pcre_table regexp_table postfix-script* *.cf - - exeinto /etc/postfix - doexe postfix-script post-install postfix-files || die - - insinto /etc/postfix - doins ${FILESDIR}/main.cf master.cf || die - - exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix - insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp - insinto /etc/sasl ; doins ${FILESDIR}/smtpd.conf -} - -pkg_postinst() { - install -d 0755 ${ROOT}/var/spool/postfix - - ewarn "If you've upgraded from <postfix-1.1.8, you must update" - ewarn "/etc/postfix/master.cf to the latest version" - ewarn "(/etc/postfix/._cfg*_master.cf). Otherwise Postfix will" - ewarn "not work correctly." - - if [ ! -e /etc/mail/aliases.db ] ; then - ewarn "" - ewarn "First time installers: You must edit" - ewarn "/etc/mail/aliases to suit your needs and then run" - ewarn "/usr/bin/aliases. Postfix will not work correctly" - ewarn "without it." - fi -} diff --git a/net-mail/postfix/postfix-1.1.11-r3.ebuild b/net-mail/postfix/postfix-1.1.11-r3.ebuild index 7651b3f40dd3..14d9d853b559 100644 --- a/net-mail/postfix/postfix-1.1.11-r3.ebuild +++ b/net-mail/postfix/postfix-1.1.11-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-1.1.11-r3.ebuild,v 1.1 2002/07/13 20:17:14 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-1.1.11-r3.ebuild,v 1.2 2002/07/17 05:07:51 seemant Exp $ DESCRIPTION="A fast and secure drop-in replacement for sendmail" HOMEPAGE="http://www.postfix.org/" @@ -21,8 +21,10 @@ DEPEND=">=sys-libs/db-3.2 RDEPEND="${DEPEND} >=net-mail/mailbase-0.00 !virtual/mta" -LICENSE="IPL-1" + SLOT="0" +LICENSE="IPL-1" +KEYWORDS="x86" pkg_setup() { if ! grep -q ^postdrop: /etc/group ; then diff --git a/net-mail/postfix/postfix-1.1.11.ebuild b/net-mail/postfix/postfix-1.1.11.ebuild deleted file mode 100644 index 1517dcf165f9..000000000000 --- a/net-mail/postfix/postfix-1.1.11.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# /space/gentoo/cvsroot/gentoo-x86/net-mail/postfix/postfix-1.1.8.ebuild,v 1.1 2002/05/14 03:49:25 woodchip Exp - -DESCRIPTION="A fast and secure drop-in replacement for sendmail" -HOMEPAGE="http://www.postfix.org/" -LICENSE="IPL-1" -SLOT="0" -KEYWORDS="*" - -POSTFIX_TLS_VER="0.8.11a-${PV}-0.9.6d" - -S=${WORKDIR}/${P} -SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${P}.tar.gz - ssl? ( ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-${POSTFIX_TLS_VER}.tar.gz )" - -PROVIDE="virtual/mta" -DEPEND=">=sys-libs/db-3.2 - >=dev-libs/libpcre-3.4 - sasl? ( >=dev-libs/cyrus-sasl-1.5.27 ) - ldap? ( >=net-nds/openldap-1.2 ) - mysql? ( >=dev-db/mysql-3.23.28 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" -RDEPEND="${DEPEND} - >=net-mail/mailbase-0.00 - !virtual/mta" - -pkg_setup() { - if ! grep -q ^postdrop: /etc/group ; then - groupadd postdrop || die "problem adding group postdrop" - fi -} - -src_unpack() { - unpack ${A} - - use ssl && ( \ - cd ${S} - patch -p1 < ${WORKDIR}/pfixtls-${POSTFIX_TLS_VER}/pfixtls.diff || die - ) - - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf.orig > main.cf - - cd ${S}/src/global - cp mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h.orig > mail_params.h - - use mysql \ - && CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" \ - && AUXLIBS="${AUXLIBS} -lmysqlclient -lm" - - use ldap \ - && CCARGS="${CCARGS} -DHAS_LDAP" \ - && AUXLIBS="${AUXLIBS} -lldap -llber" - - use ssl \ - && CCARGS="${CCARGS} -DHAS_SSL" \ - && AUXLIBS="${AUXLIBS} -lssl" - - # note: if sasl is built w/ pam, then postfix _MUST_ be built w/ pam - use pam && AUXLIBS="${AUXLIBS} -lpam" - - # stuff we always want... - CCARGS="${CCARGS} -I/usr/include -DHAS_PCRE" - AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -ldl -lcrypt" - if [ "`use sasl`" ] - then - AUXLIBS="${AUXLIBS} -lsasl" - CCARGS="${CCARGS} -DUSE_SASL_AUTH" - fi - DEBUG="" - - cd ${S} - make tidy || die - make makefiles CC="cc" OPT="${CFLAGS}" DEBUG="${DEBUG}" \ - CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" || die -} - -src_compile() { - emake || die "compile problem" -} - -src_install () { - dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample - - 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/mail - 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 LICENSE PORTING RELEASE_NOTES INSTALL - dohtml html/* - - cd ${S}/conf - insinto /etc/postfix/sample - doins access aliases canonical relocated transport \ - pcre_table regexp_table postfix-script* *.cf - - exeinto /etc/postfix - doexe postfix-script post-install postfix-files || die - - insinto /etc/postfix - doins ${FILESDIR}/main.cf master.cf || die - - exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix - insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp - insinto /etc/sasl ; doins ${FILESDIR}/smtpd.conf -} - -pkg_postinst() { - install -d 0755 ${ROOT}/var/spool/postfix - - einfo "***************************************************************" - einfo "* NOTE: If config file protection is enabled and you upgraded *" - einfo "* from an earlier version of postfix you must update *" - einfo "* /etc/postfix/master.cf to the latest version *" - einfo "* (/etc/postfix/._cfg????_master.cf). Otherwise postfix *" - einfo "* will not work correctly. *" - einfo "***************************************************************" -} diff --git a/net-mail/postfix/postfix-1.1.7-r4.ebuild b/net-mail/postfix/postfix-1.1.7-r4.ebuild deleted file mode 100644 index d0d3801cd919..000000000000 --- a/net-mail/postfix/postfix-1.1.7-r4.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-1.1.7-r4.ebuild,v 1.1 2002/05/04 03:55:29 woodchip Exp $ - -DESCRIPTION="A fast and secure drop-in replacement for sendmail" -HOMEPAGE="http://www.postfix.org/" - -POSTFIX_TLS_VER="0.8.7-${PV}-0.9.6c" - -S=${WORKDIR}/${P} -SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${P}.tar.gz - ssl? ( ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-${POSTFIX_TLS_VER}.tar.gz )" - -PROVIDE="virtual/mta" -DEPEND=">=sys-libs/db-3.2 - >=dev-libs/libpcre-3.4 - >=dev-libs/cyrus-sasl-1.5.27 - ldap? ( >=net-nds/openldap-1.2 ) - mysql? ( >=dev-db/mysql-3.23.28 ) - ssl? ( >=dev-libs/openssl-0.9.6c )" - -RDEPEND="${DEPEND} - >=net-mail/mailbase-0.00 - !virtual/mta" -LICENSE="IPL-1" -SLOT="0" - -pkg_setup() { - if ! grep -q ^postdrop: /etc/group ; then - groupadd postdrop || die "problem adding group postdrop" - fi -} - -src_unpack() { - unpack ${A} - - use ssl && ( \ - cd ${S} - patch -p1 < ${WORKDIR}/pfixtls-${POSTFIX_TLS_VER}/pfixtls.diff || die - ) - - cd ${S}/conf - cp main.cf main.cf.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf.orig > main.cf - - cd ${S}/src/global - cp mail_params.h mail_params.h.orig - sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h.orig > mail_params.h - - use mysql \ - && CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" \ - && AUXLIBS="${AUXLIBS} -lmysqlclient -lm" - - use ldap \ - && CCARGS="${CCARGS} -DHAS_LDAP" \ - && AUXLIBS="${AUXLIBS} -lldap -llber" - - use ssl \ - && CCARGS="${CCARGS} -DHAS_SSL" \ - && AUXLIBS="${AUXLIBS} -lssl" - - # note: if sasl is built w/ pam, then postfix _MUST_ be built w/ pam - use pam \ - && AUXLIBS="${AUXLIBS} -lpam" - - # stuff we always want... - CCARGS="${CCARGS} -I/usr/include -DHAS_PCRE -DUSE_SASL_AUTH" - AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -lsasl -ldl -lcrypt" - DEBUG="" - - cd ${S} - make tidy || die - make makefiles CC="cc" OPT="${CFLAGS}" DEBUG="${DEBUG}" \ - CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" || die -} - -src_compile() { - emake || die "compile problem" -} - -src_install () { - dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample - - 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/mail - 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 LICENSE PORTING RELEASE_NOTES INSTALL - dohtml html/* - - cd ${S}/conf - insinto /etc/postfix/sample - doins access aliases canonical relocated transport \ - pcre_table regexp_table postfix-script* *.cf - - exeinto /etc/postfix - doexe postfix-script post-install postfix-files || die - - insinto /etc/postfix - doins ${FILESDIR}/main.cf master.cf || die - - exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix - insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp - insinto /etc/sasl ; doins ${FILESDIR}/smtpd.conf -} - -pkg_postinst() { - install -d 0755 ${ROOT}/var/spool/postfix - - einfo "***************************************************************" - einfo "* NOTE: If config file protection is enabled and you upgraded *" - einfo "* from an earlier version of postfix you must update *" - einfo "* /etc/postfix/master.cf to the latest version *" - einfo "* (/etc/postfix/._cfg????_master.cf). Otherwise postfix *" - einfo "* will not work correctly. *" - einfo "***************************************************************" -} diff --git a/net-mail/postfix/postfix-1.1.8.ebuild b/net-mail/postfix/postfix-1.1.8.ebuild index e3d1e5b095b2..b47c5614def4 100644 --- a/net-mail/postfix/postfix-1.1.8.ebuild +++ b/net-mail/postfix/postfix-1.1.8.ebuild @@ -21,8 +21,10 @@ DEPEND=">=sys-libs/db-3.2 RDEPEND="${DEPEND} >=net-mail/mailbase-0.00 !virtual/mta" -LICENSE="IPL-1" + SLOT="0" +LICENSE="IPL-1" +KEYWORDS="x86" pkg_setup() { if ! grep -q ^postdrop: /etc/group ; then |