summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-04-30 11:40:12 +0000
committerAchim Gottinger <achim@gentoo.org>2001-04-30 11:40:12 +0000
commit1e4b581725e1a7a7c13b336f3a400ccddd16f81d (patch)
treefd15ffd5b93cf4325374f478fab91303c35bf2e4 /net-mail/postfix
parentCleanup (diff)
downloadgentoo-2-1e4b581725e1a7a7c13b336f3a400ccddd16f81d.tar.gz
gentoo-2-1e4b581725e1a7a7c13b336f3a400ccddd16f81d.tar.bz2
gentoo-2-1e4b581725e1a7a7c13b336f3a400ccddd16f81d.zip
Cleanup
Diffstat (limited to 'net-mail/postfix')
-rw-r--r--net-mail/postfix/files/digest-postfix-200102041
-rw-r--r--net-mail/postfix/postfix-20010204.ebuild137
2 files changed, 0 insertions, 138 deletions
diff --git a/net-mail/postfix/files/digest-postfix-20010204 b/net-mail/postfix/files/digest-postfix-20010204
deleted file mode 100644
index 265956d476a7..000000000000
--- a/net-mail/postfix/files/digest-postfix-20010204
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a034b7c13d306bc1ab208996be886e5b snapshot-20010204.tar.gz
diff --git a/net-mail/postfix/postfix-20010204.ebuild b/net-mail/postfix/postfix-20010204.ebuild
deleted file mode 100644
index f92071c259c6..000000000000
--- a/net-mail/postfix/postfix-20010204.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Jerry Alexandratos <jerry@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-20010204.ebuild,v 1.1 2001/02/19 22:53:57 jerry Exp $
-
-P=snapshot-${PV}
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="A fast and secure drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/${A}"
-HOMEPAGE="http://www.postfix.org/"
-
-DEPEND=">=net-mail/mailbase-0.00
- >=dev-libs/libpcre-3.4
- >=sys-libs/glibc-2.1.3"
-
-RDEPEND="!virtual/mta"
-
-TLS_DEP=">=dev-libs/openssl-0.9.6"
-LDAP_DEP=">=net-nds/openldap-2.0.7"
-MYSQL_DEP=">=dev-db/mysql-3.23.28"
-
-#TLS_URI=
-
-#if [ -n "`use mta-tls`" ]; then
-# DEPEND="${DEPEND} ${TLS_DEP}"
-# echo $DEPEND
-#fi
-
-if [ -n "`use mta-ldap`" ]; then
- DEPEND="${DEPEND} ${LDAP_DEP}"
- echo $DEPEND
-fi
-
-if [ -n "`use mta-mysql`" ]; then
- DEPEND="${DEPEND} ${MYSQL_DEP}"
- echo $DEPEND
-fi
-
-PROVIDE="virtual/mta"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- CCARGS="-I/usr/include -DHAS_PCRE"
- AUXLIBS="-L/usr/lib -lpcre"
-
-# if [ -n "`use mta-tls`" ]; then
-# CCARGS="${CCARGS} -DUSE_SASL_AUTH"
-# AUXLIBS="${AUXLIBS} -lsasl"
-# fi
-
- if [ -n "`use mta-ldap`" ]; then
- CCARGS="${CCARGS} -DHAS_LDAP"
- AUXLIBS="${AUXLIBS} -lldap -lbre"
- fi
-
- if [ -n "`use mta-mysql`" ]; then
- CCARGS="${CCARGS} -DHAS_MYSQL"
- AUXLIBS="${AUXLIBS} -lmysqlclient -lm"
- fi
-
- make makefiles CC="cc ${CFLAGS} ${CCARGS} ${AUXLIBS}"
-}
-
-src_compile() {
- cd ${S}
- try make
-}
-
-src_install () {
- cd ${S}/bin
- insopts -o root -g root -m 0755
- insinto /usr/sbin
- doins post* sendmail
-
- dodir /usr/bin /usr/sbin /usr/lib
- 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
- dodir /usr/libexec/postfix
- insopts -o root -g root -m 0755
- insinto /usr/libexec/postfix
- doins *
-
- cd ${S}
- dodir /etc/postfix
- insopts -o root -g root -m 0644
- insinto /etc/postfix
- doins ${FILESDIR}/main.cf
- doins ${FILESDIR}/master.cf
-
- cd ${S}/conf
- dodir /etc/postfix/sample
- insopts -o root -g root -m 0644
- insinto /etc/postfix/sample
- doins *.cf access aliases canonical relocated transport \
- pcre_table regexp_table postfix-script*
-
- insopts -o root -g root -m 0755
- insinto /etc/postfix
- donewins postfix-script-sgid postfix-script
-
- cd ${S}/man
- for i in man*
- do
- doman $i/*
- done
-
- cd ${S}
- dodoc *README BEWARE COMPATIBILITY HISTORY LICENSE PORTING \
- RELEASE_NOTES RESTRICTION_CLASS TODO
-
- cd ${S}/html
- docinto html
- dodoc *
-
- dodir /var/spool/postfix
- fperms 0755 /var/spool/postfix
- fowners root.root /var/spool/postfix
-
- dodir /var/spool/postfix/maildrop
- fperms 1733 /var/spool/postfix/maildrop
- fowners postfix.root /var/spool/postfix/maildrop
-
- insopts -o root -g root -m 0755
- insinto /etc/rc.d/init.d
- doins ${FILESDIR}/postfix
-}
-
-pkg_config() {
- ${ROOT}/usr/sbin/rc-update add postfix
-}