summaryrefslogtreecommitdiff
path: root/net-misc/ntp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /net-misc/ntp/files
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'net-misc/ntp/files')
-rw-r--r--net-misc/ntp/files/ntp-4.2.8-gc-tests.patch41
-rw-r--r--net-misc/ntp/files/ntpdate.service-r114
-rw-r--r--net-misc/ntp/files/sntp.service-r214
3 files changed, 0 insertions, 69 deletions
diff --git a/net-misc/ntp/files/ntp-4.2.8-gc-tests.patch b/net-misc/ntp/files/ntp-4.2.8-gc-tests.patch
deleted file mode 100644
index 19f0c0f8bfe4..000000000000
--- a/net-misc/ntp/files/ntp-4.2.8-gc-tests.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Avoid building problematic tests on platforms
-whose linker does not support --gc-sections.
-
-https://bugs.ntp.org/show_bug.cgi?id=3601
-https://bugs.gentoo.org/564018
-
---- a/sntp/m4/ntp_problemtests.m4 2019-09-23 07:19:18.545861137 +0200
-+++ b/sntp/m4/ntp_problemtests.m4 2019-09-23 07:19:18.545861137 +0200
-@@ -33,6 +33,10 @@
- no:0:*-*-solaris*) ;;
- *) ntp_test_ntp_restrict="yes" ;;
- esac
-+case "$ntp_cv_gc_sections_runs" in
-+ no) ntp_test_ntp_restrict="no" ;;
-+ * ) ;;
-+esac
- AC_MSG_RESULT([$ntp_test_ntp_restrict])
- AM_CONDITIONAL([BUILD_TEST_NTP_RESTRICT], [test x$ntp_test_ntp_restrict = xyes])
-
-@@ -43,6 +47,10 @@
- no:0:*-*-solaris*) ;;
- *) ntp_test_ntp_scanner="yes" ;;
- esac
-+case "$ntp_cv_gc_sections_runs" in
-+ no) ntp_test_ntp_scanner="no" ;;
-+ * ) ;;
-+esac
- AC_MSG_RESULT([$ntp_test_ntp_scanner])
- AM_CONDITIONAL([BUILD_TEST_NTP_SCANNER], [test x$ntp_test_ntp_scanner = xyes])
-
-@@ -53,6 +61,10 @@
- no:0:*-*-solaris*) ;;
- *) ntp_test_ntp_signd="yes" ;;
- esac
-+case "$ntp_cv_gc_sections_runs" in
-+ no) ntp_test_ntp_signd="no" ;;
-+ * ) ;;
-+esac
- AC_MSG_RESULT([$ntp_test_ntp_signd])
- AM_CONDITIONAL([BUILD_TEST_NTP_SIGND], [test x$ntp_test_ntp_signd = xyes])
-
diff --git a/net-misc/ntp/files/ntpdate.service-r1 b/net-misc/ntp/files/ntpdate.service-r1
deleted file mode 100644
index f9bc9ddefc90..000000000000
--- a/net-misc/ntp/files/ntpdate.service-r1
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Set time via NTP using ntpdate
-After=network-online.target nss-lookup.target
-Before=time-sync.target
-Wants=time-sync.target
-Conflicts=systemd-timesyncd.service
-
-[Service]
-Type=oneshot
-ExecStart=/usr/sbin/ntpdate -b -u $SERVER
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-misc/ntp/files/sntp.service-r2 b/net-misc/ntp/files/sntp.service-r2
deleted file mode 100644
index 9bdd578ffbc7..000000000000
--- a/net-misc/ntp/files/sntp.service-r2
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=Set time via SNTP
-After=network.target NetworkManager-wait-online.service nss-lookup.target
-Before=time-sync.target
-Wants=time-sync.target
-Conflicts=systemd-timesyncd.service
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/sntp -s $SERVER
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target