diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-01-27 02:00:43 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-01-27 02:00:43 +0000 |
commit | fe170635de900a4cac9b0ba223f04131d59f68f5 (patch) | |
tree | 74841db8b1f0c1a9240b4f15e180ce6f26970223 /net-mail/postfix | |
parent | meep (diff) | |
download | gentoo-2-fe170635de900a4cac9b0ba223f04131d59f68f5.tar.gz gentoo-2-fe170635de900a4cac9b0ba223f04131d59f68f5.tar.bz2 gentoo-2-fe170635de900a4cac9b0ba223f04131d59f68f5.zip |
some minor fixes
Diffstat (limited to 'net-mail/postfix')
-rw-r--r-- | net-mail/postfix/postfix-20001217.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/net-mail/postfix/postfix-20001217.ebuild b/net-mail/postfix/postfix-20001217.ebuild index 74e4e888e8f7..4ec47a78f7cb 100644 --- a/net-mail/postfix/postfix-20001217.ebuild +++ b/net-mail/postfix/postfix-20001217.ebuild @@ -1,7 +1,7 @@ # 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-20001217.ebuild,v 1.1 2000/12/20 21:03:08 jerry Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/postfix-20001217.ebuild,v 1.2 2001/01/27 02:00:43 drobbins Exp $ P=snapshot-${PV} A=${P}.tar.gz @@ -10,19 +10,20 @@ 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=">=sys-libs/glibc-2.1.3" +DEPEND=">=sys-libs/glibc-2.1.3 >=sys-libs/db-3.2.3h" PROVIDE="virtual/mta" src_compile() { cd ${S} - make makefiles CC="cc ${CFLAGS}" + make tidy + make makefiles CC="gcc ${CFLAGS}" CCARGS="-DHAS_DB -I/usr/include/db3" AUXLIBS="-L/usr/lib -ldb-3.2" try make } src_install () { cd ${S}/bin - insopts -o root -g root -m 755 + insopts -o root -g root -m 0755 insinto /usr/sbin doins post* sendmail @@ -34,16 +35,16 @@ src_install () { cd ${S}/libexec dodir /usr/libexec/postfix - insopts -o root -g root -m 755 + insopts -o root -g root -m 0755 insinto /usr/libexec/postfix doins * cd ${S}/conf dodir /etc/postfix - insopts -o root -g root -m 644 + insopts -o root -g root -m 0644 insinto /etc/postfix doins * - fperms 755 /etc/postfix/postfix-script* + chmod 0755 ${D}/etc/postfix/postfix-script* cd ${S}/man for i in man* @@ -60,14 +61,14 @@ src_install () { dodoc * dodir /var/spool/postfix - fperms 755 /var/spool/postfix + chmod 0755 ${D}/var/spool/postfix fowners postfix.root /var/spool/postfix dodir /var/spool/postfix/maildrop fperms 1733 /var/spool/postfix/maildrop fowners postfix.root /var/spool/postfix/maildrop - insopts -m 755 + insopts -m 0755 insinto /etc/rc.d/init.d doins ${FILESDIR}/postfix } |