ports/opt (3.6): openntpd: deleted unmaintained port
commit cad4302515e6526068be5ee98989143beb6969a6 Author: Tim Biermann <tbier@posteo.de> Date: Sun Jan 31 17:49:09 2021 +0000 openntpd: deleted unmaintained port diff --git a/openntpd/.footprint b/openntpd/.footprint deleted file mode 100644 index cc001eb48..000000000 --- a/openntpd/.footprint +++ /dev/null @@ -1,18 +0,0 @@ -drwxr-xr-x root/root etc/ --rw-r--r-- root/root etc/ntpd.conf -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/ntpd -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/sbin/ --rwxr-xr-x root/root usr/sbin/ntpctl --rwxr-xr-x root/root usr/sbin/ntpd -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man5/ --rw-r--r-- root/root usr/share/man/man5/ntpd.conf.5.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/ntpctl.8.gz --rw-r--r-- root/root usr/share/man/man8/ntpd.8.gz -drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/lib/ -drwxr-xr-x root/root var/lib/ntp/ diff --git a/openntpd/.signature b/openntpd/.signature deleted file mode 100644 index c116e74ec..000000000 --- a/openntpd/.signature +++ /dev/null @@ -1,7 +0,0 @@ -untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/QviLvSh3sTeqbiViiwipuudLAdcjrhtpE0Bf3z+LK21xjtWpkP1iLdCO/VsjgDtTn4aYf/gQssZyyKXukd/YwM= -SHA256 (Pkgfile) = a9f46983824db8957a552a2ede209190c30dd3148fb1e06858cda6157f211932 -SHA256 (.footprint) = 38e19020fd3cf0be9dc6da17b4e8a9d44c44ca22ded298b6e1b8e804b674d55d -SHA256 (openntpd-6.8p1.tar.gz) = 8582db838a399153d4a17f2a76518b638cc3020f58028575bf54127518f55a46 -SHA256 (ntpd) = ef91ef0b6ac7fe78968ef9de1426fb2c886521e9a311517809af505f2367f0fb -SHA256 (openntpd-paths.patch) = 3b813c96f0cb29834e14ee2e692cef97b46c0be55b57c029ef326e6de1a007d2 diff --git a/openntpd/Pkgfile b/openntpd/Pkgfile deleted file mode 100644 index b3b0e4dc9..000000000 --- a/openntpd/Pkgfile +++ /dev/null @@ -1,35 +0,0 @@ -# Description: Portable version of OpenBSD's NTP implementation -# URL: http://www.openntpd.org/ -# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve - -name=openntpd -version=6.8p1 -release=1 -source=( -http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$name-$version.tar.gz -ntpd -openntpd-paths.patch -) - -build() { - cd $name-$version - - # change drift file and control socket locations - patch -p1 -i $SRC/openntpd-paths.patch - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-privsep-user=ntp \ - --disable-https-constraint - - make - make DESTDIR=$PKG install - - rmdir $PKG/var/db $PKG/var/run - install -D -m 0755 $SRC/ntpd $PKG/etc/rc.d/ntpd - - # drift file will be created here - mkdir -p $PKG/var/lib/ntp -} diff --git a/openntpd/README b/openntpd/README deleted file mode 100644 index fd8842858..000000000 --- a/openntpd/README +++ /dev/null @@ -1,19 +0,0 @@ - -REQUIREMENTS - -PRE-INSTALL - -POST-INSTALL - - Create the necessary user 'ntp' and its group 'ntp'. - - groupadd ntp - useradd -g ntp -d /var/empty -s /bin/false ntp - passwd -l ntp - -MISCELLANEOUS - - Have a look at the start/stop script if you don't like ntpd setting - the time immediately at startup. That allows for a large time - correction. Disable that feature by removing the '-s' option. - diff --git a/openntpd/ntpd b/openntpd/ntpd deleted file mode 100644 index a3ce56701..000000000 --- a/openntpd/ntpd +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/ntpd: start/stop ntp daemon -# - -PATH="/sbin:/usr/sbin:/bin:/usr/bin" - -USER="root" -RUNDIR="/var/run/openntpd" -PIDFILE="$RUNDIR/openntpd.pid" -PROG="/usr/sbin/ntpd" -ARGS="-s -p $PIDFILE" - -case $1 in -start) - install -d -m 755 -o $USER $RUNDIR || exit 1 - start-stop-daemon --start --pidfile $PIDFILE --exec $PROG -- $ARGS - ;; -stop) - start-stop-daemon --stop --retry 60 --pidfile $PIDFILE - ;; -restart) - $0 stop - $0 start - ;; -status) - start-stop-daemon --status --pidfile $PIDFILE - case $? in - 0) echo "$PROG running with pid: $(cat $PIDFILE)" ;; - 1) echo "$PROG not running, stale pidfile: $PIDFILE" ;; - 3) echo "$PROG not running" ;; - 4) echo "Unable to determine program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|status]" - ;; -esac - diff --git a/openntpd/openntpd-paths.patch b/openntpd/openntpd-paths.patch deleted file mode 100644 index 8e50498f1..000000000 --- a/openntpd/openntpd-paths.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -Nru openntpd-6.2p3.orig/src/ntpctl.8 openntpd-6.2p3/src/ntpctl.8 ---- openntpd-6.2p3.orig/src/ntpctl.8 2018-11-22 14:58:50.905765618 +0100 -+++ openntpd-6.2p3/src/ntpctl.8 2018-11-22 14:59:05.785452744 +0100 -@@ -63,8 +63,8 @@ - When the median constraint is set, the offset to the local time is displayed. - .El - .Sh FILES --.Bl -tag -width "/var/run/ntpd.sockXXX" -compact --.It Pa /var/run/ntpd.sock -+.Bl -tag -width "/var/run/openntpd/ntpd.sockXXX" -compact -+.It Pa /var/run/openntpd/ntpd.sock - Socket file for communication with - .Xr ntpd 8 . - .El -diff -Nru openntpd-6.2p3.orig/src/ntpd.8 openntpd-6.2p3/src/ntpd.8 ---- openntpd-6.2p3.orig/src/ntpd.8 2018-11-22 14:58:50.905765618 +0100 -+++ openntpd-6.2p3/src/ntpd.8 2018-11-22 15:02:19.251396676 +0100 -@@ -120,15 +120,15 @@ - typically - .Xr ntpd.conf 5 , - and its initial clock drift from --.Pa /var/db/ntpd.drift . -+.Pa /var/lib/ntp/ntp.drift . - Clock drift is periodically written to the drift file thereafter. - .Sh FILES --.Bl -tag -width "/var/db/ntpd.driftXXX" -compact -+.Bl -tag -width "/var/run/openntpd/ntpd.driftXXX" -compact - .It Pa /etc/ntpd.conf - Default configuration file. --.It Pa /var/db/ntpd.drift -+.It Pa /var/lib/ntp//ntpd.drift - Drift file. --.It Pa /var/run/ntpd.sock -+.It Pa /var/run/openntpd/ntpd.sock - Socket file for communication with - .Xr ntpctl 8 . - .El -diff -Nru openntpd-6.2p3.orig/src/ntpd.h openntpd-6.2p3/src/ntpd.h ---- openntpd-6.2p3.orig/src/ntpd.h 2018-11-22 14:58:50.905765618 +0100 -+++ openntpd-6.2p3/src/ntpd.h 2018-11-22 14:59:05.785452744 +0100 -@@ -47,8 +47,8 @@ - #ifndef LOCALSTATEDIR - #define LOCALSTATEDIR "/var" - #endif --#define DRIFTFILE LOCALSTATEDIR "/db/ntpd.drift" --#define CTLSOCKET LOCALSTATEDIR "/run/ntpd.sock" -+#define DRIFTFILE LOCALSTATEDIR "/lib/ntp/ntp.drift" -+#define CTLSOCKET LOCALSTATEDIR "/run/openntpd/ntpd.sock" - - #if defined(SO_SETFIB) - #define SO_RTABLE SO_SETFIB diff --git a/openntpd/post-install b/openntpd/post-install deleted file mode 100755 index 6be2f97ad..000000000 --- a/openntpd/post-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -/usr/sbin/groupadd ntp -/usr/sbin/useradd -g ntp -d /var/empty -s /bin/false ntp -/usr/bin/passwd -l ntp
participants (1)
-
crux@crux.nu