diff options
-rw-r--r-- | net-misc/adjtimex/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/adjtimex/Manifest | 2 | ||||
-rw-r--r-- | net-misc/adjtimex/adjtimex-1.16-r1.ebuild | 51 | ||||
-rw-r--r-- | net-misc/adjtimex/files/digest-adjtimex-1.16-r1 | 2 |
4 files changed, 61 insertions, 1 deletions
diff --git a/net-misc/adjtimex/ChangeLog b/net-misc/adjtimex/ChangeLog index 2979d8604ea9..17854ef4acff 100644 --- a/net-misc/adjtimex/ChangeLog +++ b/net-misc/adjtimex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/adjtimex # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v 1.4 2004/07/01 20:39:23 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v 1.5 2004/07/22 23:39:40 robbat2 Exp $ + +*adjtimex-1.16-r1 (22 Jul 2004) + + 22 Jul 2004; Robin H. Johnson <robbat2@gentoo.org> adjtimex-1.16-r1.ebuild: + fix #57952. 01 Jul 2004; Jon Hood <squinky86@gentoo.org> adjtimex-1.16.ebuild: change virtual/glibc to virtual/libc diff --git a/net-misc/adjtimex/Manifest b/net-misc/adjtimex/Manifest index 16bfe574fa11..4820829294a4 100644 --- a/net-misc/adjtimex/Manifest +++ b/net-misc/adjtimex/Manifest @@ -1,4 +1,6 @@ MD5 5fc1575b680919b0f3be316ae3720e15 adjtimex-1.16.ebuild 1283 +MD5 67ddf6fca98a8873b494ab12820ac193 adjtimex-1.16-r1.ebuild 1426 MD5 81d3086716e393e41136dff465d24a5f ChangeLog 607 +MD5 f740d2ecd7c08cc4dee2578c3c0c2557 files/digest-adjtimex-1.16-r1 136 MD5 f740d2ecd7c08cc4dee2578c3c0c2557 files/digest-adjtimex-1.16 136 MD5 644aa729406bc03a2df4f6dc23da298f files/adjtimex.init 687 diff --git a/net-misc/adjtimex/adjtimex-1.16-r1.ebuild b/net-misc/adjtimex/adjtimex-1.16-r1.ebuild new file mode 100644 index 000000000000..cf8458744839 --- /dev/null +++ b/net-misc/adjtimex/adjtimex-1.16-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/adjtimex-1.16-r1.ebuild,v 1.1 2004/07/22 23:39:40 robbat2 Exp $ + +inherit fixheadtails eutils + +DEBIAN_PV="1" +MY_P="${P/-/_}" +DEBIAN_URI="mirror://debian/pool/main/${PN:0:1}/${PN}" +DEBIAN_PATCH="${MY_P}-${DEBIAN_PV}.diff.gz" +DEBIAN_SRC="${MY_P}.orig.tar.gz" +DESCRIPTION="adjtimex - display or set the kernel time variables" +HOMEPAGE="http://www.ibiblio.org/linsearch/lsms/adjtimex.html" +SRC_URI="${DEBIAN_URI}/${DEBIAN_PATCH} + ${DEBIAN_URI}/${DEBIAN_SRC}" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="virtual/libc" +DEPEND="${RDEPEND} sys-apps/sed" + +src_unpack() { + unpack ${DEBIAN_SRC} + epatch ${DISTDIR}/${DEBIAN_PATCH} + cd ${S} + for i in debian/adjtimexconfig debian/adjtimexconfig.8 ; do + sed -e 's|/etc/default/adjtimex|/etc/conf.d/adjtimex|' -i ${i} + sed -e 's|^/sbin/adjtimex |/usr/sbin/adjtimex |' -i ${i} + done + ht_fix_file debian/adjtimexconfig + sed -e '/CFLAGS = -Wall -t/,/endif/d' -i Makefile.in +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + dodoc README* COPYING COPYRIGHT ChangeLog + doman adjtimex.8 debian/adjtimexconfig.8 + dosbin adjtimex debian/adjtimexconfig + exeinto /etc/init.d + newexe ${FILESDIR}/adjtimex.init adjtimex +} + +pkg_postinst() { + einfo "Please run adjtimexconfig to create the configuration file" +} diff --git a/net-misc/adjtimex/files/digest-adjtimex-1.16-r1 b/net-misc/adjtimex/files/digest-adjtimex-1.16-r1 new file mode 100644 index 000000000000..b30d2d004806 --- /dev/null +++ b/net-misc/adjtimex/files/digest-adjtimex-1.16-r1 @@ -0,0 +1,2 @@ +MD5 491116824724cd7ea5c679ac189775ee adjtimex_1.16-1.diff.gz 31236 +MD5 ac61a09deae112c30431c67f701569d9 adjtimex_1.16.orig.tar.gz 66783 |