Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 533076
Collapse All | Expand All

(-)ntp-4.2.6_p5-r13.ebuild (-6 / +8 lines)
Lines 9-31 Link Here
9
MY_P=${P/_p/p}
9
MY_P=${P/_p/p}
10
DESCRIPTION="Network Time Protocol suite/programs"
10
DESCRIPTION="Network Time Protocol suite/programs"
11
HOMEPAGE="http://www.ntp.org/"
11
HOMEPAGE="http://www.ntp.org/"
12
SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV:0:3}/${MY_P}.tar.gz
12
SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV:0:3}/${MY_P}.tar.gz"
13
	mirror://gentoo/${MY_P}-manpages.tar.bz2"
14
13
15
LICENSE="HPND BSD ISC"
14
LICENSE="HPND BSD ISC"
16
SLOT="0"
15
SLOT="0"
17
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~m68k-mint"
16
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~m68k-mint"
18
IUSE="caps debug doc examples ipv6 openntpd parse-clocks samba selinux snmp ssl vim-syntax zeroconf"
17
IUSE="caps debug doc examples ipv6 openntpd parse-clocks samba selinux snmp ssl vim-syntax zeroconf"
19
18
20
DEPEND=">=sys-libs/ncurses-5.2
19
CDEPEND=">=sys-libs/ncurses-5.2
21
	>=sys-libs/readline-4.1
20
	>=sys-libs/readline-4.1
21
	>=dev-libs/libevent-2.0.9
22
	kernel_linux? ( caps? ( sys-libs/libcap ) )
22
	kernel_linux? ( caps? ( sys-libs/libcap ) )
23
	zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
23
	zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
24
	!openntpd? ( !net-misc/openntpd )
24
	!openntpd? ( !net-misc/openntpd )
25
	snmp? ( net-analyzer/net-snmp )
25
	snmp? ( net-analyzer/net-snmp )
26
	ssl? ( dev-libs/openssl )
26
	ssl? ( dev-libs/openssl )
27
	parse-clocks? ( net-misc/pps-tools )"
27
	parse-clocks? ( net-misc/pps-tools )"
28
RDEPEND="${DEPEND}
28
DEPEND="${CDEPEND}
29
	dev-util/pkgconfig"
30
RDEPEND="${CDEPEND}
29
	selinux? ( sec-policy/selinux-ntp )
31
	selinux? ( sec-policy/selinux-ntp )
30
	vim-syntax? ( app-vim/ntp-syntax )"
32
	vim-syntax? ( app-vim/ntp-syntax )"
31
PDEPEND="openntpd? ( net-misc/openntpd )"
33
PDEPEND="openntpd? ( net-misc/openntpd )"
Lines 38-44 Link Here
38
}
40
}
39
41
40
src_prepare() {
42
src_prepare() {
41
	epatch "${FILESDIR}"/${PN}-4.2.4_p5-adjtimex.patch #254030
42
	epatch "${FILESDIR}"/${PN}-4.2.4_p7-nano.patch #270483
43
	epatch "${FILESDIR}"/${PN}-4.2.4_p7-nano.patch #270483
43
	append-cppflags -D_GNU_SOURCE #264109
44
	append-cppflags -D_GNU_SOURCE #264109
44
}
45
}
Lines 52-57 Link Here
52
	export ac_cv_lib_dns_sd_DNSServiceRegister=${ac_cv_header_dns_sd_h}
53
	export ac_cv_lib_dns_sd_DNSServiceRegister=${ac_cv_header_dns_sd_h}
53
	econf \
54
	econf \
54
		--with-lineeditlibs=readline,edit,editline \
55
		--with-lineeditlibs=readline,edit,editline \
56
		--with-yielding-select \
57
		--disable-local-libevent \
55
		$(use_enable caps linuxcaps) \
58
		$(use_enable caps linuxcaps) \
56
		$(use_enable parse-clocks) \
59
		$(use_enable parse-clocks) \
57
		$(use_enable ipv6) \
60
		$(use_enable ipv6) \
Lines 68-74 Link Here
68
	mv "${ED}"/usr/bin/{ntpd,ntpdate} "${ED}"/usr/sbin/ || die "move to sbin"
71
	mv "${ED}"/usr/bin/{ntpd,ntpdate} "${ED}"/usr/sbin/ || die "move to sbin"
69
72
70
	dodoc INSTALL WHERE-TO-START
73
	dodoc INSTALL WHERE-TO-START
71
	doman "${WORKDIR}"/man/*.[58]
72
	use doc && dohtml -r html/*
74
	use doc && dohtml -r html/*
73
75
74
	insinto /usr/share/ntp
76
	insinto /usr/share/ntp

Return to bug 533076