diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-06 12:21:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-10-06 12:21:46 +0000 |
commit | d428dc57adb9518a18150f248916c7f298069cce (patch) | |
tree | cec6e59735c6e17b93c32666521679791e81e9e0 /net-misc/ntp | |
parent | stable ppc, bug #194721 (diff) | |
download | historical-d428dc57adb9518a18150f248916c7f298069cce.tar.gz historical-d428dc57adb9518a18150f248916c7f298069cce.tar.bz2 historical-d428dc57adb9518a18150f248916c7f298069cce.zip |
Version bump #193033.
Package-Manager: portage-2.1.3.11
Diffstat (limited to 'net-misc/ntp')
-rw-r--r-- | net-misc/ntp/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/ntp/Manifest | 23 | ||||
-rw-r--r-- | net-misc/ntp/files/digest-ntp-4.2.4_p4 | 6 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.2.4_p4.ebuild | 138 |
4 files changed, 166 insertions, 8 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog index 8aaa408e5a6a..43e6968a5f88 100644 --- a/net-misc/ntp/ChangeLog +++ b/net-misc/ntp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/ntp # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.116 2007/09/28 06:55:22 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.117 2007/10/06 12:21:45 vapier Exp $ + +*ntp-4.2.4_p4 (06 Oct 2007) + + 06 Oct 2007; Mike Frysinger <vapier@gentoo.org> +ntp-4.2.4_p4.ebuild: + Version bump #193033. 28 Sep 2007; Joshua Kinard <kumba@gentoo.org> ntp-4.2.4_p3.ebuild: Stable on mips. diff --git a/net-misc/ntp/Manifest b/net-misc/ntp/Manifest index 5b9b598ed0bb..2e3491a7415c 100644 --- a/net-misc/ntp/Manifest +++ b/net-misc/ntp/Manifest @@ -25,6 +25,8 @@ DIST ntp-4.2.4p0-manpages.tar.bz2 49066 RMD160 a8e9bd77560b4876496f0685b3db6acc5 DIST ntp-4.2.4p0.tar.gz 3421642 RMD160 ecda7d3a7734017bd40fede8abed69edddbf64a8 SHA1 2ea11693bfbf0abf29575b5ab2ebfdd933ebb991 SHA256 ec53b60ec345db194ce2c7629fc4b78b1793c4b22d1bdb86be9c8b40e7c204c8 DIST ntp-4.2.4p3-manpages.tar.bz2 49195 RMD160 5ea100894e0e4024cb1ab300a671b4b613f1a7c6 SHA1 9593761f3e8726259396f9ae46ef8d3a73fb5f86 SHA256 a6c07303e63d88778ca0873de3d913b8a10649c7f24deac757347bcea9fe37b5 DIST ntp-4.2.4p3.tar.gz 3431523 RMD160 2f4661736527a76299ceac8d6598bbceecec18dd SHA1 8531786a84db138996334d3fd842948dd165a554 SHA256 69cb62a093e9302c87747f690e31d78a9bc3f4ebec0e3ee4b816836d380cfe1c +DIST ntp-4.2.4p4-manpages.tar.bz2 49137 RMD160 d167593e47b224862ca7e525ff259ce4bfd73374 SHA1 3593d180178d9d702a559c6e2f955617c754d1da SHA256 2fc310f38ea12b3d98a68966f6600e3d1f6d444392ab342758368f7bb8ae3b5e +DIST ntp-4.2.4p4.tar.gz 3436148 RMD160 b5667d72e970ddb66b3a4e09bddcb713c7e743f0 SHA1 886a7c6819c148cc1f832d43a3446526488b1b5e SHA256 bb3277c81d702036144539c2c6a1421c41f27af93a16dc21c5ea5c154a4ca846 EBUILD ntp-4.2.4_p0.ebuild 4286 RMD160 fa3f812052b21b3e538fa281fc78f4d50f26ebc1 SHA1 fe2d73cce74065904cc41bfe7c75a5c98e1a69e8 SHA256 3c30c97adaf45981f906d2ac0dc4a1b76716f961cb20719a771a04ec2b384bdb MD5 e8788097f191612bb8c5dc72e7edc037 ntp-4.2.4_p0.ebuild 4286 RMD160 fa3f812052b21b3e538fa281fc78f4d50f26ebc1 ntp-4.2.4_p0.ebuild 4286 @@ -33,10 +35,14 @@ EBUILD ntp-4.2.4_p3.ebuild 4290 RMD160 a59ad68f1f016ee1e4ca329d979a71b205149bb9 MD5 d4312ea67272b6a7d183e1c7198f0a29 ntp-4.2.4_p3.ebuild 4290 RMD160 a59ad68f1f016ee1e4ca329d979a71b205149bb9 ntp-4.2.4_p3.ebuild 4290 SHA256 ee5fd8d9a337c065e5941e0fd3eafdf703f267866e58758b479309fed0c72497 ntp-4.2.4_p3.ebuild 4290 -MISC ChangeLog 16257 RMD160 614c3733faba677c052953899f24207918615fae SHA1 ddac678f54c732d60aa0e8c1074cd90c749932b6 SHA256 761c66879977f6132e718b7053802fa46b4dd53111a275c37b9f39cb1f2e581c -MD5 cc6dbc75d32c5f45f3bbe84f11bfd890 ChangeLog 16257 -RMD160 614c3733faba677c052953899f24207918615fae ChangeLog 16257 -SHA256 761c66879977f6132e718b7053802fa46b4dd53111a275c37b9f39cb1f2e581c ChangeLog 16257 +EBUILD ntp-4.2.4_p4.ebuild 4176 RMD160 1c4460e2ddcb8acb096dd59f319567853a50ef8e SHA1 392c55e8deaff8c55042863001b40a479057dc0a SHA256 ea5aff8a8b91c704a5597e786a95440b78fc5a7e336a5c5736308c85040b7d1b +MD5 5eac91033a2601fc0a419e3e461f90b2 ntp-4.2.4_p4.ebuild 4176 +RMD160 1c4460e2ddcb8acb096dd59f319567853a50ef8e ntp-4.2.4_p4.ebuild 4176 +SHA256 ea5aff8a8b91c704a5597e786a95440b78fc5a7e336a5c5736308c85040b7d1b ntp-4.2.4_p4.ebuild 4176 +MISC ChangeLog 16384 RMD160 12845cce53ca50cbd858219b4af07bba6f431417 SHA1 d21236e62f9657f90ecd6c84386e00a809acfdb4 SHA256 fd2d236353a61175d319a452b0d393e7cfe1cbe4c07c57e251e9a720feabb557 +MD5 be31a8daa8cc9770a8193a9c90c0eaf5 ChangeLog 16384 +RMD160 12845cce53ca50cbd858219b4af07bba6f431417 ChangeLog 16384 +SHA256 fd2d236353a61175d319a452b0d393e7cfe1cbe4c07c57e251e9a720feabb557 ChangeLog 16384 MISC metadata.xml 607 RMD160 f005595b482e97659d0dc42cf0af1c56d88ec3a7 SHA1 67aab04a0a7021caf7a78d9094315f3595f47409 SHA256 14dc7da8f6d0ccaafa8408e289acd1a23f7adff23ef45c2fdd0d8b89d97d0222 MD5 8d52071ded7c5d37f4823ac9a4fffb8e metadata.xml 607 RMD160 f005595b482e97659d0dc42cf0af1c56d88ec3a7 metadata.xml 607 @@ -47,10 +53,13 @@ SHA256 2b2e1804b5f33bfeed92591cb61be77611eb1ae942a0fdba7002a31d663dff5e files/di MD5 78d678acac33eb6b8aef082420a0f77f files/digest-ntp-4.2.4_p3 500 RMD160 c17e500f83185eb00880798308ee36b4d14cdc00 files/digest-ntp-4.2.4_p3 500 SHA256 fb222442fc4cfd64259573743de0ea0803093fc5fdc2ef4e27a9e0f84489a467 files/digest-ntp-4.2.4_p3 500 +MD5 f27d889f5509f0de2894642abfba809c files/digest-ntp-4.2.4_p4 500 +RMD160 44e8e259cf9f13aba18d49d05eb2895352a0eb77 files/digest-ntp-4.2.4_p4 500 +SHA256 7e9bdb2ecef51092d941bce38a29fca32e81ce229bc56fb3041317ffc188df97 files/digest-ntp-4.2.4_p4 500 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHB3u6p/wUKkr7RBoRAk1LAKCzeVk16rIz4CQpXCG6Tr376CS1tQCgoIjd -v85p44C4vMrapHfGbGN/034= -=tl0C +iD8DBQFHB33fp/wUKkr7RBoRAqPYAKCbk1qu5gpEC/4jv/mQ/gqBzxMQ0QCghgUi +PXiyscsWHyy0VLRjk7wDhHE= +=Uo8+ -----END PGP SIGNATURE----- diff --git a/net-misc/ntp/files/digest-ntp-4.2.4_p4 b/net-misc/ntp/files/digest-ntp-4.2.4_p4 new file mode 100644 index 000000000000..f3cc6c939e4f --- /dev/null +++ b/net-misc/ntp/files/digest-ntp-4.2.4_p4 @@ -0,0 +1,6 @@ +MD5 fe4543b9e216173bdd3ade4b3f645c8c ntp-4.2.4p4-manpages.tar.bz2 49137 +RMD160 d167593e47b224862ca7e525ff259ce4bfd73374 ntp-4.2.4p4-manpages.tar.bz2 49137 +SHA256 2fc310f38ea12b3d98a68966f6600e3d1f6d444392ab342758368f7bb8ae3b5e ntp-4.2.4p4-manpages.tar.bz2 49137 +MD5 fcb32a01e1ae3f9ed5bac86b12c7a1cc ntp-4.2.4p4.tar.gz 3436148 +RMD160 b5667d72e970ddb66b3a4e09bddcb713c7e743f0 ntp-4.2.4p4.tar.gz 3436148 +SHA256 bb3277c81d702036144539c2c6a1421c41f27af93a16dc21c5ea5c154a4ca846 ntp-4.2.4p4.tar.gz 3436148 diff --git a/net-misc/ntp/ntp-4.2.4_p4.ebuild b/net-misc/ntp/ntp-4.2.4_p4.ebuild new file mode 100644 index 000000000000..c845285d6a62 --- /dev/null +++ b/net-misc/ntp/ntp-4.2.4_p4.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2007 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_p4.ebuild,v 1.1 2007/10/06 12:21:45 vapier Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/_p/p} +DESCRIPTION="Network Time Protocol suite/programs" +HOMEPAGE="http://www.ntp.org/" +SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV:0:3}/${MY_P}.tar.gz + mirror://gentoo/${MY_P}-manpages.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="caps debug ipv6 openntpd parse-clocks selinux ssl 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 ) ) + !openntpd? ( !net-misc/openntpd ) + ssl? ( dev-libs/openssl ) + selinux? ( sec-policy/selinux-ntp )" +PDEPEND="openntpd? ( net-misc/openntpd )" + +S=${WORKDIR}/${MY_P} + +hax_bitkeeper() { + # the makefiles have support for bk ... + # basically we have to do this or bk will try to write + # to files in /opt/bitkeeper causing sandbox violations ;( + mkdir -p "${T}"/fakebin + echo "#!/bin/sh"$'\n'"exit 1" > "${T}"/fakebin/bk + chmod a+x "${T}"/fakebin/bk + export PATH="${T}/fakebin:${PATH}" +} + +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}" + + # Needs to be ported ... + #epatch "${FILESDIR}"/4.2.0.20040617-hostname.patch + + sed -i \ + -e 's:md5\.h:touch_not_my_md5:g' \ + -e 's:-lelf:-la_doe_a_deer_a_female_deer:g' \ + -e 's:-lmd5:-li_dont_want_no_stinkin_md5:g' \ + configure || die "sed failed" +} + +src_compile() { + hax_bitkeeper + # blah, no real configure options #176333 + export ac_cv_header_dns_sd_h=$(use zeroconf && echo yes || echo no) + export ac_cv_lib_dns_sd_DNSServiceRegister=${ac_cv_header_dns_sd_h} + econf \ + $(use_enable caps linuxcaps) \ + $(use_enable parse-clocks) \ + $(use_enable ipv6) \ + $(use_enable debug debugging) \ + $(use_with ssl crypto) \ + || die + emake || die +} + +src_install() { + hax_bitkeeper + emake install DESTDIR="${D}" || die "install failed" + # move ntpd/ntpdate to sbin #66671 + dodir /usr/sbin + mv "${D}"/usr/bin/{ntpd,ntpdate} "${D}"/usr/sbin/ || die "move to sbin" + + dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START + doman "${WORKDIR}"/man/*.[58] + dohtml -r html/* + + insinto /usr/share/ntp + doins "${FILESDIR}"/ntp.conf + cp -r scripts/* "${D}"/usr/share/ntp/ || die + fperms -R go-w /usr/share/ntp + find "${D}"/usr/share/ntp \ + '(' \ + -name '*.in' -o \ + -name 'Makefile*' -o \ + -name support \ + ')' \ + -exec rm -r {} \; + + insinto /etc + doins "${FILESDIR}"/ntp.conf + newinitd "${FILESDIR}"/ntpd.rc ntpd + newconfd "${FILESDIR}"/ntpd.confd ntpd + newinitd "${FILESDIR}"/ntp-client.rc ntp-client + newconfd "${FILESDIR}"/ntp-client.confd ntp-client + use caps || dosed "s|-u ntp:ntp||" /etc/conf.d/ntpd + dosed "s:/usr/bin:/usr/sbin:" /etc/init.d/ntpd + + keepdir /var/lib/ntp + fowners ntp:ntp /var/lib/ntp + + if use openntpd ; then + cd "${D}" + rm usr/sbin/ntpd || die + rm -r var/lib + rm etc/{conf,init}.d/ntpd + rm usr/share/man/*/ntpd.8 || die + fi +} + +pkg_postinst() { + ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/" + ewarn "Review /etc/ntp.conf to setup server info." + ewarn "Review /etc/conf.d/ntpd to setup init.d info." + echo + elog "The way ntp sets and maintains your system time has changed." + elog "Now you can use /etc/init.d/ntp-client to set your time at" + elog "boot while you can use /etc/init.d/ntpd to maintain your time" + elog "while your machine runs" + if grep -qs '^[^#].*notrust' "${ROOT}"/etc/ntp.conf ; then + echo + eerror "The notrust option was found in your /etc/ntp.conf!" + ewarn "If your ntpd starts sending out weird responses," + ewarn "then make sure you have keys properly setup and see" + ewarn "http://bugs.gentoo.org/41827" + fi +} |