mgorny 15/06/12 10:55:53
Added: ptpd-2.3.1_rc4.ebuild ptpd-2.3.0.ebuild
metadata.xml ChangeLog
Log:
New ebuild from Jan Breuer: PTPd -- implementation of Precise Time Protocol
(IEEE 1588). https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/144.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
EFB4464E!)
Revision Changes Path
1.1 net-misc/ptpd/ptpd-2.3.1_rc4.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/ptpd-2.3.1_rc4.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/ptpd-2.3.1_rc4.ebuild?rev=1.1&content-type=text/plain
Index: ptpd-2.3.1_rc4.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ptpd/ptpd-2.3.1_rc4.ebuild,v 1.1
2015/06/12 10:55:53 mgorny Exp $
EAPI=5
inherit autotools eutils flag-o-matic systemd
DESCRIPTION="Precision Time Protocol daemon"
HOMEPAGE="http://ptpd.sf.net"
MY_PV=${PV/_rc*/}
MY_P=${P/_rc/-rc}
SRC_URI="mirror://sourceforge/ptpd/${MY_PV}/${MY_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}/${MY_P}"
src_prepare() {
# QA
epatch "${FILESDIR}/${P}-debug-display.patch"
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 /etc/ptpd2.conf to suit your needs."
}
1.1 net-misc/ptpd/ptpd-2.3.0.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/ptpd-2.3.0.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/ptpd-2.3.0.ebuild?rev=1.1&content-type=text/plain
Index: ptpd-2.3.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ptpd/ptpd-2.3.0.ebuild,v 1.1
2015/06/12 10:55:53 mgorny Exp $
EAPI=5
inherit autotools eutils flag-o-matic systemd
DESCRIPTION="Precision Time Protocol daemon"
HOMEPAGE="http://ptpd.sf.net"
SRC_URI="mirror://sourceforge/ptpd/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
LICENSE="BSD"
SLOT="0"
IUSE="debug experimental ntp snmp +statistics"
RDEPEND="
ntp? ( net-misc/ntp )
snmp? ( net-analyzer/net-snmp:= )
net-libs/libpcap:="
DEPEND="${RDEPEND}"
src_prepare() {
# QA
epatch "${FILESDIR}/${P}-statistics-clear.patch"
epatch "${FILESDIR}/${P}-ntpdc.patch"
eautoreconf
}
src_configure() {
append-flags -fno-strict-aliasing
econf \
--enable-daemon \
$(use_enable snmp) \
$(use_enable experimental experimental-options) \
$(use_enable statistics) \
$(use_enable ntp ntpdc) \
$(use_enable debug runtime-debug)
}
src_install() {
emake install DESTDIR="${D}"
insinto /etc
newins "src/ptpd2.conf.minimal" ptpd2.conf
dodoc "src/ptpd2.conf.default-full"
dodoc "src/ptpd2.conf.minimal"
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 /etc/ptpd2.conf to suit your needs."
}
1.1 net-misc/ptpd/metadata.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/metadata.xml?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>proxy-maintainers</herd>
<maintainer>
<email>[email protected]</email>
<name>Jan Breuer</name>
</maintainer>
<use>
<flag name="debug">Enable debugging informations</flag>
<flag name="experimental">Enable experimental features</flag>
<flag name="ntp">Enable NTPD cooperation</flag>
<flag name="snmp">Require <pkg>net-analyzer/net-snmp</pkg> to
enable SNMP configuration</flag>
<flag name="statistics">Enable compution of statistics</flag>
<flag name="pcap">Require <pkg>net-libs/libpcap</pkg> to allow
layer 2 (raw Ethernet) transport</flag>
<flag name="slave-only">Enable slave only operation (remove
master mode functionality)</flag>
</use>
<upstream>
<remote-id type="sourceforge">ptpd</remote-id>
</upstream>
</pkgmetadata>
1.1 net-misc/ptpd/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/ChangeLog?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ptpd/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for net-misc/ptpd
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ptpd/ChangeLog,v 1.1 2015/06/12
10:55:53 mgorny Exp $
*ptpd-2.3.1_rc4 (12 Jun 2015)
*ptpd-2.3.0 (12 Jun 2015)
12 Jun 2015; Michał Górny <[email protected]> +files/ptpd-2.3.0-ntpdc.patch,
+files/ptpd-2.3.0-statistics-clear.patch,
+files/ptpd-2.3.1_rc4-debug-display.patch, +files/ptpd2.confd,
+files/ptpd2.rc, +files/ptpd2.service, +metadata.xml, +ptpd-2.3.0.ebuild,
+ptpd-2.3.1_rc4.ebuild:
New ebuild from Jan Breuer: PTPd -- implementation of Precise Time Protocol
(IEEE 1588). https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/144.