From d4d7098dcb2f9dd257109bbcb55fd40beda1b78d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Dec 2022 19:52:06 +0000 Subject: gentoo auto-resync : 20:12:2022 - 19:52:06 --- net-misc/adjtimex/Manifest | 2 +- net-misc/adjtimex/adjtimex-1.29-r2.ebuild | 68 ----------------------------- net-misc/adjtimex/adjtimex-1.29-r3.ebuild | 71 +++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 69 deletions(-) delete mode 100644 net-misc/adjtimex/adjtimex-1.29-r2.ebuild create mode 100644 net-misc/adjtimex/adjtimex-1.29-r3.ebuild (limited to 'net-misc/adjtimex') diff --git a/net-misc/adjtimex/Manifest b/net-misc/adjtimex/Manifest index abf2305f627b..a62e6b0f8fdf 100644 --- a/net-misc/adjtimex/Manifest +++ b/net-misc/adjtimex/Manifest @@ -2,5 +2,5 @@ AUX adjtimex-1.29-r2-gentoo-utc.patch 1011 BLAKE2B c4e7f951ef316917630cfa122058e AUX adjtimex.init 638 BLAKE2B 652bc1dd50a59bec204b669bb72ba3ca68ae65bc450d4ff662ba2af5f7d5f784f184a3cf7156439fdb72608ef46042d606fc4f1e9abb969ff3ce500f3db9cf6f SHA512 4d8caa72076ac8ba2c0f6cabb31a28254e609d2215cc8f830921e729013144fc10cb6a8796fff80ecc4bf1dc611652e81830e46e59c1726d3147cc1680017041 DIST adjtimex_1.29-10.debian.tar.xz 33008 BLAKE2B b1da53008ef2373d9b450228bdb7f3378516880bf5b0d9b6d2c8aaa25880eea05954923e18497c42bf4e0f541dfa6c119c558b2712c5ed096a9c3e32dd3407c0 SHA512 4be30bdc63446259fe246e4d7fc0cb78fa40f40e9eb1a0b3a9d523d19ba0664be5e04f1803235a268eaae41cf4d88adfdbc6ecec86f8bd03703aca6c25ba9b8b DIST adjtimex_1.29.orig.tar.gz 85551 BLAKE2B 4e7784c3d3efa1f6ea226a7822de675a27c5be5d048664f8ff215eebe65b493e6dc0d004cc955c2e3b4e314e6283eafd628e92b611504b6ea92f4e5fe7d1a8c7 SHA512 5a48cdc538866c06562f62e369c08d60978c791ed91565262c0179c6fa25dd343963992d00e10f32475fdc00b458f81cf9c61adbfa9e1b7a8d4981ebeeff5649 -EBUILD adjtimex-1.29-r2.ebuild 1655 BLAKE2B cbbd2ea4d74d096767c6efdcc10385f71cd031e31c370a873d457ba07dec1165c337bfc70ee9e88ce5a5b796d4a4f6a6ec5fb620c365fbc153a00420561014ed SHA512 44cd2c491c99b057ca4a65703edd8c03efd09e5b128d9345d0746ffb284c923b87311430d51a9fe1933329c7208071a8ab53d3226c2ef09174b05793490f4e44 +EBUILD adjtimex-1.29-r3.ebuild 1693 BLAKE2B 7b51933ffa9578bb5df0c63234518b03ad32fdbac5c10748e334e1f5099c562144e9d6200c46e9fa069c2daed785005e46c1fae828fd8715dbc094ecb425eec0 SHA512 60cdb05e3167708edb748201acbe1743db85fa4535197005a455aca6ff8cdae1e288112801602dd07ba5c3085076400b5b0ae8d73cd5cb7aeec981f4d456fdd0 MISC metadata.xml 217 BLAKE2B fbec54484edc2603e95c90cb231985ef0f5f8d2cd48632ac8a097a4dac165499ff4cc087b1ca9ba6a4368bbb73b3af1ee99622a80df17072e1a340c345a2ee64 SHA512 7d3fc456b183fe7bdea26fb6edce39f702741a762b74cd7d2159a0ba85af50ebc87fbd921c926692a6164d50c9faf6b19680ab96528819bb06aaeac679e42de2 diff --git a/net-misc/adjtimex/adjtimex-1.29-r2.ebuild b/net-misc/adjtimex/adjtimex-1.29-r2.ebuild deleted file mode 100644 index 5ac80ba347a5..000000000000 --- a/net-misc/adjtimex/adjtimex-1.29-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit fixheadtails toolchain-funcs - -DEBIAN_PV="10" -MY_P="${P/-/_}" -DEBIAN_URI="mirror://debian/pool/main/${PN:0:1}/${PN}" -DEBIAN_PATCH="${MY_P}-${DEBIAN_PV}.debian.tar.xz" -DEBIAN_SRC="${MY_P}.orig.tar.gz" -DESCRIPTION="Display or set the kernel time variables" -HOMEPAGE="https://www.ibiblio.org/pub/Linux/system/admin/time/adjtimex.lsm https://github.com/rogers0/adjtimex" -SRC_URI="${DEBIAN_URI}/${DEBIAN_PATCH} - ${DEBIAN_URI}/${DEBIAN_SRC}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ppc x86" - -src_unpack() { - unpack "${DEBIAN_SRC}" - cd "${S}" || die "Failed to cd ${S}" - unpack "${DEBIAN_PATCH}" -} - -src_prepare() { - # Debian series first - DEBPATCHDIR="${S}"/debian/patches/ - for f in $(cat "$DEBPATCHDIR/series") ; do - eapply "$DEBPATCHDIR"/$f - done - - # Then gentoo changes - for i in debian/adjtimexconfig debian/adjtimexconfig.8 ; do - sed -e 's|/etc/default/adjtimex|/etc/conf.d/adjtimex|' \ - -i.orig ${i} - sed -e 's|^/sbin/adjtimex |/usr/sbin/adjtimex |' \ - -i.orig ${i} - done - - eapply "${FILESDIR}"/${PN}-1.29-r2-gentoo-utc.patch - ht_fix_file debian/adjtimexconfig - - sed -i \ - -e '/CFLAGS = -Wall -t/,/endif/d' \ - -e '/$(CC).* -o/s|$(CFLAGS)|& $(LDFLAGS)|g' \ - Makefile.in || die "sed Makefile.in" - - eapply_user -} - -src_configure() { - tc-export CC - default -} - -src_install() { - dodoc README* ChangeLog - doman adjtimex.8 debian/adjtimexconfig.8 - dosbin adjtimex debian/adjtimexconfig - newinitd "${FILESDIR}"/adjtimex.init adjtimex -} - -pkg_postinst() { - einfo "Please run adjtimexconfig to create the configuration file" -} diff --git a/net-misc/adjtimex/adjtimex-1.29-r3.ebuild b/net-misc/adjtimex/adjtimex-1.29-r3.ebuild new file mode 100644 index 000000000000..519a776f5a9d --- /dev/null +++ b/net-misc/adjtimex/adjtimex-1.29-r3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit fixheadtails toolchain-funcs + +DEBIAN_PV="10" +MY_P="${P/-/_}" +DEBIAN_URI="mirror://debian/pool/main/${PN:0:1}/${PN}" +DEBIAN_PATCH="${MY_P}-${DEBIAN_PV}.debian.tar.xz" +DEBIAN_SRC="${MY_P}.orig.tar.gz" + +DESCRIPTION="Display or set the kernel time variables" +HOMEPAGE="https://www.ibiblio.org/pub/Linux/system/admin/time/adjtimex.lsm https://github.com/rogers0/adjtimex" +SRC_URI="${DEBIAN_URI}/${DEBIAN_PATCH} + ${DEBIAN_URI}/${DEBIAN_SRC}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc x86" + +RDEPEND="!net-misc/sntpd[adjtimex]" + +src_unpack() { + unpack "${DEBIAN_SRC}" + cd "${S}" || die "Failed to cd ${S}" + unpack "${DEBIAN_PATCH}" +} + +src_prepare() { + # Debian series first + DEBPATCHDIR="${S}"/debian/patches/ + for f in $(cat "$DEBPATCHDIR/series") ; do + eapply "$DEBPATCHDIR"/$f + done + + # Then gentoo changes + for i in debian/adjtimexconfig debian/adjtimexconfig.8 ; do + sed -e 's|/etc/default/adjtimex|/etc/conf.d/adjtimex|' \ + -i.orig ${i} + sed -e 's|^/sbin/adjtimex |/usr/sbin/adjtimex |' \ + -i.orig ${i} + done + + eapply "${FILESDIR}"/${PN}-1.29-r2-gentoo-utc.patch + ht_fix_file debian/adjtimexconfig + + sed -i \ + -e '/CFLAGS = -Wall -t/,/endif/d' \ + -e '/$(CC).* -o/s|$(CFLAGS)|& $(LDFLAGS)|g' \ + Makefile.in || die "sed Makefile.in" + + eapply_user +} + +src_configure() { + tc-export CC + default +} + +src_install() { + dodoc README* ChangeLog + doman adjtimex.8 debian/adjtimexconfig.8 + dosbin adjtimex debian/adjtimexconfig + newinitd "${FILESDIR}"/adjtimex.init adjtimex +} + +pkg_postinst() { + einfo "Please run adjtimexconfig to create the configuration file" +} -- cgit v1.2.3