From 0bff53119f08d677db6c1a991bd30741682a8a08 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 2 Jun 2018 17:13:10 +0100 Subject: Revert "gentoo resync : 02.06.2018" This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec. --- net-misc/omnisync/Manifest | 9 ---- net-misc/omnisync/files/omnisync-1.0-help.patch | 16 -------- net-misc/omnisync/files/omnisync-1.0-maxshm.patch | 18 -------- .../omnisync/files/omnisync-1.0-statfile.patch | 18 -------- net-misc/omnisync/files/omnisync.confd | 21 ---------- net-misc/omnisync/files/omnisync.initd | 27 ------------ net-misc/omnisync/metadata.xml | 8 ---- net-misc/omnisync/omnisync-1.0-r1.ebuild | 48 ---------------------- net-misc/omnisync/omnisync-1.0.ebuild | 40 ------------------ 9 files changed, 205 deletions(-) delete mode 100644 net-misc/omnisync/Manifest delete mode 100644 net-misc/omnisync/files/omnisync-1.0-help.patch delete mode 100644 net-misc/omnisync/files/omnisync-1.0-maxshm.patch delete mode 100644 net-misc/omnisync/files/omnisync-1.0-statfile.patch delete mode 100644 net-misc/omnisync/files/omnisync.confd delete mode 100644 net-misc/omnisync/files/omnisync.initd delete mode 100644 net-misc/omnisync/metadata.xml delete mode 100644 net-misc/omnisync/omnisync-1.0-r1.ebuild delete mode 100644 net-misc/omnisync/omnisync-1.0.ebuild (limited to 'net-misc/omnisync') diff --git a/net-misc/omnisync/Manifest b/net-misc/omnisync/Manifest deleted file mode 100644 index c438f0280297..000000000000 --- a/net-misc/omnisync/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX omnisync-1.0-help.patch 806 BLAKE2B 8c82444278b5da9411b8babee5e6690825b800ee279873d3e9bb936f0c0c35d5f701de8b05c4cf6af02af1c961c9d902c80e155e15bb5f9683921188c3515a94 SHA512 f131ef883a9646a093dde18ea2c78cd54d0ba9d9541ed600a03521e595f9100e7df4145488ee3b52e61449b98f3e7bd65251ead8f369595e36f174373c51b690 -AUX omnisync-1.0-maxshm.patch 652 BLAKE2B aeafe8b36d6bf49e426ee1f78514a5f9cafb12f3ef2787d030b076178484a7b96e22f939ce285e0d6ab4c39c50ae12baeca841a5a88f4989e2c5348d52ebff3f SHA512 883c8509357ba00c97e09f4bf96b402999ee1100796c147441f72811f0b475a8d37f05fba7a33d341be759c42c52eee79338da4dfbd65fd0ae246bca13ca4c4b -AUX omnisync-1.0-statfile.patch 434 BLAKE2B f003723bd48fff0b7c54b3f187744ee90fe1266b7dca85c445004f85e60af86f12427bd81323b0db12ee03f4c417b833cbb3bc7a65d58b89ca21d76ccb1d86a4 SHA512 2e613f85820f1c17c9c6afbb30d2f0607b69d90d2c496dd281b457d5f5658270513b40a72f14b165a2cb29df69c296007ec8039424e5dad227d0aa41b55c189f -AUX omnisync.confd 970 BLAKE2B a3d678032e7520d359fe078cf4599e98d75a5f3444bb5e1b08ce3cab246424f6d22c153dee45c66417682212adbe0b3c3c9730b41ca36dde5449ce48e8b1a202 SHA512 f3bd6b0eb866eb6650615fd4a838f07afcbb8b9322b12658a855fcca2ec72171b035aeec5a5bd38bb4f4ad14c32647ad14d994df7058d99dbb9d333a309ccfdb -AUX omnisync.initd 618 BLAKE2B b532cb4f9c0b763ad97d1098e34e8d4a0b14195698f0f6f518de4e25744058cbe5c66ec53a00eb7bffa9191741d78a75ee3029683e13092a3f227d4955cbecec SHA512 f1c116743fde8578a9812553640da3f680911469d8e38b0af007d69aab99038bed651436f7d9dd5ed8dc939fdd3b94a75c93d15b4bda866460b63c7253788941 -DIST omnisync-1.0.tgz 27725 BLAKE2B 00e546e3a04c8483f4a3995207fe6715e25526ca639f517220725c31d50d1c01fe0d15927e11e84143f3b2c8aa80ede1317c818945f0249147548bb03d27f744 SHA512 742ffc0a85bd923b99ae7e4f50a6aaa29107eaa987039e902797c78a9673e914e1fa61b2484c6777f62b0caf8b3110a071fd103c8b18456083883df534a1ef4d -EBUILD omnisync-1.0-r1.ebuild 1193 BLAKE2B b894dab0a684559a1aae511c5e7df44f18357d6ffff6eb7c7c310f861c88a69d081d2f2625e2b57d14f5c24c6d6be2c4605fa9811472d97e52be3fecc694c81a SHA512 f708dedd72699462b0ed1fcd9e51b4382b112563462457147378d51bfc9e279f4955e45fabc7363316ae79e0eb624f9ad15f63b75f4feb1c3fb943b4d3ab88e0 -EBUILD omnisync-1.0.ebuild 1046 BLAKE2B 7f9b71a811ee74684d4fd814e457a38e987fa83ba877632c0bc7e1a3620705cbac1c1373b8d28f27440197854d4631661c97b0ca605a1b90cb9fb3a3ce97d047 SHA512 bbd43bb6e8882385fd203e5bfe62acbd5f104e5eaafbd177bf9a008d37b4cefb6d22624b269385635a3a61dd11cb672a7043ffd576bd63e0211c3afb135e3110 -MISC metadata.xml 242 BLAKE2B 8f242b6b14b8f22e005169c7c07b6d685e7c1ad269b4de100c7bca4e148a1f25dda103b7e213309b5509d51d14170498206d9bdb7d766bf986a00eaec55b9480 SHA512 c4931bb9ba45348c61011844649be8a5879b84e48316804989379694c692d96d29794eb38c642d0036ed9e61c4864c605340d6cfa6753519b66b05f26545f0a4 diff --git a/net-misc/omnisync/files/omnisync-1.0-help.patch b/net-misc/omnisync/files/omnisync-1.0-help.patch deleted file mode 100644 index 47ff5201c030..000000000000 --- a/net-misc/omnisync/files/omnisync-1.0-help.patch +++ /dev/null @@ -1,16 +0,0 @@ -main: fix help missing newline - -Signed-off-by: Robin H. Johnson - -diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c ---- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800 -+++ omnisync-1.0/main.c 2018-06-01 14:31:25.720686155 -0700 -@@ -139,7 +139,7 @@ - printf("-c x community (snmp only)\n"); - printf("-h x host to connect to\n"); - printf("-u x ntpd shared memory unit\n"); -- printf("-z x do an initial step, to speed up syncing, parameter is number of samples"); -+ printf("-z x do an initial step, to speed up syncing, parameter is number of samples\n"); - printf("-S x write measurements to file x\n"); - printf("-n do NOT submit to NTPd/set clock, query only (use in combination with -v and -f)\n"); - printf("-f do not fork\n"); diff --git a/net-misc/omnisync/files/omnisync-1.0-maxshm.patch b/net-misc/omnisync/files/omnisync-1.0-maxshm.patch deleted file mode 100644 index 678c6e0072dd..000000000000 --- a/net-misc/omnisync/files/omnisync-1.0-maxshm.patch +++ /dev/null @@ -1,18 +0,0 @@ -main: raise SHM unit limit - -Signed-off-by: Robin H. Johnson - -diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c ---- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800 -+++ omnisync-1.0/main.c 2018-06-01 14:32:34.630066839 -0700 -@@ -346,8 +346,8 @@ - unit_nr = atoi(optarg); - if (unit_nr < 0) - error_exit("-u requires a positive value\n"); -- if (unit_nr > 3) -- error_exit("NTPd normally supports only 4 shared memory devices, still continuing though\n"); -+ if (unit_nr > 254) -+ error_exit("NTPd normally supports only 254 shared memory devices\n"); - break; - - case 'v': diff --git a/net-misc/omnisync/files/omnisync-1.0-statfile.patch b/net-misc/omnisync/files/omnisync-1.0-statfile.patch deleted file mode 100644 index 972316a33bd1..000000000000 --- a/net-misc/omnisync/files/omnisync-1.0-statfile.patch +++ /dev/null @@ -1,18 +0,0 @@ -main: wire up stats_file variable - -Signed-off-by: Robin H. Johnson - -diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c ---- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800 -+++ omnisync-1.0/main.c 2018-06-01 14:39:22.115229735 -0700 -@@ -358,6 +358,10 @@ - version(); - return 0; - -+ case 'S': -+ stats_file = optarg; -+ break; -+ - default: - help(); - return 1; diff --git a/net-misc/omnisync/files/omnisync.confd b/net-misc/omnisync/files/omnisync.confd deleted file mode 100644 index c2ab3cc58f0e..000000000000 --- a/net-misc/omnisync/files/omnisync.confd +++ /dev/null @@ -1,21 +0,0 @@ -# REQUIRED, must be one of time/tcp time/udp daytime/tcp daytime/udp http https -# snts irc icmp icmp snmp simpleptpl socks5sntp sntp -OMNISYNC_MODE="" - -# Options to add -# -F x fudge factor (default: 0.000000) -m x max. offset (default: 7200.000000) -# -p x proxy-server (http/https/socks5sntp only) -# -B x bind to interface x (not for snmp) -# -I x username[:password] (irc/socks5 auth. only) -# -c x community (snmp only) -# -h x host to connect to -# -u x ntpd shared memory unit -# -z x do an initial step, to speed up syncing, parameter is number of samples-S x write measurements to file x -# -n do NOT submit to NTPd/set clock, query only (use in combination with -v and -f) -# -f do not fork -# -i x check interval (default: 60) -# -d x timeout -# -U x set user to run as -# -P x write pid to file x -# -v increase verbosity -OMNISYNC_ARGS="" diff --git a/net-misc/omnisync/files/omnisync.initd b/net-misc/omnisync/files/omnisync.initd deleted file mode 100644 index c71e63d4d3e3..000000000000 --- a/net-misc/omnisync/files/omnisync.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use net dns -} - -INSTANCE=${SVCNAME#*.} -if [ -n "${INSTANCE}" ] && [ ${SVCNAME} != "omnisync" ]; then - pidfile="/var/run/omnisync.${INSTANCE}.pid" -else - pidfile="/var/run/omnisync.pid" -fi - -command="/usr/sbin/omnisync" -command_args="-P ${pidfile} -M ${OMNISYNC_MODE} ${OMNISYNC_ARGS}" - -start_pre() { - if [ -z "${OMNISYNC_MODE}" ] ; then - eerror 'Configuration incomplete! OMNISYNC_MODE not set' - return 1 - fi - return 0 -} - -# vim: filetype=gentoo-init-d sw=2 ts=2 sts=2 noet: diff --git a/net-misc/omnisync/metadata.xml b/net-misc/omnisync/metadata.xml deleted file mode 100644 index b651dc535e37..000000000000 --- a/net-misc/omnisync/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - grknight@gentoo.org - Brian Evans - - diff --git a/net-misc/omnisync/omnisync-1.0-r1.ebuild b/net-misc/omnisync/omnisync-1.0-r1.ebuild deleted file mode 100644 index 5875550ac80f..000000000000 --- a/net-misc/omnisync/omnisync-1.0-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="A driver for NTPd for people who are firewall-challenged" -HOMEPAGE="https://www.vanheusden.com/time/omnisync" -LICENSE="GPL-2" -SRC_URI="https://www.vanheusden.com/time/${PN}/${P}.tgz" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND="dev-libs/openssl:0= net-analyzer/net-snmp:=" -DEPEND="${RDEPEND}" -DOCS=( readme.txt Changes ) -PATCHES=( - "${FILESDIR}"/omnisync-1.0-help.patch - "${FILESDIR}"/omnisync-1.0-maxshm.patch - "${FILESDIR}"/omnisync-1.0-statfile.patch -) - -src_prepare() { - default - tc-export CC - sed -i \ - -e 's/-O2 -Wall/-Wall/' \ - -e 's/-lsnmp/-lnetsnmp/' \ - "${S%/}/Makefile" || die - use debug || sed -i -e 's/$(DEBUG)//' "${S%/}/Makefile" || die -} - -src_install() { - dosbin omnisync - newinitd "${FILESDIR%/}/${PN}.initd" ${PN} - newconfd "${FILESDIR%/}/${PN}.confd" ${PN} - einstalldocs -} - -pkg_postinst() { - local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT%/}/etc/conf.d/${PN}") - if [[ -n "${isConfigured}" ]] ; then - elog "Be sure to configure ${PN} in ${ROOT%/}/etc/conf.d before trying to start the service" - fi -} diff --git a/net-misc/omnisync/omnisync-1.0.ebuild b/net-misc/omnisync/omnisync-1.0.ebuild deleted file mode 100644 index 6c0ff7635dcf..000000000000 --- a/net-misc/omnisync/omnisync-1.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="A driver for NTPd for people who are firewall-challenged" -HOMEPAGE="https://www.vanheusden.com/time/omnisync" -LICENSE="GPL-2" -SRC_URI="https://www.vanheusden.com/time/${PN}/${P}.tgz" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND="dev-libs/openssl:0= net-analyzer/net-snmp:=" -DEPEND="${RDEPEND}" -DOCS=( readme.txt Changes ) - -src_prepare() { - default - tc-export CC - sed -i -e 's/-O2 -Wall/-Wall/' -e 's/-lsnmp/-lnetsnmp/' "${S%/}/Makefile" || die - use debug || sed -i -e 's/$(DEBUG)//' "${S%/}/Makefile" || die -} - -src_install() { - dosbin omnisync - newinitd "${FILESDIR%/}/${PN}.initd" ${PN} - newconfd "${FILESDIR%/}/${PN}.confd" ${PN} - einstalldocs -} - -pkg_postinst() { - local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT%/}/etc/conf.d/${PN}") - if [[ -n "${isConfigured}" ]] ; then - elog "Be sure to configure ${PN} in ${ROOT%/}/etc/conf.d before trying to start the service" - fi -} -- cgit v1.2.3