commit:     872551ca7d72a537c0aeb6f7cbab420bccae84f4
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 27 19:46:03 2018 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 19:46:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872551ca

net-misc/lldpd: Version bump to 0.9.9

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 net-misc/lldpd/Manifest           |   1 +
 net-misc/lldpd/lldpd-0.9.9.ebuild | 102 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/net-misc/lldpd/Manifest b/net-misc/lldpd/Manifest
index 070aaa38196..8c2973be6b1 100644
--- a/net-misc/lldpd/Manifest
+++ b/net-misc/lldpd/Manifest
@@ -1,3 +1,4 @@
 DIST lldpd-0.9.3.tar.gz 1601102 BLAKE2B 
0ba31d20dad9770c93fa4930a7c439273c36e5cebdb0b4a1674f0a375008f642e33d71b9668c91313ec4bb3311e1b4bd22d0996ed6347d2cacfd7cce24536a58
 SHA512 
0d40d77bfde78f9ceece56968981f3a36bd7e683b12de05e84e5da0409b8e0d06062e5d665942637a66164af0254a6ac3d1a327aab3bcb48ec91ecfdd2693283
 DIST lldpd-0.9.7.tar.gz 1619527 BLAKE2B 
20d255d47cdc92deb65f5f1e43322ace26b3169db1511bb8e534fa8d935e97b4f123be544980f39cbb0764030ace81d087810397df3d076094cda98829375b8f
 SHA512 
6b087de11b54c3f731498081680c836a28b882b7e925150d8ca3a582538f6a9c294d1e94b8e906a7cbb40e9663eedb33699eddb870c186da4d88cf3a88238ae2
 DIST lldpd-0.9.8.tar.gz 1620806 BLAKE2B 
fb813f827f3adf9db9fe911c10d221f5d28c14f86e50b2d8a15d64e1794bb8a1cb93ca1df4b91cc5dc30c730026ebc88bc7549043ca5a12dd8371b5911890e6c
 SHA512 
d3822d4dbb91cd10e678aacd176c83117d8682cfaf928eab8a0363ef40ca54a6f2d88759f219d0e524da88ad6e283d3c4f33a4e5d01761c5d23b02d7ee1083d6
+DIST lldpd-0.9.9.tar.gz 1615627 BLAKE2B 
3518003aa92b499c32dc07a2a3c12fa6ff30a4feda215ce80e4aacf66e7b9ac70f85d07f39e55bb24c8ec7742f93f85fb0d048005a6fb0bc0bef9ff5f81b57ba
 SHA512 
2e517743069da18d406f095e879fa00b1c593e868164e2113db4629bedfa0f250c694f8c85ac5939e6e8feba9de05656bcd1baec3a9b1933e2157a513ffc5a64

diff --git a/net-misc/lldpd/lldpd-0.9.9.ebuild 
b/net-misc/lldpd/lldpd-0.9.9.ebuild
new file mode 100644
index 00000000000..e555b6b4f7e
--- /dev/null
+++ b/net-misc/lldpd/lldpd-0.9.9.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils user systemd bash-completion-r1 autotools
+
+DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)"
+HOMEPAGE="https://vincentbernat.github.com/lldpd/";
+SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz";
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers
+       seccomp sonmp snmp static-libs test readline xml zsh-completion"
+
+RDEPEND="dev-libs/libbsd
+       >=dev-libs/libevent-2.0.5:=
+       snmp? ( net-analyzer/net-snmp[extensible(+)] )
+       xml? ( dev-libs/libxml2 )
+       seccomp? ( sys-libs/libseccomp )
+       zsh-completion? ( app-shells/zsh )"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       doc? (
+               graph? ( app-doc/doxygen[dot] )
+               !graph? ( app-doc/doxygen )
+       )
+       test? ( dev-libs/check )"
+
+REQUIRED_USE="graph? ( doc )"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-0.9.5-seccomp-add-socket-ops.patch"
+)
+
+pkg_setup() {
+       ebegin "Creating lldpd user and group"
+       enewgroup ${PN}
+       enewuser ${PN} -1 -1 -1 ${PN}
+       eend $?
+}
+
+src_prepare() {
+       default
+
+       eautoreconf
+       elibtoolize
+}
+
+src_configure() {
+       econf \
+               --without-embedded-libevent \
+               --with-privsep-user=${PN} \
+               --with-privsep-group=${PN} \
+               --with-privsep-chroot=/run/${PN} \
+               --with-lldpd-ctl-socket=/run/${PN}.socket \
+               --with-lldpd-pid-file=/run/${PN}.pid \
+               --docdir=/usr/share/doc/${PF} \
+               $(use_enable cdp) \
+               $(use_enable doc doxygen-man) \
+               $(use_enable doc doxygen-pdf) \
+               $(use_enable doc doxygen-html) \
+               $(use_enable dot1) \
+               $(use_enable dot3) \
+               $(use_enable edp) \
+               $(use_enable fdp) \
+               $(use_enable graph doxygen-dot) \
+               $(use_enable lldpmed) \
+               $(use_enable old-kernel oldies) \
+               $(use_enable sonmp) \
+               $(use_enable static-libs static) \
+               $(use_with readline) \
+               $(use_enable sanitizers) \
+               $(use_with seccomp) \
+               $(use_with snmp) \
+               $(use_with xml)
+}
+
+src_compile() {
+       emake
+       use doc && emake doxygen-doc
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       prune_libtool_files
+
+       newinitd "${FILESDIR}"/${PN}-initd-5 ${PN}
+       newconfd "${FILESDIR}"/${PN}-confd-1 ${PN}
+       newbashcomp src/client/completion/lldpcli lldpcli
+
+       use doc && dodoc -r doxygen/html
+
+       insinto /etc
+       doins "${FILESDIR}/lldpd.conf"
+       keepdir /etc/${PN}.d
+
+       systemd_dounit "${FILESDIR}"/${PN}.service
+       systemd_newtmpfilesd "${FILESDIR}"/tmpfilesd ${PN}.conf
+}

Reply via email to