summaryrefslogtreecommitdiff
path: root/extra/openntpd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/openntpd')
-rw-r--r--extra/openntpd/libtls-standalone.patch20
-rw-r--r--extra/openntpd/ntp-user.patch13
-rw-r--r--extra/openntpd/openntpd.confd3
-rw-r--r--extra/openntpd/openntpd.initd14
4 files changed, 0 insertions, 50 deletions
diff --git a/extra/openntpd/libtls-standalone.patch b/extra/openntpd/libtls-standalone.patch
deleted file mode 100644
index 3b5d8e4..0000000
--- a/extra/openntpd/libtls-standalone.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 88884c2..b0c0697 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -60,8 +60,13 @@ AM_CONDITIONAL([HAVE_CLOCK_GETRES], [test "x$ac_cv_func_clock_getres" = xyes])
- AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes])
-
- # check for libtls
--AC_SEARCH_LIBS([tls_config_set_ca_mem],[tls],
-- [LIBS="$LIBS -ltls -lssl -lcrypto"],,[-lssl -lcrypto])
-+PKG_CHECK_MODULES([LIBTLS], [libtls],[],[
-+ PKG_CHECK_MODULES([LIBTLS], [libtls-standalone])
-+ ])
-+AC_SEARCH_LIBS([tls_config_set_ca_mem],[tls tls-standalone],
-+ [LIBS="$LIBS $LIBTLS_LIBS"
-+ CFLAGS="$CFLAGS $LIBTLS_CFLAGS"],
-+ ,[$LIBTLS_LIBS])
- AC_CHECK_FUNCS([tls_config_set_ca_mem])
-
- # check if libtls uses 3-argument tls_write
diff --git a/extra/openntpd/ntp-user.patch b/extra/openntpd/ntp-user.patch
deleted file mode 100644
index 200676c..0000000
--- a/extra/openntpd/ntp-user.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/ntpd.h b/src/ntpd.h
-index 6403391..cc41d42 100644
---- a/src/ntpd.h
-+++ b/src/ntpd.h
-@@ -37,7 +37,7 @@
- #define MAXIMUM(a, b) ((a) > (b) ? (a) : (b))
-
- #ifndef NTPD_USER
--#define NTPD_USER "_ntp"
-+#define NTPD_USER "ntp"
- #endif
-
- #ifndef SYSCONFDIR
diff --git a/extra/openntpd/openntpd.confd b/extra/openntpd/openntpd.confd
deleted file mode 100644
index ec002b7..0000000
--- a/extra/openntpd/openntpd.confd
+++ /dev/null
@@ -1,3 +0,0 @@
-# See ntpd(8) man page ... some popular options:
-# -s Set the time immediately at startup
-#NTPD_OPTS=
diff --git a/extra/openntpd/openntpd.initd b/extra/openntpd/openntpd.initd
deleted file mode 100644
index dc9a9ae..0000000
--- a/extra/openntpd/openntpd.initd
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/openrc-run
-
-name="NTP Server"
-command=/usr/sbin/ntpd
-command_args="-d $NTPD_OPTS"
-command_background=yes
-pidfile=/run/$RC_SVCNAME.pid
-required_files=/etc/ntpd.conf
-
-depend() {
- need net
- provide ntp-client
- use dns logger
-}