[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/
commit: f0b1d42503bbade5239e8ca9d812f43ea6be337c Author: Conrad Kostecki gentoo org> AuthorDate: Tue Dec 20 13:35:35 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Tue Dec 20 15:48:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b1d425 net-misc/sntpd: add soft blocker against net-misc/adjtimex Closes: https://bugs.gentoo.org/887151 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/{sntpd-3.1.ebuild => sntpd-3.1-r1.ebuild} | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-misc/sntpd/sntpd-3.1.ebuild b/net-misc/sntpd/sntpd-3.1-r1.ebuild similarity index 91% rename from net-misc/sntpd/sntpd-3.1.ebuild rename to net-misc/sntpd/sntpd-3.1-r1.ebuild index f7b2bb80a6a1..97c84bd647d9 100644 --- a/net-misc/sntpd/sntpd-3.1.ebuild +++ b/net-misc/sntpd/sntpd-3.1-r1.ebuild @@ -14,7 +14,10 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" IUSE="adjtimex systemd" -RDEPEND="systemd? ( sys-apps/systemd )" +RDEPEND=" + adjtimex? ( !net-misc/adjtimex ) + systemd? ( sys-apps/systemd ) +" DEPEND="${RDEPEND}" src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/
commit: aee2e5d82846abf2a60f1c061314f7167415b7ec Author: Conrad Kostecki gentoo org> AuthorDate: Wed Dec 7 22:12:09 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Dec 7 22:12:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aee2e5d8 net-misc/sntpd: drop 3.0-r2 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/Manifest| 1 - net-misc/sntpd/sntpd-3.0-r2.ebuild | 35 --- 2 files changed, 36 deletions(-) diff --git a/net-misc/sntpd/Manifest b/net-misc/sntpd/Manifest index 88cb705ab5f2..d4c925c0bed8 100644 --- a/net-misc/sntpd/Manifest +++ b/net-misc/sntpd/Manifest @@ -1,2 +1 @@ -DIST sntpd-3.0.tar.gz 151995 BLAKE2B a67615c874fd119e083d99d269a92a550d875a18a973e0b2904cab1fe6631b6c4e98d86959fbd9c1a387396f1854ed1c264920e2b40e6355871cbc8a4e40a4b5 SHA512 664e95e590b329dc847275c99829711c159bf91fadb2a90989c2706fbd8b074480146a7a05c5532a1bbfcaebd4b489262a44e418fa8ac57362c4f7db659fd1ea DIST sntpd-3.1.tar.gz 157608 BLAKE2B 3a793e50bc2ee4e5540e10b134ab945bc0993a81342735c3046798738ee14206cdcbaa4d3a316031bd39aaee3ed4c702db2cf85b8ad64ac5d90e19d35c467abf SHA512 6d7693ecf0167aba59a1947c707894896e2b3caaef75354a5794341fce61062562c1c5521b60ddc6154af73837360e3946121c82e3414bb96663747cfc2ea487 diff --git a/net-misc/sntpd/sntpd-3.0-r2.ebuild b/net-misc/sntpd/sntpd-3.0-r2.ebuild deleted file mode 100644 index f7b2bb80a6a1.. --- a/net-misc/sntpd/sntpd-3.0-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems" -HOMEPAGE="https://github.com/troglobit/sntpd; -SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" -IUSE="adjtimex systemd" - -RDEPEND="systemd? ( sys-apps/systemd )" -DEPEND="${RDEPEND}" - -src_configure() { - local myeconfargs=( - $(use_with adjtimex) - $(use_with systemd systemd $(systemd_get_systemunitdir)) - --with-ntpclient - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - newinitd "${FILESDIR}"/sntpd.initd-r1 sntpd - newconfd "${FILESDIR}"/sntpd.confd sntpd -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/
commit: 3a4cfc4ddc0d5337bb9015394c56767d1b0e7b3d Author: Conrad Kostecki gentoo org> AuthorDate: Wed Dec 7 22:11:18 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Dec 7 22:12:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a4cfc4d net-misc/sntpd: amd64 stable Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/sntpd-3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/sntpd/sntpd-3.1.ebuild b/net-misc/sntpd/sntpd-3.1.ebuild index 4d901ec1784a..793c75480981 100644 --- a/net-misc/sntpd/sntpd-3.1.ebuild +++ b/net-misc/sntpd/sntpd-3.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="adjtimex systemd" RDEPEND="systemd? ( sys-apps/systemd )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/
commit: d0291a38e5ae5b430476a4981530230d1069b49e Author: Conrad Kostecki gentoo org> AuthorDate: Wed Dec 7 22:11:47 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Dec 7 22:12:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0291a38 net-misc/sntpd: x86 stable Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/sntpd-3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/sntpd/sntpd-3.1.ebuild b/net-misc/sntpd/sntpd-3.1.ebuild index 793c75480981..f7b2bb80a6a1 100644 --- a/net-misc/sntpd/sntpd-3.1.ebuild +++ b/net-misc/sntpd/sntpd-3.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" IUSE="adjtimex systemd" RDEPEND="systemd? ( sys-apps/systemd )"
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/
commit: 245406e62ec632beac07fb381c49fb40c14c9827 Author: Matt Turner gentoo org> AuthorDate: Mon Nov 7 03:03:20 2022 + Commit: Matt Turner gentoo org> CommitDate: Mon Nov 7 03:07:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245406e6 net-misc/sntpd: Version bump to 3.1 Signed-off-by: Matt Turner gentoo.org> net-misc/sntpd/Manifest | 1 + net-misc/sntpd/sntpd-3.1.ebuild | 35 +++ 2 files changed, 36 insertions(+) diff --git a/net-misc/sntpd/Manifest b/net-misc/sntpd/Manifest index 299ceb8f52e0..88cb705ab5f2 100644 --- a/net-misc/sntpd/Manifest +++ b/net-misc/sntpd/Manifest @@ -1 +1,2 @@ DIST sntpd-3.0.tar.gz 151995 BLAKE2B a67615c874fd119e083d99d269a92a550d875a18a973e0b2904cab1fe6631b6c4e98d86959fbd9c1a387396f1854ed1c264920e2b40e6355871cbc8a4e40a4b5 SHA512 664e95e590b329dc847275c99829711c159bf91fadb2a90989c2706fbd8b074480146a7a05c5532a1bbfcaebd4b489262a44e418fa8ac57362c4f7db659fd1ea +DIST sntpd-3.1.tar.gz 157608 BLAKE2B 3a793e50bc2ee4e5540e10b134ab945bc0993a81342735c3046798738ee14206cdcbaa4d3a316031bd39aaee3ed4c702db2cf85b8ad64ac5d90e19d35c467abf SHA512 6d7693ecf0167aba59a1947c707894896e2b3caaef75354a5794341fce61062562c1c5521b60ddc6154af73837360e3946121c82e3414bb96663747cfc2ea487 diff --git a/net-misc/sntpd/sntpd-3.1.ebuild b/net-misc/sntpd/sntpd-3.1.ebuild new file mode 100644 index ..4d901ec1784a --- /dev/null +++ b/net-misc/sntpd/sntpd-3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems" +HOMEPAGE="https://github.com/troglobit/sntpd; +SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="adjtimex systemd" + +RDEPEND="systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + $(use_with adjtimex) + $(use_with systemd systemd $(systemd_get_systemunitdir)) + --with-ntpclient + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + newinitd "${FILESDIR}"/sntpd.initd-r1 sntpd + newconfd "${FILESDIR}"/sntpd.confd sntpd +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/files/, net-misc/sntpd/
commit: fd85407aea3c469d7fcca3deabc98fd94fda0b73 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Oct 9 13:20:35 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Fri Oct 9 13:20:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd85407a net-misc/sntpd: drop old version Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/Manifest| 1 - .../ntpclient-2018.244-linux-headers-5.2.patch | 10 -- net-misc/sntpd/metadata.xml| 4 --- net-misc/sntpd/sntpd-2.2018.244-r1.ebuild | 36 -- 4 files changed, 51 deletions(-) diff --git a/net-misc/sntpd/Manifest b/net-misc/sntpd/Manifest index f10c074aef3..299ceb8f52e 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 df87cb6ceb2..000 --- 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.0 +0200 -+++ b/src/ntpclient.c 2019-08-19 20:11:59.0 +0200 -@@ -40,6 +40,7 @@ - #include - #include - #ifdef PRECISION_SIOCGSTAMP -+#include - #include - #endif - #ifdef USE_OBSOLETE_GETTIMEOFDAY diff --git a/net-misc/sntpd/metadata.xml b/net-misc/sntpd/metadata.xml index 0d0a5d1ae34..9bb3f3c88e3 100644 --- a/net-misc/sntpd/metadata.xml +++ b/net-misc/sntpd/metadata.xml @@ -19,9 +19,5 @@ Install adjtimex for the clock adjustment algorithm. - Enable analysis code path and debugging of NTP protocol. - Build a very small ntpclient, from OpenWRT project. - Enable obsolete features, to use with kernel versions older than 3.0 - Enable logging to syslog instead of logging to stderr. 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 f6b938200cc..000 --- 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[@]}" -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/files/, net-misc/sntpd/
commit: a0afd56d1ce1f0d09006e62f182646657fb0f7b0 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Aug 25 10:32:58 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Tue Aug 25 10:36:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0afd56d net-misc/sntpd: fix creation of pidfile Also added missing systemd inherit. Closes: https://bugs.gentoo.org/738870 Closes: https://bugs.gentoo.org/738894 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/files/sntpd.initd-r1 | 14 ++ net-misc/sntpd/sntpd-3.0-r1.ebuild | 35 +++ 2 files changed, 49 insertions(+) diff --git a/net-misc/sntpd/files/sntpd.initd-r1 b/net-misc/sntpd/files/sntpd.initd-r1 new file mode 100644 index 000..ebe857af4af --- /dev/null +++ b/net-misc/sntpd/files/sntpd.initd-r1 @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="sntpd" +pidfile="/run/sntpd.pid" + +command="/usr/sbin/sntpd" +command_args="-n ${SNTPD_OPTS}" +command_background="true" + +depend() { + use net dns logger +} diff --git a/net-misc/sntpd/sntpd-3.0-r1.ebuild b/net-misc/sntpd/sntpd-3.0-r1.ebuild new file mode 100644 index 000..5edf61d7f02 --- /dev/null +++ b/net-misc/sntpd/sntpd-3.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems" +HOMEPAGE="https://github.com/troglobit/sntpd; +SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="adjtimex systemd" + +RDEPEND="systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + $(use_with adjtimex) + $(use_with systemd systemd $(systemd_get_systemunitdir)) + --with-ntpclient + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + newinitd "${FILESDIR}"/sntpd.initd-r1 sntpd + newconfd "${FILESDIR}"/sntpd.confd sntpd +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/, net-misc/sntpd/files/
commit: 366bbe685243e1053ef1226ef819c4eb5d2df132 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Aug 25 10:35:17 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Tue Aug 25 10:36:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366bbe68 net-misc/sntpd: drop old version Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/files/sntpd.initd | 13 - net-misc/sntpd/sntpd-3.0.ebuild | 33 - 2 files changed, 46 deletions(-) diff --git a/net-misc/sntpd/files/sntpd.initd b/net-misc/sntpd/files/sntpd.initd deleted file mode 100644 index 2e4c0652c94..000 --- a/net-misc/sntpd/files/sntpd.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="sntpd" -pidfile="/run/sntpd.pid" - -command="/usr/sbin/sntpd" -command_args="${SNTPD_OPTS}" - -depend() { - use net dns logger -} diff --git a/net-misc/sntpd/sntpd-3.0.ebuild b/net-misc/sntpd/sntpd-3.0.ebuild deleted file mode 100644 index 4b7079d372b..000 --- a/net-misc/sntpd/sntpd-3.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems" -HOMEPAGE="https://github.com/troglobit/sntpd; -SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="adjtimex systemd" - -RDEPEND="systemd? ( sys-apps/systemd )" -DEPEND="${RDEPEND}" - -src_configure() { - local myeconfargs=( - $(use_with adjtimex) - $(use_with systemd systemd $(systemd_get_systemunitdir)) - --with-ntpclient - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - newinitd "${FILESDIR}"/sntpd.initd sntpd - newconfd "${FILESDIR}"/sntpd.confd sntpd -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/, net-misc/sntpd/files/, profiles/updates/, net-misc/ntpclient/, ...
commit: 0bb4f0eae500cb0dbdcdd5b5a4573f1c2e2acf23 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Aug 23 16:30:40 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Aug 23 17:21:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb4f0ea net-misc/ntpclient: rename to net-misc/sntpd Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/{ntpclient => sntpd}/Manifest | 0 .../files/ntpclient-2018.244-linux-headers-5.2.patch | 0 net-misc/{ntpclient => sntpd}/metadata.xml | 0 .../ntpclient-2.2018.244-r1.ebuild => sntpd/sntpd-2.2018.244-r1.ebuild} | 0 profiles/updates/3Q-2020 | 1 + 5 files changed, 1 insertion(+) diff --git a/net-misc/ntpclient/Manifest b/net-misc/sntpd/Manifest similarity index 100% rename from net-misc/ntpclient/Manifest rename to net-misc/sntpd/Manifest diff --git a/net-misc/ntpclient/files/ntpclient-2018.244-linux-headers-5.2.patch b/net-misc/sntpd/files/ntpclient-2018.244-linux-headers-5.2.patch similarity index 100% rename from net-misc/ntpclient/files/ntpclient-2018.244-linux-headers-5.2.patch rename to net-misc/sntpd/files/ntpclient-2018.244-linux-headers-5.2.patch diff --git a/net-misc/ntpclient/metadata.xml b/net-misc/sntpd/metadata.xml similarity index 100% rename from net-misc/ntpclient/metadata.xml rename to net-misc/sntpd/metadata.xml diff --git a/net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild b/net-misc/sntpd/sntpd-2.2018.244-r1.ebuild similarity index 100% rename from net-misc/ntpclient/ntpclient-2.2018.244-r1.ebuild rename to net-misc/sntpd/sntpd-2.2018.244-r1.ebuild diff --git a/profiles/updates/3Q-2020 b/profiles/updates/3Q-2020 index e3cdea9ba6e..003ad9f74b2 100644 --- a/profiles/updates/3Q-2020 +++ b/profiles/updates/3Q-2020 @@ -146,3 +146,4 @@ move dev-libs/luise-bin dev-libs/luise slotmove ~app-editors/emacs-27.0.90 27-vcs 27 slotmove ~app-editors/emacs-27.0.91 27-vcs 27 slotmove =app-editors/emacs-27.1_rc* 27-vcs 27 +move net-misc/ntpclient net-misc/sntpd
[gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/, net-misc/sntpd/files/
commit: eaff0feca38973b7a2828ce835323b1a160a9a10 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Aug 23 16:35:42 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Aug 23 17:21:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaff0fec net-misc/sntpd: bump to version 3.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sntpd/Manifest | 1 + net-misc/sntpd/files/sntpd.confd | 5 + net-misc/sntpd/files/sntpd.initd | 13 + net-misc/sntpd/metadata.xml | 1 + net-misc/sntpd/sntpd-3.0.ebuild | 33 + 5 files changed, 53 insertions(+) diff --git a/net-misc/sntpd/Manifest b/net-misc/sntpd/Manifest index ee7f4f690cd..f10c074aef3 100644 --- a/net-misc/sntpd/Manifest +++ b/net-misc/sntpd/Manifest @@ -1 +1,2 @@ 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/sntpd.confd b/net-misc/sntpd/files/sntpd.confd new file mode 100644 index 000..ef7a12ef8a4 --- /dev/null +++ b/net-misc/sntpd/files/sntpd.confd @@ -0,0 +1,5 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Additional command line options +SNTPD_OPTS="-s 0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org" diff --git a/net-misc/sntpd/files/sntpd.initd b/net-misc/sntpd/files/sntpd.initd new file mode 100644 index 000..2e4c0652c94 --- /dev/null +++ b/net-misc/sntpd/files/sntpd.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="sntpd" +pidfile="/run/sntpd.pid" + +command="/usr/sbin/sntpd" +command_args="${SNTPD_OPTS}" + +depend() { + use net dns logger +} diff --git a/net-misc/sntpd/metadata.xml b/net-misc/sntpd/metadata.xml index 3582e10f27d..0d0a5d1ae34 100644 --- a/net-misc/sntpd/metadata.xml +++ b/net-misc/sntpd/metadata.xml @@ -18,6 +18,7 @@ troglobit/sntpd + Install adjtimex for the clock adjustment algorithm. Enable analysis code path and debugging of NTP protocol. Build a very small ntpclient, from OpenWRT project. Enable obsolete features, to use with kernel versions older than 3.0 diff --git a/net-misc/sntpd/sntpd-3.0.ebuild b/net-misc/sntpd/sntpd-3.0.ebuild new file mode 100644 index 000..4b7079d372b --- /dev/null +++ b/net-misc/sntpd/sntpd-3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems" +HOMEPAGE="https://github.com/troglobit/sntpd; +SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="adjtimex systemd" + +RDEPEND="systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + $(use_with adjtimex) + $(use_with systemd systemd $(systemd_get_systemunitdir)) + --with-ntpclient + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + newinitd "${FILESDIR}"/sntpd.initd sntpd + newconfd "${FILESDIR}"/sntpd.confd sntpd +}