diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 17:13:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 17:13:10 +0100 |
commit | 0bff53119f08d677db6c1a991bd30741682a8a08 (patch) | |
tree | 6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /net-misc/omnisync/files | |
parent | 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (diff) |
Revert "gentoo resync : 02.06.2018"
This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec.
Diffstat (limited to 'net-misc/omnisync/files')
-rw-r--r-- | net-misc/omnisync/files/omnisync-1.0-help.patch | 16 | ||||
-rw-r--r-- | net-misc/omnisync/files/omnisync-1.0-maxshm.patch | 18 | ||||
-rw-r--r-- | net-misc/omnisync/files/omnisync-1.0-statfile.patch | 18 | ||||
-rw-r--r-- | net-misc/omnisync/files/omnisync.confd | 21 | ||||
-rw-r--r-- | net-misc/omnisync/files/omnisync.initd | 27 |
5 files changed, 0 insertions, 100 deletions
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 <robbat2@gentoo.org> - -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 <robbat2@gentoo.org> - -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 <robbat2@gentoo.org> - -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: |