Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 342813 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-dns/bind/bind-9.7.1_p2.ebuild (-2 / +18 lines)
Lines 4-10 Link Here
4
4
5
EAPI="3"
5
EAPI="3"
6
6
7
inherit eutils autotools toolchain-funcs flag-o-matic
7
inherit eutils autotools toolchain-funcs flag-o-matic linux-info
8
8
9
MY_PV="${PV/_p/-P}"
9
MY_PV="${PV/_p/-P}"
10
MY_P="${PN}-${MY_PV}"
10
MY_P="${PN}-${MY_PV}"
Lines 27-33 Link Here
27
SLOT="0"
27
SLOT="0"
28
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
28
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
29
IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads
29
IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads
30
	resolvconf urandom sdb-ldap xml geoip gssapi"
30
	resolvconf urandom sdb-ldap xml geoip gssapi chroot"
31
31
32
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g )
32
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g )
33
	mysql? ( >=virtual/mysql-4.0 )
33
	mysql? ( >=virtual/mysql-4.0 )
Lines 55-60 Link Here
55
		ewarn
55
		ewarn
56
	}
56
	}
57
57
58
	if use chroot; then
59
		linux_config_exists || die "Your kernel sources are unconfigured"
60
		linux-info_pkg_setup
61
62
		if ! linux_chkconfig_present swap; then
63
			eerror "BIND init script needs CONFIG_SWAP built into your kernel"
64
			eerror "for chroot support."
65
			eerror "Please enable SWAP in your kernel, found at:"
66
			eerror
67
			eerror "  General setup"
68
			eerror "    Support for paging of anonymous memory (swap)"
69
			eerror
70
			die "SWAP support not detected"
71
		fi
72
	fi
73
58
	ebegin "Creating named group and user"
74
	ebegin "Creating named group and user"
59
	enewgroup named 40
75
	enewgroup named 40
60
	enewuser named 40 -1 /etc/bind named
76
	enewuser named 40 -1 /etc/bind named

Return to bug 342813