From 5765102845894fd50cb0ec8f2f5fbc641eb8bd4a Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Mon, 10 Dec 2018 14:56:12 -0800 Subject: net-misc/lldpd: Version bump to 1.0.3 Closes: https://bugs.gentoo.org/672782 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Patrick McLean --- net-misc/lldpd/Manifest | 2 +- net-misc/lldpd/lldpd-1.0.2.ebuild | 104 -------------------------------------- net-misc/lldpd/lldpd-1.0.3.ebuild | 104 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 105 deletions(-) delete mode 100644 net-misc/lldpd/lldpd-1.0.2.ebuild create mode 100644 net-misc/lldpd/lldpd-1.0.3.ebuild diff --git a/net-misc/lldpd/Manifest b/net-misc/lldpd/Manifest index 8e9d18d67374..31d5455509f7 100644 --- a/net-misc/lldpd/Manifest +++ b/net-misc/lldpd/Manifest @@ -1,3 +1,3 @@ DIST lldpd-0.9.3.tar.gz 1601102 BLAKE2B 0ba31d20dad9770c93fa4930a7c439273c36e5cebdb0b4a1674f0a375008f642e33d71b9668c91313ec4bb3311e1b4bd22d0996ed6347d2cacfd7cce24536a58 SHA512 0d40d77bfde78f9ceece56968981f3a36bd7e683b12de05e84e5da0409b8e0d06062e5d665942637a66164af0254a6ac3d1a327aab3bcb48ec91ecfdd2693283 DIST lldpd-1.0.1.tar.gz 1590903 BLAKE2B 37ff1c042537ac31f394986f1bbd3faf13105d07f340ed045a4bbc196912c0c017a5d60b2c6a89b0da9faa5a7ff8e9c4ef0d4d01a39504a31c23288a89eb92a3 SHA512 61b2a7a3a78276c613c6d0b34eb625e69e5c8a206b6658a167d6a09ac6d0e1c943e46c0ff6fc3538a791d9947f193185b65848da581b3d6ecb9bc0befadde8dd -DIST lldpd-1.0.2.tar.gz 1605391 BLAKE2B 8050b7461d4cb00c8db3c5eaa9c1fdabc9715e2b673efd9c76024448aa46363836f66b9ded9e0aa27414a742c7b1bce789394045a304839ba376e50d3d3851e4 SHA512 910a0f0211eb39deaa3291c37ec0eaaa5f762565ae2198d568b6c9ddaaa62f1f2283bc92013db54852e22a68aea4e0ba09ea25f9fb368702755e69c4de919e0b +DIST lldpd-1.0.3.tar.gz 1605563 BLAKE2B 968d1c2e046049fd9ba9e9af7b8cb4f531fbd99f41a9157679f3694f800b0da1a4dd3b21feac583fa5cde3f57b022e2d6ee543ea349e1136037ba10419e3c855 SHA512 bae121a707d06726830dbb6b45210c1ed23aa2a99349a68d088b3ae3109504a6b462c7b0abf8543297083294519be2878779edf1a41bb73fe002bb6c9f966ef1 diff --git a/net-misc/lldpd/lldpd-1.0.2.ebuild b/net-misc/lldpd/lldpd-1.0.2.ebuild deleted file mode 100644 index 09b8552f81f0..000000000000 --- a/net-misc/lldpd/lldpd-1.0.2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# 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}/lldpd-0.9.5-seccomp-add-socket-ops.patch" - "${FILESDIR}/lldpd-1.0.1-seccomp-add-brk.patch" - "${FILESDIR}/lldpd-1.0.2-seccomp-add-misc.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 -} diff --git a/net-misc/lldpd/lldpd-1.0.3.ebuild b/net-misc/lldpd/lldpd-1.0.3.ebuild new file mode 100644 index 000000000000..09b8552f81f0 --- /dev/null +++ b/net-misc/lldpd/lldpd-1.0.3.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2018 Gentoo Authors +# 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}/lldpd-0.9.5-seccomp-add-socket-ops.patch" + "${FILESDIR}/lldpd-1.0.1-seccomp-add-brk.patch" + "${FILESDIR}/lldpd-1.0.2-seccomp-add-misc.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 +} -- cgit v1.2.3-65-gdbad