summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-08-28 21:24:01 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-08-28 21:24:01 +0000
commit3fe02461ade3a640c7eff89f7320d3d00b1a8c5c (patch)
tree38471348684791413feb85c26ed670fc0d4b7d04 /net-misc/ntp
parentRemove old version. (diff)
downloadgentoo-2-3fe02461ade3a640c7eff89f7320d3d00b1a8c5c.tar.gz
gentoo-2-3fe02461ade3a640c7eff89f7320d3d00b1a8c5c.tar.bz2
gentoo-2-3fe02461ade3a640c7eff89f7320d3d00b1a8c5c.zip
Migrate to EAPI 2 in order to get rid of built_with_use.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ChangeLog8
-rw-r--r--net-misc/ntp/ntp-4.2.4_p6.ebuild19
-rw-r--r--net-misc/ntp/ntp-4.2.4_p7.ebuild19
3 files changed, 18 insertions, 28 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog
index 8ee4577da2e9..5bd503c70b1b 100644
--- a/net-misc/ntp/ChangeLog
+++ b/net-misc/ntp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/ntp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.150 2009/07/03 19:45:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.151 2009/08/28 21:24:01 betelgeuse Exp $
+
+ 28 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> ntp-4.2.4_p6.ebuild,
+ ntp-4.2.4_p7.ebuild:
+ Migrate to EAPI 2 in order to get rid of built_with_use.
03 Jul 2009; Mike Frysinger <vapier@gentoo.org> ntp-4.2.4_p7.ebuild:
Fix typo in md5.h disabling pointed out by Naohiro Aota #275481.
@@ -565,7 +569,7 @@
Closes bug #1882 and allows compilation
Update ebuild for lintool compliance
-*ntp-4.1.72-r1 (24 March 2002)
+*ntp-4.1.72-r1 (24 Mar 2002)
24 March 2002; M.Schlemmer <azarah@gentoo.org> :
diff --git a/net-misc/ntp/ntp-4.2.4_p6.ebuild b/net-misc/ntp/ntp-4.2.4_p6.ebuild
index c753b453c643..e7764744ad1a 100644
--- a/net-misc/ntp/ntp-4.2.4_p6.ebuild
+++ b/net-misc/ntp/ntp-4.2.4_p6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p6.ebuild,v 1.9 2009/06/20 23:12:04 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p6.ebuild,v 1.10 2009/08/28 21:24:01 betelgeuse Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs flag-o-matic
@@ -18,7 +20,7 @@ IUSE="caps debug ipv6 openntpd parse-clocks selinux ssl vim-syntax zeroconf"
DEPEND=">=sys-libs/ncurses-5.2
>=sys-libs/readline-4.1
kernel_linux? ( caps? ( sys-libs/libcap ) )
- zeroconf? ( || ( net-dns/avahi net-misc/mDNSResponder ) )
+ zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) )
!openntpd? ( !net-misc/openntpd )
ssl? ( dev-libs/openssl )
selinux? ( sec-policy/selinux-ntp )"
@@ -41,17 +43,9 @@ hax_bitkeeper() {
pkg_setup() {
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
-
- if use zeroconf && has_version net-dns/avahi && ! built_with_use net-dns/avahi mdnsresponder-compat ; then
- eerror "You need to recompile net-dns/avahi with mdnsresponder-compat USE flag"
- die "net-dns/avahi is missing required mdnsresponder-compat support"
- fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Needs to be ported ...
#epatch "${FILESDIR}"/4.2.0.20040617-hostname.patch
epatch "${FILESDIR}"/${PN}-4.2.4_p5-adjtimex.patch #254030
@@ -65,7 +59,7 @@ src_unpack() {
configure || die "sed failed"
}
-src_compile() {
+src_configure() {
hax_bitkeeper
# blah, no real configure options #176333
export ac_cv_header_dns_sd_h=$(use zeroconf && echo yes || echo no)
@@ -77,7 +71,6 @@ src_compile() {
$(use_enable debug debugging) \
$(use_with ssl crypto) \
|| die
- emake || die
}
src_install() {
diff --git a/net-misc/ntp/ntp-4.2.4_p7.ebuild b/net-misc/ntp/ntp-4.2.4_p7.ebuild
index 0d74d076ad0c..6a8949e577df 100644
--- a/net-misc/ntp/ntp-4.2.4_p7.ebuild
+++ b/net-misc/ntp/ntp-4.2.4_p7.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p7.ebuild,v 1.9 2009/07/03 19:45:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p7.ebuild,v 1.10 2009/08/28 21:24:01 betelgeuse Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs flag-o-matic
@@ -18,7 +20,7 @@ IUSE="caps debug ipv6 openntpd parse-clocks selinux ssl vim-syntax zeroconf"
DEPEND=">=sys-libs/ncurses-5.2
>=sys-libs/readline-4.1
kernel_linux? ( caps? ( sys-libs/libcap ) )
- zeroconf? ( || ( net-dns/avahi net-misc/mDNSResponder ) )
+ zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) )
!openntpd? ( !net-misc/openntpd )
ssl? ( dev-libs/openssl )
selinux? ( sec-policy/selinux-ntp )"
@@ -31,17 +33,9 @@ S=${WORKDIR}/${MY_P}
pkg_setup() {
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
-
- if use zeroconf && has_version net-dns/avahi && ! built_with_use net-dns/avahi mdnsresponder-compat ; then
- eerror "You need to recompile net-dns/avahi with mdnsresponder-compat USE flag"
- die "net-dns/avahi is missing required mdnsresponder-compat support"
- fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Needs to be ported ...
#epatch "${FILESDIR}"/4.2.0.20040617-hostname.patch
epatch "${FILESDIR}"/${PN}-4.2.4_p5-adjtimex.patch #254030
@@ -49,7 +43,7 @@ src_unpack() {
append-cppflags -D_GNU_SOURCE #264109
}
-src_compile() {
+src_configure() {
# avoid libmd5/libelf
export ac_cv_search_MD5Init=no ac_cv_header_md5_h=no
export ac_cv_lib_elf_nlist=no
@@ -63,7 +57,6 @@ src_compile() {
$(use_enable debug debugging) \
$(use_with ssl crypto) \
|| die
- emake || die
}
src_install() {