|
Lines 3-9
Link Here
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.2.10.ebuild,v 1.8 2006/06/28 02:54:12 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.2.10.ebuild,v 1.8 2006/06/28 02:54:12 vapier Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils ssl-cert toolchain-funcs flag-o-matic pam |
5 |
inherit eutils ssl-cert toolchain-funcs flag-o-matic pam |
| 6 |
IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper mbox nis vda selinux hardened cdb" |
6 |
IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper mbox nis vda selinux |
|
|
7 |
hardened cdb spf" |
| 7 |
#IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper mbox nis vda selinux hardened devel" |
8 |
#IUSE="ipv6 pam ldap mysql postgres ssl sasl mailwrapper mbox nis vda selinux hardened devel" |
| 8 |
|
9 |
|
| 9 |
MY_PV=${PV} |
10 |
MY_PV=${PV} |
|
Lines 32-37
Link Here
|
| 32 |
ldap? ( >=net-nds/openldap-1.2 ) |
33 |
ldap? ( >=net-nds/openldap-1.2 ) |
| 33 |
mysql? ( >=dev-db/mysql-3.23.51 ) |
34 |
mysql? ( >=dev-db/mysql-3.23.51 ) |
| 34 |
postgres? ( >=dev-db/postgresql-7.1 ) |
35 |
postgres? ( >=dev-db/postgresql-7.1 ) |
|
|
36 |
spf? ( >=mail-filter/libspf2-1.2 ) |
| 35 |
ssl? ( >=dev-libs/openssl-0.9.6g ) |
37 |
ssl? ( >=dev-libs/openssl-0.9.6g ) |
| 36 |
sasl? ( >=dev-libs/cyrus-sasl-2 )" |
38 |
sasl? ( >=dev-libs/cyrus-sasl-2 )" |
| 37 |
RDEPEND="${DEPEND} |
39 |
RDEPEND="${DEPEND} |
|
Lines 140-145
Link Here
|
| 140 |
epatch "${WORKDIR}/${VDA_P}.patch" |
142 |
epatch "${WORKDIR}/${VDA_P}.patch" |
| 141 |
fi |
143 |
fi |
| 142 |
|
144 |
|
|
|
145 |
if use spf ; then |
| 146 |
epatch "${FILESDIR}/${P}_libspf2-1.2.x-20060614.patch.gz" |
| 147 |
fi |
| 148 |
|
| 143 |
# Postfix does not get the FQDN if no hostname is configured. |
149 |
# Postfix does not get the FQDN if no hostname is configured. |
| 144 |
epatch "${FILESDIR}/${PN}-2.0.9-get-FQDN.patch" |
150 |
epatch "${FILESDIR}/${PN}-2.0.9-get-FQDN.patch" |
| 145 |
|
151 |
|
|
Lines 212-217
Link Here
|
| 212 |
mylibs="${mylibs} ${CDB_LIBS}" |
218 |
mylibs="${mylibs} ${CDB_LIBS}" |
| 213 |
fi |
219 |
fi |
| 214 |
|
220 |
|
|
|
221 |
if use spf; then |
| 222 |
mycc="${mycc} -DHAVE_NS_TYPE" |
| 223 |
mylibs="${mylibs} -lspf2" |
| 224 |
fi |
| 225 |
|
| 215 |
mycc="${mycc} -DDEF_DAEMON_DIR=\\\"/usr/lib/postfix\\\"" |
226 |
mycc="${mycc} -DDEF_DAEMON_DIR=\\\"/usr/lib/postfix\\\"" |
| 216 |
mycc="${mycc} -DDEF_MANPAGE_DIR=\\\"/usr/share/man\\\"" |
227 |
mycc="${mycc} -DDEF_MANPAGE_DIR=\\\"/usr/share/man\\\"" |
| 217 |
mycc="${mycc} -DDEF_README_DIR=\\\"/usr/share/doc/${PF}/readme\\\"" |
228 |
mycc="${mycc} -DDEF_README_DIR=\\\"/usr/share/doc/${PF}/readme\\\"" |