Gentoo Archives: gentoo-commits

From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/lldpd: ChangeLog lldpd-0.7.11-r3.ebuild lldpd-0.7.11-r2.ebuild lldpd-0.7.11-r1.ebuild
Date: Wed, 29 Oct 2014 00:20:13
Message-Id: 20141029002007.6F32E8F75@oystercatcher.gentoo.org
1 chutzpah 14/10/29 00:20:07
2
3 Modified: ChangeLog
4 Added: lldpd-0.7.11-r3.ebuild
5 Removed: lldpd-0.7.11-r2.ebuild lldpd-0.7.11-r1.ebuild
6 Log:
7 Revision bump, don't install extra bash-completion file (bug #526308). Remove old.
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
10
11 Revision Changes Path
12 1.24 net-misc/lldpd/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/ChangeLog?rev=1.24&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/ChangeLog?rev=1.24&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/ChangeLog?r1=1.23&r2=1.24
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v
21 retrieving revision 1.23
22 retrieving revision 1.24
23 diff -u -r1.23 -r1.24
24 --- ChangeLog 14 Oct 2014 17:16:53 -0000 1.23
25 +++ ChangeLog 29 Oct 2014 00:20:07 -0000 1.24
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-misc/lldpd
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v 1.23 2014/10/14 17:16:53 chutzpah Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v 1.24 2014/10/29 00:20:07 chutzpah Exp $
31 +
32 +*lldpd-0.7.11-r3 (29 Oct 2014)
33 +
34 + 29 Oct 2014; Patrick McLean <chutzpah@g.o> -lldpd-0.7.11-r1.ebuild,
35 + -lldpd-0.7.11-r2.ebuild, +lldpd-0.7.11-r3.ebuild,
36 + files/lldpd-0.7.11-bash-completion-dir.patch:
37 + Revision bump, don't install extra bash-completion file (bug #526308). Remove
38 + old.
39
40 *lldpd-0.7.11-r2 (14 Oct 2014)
41
42
43
44
45 1.1 net-misc/lldpd/lldpd-0.7.11-r3.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/lldpd-0.7.11-r3.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/lldpd-0.7.11-r3.ebuild?rev=1.1&content-type=text/plain
49
50 Index: lldpd-0.7.11-r3.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/lldpd-0.7.11-r3.ebuild,v 1.1 2014/10/29 00:20:07 chutzpah Exp $
55
56 EAPI=5
57
58 inherit eutils user systemd bash-completion-r1 autotools
59
60 DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)"
61 HOMEPAGE="http://vincentbernat.github.com/lldpd/"
62 SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz"
63
64 LICENSE="ISC"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="cdp doc +dot1 +dot3 edp fdp graph jansson json-c +lldpmed seccomp sonmp
68 snmp static-libs readline xml zsh-completion"
69
70 RDEPEND=">=dev-libs/libevent-2.0.5
71 snmp? ( net-analyzer/net-snmp[extensible(+)] )
72 xml? ( dev-libs/libxml2 )
73 jansson? ( dev-libs/jansson )
74 json-c? ( dev-libs/json-c )
75 seccomp? ( sys-libs/libseccomp )
76 zsh-completion? ( app-shells/zsh )"
77 DEPEND="${RDEPEND}
78 virtual/pkgconfig
79 doc? (
80 graph? ( app-doc/doxygen[dot] )
81 !graph? ( app-doc/doxygen )
82 )"
83
84 REQUIRED_USE="graph? ( doc ) json-c? ( !jansson )"
85
86 PATCHES=(
87 "${FILESDIR}"/${P}-zsh-completion-dir.patch
88 "${FILESDIR}"/${P}-bash-completion-dir.patch
89 )
90
91 pkg_setup() {
92 ebegin "Creating lldpd user and group"
93 enewgroup ${PN}
94 enewuser ${PN} -1 -1 -1 ${PN}
95 eend $?
96 }
97
98 src_prepare() {
99 epatch "${PATCHES[@]}"
100 epatch_user
101 eautoreconf
102 }
103
104 src_configure() {
105 econf \
106 --without-embedded-libevent \
107 --with-privsep-user=${PN} \
108 --with-privsep-group=${PN} \
109 --with-privsep-chroot=/run/${PN} \
110 --with-lldpd-ctl-socket=/run/${PN}.socket \
111 --with-lldpd-pid-file=/run/${PN}.pid \
112 --docdir=/usr/share/doc/${PF} \
113 $(use_enable graph doxygen-dot) \
114 $(use_enable doc doxygen-man) \
115 $(use_enable doc doxygen-pdf) \
116 $(use_enable doc doxygen-html) \
117 $(use_enable cdp) \
118 $(use_enable dot1) \
119 $(use_enable dot3) \
120 $(use_enable edp) \
121 $(use_enable fdp) \
122 $(use_enable lldpmed) \
123 $(use_enable sonmp) \
124 $(use_enable static-libs static) \
125 $(use_with json-c) \
126 $(use_with jansson) \
127 $(use_with readline) \
128 $(use_with seccomp) \
129 $(use_with snmp) \
130 $(use_with xml)
131 }
132
133 src_compile() {
134 emake
135 use doc && emake doxygen-doc
136 }
137
138 src_install() {
139 emake DESTDIR="${D}" install
140 prune_libtool_files
141
142 newinitd "${FILESDIR}"/${PN}-initd-4 ${PN}
143 newconfd "${FILESDIR}"/${PN}-confd-1 ${PN}
144 newbashcomp src/client/lldpcli.bash-completion lldpcli
145
146 use doc && dohtml -r doxygen/html/*
147
148 keepdir /etc/${PN}.d
149
150 systemd_dounit "${FILESDIR}"/${PN}.service
151 }