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.9.ebuild |
Date: | Tue, 01 Jul 2014 18:01:58 |
Message-Id: | 20140701180154.6F1752004E@flycatcher.gentoo.org |
1 | chutzpah 14/07/01 18:01:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lldpd-0.7.9.ebuild |
5 | Log: |
6 | Version bump. Add systemd unit (bug #515644). |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF) |
9 | |
10 | Revision Changes Path |
11 | 1.14 net-misc/lldpd/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/ChangeLog?rev=1.14&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/ChangeLog?rev=1.14&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/ChangeLog?r1=1.13&r2=1.14 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v |
20 | retrieving revision 1.13 |
21 | retrieving revision 1.14 |
22 | diff -u -r1.13 -r1.14 |
23 | --- ChangeLog 3 Mar 2014 23:50:56 -0000 1.13 |
24 | +++ ChangeLog 1 Jul 2014 18:01:53 -0000 1.14 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-misc/lldpd |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v 1.13 2014/03/03 23:50:56 pacho Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/ChangeLog,v 1.14 2014/07/01 18:01:53 chutzpah Exp $ |
30 | + |
31 | +*lldpd-0.7.9 (01 Jul 2014) |
32 | + |
33 | + 01 Jul 2014; Patrick McLean <chutzpah@g.o> +lldpd-0.7.9.ebuild, |
34 | + +files/lldpd.service: |
35 | + Version bump. Add systemd unit (bug #515644). |
36 | |
37 | 03 Mar 2014; Pacho Ramos <pacho@g.o> lldpd-0.7.6.ebuild: |
38 | amd64 stable, bug #495876 |
39 | |
40 | |
41 | |
42 | 1.1 net-misc/lldpd/lldpd-0.7.9.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/lldpd-0.7.9.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/lldpd/lldpd-0.7.9.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: lldpd-0.7.9.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/lldpd-0.7.9.ebuild,v 1.1 2014/07/01 18:01:53 chutzpah Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | inherit eutils user systemd |
56 | |
57 | DESCRIPTION="Implementation of IEEE 802.1ab (LLDP)" |
58 | HOMEPAGE="http://vincentbernat.github.com/lldpd/" |
59 | SRC_URI="http://media.luffy.cx/files/${PN}/${P}.tar.gz" |
60 | |
61 | LICENSE="ISC" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="cdp doc +dot1 +dot3 edp fdp graph json +lldpmed seccomp sonmp snmp static-libs readline xml" |
65 | |
66 | RDEPEND=">=dev-libs/libevent-2.0.5 |
67 | snmp? ( net-analyzer/net-snmp[extensible(+)] ) |
68 | xml? ( dev-libs/libxml2 ) |
69 | json? ( dev-libs/jansson ) |
70 | seccomp? ( sys-libs/libseccomp )" |
71 | DEPEND="${RDEPEND} |
72 | virtual/pkgconfig |
73 | doc? ( |
74 | graph? ( app-doc/doxygen[dot] ) |
75 | !graph? ( app-doc/doxygen ) |
76 | )" |
77 | |
78 | REQUIRED_USE="graph? ( doc )" |
79 | |
80 | pkg_setup() { |
81 | ebegin "Creating lldpd user and group" |
82 | enewgroup ${PN} |
83 | enewuser ${PN} -1 -1 -1 ${PN} |
84 | eend $? |
85 | } |
86 | |
87 | src_prepare() { |
88 | # remove the bundled libevent |
89 | rm -rf libevent |
90 | |
91 | epatch_user |
92 | } |
93 | |
94 | src_configure() { |
95 | econf \ |
96 | --with-privsep-user=${PN} \ |
97 | --with-privsep-group=${PN} \ |
98 | --with-privsep-chroot=/var/lib/${PN} \ |
99 | --docdir=/usr/share/doc/${PF} \ |
100 | $(use_enable graph doxygen-dot) \ |
101 | $(use_enable doc doxygen-man) \ |
102 | $(use_enable doc doxygen-pdf) \ |
103 | $(use_enable doc doxygen-html) \ |
104 | $(use_enable cdp) \ |
105 | $(use_enable dot1) \ |
106 | $(use_enable dot3) \ |
107 | $(use_enable edp) \ |
108 | $(use_enable fdp) \ |
109 | $(use_enable lldpmed) \ |
110 | $(use_enable sonmp) \ |
111 | $(use_enable static-libs static) \ |
112 | $(use_with json) \ |
113 | $(use_with readline) \ |
114 | $(use_with seccomp) \ |
115 | $(use_with snmp) \ |
116 | $(use_with xml) |
117 | } |
118 | |
119 | src_compile() { |
120 | emake |
121 | use doc && emake doxygen-doc |
122 | } |
123 | |
124 | src_install() { |
125 | emake DESTDIR="${D}" install |
126 | prune_libtool_files |
127 | |
128 | newinitd "${FILESDIR}"/${PN}-initd-1 ${PN} |
129 | newconfd "${FILESDIR}"/${PN}-confd-1 ${PN} |
130 | |
131 | use doc && dohtml -r doxygen/html/* |
132 | |
133 | keepdir /var/lib/${PN} |
134 | |
135 | systemd_dounit "${FILESDIR}"/${PN}.service |
136 | } |