1 |
commit: c23aecb5a87b1108cb02b8370dc760ee47dfc435 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jun 25 19:03:06 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 27 20:49:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c23aecb5 |
7 |
|
8 |
net-misc/clockspeed: EAPI7, use HTTPS |
9 |
|
10 |
Package-Manager: Portage-2.3.101, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/16419 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
net-misc/clockspeed/clockspeed-0.62-r7.ebuild | 44 +++++++++++++++++++++++++++ |
16 |
1 file changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/clockspeed/clockspeed-0.62-r7.ebuild b/net-misc/clockspeed/clockspeed-0.62-r7.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..69bb561244a |
21 |
--- /dev/null |
22 |
+++ b/net-misc/clockspeed/clockspeed-0.62-r7.ebuild |
23 |
@@ -0,0 +1,44 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+inherit flag-o-matic toolchain-funcs |
30 |
+ |
31 |
+DESCRIPTION="Simple Network Time Protocol (NTP) client" |
32 |
+HOMEPAGE="https://cr.yp.to/clockspeed.html" |
33 |
+ |
34 |
+# this is the trailing part of the name for the latest leapseconds file. |
35 |
+LEAPSECONDS_DATE="20081114" |
36 |
+ |
37 |
+SRC_URI="https://cr.yp.to/clockspeed/${P}.tar.gz |
38 |
+ https://dev.gentoo.org/~pacho/maintainer-needed/leapsecs.dat."$LEAPSECONDS_DATE"" |
39 |
+ |
40 |
+LICENSE="all-rights-reserved" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~mips ~x86" |
43 |
+IUSE="static selinux" |
44 |
+RESTRICT="mirror bindist test" |
45 |
+ |
46 |
+DEPEND="sys-apps/groff" |
47 |
+RDEPEND="selinux? ( sec-policy/selinux-clockspeed ) |
48 |
+ net-dns/djbdns" |
49 |
+ |
50 |
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) |
51 |
+ |
52 |
+src_configure() { |
53 |
+ echo "$(tc-getCC) ${CFLAGS} ${ASFLAGS}" > conf-cc || die |
54 |
+ use static && append-ldflags -static |
55 |
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin clockspeed clockadd clockview sntpclock taiclock taiclockd |
60 |
+ dosbin "${FILESDIR}"/ntpclockset |
61 |
+ |
62 |
+ doman *.1 |
63 |
+ dodoc BLURB CHANGES INSTALL README THANKS TODO |
64 |
+ |
65 |
+ insinto /var/lib/clockspeed |
66 |
+ newins "${DISTDIR}"/leapsecs.dat."$LEAPSECONDS_DATE" leapsecs.dat |
67 |
+} |