summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-21 05:54:58 +0000
committerSam James <sam@gentoo.org>2023-01-21 06:09:54 +0000
commiteca068b0dfe29c06a40d38846884cbdd3ba25663 (patch)
treeba2af94e9f5dddec6f7450814df4627c9cebc1ee /net-misc/ptpd
parentmedia-gfx/colorhug-client: Delete (diff)
downloadgentoo-eca068b0dfe29c06a40d38846884cbdd3ba25663.tar.gz
gentoo-eca068b0dfe29c06a40d38846884cbdd3ba25663.tar.bz2
gentoo-eca068b0dfe29c06a40d38846884cbdd3ba25663.zip
net-misc/ptpd: drop 2.3.1-r1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ptpd')
-rw-r--r--net-misc/ptpd/ptpd-2.3.1-r1.ebuild59
1 files changed, 0 insertions, 59 deletions
diff --git a/net-misc/ptpd/ptpd-2.3.1-r1.ebuild b/net-misc/ptpd/ptpd-2.3.1-r1.ebuild
deleted file mode 100644
index 9c358e02c8f6..000000000000
--- a/net-misc/ptpd/ptpd-2.3.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic systemd
-
-DESCRIPTION="Precision Time Protocol daemon"
-HOMEPAGE="https://github.com/ptpd/ptpd"
-
-SRC_URI="https://github.com/ptpd/ptpd/archive/${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~x86"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="debug experimental ntp +pcap snmp slave-only +statistics"
-RDEPEND="
- pcap? ( net-libs/libpcap )
- snmp? ( net-analyzer/net-snmp )"
-DEPEND="${RDEPEND}"
-RDEPEND="${RDEPEND}
- ntp? ( net-misc/ntp )"
-
-S=${WORKDIR}/ptpd-${P}
-
-src_prepare() {
- eapply_user
- sed -i -e 's/U64/struct counter64/' src/dep/snmp.c || die "sed failed"
- eautoreconf
-}
-
-src_configure() {
- append-flags -fno-strict-aliasing
- econf \
- --enable-daemon \
- $(use_enable snmp) \
- $(use_enable experimental experimental-options) \
- $(use_enable statistics) \
- $(use_enable debug runtime-debug) \
- $(use_enable pcap) \
- $(use_enable slave-only)
-}
-
-src_install() {
- emake install DESTDIR="${D}"
-
- insinto /etc
- newins "src/ptpd2.conf.minimal" ptpd2.conf
-
- newinitd "${FILESDIR}/ptpd2.rc" ptpd2
- newconfd "${FILESDIR}/ptpd2.confd" ptpd2
-
- systemd_dounit "${FILESDIR}/ptpd2.service"
-}
-
-pkg_postinst() {
- elog "Do not forget to setup correct network interface."
- elog "Change the config file ${EROOT}etc/ptpd2.conf to suit your needs."
-}