1 |
commit: 245406e62ec632beac07fb381c49fb40c14c9827 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 7 03:03:20 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 7 03:07:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245406e6 |
7 |
|
8 |
net-misc/sntpd: Version bump to 3.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
net-misc/sntpd/Manifest | 1 + |
13 |
net-misc/sntpd/sntpd-3.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/sntpd/Manifest b/net-misc/sntpd/Manifest |
17 |
index 299ceb8f52e0..88cb705ab5f2 100644 |
18 |
--- a/net-misc/sntpd/Manifest |
19 |
+++ b/net-misc/sntpd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sntpd-3.0.tar.gz 151995 BLAKE2B a67615c874fd119e083d99d269a92a550d875a18a973e0b2904cab1fe6631b6c4e98d86959fbd9c1a387396f1854ed1c264920e2b40e6355871cbc8a4e40a4b5 SHA512 664e95e590b329dc847275c99829711c159bf91fadb2a90989c2706fbd8b074480146a7a05c5532a1bbfcaebd4b489262a44e418fa8ac57362c4f7db659fd1ea |
22 |
+DIST sntpd-3.1.tar.gz 157608 BLAKE2B 3a793e50bc2ee4e5540e10b134ab945bc0993a81342735c3046798738ee14206cdcbaa4d3a316031bd39aaee3ed4c702db2cf85b8ad64ac5d90e19d35c467abf SHA512 6d7693ecf0167aba59a1947c707894896e2b3caaef75354a5794341fce61062562c1c5521b60ddc6154af73837360e3946121c82e3414bb96663747cfc2ea487 |
23 |
|
24 |
diff --git a/net-misc/sntpd/sntpd-3.1.ebuild b/net-misc/sntpd/sntpd-3.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..4d901ec1784a |
27 |
--- /dev/null |
28 |
+++ b/net-misc/sntpd/sntpd-3.1.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit systemd |
36 |
+ |
37 |
+DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client and server for unix-alike systems" |
38 |
+HOMEPAGE="https://github.com/troglobit/sntpd" |
39 |
+SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
44 |
+IUSE="adjtimex systemd" |
45 |
+ |
46 |
+RDEPEND="systemd? ( sys-apps/systemd )" |
47 |
+DEPEND="${RDEPEND}" |
48 |
+ |
49 |
+src_configure() { |
50 |
+ local myeconfargs=( |
51 |
+ $(use_with adjtimex) |
52 |
+ $(use_with systemd systemd $(systemd_get_systemunitdir)) |
53 |
+ --with-ntpclient |
54 |
+ ) |
55 |
+ |
56 |
+ econf "${myeconfargs[@]}" |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ default |
61 |
+ |
62 |
+ newinitd "${FILESDIR}"/sntpd.initd-r1 sntpd |
63 |
+ newconfd "${FILESDIR}"/sntpd.confd sntpd |
64 |
+} |