1 |
commit: 61335110fb03aa12004394835782fb8956f0d65f |
2 |
Author: Jan Breuer <jan.breuer <AT> mobatime <DOT> cz> |
3 |
AuthorDate: Wed Dec 6 09:40:23 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 6 11:46:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61335110 |
7 |
|
8 |
net-misc/ptpd: remove broken package 2.3.1 |
9 |
|
10 |
Prevent further bug reports |
11 |
|
12 |
Bug: https://bugs.gentoo.org/639990 |
13 |
Bug: https://bugs.gentoo.org/587328 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/6465 |
15 |
|
16 |
net-misc/ptpd/ptpd-2.3.1.ebuild | 57 ----------------------------------------- |
17 |
1 file changed, 57 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/ptpd/ptpd-2.3.1.ebuild b/net-misc/ptpd/ptpd-2.3.1.ebuild |
20 |
deleted file mode 100644 |
21 |
index 3fcbbbc2a23..00000000000 |
22 |
--- a/net-misc/ptpd/ptpd-2.3.1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,57 +0,0 @@ |
25 |
-# Copyright 1999-2016 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI=5 |
29 |
- |
30 |
-inherit autotools eutils flag-o-matic systemd |
31 |
- |
32 |
-DESCRIPTION="Precision Time Protocol daemon" |
33 |
-HOMEPAGE="https://github.com/ptpd/ptpd" |
34 |
- |
35 |
-SRC_URI="https://github.com/ptpd/ptpd/archive/${P}.tar.gz" |
36 |
-KEYWORDS="~amd64 ~arm ~x86" |
37 |
- |
38 |
-LICENSE="BSD" |
39 |
-SLOT="0" |
40 |
-IUSE="debug experimental ntp +pcap snmp slave-only +statistics" |
41 |
-RDEPEND=" |
42 |
- pcap? ( net-libs/libpcap ) |
43 |
- snmp? ( net-analyzer/net-snmp )" |
44 |
-DEPEND="${RDEPEND}" |
45 |
-RDEPEND="${RDEPEND} |
46 |
- ntp? ( net-misc/ntp )" |
47 |
- |
48 |
-S=${WORKDIR}/ptpd-${P} |
49 |
- |
50 |
-src_prepare() { |
51 |
- eautoreconf |
52 |
-} |
53 |
- |
54 |
-src_configure() { |
55 |
- append-flags -fno-strict-aliasing |
56 |
- econf \ |
57 |
- --enable-daemon \ |
58 |
- $(use_enable snmp) \ |
59 |
- $(use_enable experimental experimental-options) \ |
60 |
- $(use_enable statistics) \ |
61 |
- $(use_enable debug runtime-debug) \ |
62 |
- $(use_enable pcap) \ |
63 |
- $(use_enable slave-only) |
64 |
-} |
65 |
- |
66 |
-src_install() { |
67 |
- emake install DESTDIR="${D}" |
68 |
- |
69 |
- insinto /etc |
70 |
- newins "src/ptpd2.conf.minimal" ptpd2.conf |
71 |
- |
72 |
- newinitd "${FILESDIR}/ptpd2.rc" ptpd2 |
73 |
- newconfd "${FILESDIR}/ptpd2.confd" ptpd2 |
74 |
- |
75 |
- systemd_dounit "${FILESDIR}/ptpd2.service" |
76 |
-} |
77 |
- |
78 |
-pkg_postinst() { |
79 |
- elog "Do not forget to setup correct network interface." |
80 |
- elog "Change the config file /etc/ptpd2.conf to suit your needs." |
81 |
-} |