summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2013-08-05 21:15:17 +0000
committerPatrick McLean <chutzpah@gentoo.org>2013-08-05 21:15:17 +0000
commitfe627967b0b523e707ae5c70e45f6b7f25392571 (patch)
treec253595b9bda445c859e3a9a2fc25ad05cd38c5d /net-misc/lldpd
parentInstall the documention for incompatibilities with busybox, and optionally, t... (diff)
downloadhistorical-fe627967b0b523e707ae5c70e45f6b7f25392571.tar.gz
historical-fe627967b0b523e707ae5c70e45f6b7f25392571.tar.bz2
historical-fe627967b0b523e707ae5c70e45f6b7f25392571.zip
Version bump. Add static-libs USE flag (bug #461724), remove unnecessary .la files.
Package-Manager: portage-2.1.13.2/cvs/Linux x86_64 Manifest-Sign-Key: 0x5C350883
Diffstat (limited to 'net-misc/lldpd')
-rw-r--r--net-misc/lldpd/ChangeLog9
-rw-r--r--net-misc/lldpd/Manifest33
-rw-r--r--net-misc/lldpd/files/lldpd-0.7.6-include-unistd.patch12
-rw-r--r--net-misc/lldpd/lldpd-0.7.6.ebuild85
4 files changed, 123 insertions, 16 deletions
diff --git a/net-misc/lldpd/ChangeLog b/net-misc/lldpd/ChangeLog
index 04b19bf84fbf..879bfa2c1011 100644
--- a/net-misc/lldpd/ChangeLog
+++ b/net-misc/lldpd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/lldpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v 1.9 2013/03/28 20:14:56 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v 1.10 2013/08/05 21:15:11 chutzpah Exp $
+
+*lldpd-0.7.6 (05 Aug 2013)
+
+ 05 Aug 2013; Patrick McLean <chutz@gentoo.org> +lldpd-0.7.6.ebuild,
+ +files/lldpd-0.7.6-include-unistd.patch:
+ Version bump. Add static-libs USE flag (bug #461724), remove unnecessary .la
+ files.
28 Mar 2013; Patrick McLean <chutzpah@gentoo.org> -lldpd-0.5.6.ebuild,
-lldpd-0.5.7.ebuild, lldpd-0.7.1.ebuild:
diff --git a/net-misc/lldpd/Manifest b/net-misc/lldpd/Manifest
index 501c0eab5231..10bed9c39185 100644
--- a/net-misc/lldpd/Manifest
+++ b/net-misc/lldpd/Manifest
@@ -1,26 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX lldpd-0.7.6-include-unistd.patch 283 SHA256 695fd16d350b75ed0a1b5b630ac13bb0365bc8b0738148b2b45ceed27e2e7f6e SHA512 f7345796fe30d21f819fcd3ec1ed580156bf3fe2d4cd7e1287ef43ba81d84c1a21372eb6550e2384d67372d9d0a7bbf7c66572426406ba6043a8c0ec48061f04 WHIRLPOOL 4331b0ba7dfac85bd0eea35c1c4c296efe245d38fd20e38fcf51b2219276416eb481d8bc12acbae4cb15b3d425f6b762b1b446eda06eb29be61c3e0ce767442f
AUX lldpd-confd-1 142 SHA256 b1680fcf0395fc681bfb3283df7c86ac873aa105a9c92be37c41475b9ba9ee4c SHA512 a2a4c85068a6b8b80c92fe56af7799a8b8cb2516e5a65b3ae4cb28f278e5acc72402da2a35f0c48a6048fd4a8536061142cafaa49a4bae8e52ca0a5d9ed38b4c WHIRLPOOL 0312f12cb5328dd9a3af675fbc142c726cb872b588e624c53b5e162cce191bf79d80ce039a61683d6c5c59c3263621ebd7e91deca1be40f6161865ccc257ad45
AUX lldpd-initd-1 546 SHA256 41e90798d0bf488e05abdb7bbea2c24b422c88550ef5030a6e3b4b354a4dc2fa SHA512 0484d6105646b7e4f2f6bebf31e7add838207101a341b35d3475ea260868ed993b969dccb28419dfec7a90173d5525ad11a30abc1f91e6b61c252c9f97c09d95 WHIRLPOOL 48f0cf607d84a411a4048d1242fedbce76cf0378eab7e306693056be867093d39966fef230b3ee84a9416257afd797859eb63ca935444d3f004dc9d9df1ffcbe
DIST lldpd-0.7.1.tar.gz 1404076 SHA256 557c3358eedd05f5817d4c63be8cff1b467df3e34c7265eadd20078f73643719 SHA512 63004da745ffa266c97861724b9cf387664b054cf7cde7afbb5e0b1f9668241e7dd1c422b371ddb9a444199040ccae1c72f86dc3ec2061ad25605dcf94f28b0a WHIRLPOOL 3e392b2451c5572c39b0a18b2ea16219e8ef06574af071b06b109094af645020223507845ca752437706cc41ad3586984901fcdacd5057d2b2f2aa879a768267
+DIST lldpd-0.7.6.tar.gz 1459094 SHA256 e4c14f9e86723985bb8ed04a3bcaba858a6fb2111cd5cd764434a4a232c67149 SHA512 dbb17c11c3fd50c9dc36b3c90e5340fd5f73ef55620785f2181c60d8dc41270766ac2a48d9c2440ea8920d337470b6b1271ecd196de3083bcbfe9c62d3546b94 WHIRLPOOL 66a6e5c71982648607e89ef15d59fe1c31a7396549034c7c96e15f663023cd6a3026351aa377530a7c8edb726f76031fd7ed7165ea6e39bbb6ce65a4e72fbe4b
EBUILD lldpd-0.7.1.ebuild 1826 SHA256 1b80c38edb8fdd8f38bdb9998623e493c43df93bfb918717ea40958d8e003d93 SHA512 dfe883cc05a0fb4d61bbadec79dbae2930a4c67f9914a5524b17f8d29bc4cca246d3e11c1dfcb7a56d8015c75cc8a79a088ac35338ba0c72774f37f57ac89caf WHIRLPOOL 87a22552fbef8111ae7c997aa2075b94cf680efc4cf393172c62ddfe1b2dfa922d4ab613f3042b29ff02d63e2d33e40d1350b92c862bd25b04eacbadb160e3b7
-MISC ChangeLog 1705 SHA256 7b0a94f55177805554bf1c6d8a5f772e84c3a715530a0590105c33a1e933790c SHA512 fd8cb467273272c69635971e5343240f45b3d1d959461bffbb2b6b38d17ae7431c99a4c63bd11c81160890bec80d20fbce7e7b9439090724aebe6cd8af6efe4b WHIRLPOOL 42b019e23e9133f1ac9634824b13e19b34545035b39ff24e6865416f527f9a191ebba34ce57deb2a86979980af511d6d20cae960ce5993a5ce2aadf2ec319ef6
+EBUILD lldpd-0.7.6.ebuild 1946 SHA256 8a92a20e4d2a65acd92ee7bad0f34cc44209f21a79eceb13e42858390e1c13e1 SHA512 d0d0b26e1ca9ffa7b7956a7aecf8809787ce6f3c60f70efd30d47567c310fc0e1381b4c6247eea8e441355b99b8c145275027e3e2293d22f0553f000b381634e WHIRLPOOL 9525ab5deb35b7082cb942b81e2c9b7efd9ed0da1158fdc71e67b1c208ad99fe051058e6bb81a9a36f5addf115512b174dc8346d1ed36af61ef8368ea7421204
+MISC ChangeLog 1936 SHA256 22f4a9e6a4f92487500f94811d48c0f61d03da38d8023fbdf15a6bb5dbd1a02b SHA512 e1e8bc20a6af0b20c0d8d2e4c24f295706dcaa92cae9bc1da96b3b7236ab755d098c71bcc1728d66ad0150b9743848829f9a1589e73fb42667daca57a9696b56 WHIRLPOOL aaa7ae73151ae48c4a403df2ddb564dc637d4b6498700f7f3b2de6c63e62eb7698290aecf2cac5aaa7edff6a6bc09b4793468f8f70de2f343b5704c6eea88c1b
MISC metadata.xml 2637 SHA256 c6c9383eb39b3eb642b9dedb5cef0089ccd6f29165d759d428a5a88146fbde6a SHA512 d718fe1c54b839a40026a64bf4e7b4013bf7cb92d279fee9632f21abcbfbaa1537889df87bb7775e09583e9ea07676729f9cad60fa1d9dafbbaefa0bfdefebc7 WHIRLPOOL d8ba6624e5c63fcdc200bc064fc6110570fd14c2ea43b78eee64569b4eae0d6f25a281b8af7ae68f43e0e27b6954100cb03dc90697f90b4ef97b7780d9525b9a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJRVKTCAAoJEHy/RO9cNQiDcjkP/3yqpRm+/Y3wD5dk1HQIgh6b
-xSc8T/fjgRLgPg79te2cdFgu7Mu8p8taq37vencfQjiP0pypn3sSZD1WNQ0Tf2Ji
-g27zSBea95sc7flq4AliB4ODXzAOu1JJw3mWk9GXrSF/cJyMq8YjRBbrxDFZJTZs
-OPZ/AMHtpFtb5Xzgg2xWpIPDPVhAHaPNdAYpTosmL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xnam2kVvp5XtD1bzLyQyAEku7GiUAtbTE
+DCdYfDSifpg8Jg8yoKIfpjsX6Eqh387ERCvo3NBFKh+aUMSjTQJj3p3KWiY/RVG9
+yGuG+PmEJ9Yp1dCpeoh7RwZ7FCWraH8Bwx05Yxt9rtPdJrLijF5zyGeA0joU+l7F
+xuoUP98oSp/JRJnUYNYF
+=1peT
-----END PGP SIGNATURE-----
diff --git a/net-misc/lldpd/files/lldpd-0.7.6-include-unistd.patch b/net-misc/lldpd/files/lldpd-0.7.6-include-unistd.patch
new file mode 100644
index 000000000000..f8933541b549
--- /dev/null
+++ b/net-misc/lldpd/files/lldpd-0.7.6-include-unistd.patch
@@ -0,0 +1,12 @@
+diff --git a/src/daemon/priv-linux.c b/src/daemon/priv-linux.c
+index 68eee70..d17ec38 100644
+--- a/src/daemon/priv-linux.c
++++ b/src/daemon/priv-linux.c
+@@ -17,6 +17,7 @@
+
+ #include "lldpd.h"
+
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/net-misc/lldpd/lldpd-0.7.6.ebuild b/net-misc/lldpd/lldpd-0.7.6.ebuild
new file mode 100644
index 000000000000..157796e0c9e0
--- /dev/null
+++ b/net-misc/lldpd/lldpd-0.7.6.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/lldpd-0.7.6.ebuild,v 1.1 2013/08/05 21:15:11 chutzpah Exp $
+
+EAPI=5
+
+inherit eutils user
+
+DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)"
+HOMEPAGE="http://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 json +lldpmed sonmp snmp static-libs readline xml"
+
+RDEPEND=">=dev-libs/libevent-2.0.5
+ snmp? ( net-analyzer/net-snmp[extensible(+)] )
+ xml? ( dev-libs/libxml2 )
+ json? ( dev-libs/jansson )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ graph? ( app-doc/doxygen[dot] )
+ !graph? ( app-doc/doxygen )
+ )"
+
+REQUIRED_USE="graph? ( doc )"
+
+pkg_setup() {
+ ebegin "Creating lldpd user and group"
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+ eend $?
+}
+
+src_prepare() {
+ # remove the bundled libevent
+ rm -rf libevent
+ epatch "${FILESDIR}"/${P}-include-unistd.patch
+
+ epatch_user
+}
+
+src_configure() {
+ econf \
+ --with-privsep-user=${PN} \
+ --with-privsep-group=${PN} \
+ --with-privsep-chroot=/var/lib/${PN} \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable graph doxygen-dot) \
+ $(use_enable doc doxygen-man) \
+ $(use_enable doc doxygen-pdf) \
+ $(use_enable doc doxygen-html) \
+ $(use_enable cdp) \
+ $(use_enable dot1) \
+ $(use_enable dot3) \
+ $(use_enable edp) \
+ $(use_enable fdp) \
+ $(use_enable lldpmed) \
+ $(use_enable sonmp) \
+ $(use_enable static-libs static) \
+ $(use_with json) \
+ $(use_with readline) \
+ $(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-1 ${PN}
+ newconfd "${FILESDIR}"/${PN}-confd-1 ${PN}
+
+ use doc && dohtml -r doxygen/html/*
+
+ keepdir /var/lib/${PN}
+}