[crux-commits] ports/contrib (refs/remotes/origin/3.6): ntp: deleted unmaintained port

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:46 UTC 2021


commit 601e68fc1fb66554ca62239dcefcd8f8e6ed48d4
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Mar 8 18:39:05 2021 +0000

    ntp: deleted unmaintained port

diff --git a/ntp/.footprint b/ntp/.footprint
deleted file mode 100644
index 6d25d7c62..000000000
--- a/ntp/.footprint
+++ /dev/null
@@ -1,47 +0,0 @@
-drwxr-xr-x	root/root	etc/
-drwxr-xr-x	root/root	etc/ntp/
--rw-r--r--	root/root	etc/ntp/ntp.conf
-drwxr-xr-x	root/root	etc/rc.d/
--rwxr-xr-x	root/root	etc/rc.d/ntpd
--rwxr-xr-x	root/root	etc/rc.d/ntpdate
-drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/bin/
--rwxr-xr-x	root/root	usr/bin/calc_tickadj
--rwxr-xr-x	root/root	usr/bin/ntp-keygen
--rwxr-xr-x	root/root	usr/bin/ntp-wait
--rwxr-xr-x	root/root	usr/bin/ntpd
--rwxr-xr-x	root/root	usr/bin/ntpdate
--rwxr-xr-x	root/root	usr/bin/ntpdc
--rwxr-xr-x	root/root	usr/bin/ntpq
--rwxr-xr-x	root/root	usr/bin/ntptime
--rwxr-xr-x	root/root	usr/bin/ntptrace
--rwxr-xr-x	root/root	usr/bin/sntp
--rwxr-xr-x	root/root	usr/bin/tickadj
--rwxr-xr-x	root/root	usr/bin/update-leap
-drwxr-xr-x	root/root	usr/lib/
-drwxr-xr-x	root/root	usr/lib/ntp/
-drwxr-xr-x	root/root	usr/share/
-drwxr-xr-x	root/root	usr/share/man/
-drwxr-xr-x	root/root	usr/share/man/man1/
--rw-r--r--	root/root	usr/share/man/man1/calc_tickadj.1.gz
--rw-r--r--	root/root	usr/share/man/man1/ntp-keygen.1.gz
--rw-r--r--	root/root	usr/share/man/man1/ntp-wait.1.gz
--rw-r--r--	root/root	usr/share/man/man1/ntpd.1.gz
--rw-r--r--	root/root	usr/share/man/man1/ntpdc.1.gz
--rw-r--r--	root/root	usr/share/man/man1/ntpq.1.gz
--rw-r--r--	root/root	usr/share/man/man1/ntptrace.1.gz
--rw-r--r--	root/root	usr/share/man/man1/sntp.1.gz
--rw-r--r--	root/root	usr/share/man/man1/update-leap.1.gz
-drwxr-xr-x	root/root	usr/share/man/man5/
--rw-r--r--	root/root	usr/share/man/man5/ntp.conf.5.gz
--rw-r--r--	root/root	usr/share/man/man5/ntp.keys.5.gz
-drwxr-xr-x	root/root	usr/share/man/man8/
-drwxr-xr-x	root/root	var/
-drwxr-xr-x	root/root	var/lib/
-drwxr-xr-x	ntp/ntp	var/lib/ntp/
--rw-r--r--	ntp/ntp	var/lib/ntp/ntp.drift
-drwxr-xr-x	ntp/ntp	var/lib/ntp/stats/
-drwxr-xr-x	root/root	var/log/
--rw-r--r--	ntp/ntp	var/log/ntp.log (EMPTY)
-drwxr-xr-x	root/root	var/run/
-drwxr-xr-x	ntp/ntp	var/run/ntp/
diff --git a/ntp/.signature b/ntp/.signature
deleted file mode 100644
index 157bc07d9..000000000
--- a/ntp/.signature
+++ /dev/null
@@ -1,9 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF36oi/bxvMika7yPHxdaIe8WWDSo+VbuCs9pt2+n6yW5LM2KEvZEa9hSH3KClZGMZsqbddzsibZg1Py5xsDlKRAw=
-SHA256 (Pkgfile) = bec4ea107edd218199909888f1f11dfe1c926b2f329625753064f48f68355fa6
-SHA256 (.footprint) = 0d110ca02e0ad4c6a5f9de4df929d79093c4314df5c9aced43a2c02ed63119a4
-SHA256 (ntp-4.2.8p15.tar.gz) = f65840deab68614d5d7ceb2d0bb9304ff70dcdedd09abb79754a87536b849c19
-SHA256 (ntpd) = a117c4b99139d836264c267cd0804f15b313bcab233837bf7f5676681b2a9955
-SHA256 (ntpdate) = 79e158ce339a836966966ab76c42ebecfa7023c3bbc2770c215817bfae2838d1
-SHA256 (ntp.conf) = 8351e20d8c73c5a920625d14cf584bb43127429cfa1d5977daf5d05f7e110383
-SHA256 (ntp-64bit.diff) = 7622ec8b5d5bcece5f66c843238b26c57e9a4d37da48f857b4cd1a9a3b4f2008
diff --git a/ntp/Pkgfile b/ntp/Pkgfile
deleted file mode 100644
index 85601ea17..000000000
--- a/ntp/Pkgfile
+++ /dev/null
@@ -1,59 +0,0 @@
-# Description: Network Time Protocol software
-# URL:         https://www.ntp.org
-# Maintainer:  Thomas Penteker, tek at serverop dot de
-# Packager:    James Mills, prologic at shortcircuit dot net dot au
-# Depends on:  openssl
-
-name=ntp
-version=4.2.8p15
-release=1
-source=(https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/$name-$version.tar.gz
-        ntpd ntpdate ntp.conf ntp-64bit.diff)
-
-build () {
-   mkdir -p $PKG/etc/{rc.d,ntp} \
-      $PKG/var/log \
-      $PKG/var/run/ntp \
-      $PKG/var/lib/ntp/stats \
-      $PKG/usr/share/man/{man8,man5}
-
-   cd $name-$version
-   patch -p1 -i ../ntp-64bit.diff
-
-   ./configure \
-      --prefix=/usr \
-      --libexecdir=/usr/lib/ntp \
-      --with-sntp \
-      --with-crypto \
-      --without-ntpsnmpd \
-      --enable-debugging=no \
-      --enable-ntpdate-step \
-      --enable-parse-clocks \
-      --enable-all-clocks \
-      CFLAGS="$CFLAGS" \
-      LDFLAGS="$LDFLAGS"
-
-   # substitute the default configuration path
-   sed -i -e 's;\(CONFIG_FILE[^"]*"\)/etc/ntp.conf;\1/etc/ntp/ntp.conf;' \
-        include/ntp_config.h
-
-   make
-   make DESTDIR=$PKG install
-   touch $PKG/var/log/ntp.log
-
-   install -m 644 $SRC/ntp.conf $PKG/etc/ntp
-   install -m 755 $SRC/ntpd $PKG/etc/rc.d
-   install -m 755 $SRC/ntpdate $PKG/etc/rc.d
-
-   # fix remove unnecessary directory
-   rm -r $PKG/usr/sbin
-
-   # initialize ntp.drift file
-   echo "0.0" > $PKG/var/lib/ntp/ntp.drift
-
-   # assign ownership to ntp:ntp
-   chown -R ntp:ntp $PKG/var/lib/ntp $PKG/var/run/ntp $PKG/var/log/ntp.log
-
-   # clean up the mess..
-   rm -r $PKG/usr/share/{doc,ntp}
-}
diff --git a/ntp/ntp-64bit.diff b/ntp/ntp-64bit.diff
deleted file mode 100644
index 281cc99b2..000000000
--- a/ntp/ntp-64bit.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/include/ntp_syscall.h	2009-05-19 16:44:55.048156467 -0400
-+++ b/include/ntp_syscall.h	2009-05-19 16:46:19.293323686 -0400
-@@ -14,6 +14,14 @@
- # include <sys/timex.h>
- #endif
- 
-+#if defined(ADJ_NANO) && !defined(MOD_NANO)
-+#define MOD_NANO ADJ_NANO
-+#endif
-+
-+#if defined(ADJ_TAI) && !defined(MOD_TAI)
-+#define MOD_TAI ADJ_TAI
-+#endif
-+
- #ifndef NTP_SYSCALLS_LIBC
- #ifdef NTP_SYSCALLS_STD
- # define ntp_adjtime(t)		syscall(SYS_ntp_adjtime, (t))
diff --git a/ntp/ntp.conf b/ntp/ntp.conf
deleted file mode 100644
index ce769e3bb..000000000
--- a/ntp/ntp.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# /etc/ntp/ntp.conf: ntp configuration
-#
-
-###############################################################################
-# Default paths
-
-logfile   /var/log/ntp.log
-pidfile   /var/run/ntp/ntpd.pid
-driftfile /var/lib/ntp/ntp.drift
-#statsdir /var/lib/ntp/stats/
-
-# Associate to public NTP pool servers
-server 0.pool.ntp.org
-server 1.pool.ntp.org
-server 2.pool.ntp.org
-
-# Only allow read-only access from localhost
-restrict default noquery nopeer
-restrict 127.0.0.1
-restrict ::1
-
-# avoid udp spoofed ddos attacks
-disable monitor
-
-# Now list the NTP clients on our home network which should be able to query
-# our server for the time (notice that the noquery has been removed)
-#
-#restrict 192.168.0.0 mask 255.255.255.0
-
-# End of file
diff --git a/ntp/ntpd b/ntp/ntpd
deleted file mode 100755
index c19db18a1..000000000
--- a/ntp/ntpd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/ntpd: start/stop ntp daemon
-#
-
-case $1 in
-start)
-	(/usr/bin/ntpd -u ntp:ntp -gqx
-	 /usr/bin/ntpd -u ntp:ntp) &
-	;;
-stop)
-	/sbin/hwclock -w
-	killall -q /usr/bin/ntpd
-	;;
-restart)
-	$0 stop && sleep 3 && $0 start
-	;;
-*)
-	echo "usage: $0 [start|stop|restart]"
-	;;
-esac
-
-# End of file
diff --git a/ntp/ntpdate b/ntp/ntpdate
deleted file mode 100755
index 539f283d7..000000000
--- a/ntp/ntpdate
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/ntpdate: sync time via ntp
-#
-
-case $1 in
-start)
-  /usr/bin/ntpdate pool.ntp.org 1>/dev/null &
-  ;;
-stop)
-  ;;
-restart)
-  $0 start
-  ;;
-*)
-  echo "usage: $0 [start|stop|restart]"
-  ;;
-esac
-
-# End of file
diff --git a/ntp/pre-install b/ntp/pre-install
deleted file mode 100644
index ebd6b286d..000000000
--- a/ntp/pre-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-getent group ntp || /usr/sbin/groupadd -g 77 ntp
-getent passwd ntp || /usr/sbin/useradd -g ntp -u 77 -d /var/lib/ntp -s /bin/false ntp
-/usr/bin/passwd -l ntp


More information about the crux-commits mailing list