Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 478316
Collapse All | Expand All

(-)bind-9.9.3_p1.ebuild (-13 / +5 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.9.3_p1.ebuild,v 1.2 2013/07/13 11:43:25 pacho Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.9.2_p2.ebuild,v 1.13 2013/04/14 11:46:42 ago Exp $
4
4
5
# Re dlz/mysql and threads, needs to be verified..
5
# Re dlz/mysql and threads, needs to be verified..
6
# MySQL uses thread local storage in its C api. Thus MySQL
6
# MySQL uses thread local storage in its C api. Thus MySQL
Lines 16-22 Link Here
16
PYTHON_DEPEND="python? 2:2.7 3"
16
PYTHON_DEPEND="python? 2:2.7 3"
17
SUPPORT_PYTHON_ABIS="1"
17
SUPPORT_PYTHON_ABIS="1"
18
18
19
inherit python eutils autotools toolchain-funcs flag-o-matic multilib db-use user systemd
19
inherit python eutils autotools toolchain-funcs flag-o-matic multilib db-use user
20
20
21
MY_PV="${PV/_p/-P}"
21
MY_PV="${PV/_p/-P}"
22
MY_PV="${MY_PV/_rc/rc}"
22
MY_PV="${MY_PV/_rc/rc}"
Lines 52-58 Link Here
52
52
53
LICENSE="ISC BSD BSD-2 HPND JNIC openssl"
53
LICENSE="ISC BSD BSD-2 HPND JNIC openssl"
54
SLOT="0"
54
SLOT="0"
55
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
55
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
56
IUSE="berkdb caps dlz doc filter-aaaa geoip gost gssapi idn ipv6 ldap mysql odbc
56
IUSE="berkdb caps dlz doc filter-aaaa geoip gost gssapi idn ipv6 ldap mysql odbc
57
postgres python rpz rrl sdb-ldap selinux ssl static-libs threads urandom xml"
57
postgres python rpz rrl sdb-ldap selinux ssl static-libs threads urandom xml"
58
# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
58
# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
Lines 135-141 Link Here
135
	if use geoip; then
135
	if use geoip; then
136
		cp "${DISTDIR}"/${GEOIP_PATCH_A} "${S}" || die
136
		cp "${DISTDIR}"/${GEOIP_PATCH_A} "${S}" || die
137
		sed -i -e 's:^ RELEASETYPE=: RELEASETYPE=-P:' \
137
		sed -i -e 's:^ RELEASETYPE=: RELEASETYPE=-P:' \
138
			-e 's:RELEASEVER=:RELEASEVER=1:' \
138
			-e 's:RELEASEVER=:RELEASEVER=2:' \
139
			${GEOIP_PATCH_A} || die
139
			${GEOIP_PATCH_A} || die
140
#		sed -i -e 's:RELEASEVER=2:RELEASEVER=3:' ${GEOIP_PATCH_A} || die
140
#		sed -i -e 's:RELEASEVER=2:RELEASEVER=3:' ${GEOIP_PATCH_A} || die
141
		epatch ${GEOIP_PATCH_A}
141
		epatch ${GEOIP_PATCH_A}
Lines 155-162 Link Here
155
	sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
155
	sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
156
156
157
	# bug #220361
157
	# bug #220361
158
	rm aclocal.m4
158
	rm {aclocal,libtool}.m4
159
	rm -rf libtool.m4/
160
	eautoreconf
159
	eautoreconf
161
}
160
}
162
161
Lines 192-202 Link Here
192
		$(use_with ldap dlz-ldap) \
191
		$(use_with ldap dlz-ldap) \
193
		$(use_with odbc dlz-odbc) \
192
		$(use_with odbc dlz-odbc) \
194
		$(use_with ssl openssl "${EPREFIX}"/usr) \
193
		$(use_with ssl openssl "${EPREFIX}"/usr) \
195
		$(use_with ssl ecdsa) \
196
		$(use_with idn) \
194
		$(use_with idn) \
197
		$(use_enable ipv6) \
195
		$(use_enable ipv6) \
198
		$(use_with xml libxml2) \
196
		$(use_with xml libxml2) \
199
		$(use_enable xml newstats) \
200
		$(use_with gssapi) \
197
		$(use_with gssapi) \
201
		$(use_enable rpz rpz-nsip) \
198
		$(use_enable rpz rpz-nsip) \
202
		$(use_enable rpz rpz-nsdname) \
199
		$(use_enable rpz rpz-nsdname) \
Lines 304-314 Link Here
304
	fperms 0640 /var/bind/named.cache /var/bind/pri/{127,localhost}.zone /etc/bind/{bind.keys,named.conf}
301
	fperms 0640 /var/bind/named.cache /var/bind/pri/{127,localhost}.zone /etc/bind/{bind.keys,named.conf}
305
	fperms 0750 /etc/bind /var/bind/pri
302
	fperms 0750 /etc/bind /var/bind/pri
306
	fperms 0770 /var/{run,log}/named /var/bind/{,sec,dyn}
303
	fperms 0770 /var/{run,log}/named /var/bind/{,sec,dyn}
307
308
	systemd_dounit "${FILESDIR}/named.service"
309
	systemd_dotmpfilesd "${FILESDIR}/named.conf"
310
	exeinto /usr/libexec
311
	doexe "${FILESDIR}/generate-rndc-key.sh"
312
}
304
}
313
305
314
pkg_postinst() {
306
pkg_postinst() {

Return to bug 478316