diff options
-rw-r--r-- | net-misc/sntpd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/sntpd/files/ntpclient-2018.244-linux-headers-5.2.patch | 10 | ||||
-rw-r--r-- | net-misc/sntpd/metadata.xml | 4 | ||||
-rw-r--r-- | net-misc/sntpd/sntpd-2.2018.244-r1.ebuild | 36 |
4 files changed, 0 insertions, 51 deletions
diff --git a/net-misc/sntpd/Manifest b/net-misc/sntpd/Manifest index f10c074aef37..299ceb8f52e0 100644 --- a/net-misc/sntpd/Manifest +++ b/net-misc/sntpd/Manifest @@ -1,2 +1 @@ -DIST ntpclient-2018_244.tar.xz 108056 BLAKE2B 52c554fe238521e8820111a19220a532406137b2e21c67558fd8252ea2e4d60a7827f4acd1a2868f7a7f6f09c7b25c4267f4cd28773088a12132fa580b02bb4c SHA512 4c1c7e1088365679182507e21386bcf670713aed4b636687fbbe226219fdcbc25e27e2369912a78c662058cba9b6b409fb90978315806a3ed5ea59c70133e4bc DIST sntpd-3.0.tar.gz 151995 BLAKE2B a67615c874fd119e083d99d269a92a550d875a18a973e0b2904cab1fe6631b6c4e98d86959fbd9c1a387396f1854ed1c264920e2b40e6355871cbc8a4e40a4b5 SHA512 664e95e590b329dc847275c99829711c159bf91fadb2a90989c2706fbd8b074480146a7a05c5532a1bbfcaebd4b489262a44e418fa8ac57362c4f7db659fd1ea diff --git a/net-misc/sntpd/files/ntpclient-2018.244-linux-headers-5.2.patch b/net-misc/sntpd/files/ntpclient-2018.244-linux-headers-5.2.patch deleted file mode 100644 index df87cb6ceb22..000000000000 --- a/net-misc/sntpd/files/ntpclient-2018.244-linux-headers-5.2.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/ntpclient.c 2018-08-27 20:38:12.000000000 +0200 -+++ b/src/ntpclient.c 2019-08-19 20:11:59.000000000 +0200 -@@ -40,6 +40,7 @@ - #include <unistd.h> - #include <errno.h> - #ifdef PRECISION_SIOCGSTAMP -+#include <linux/sockios.h> - #include <sys/ioctl.h> - #endif - #ifdef USE_OBSOLETE_GETTIMEOFDAY diff --git a/net-misc/sntpd/metadata.xml b/net-misc/sntpd/metadata.xml index 0d0a5d1ae349..9bb3f3c88e32 100644 --- a/net-misc/sntpd/metadata.xml +++ b/net-misc/sntpd/metadata.xml @@ -19,9 +19,5 @@ </upstream> <use> <flag name="adjtimex">Install adjtimex for the clock adjustment algorithm.</flag> - <flag name="debug">Enable analysis code path and debugging of NTP protocol.</flag> - <flag name="embedded">Build a very small ntpclient, from OpenWRT project.</flag> - <flag name="obsolete">Enable obsolete features, to use with kernel versions older than 3.0</flag> - <flag name="syslog">Enable logging to syslog instead of logging to stderr.</flag> </use> </pkgmetadata> diff --git a/net-misc/sntpd/sntpd-2.2018.244-r1.ebuild b/net-misc/sntpd/sntpd-2.2018.244-r1.ebuild deleted file mode 100644 index f6b938200cc1..000000000000 --- a/net-misc/sntpd/sntpd-2.2018.244-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="ntpclient" -MY_PV="${PV/2./}" -MY_P="${MY_PN}-${MY_PV/./_}" - -DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client for unix-alike systems" -HOMEPAGE="https://github.com/troglobit/sntpd" -SRC_URI="https://github.com/troglobit/sntpd/releases/download/${MY_PV}/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" -IUSE="debug embedded obsolete +syslog" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${MY_PN}-${MY_PV}-linux-headers-5.2.patch" -) - -src_configure() { - local myeconfargs=( - $(use_enable debug) - $(use_enable debug replay) - $(use_enable embedded mini) - $(use_enable obsolete) - $(use_enable !obsolete siocgstamp) - $(use_enable syslog) - ) - - econf "${myeconfargs[@]}" -} |