1 |
commit: 200fe36567c4eddc8838aa2c6a2de75e0fc2ffab |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 08:38:53 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 24 08:39:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200fe365 |
7 |
|
8 |
net-libs/libsmi: Add missing dependency on virtual/yacc |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-libs/libsmi/libsmi-0.4.8-r1.ebuild | 3 +++ |
14 |
.../libsmi/{libsmi-0.5.0.ebuild => libsmi-0.5.0-r1.ebuild} | 14 +++++++++----- |
15 |
2 files changed, 12 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/libsmi/libsmi-0.4.8-r1.ebuild b/net-libs/libsmi/libsmi-0.4.8-r1.ebuild |
18 |
index 0892ae6d97c..4c9cae8dfac 100644 |
19 |
--- a/net-libs/libsmi/libsmi-0.4.8-r1.ebuild |
20 |
+++ b/net-libs/libsmi/libsmi-0.4.8-r1.ebuild |
21 |
@@ -12,6 +12,9 @@ LICENSE="BSD" |
22 |
SLOT="0" |
23 |
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 s390 sparc x86" |
24 |
IUSE="static-libs" |
25 |
+DEPEND=" |
26 |
+ virtual/yacc |
27 |
+" |
28 |
|
29 |
src_prepare() { |
30 |
epatch "${FILESDIR}"/${P}-CVE-2010-2891.patch |
31 |
|
32 |
diff --git a/net-libs/libsmi/libsmi-0.5.0.ebuild b/net-libs/libsmi/libsmi-0.5.0-r1.ebuild |
33 |
similarity index 80% |
34 |
rename from net-libs/libsmi/libsmi-0.5.0.ebuild |
35 |
rename to net-libs/libsmi/libsmi-0.5.0-r1.ebuild |
36 |
index 22f53d929ec..a92be813b4d 100644 |
37 |
--- a/net-libs/libsmi/libsmi-0.5.0.ebuild |
38 |
+++ b/net-libs/libsmi/libsmi-0.5.0-r1.ebuild |
39 |
@@ -1,8 +1,7 @@ |
40 |
# Copyright 1999-2020 Gentoo Authors |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
|
43 |
-EAPI=5 |
44 |
-inherit eutils ltprune |
45 |
+EAPI=7 |
46 |
|
47 |
DESCRIPTION="A Library to Access SMI MIB Information" |
48 |
HOMEPAGE="https://www.ibr.cs.tu-bs.de/projects/libsmi/" |
49 |
@@ -12,6 +11,9 @@ LICENSE="BSD" |
50 |
SLOT="0" |
51 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
52 |
IUSE="static-libs" |
53 |
+BDEPEND=" |
54 |
+ virtual/yacc |
55 |
+" |
56 |
|
57 |
src_configure() { |
58 |
econf $(use_enable static-libs static) |
59 |
@@ -26,7 +28,9 @@ src_test() { |
60 |
|
61 |
src_install() { |
62 |
default |
63 |
- dodoc smi.conf-example ANNOUNCE ChangeLog README THANKS TODO \ |
64 |
- doc/{*.txt,smi.dia,smi.dtd,smi.xsd} |
65 |
- prune_libtool_files |
66 |
+ |
67 |
+ dodoc ANNOUNCE ChangeLog README THANKS TODO \ |
68 |
+ doc/{*.txt,smi.dia,smi.dtd,smi.xsd} smi.conf-example |
69 |
+ |
70 |
+ find "${ED}" -name '*.la' -delete || die |
71 |
} |