9 |
9 |
PYTHON_COMPAT=( python3_{10..12} )
|
10 |
10 |
WANT_AUTOMAKE=none
|
11 |
11 |
|
12 |
|
inherit autotools distutils-r1 libtool perl-module systemd
|
|
12 |
inherit autotools distutils-r1 perl-module systemd
|
13 |
13 |
|
14 |
14 |
DESCRIPTION="Software for generating and retrieving SNMP data"
|
15 |
15 |
HOMEPAGE="https://www.net-snmp.org/"
|
... | ... | |
20 |
20 |
# https://github.com/net-snmp/net-snmp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
21 |
21 |
SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${P}.tar.gz"
|
22 |
22 |
|
23 |
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
23 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
24 |
24 |
fi
|
25 |
25 |
|
26 |
26 |
SRC_URI+=" https://dev.gentoo.org/~jsmolic/distfiles/${PN}-5.7.3-patches-3.tar.xz"
|
... | ... | |
47 |
47 |
netlink? ( dev-libs/libnl:3 )
|
48 |
48 |
pcap? ( net-libs/libpcap )
|
49 |
49 |
pci? ( sys-apps/pciutils )
|
50 |
|
pcre? ( dev-libs/libpcre )
|
|
50 |
pcre? ( dev-libs/libpcre2 )
|
51 |
51 |
perl? ( dev-lang/perl:= )
|
52 |
52 |
python? (
|
53 |
53 |
$(python_gen_cond_dep '
|
... | ... | |
91 |
91 |
"${FILESDIR}"/${PN}-5.8-pcap.patch
|
92 |
92 |
"${FILESDIR}"/${PN}-5.8.1-mysqlclient.patch
|
93 |
93 |
"${FILESDIR}"/${PN}-5.9-MakeMaker.patch
|
94 |
|
# https://github.com/net-snmp/net-snmp/pull/493
|
95 |
|
"${FILESDIR}"/${PN}-5.9.3-0001-Fix-LDFLAGS-vs-LIBS-ordering.patch
|
96 |
|
"${FILESDIR}"/${PN}-5.9.3-0002-Tidy-up-net-snmp-config-output.patch
|
97 |
|
"${FILESDIR}"/${PN}-5.9.3-0003-Prune-Libs.private-entries-in-netsnmp-.pc.in.patch
|
98 |
|
"${FILESDIR}"/${PN}-5.9.3-0004-Search-for-ltinfo-in-configure-if-needed.patch
|
99 |
94 |
)
|
100 |
95 |
|
101 |
96 |
pkg_setup() {
|
... | ... | |
121 |
116 |
default
|
122 |
117 |
|
123 |
118 |
eautoconf
|
124 |
|
elibtoolize
|
125 |
119 |
}
|
126 |
120 |
|
127 |
121 |
src_configure() {
|
... | ... | |
148 |
142 |
$(use_with netlink nl) \
|
149 |
143 |
$(use_with pcap) \
|
150 |
144 |
$(use_with pci) \
|
151 |
|
$(use_with pcre) \
|
|
145 |
$(use_with pcre pcre2-8) \
|
|
146 |
--without-pcre \
|
152 |
147 |
$(use_with perl perl-modules INSTALLDIRS=vendor) \
|
153 |
148 |
$(use_with python python-modules) \
|
154 |
149 |
$(use_with rpm) \
|