public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/, net-misc/sntpd/files/
@ 2020-08-23 18:14 Conrad Kostecki
  0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2020-08-23 18:14 UTC (permalink / raw
  To: gentoo-commits

commit:     eaff0feca38973b7a2828ce835323b1a160a9a10
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 16:35:42 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 17:21:43 2020 +0000
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 <conikost <AT> 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 00000000000..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 00000000000..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 @@
 		<remote-id type="github">troglobit/sntpd</remote-id>
 	</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>

diff --git a/net-misc/sntpd/sntpd-3.0.ebuild b/net-misc/sntpd/sntpd-3.0.ebuild
new file mode 100644
index 00000000000..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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/, net-misc/sntpd/files/
@ 2020-08-25 10:36 Conrad Kostecki
  0 siblings, 0 replies; 2+ messages in thread
From: Conrad Kostecki @ 2020-08-25 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     366bbe685243e1053ef1226ef819c4eb5d2df132
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 10:35:17 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 10:36:13 2020 +0000
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 <conikost <AT> 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..00000000000
--- 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..00000000000
--- 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
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-25 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-25 10:36 [gentoo-commits] repo/gentoo:master commit in: net-misc/sntpd/, net-misc/sntpd/files/ Conrad Kostecki
  -- strict thread matches above, loose matches on Subject: below --
2020-08-23 18:14 Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox