]>
Commit | Line | Data |
---|---|---|
8a0917c3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
8a0917c3 SS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = net-snmp |
e6b79974 | 7 | version = 5.7.1 |
7ae2a692 | 8 | release = 2 |
8a0917c3 | 9 | |
802ea3af MT |
10 | groups = Networking/Daemons |
11 | url = http://net-snmp.sourceforge.net | |
12 | license = BSD | |
13 | summary = Simple Network Management Protocol Daemon. | |
8a0917c3 | 14 | |
802ea3af MT |
15 | description |
16 | Simple Network Management Protocol (SNMP) is a widely used protocol | |
17 | for monitoring the health and welfare of network equipment (eg. routers), | |
8a0917c3 | 18 | computer equipment and even devices like UPSs. |
802ea3af MT |
19 | end |
20 | ||
e6b79974 | 21 | source_dl = https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/ |
802ea3af MT |
22 | |
23 | build | |
24 | requires | |
25 | libselinux-devel | |
26 | perl | |
27 | end | |
28 | ||
29 | PARALLELISMFLAGS = # No parallel build | |
30 | ||
31 | configure_options += \ | |
32 | --sysconfdir=/etc \ | |
33 | --libdir=/usr/lib \ | |
34 | --mandir=/usr/share/man \ | |
35 | --with-default-snmp-version=2 \ | |
36 | --with-sys-contact=root@ \ | |
37 | --with-sys-location=localhost \ | |
38 | --with-logfile=/var/log/snmpd.log \ | |
39 | --with-persistent-directory=/var/net-snmp \ | |
40 | --without-perl-modules \ | |
41 | --disable-embedded-perl | |
42 | ||
43 | install_cmds | |
44 | mkdir -pv %{BUILDROOT}/etc | |
45 | install -v -m644 %{DIR_APP}/python/netsnmp/tests/snmpd.conf %{BUILDROOT}/etc/snmpd.conf | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
7ae2a692 MT |
51 | # XXX Although we don't want to build perl modules, |
52 | # we have this requirement?! | |
53 | filter_requires | |
54 | perl\(NetSNMP::TrapReceiver\) | |
55 | end | |
56 | end | |
802ea3af MT |
57 | |
58 | package %{name}-libs | |
59 | template LIBS | |
60 | end | |
61 | ||
62 | package %{name}-devel | |
63 | template DEVEL | |
64 | end | |
1f9bc2f0 MT |
65 | |
66 | package %{name}-debuginfo | |
67 | template DEBUGINFO | |
68 | end | |
802ea3af | 69 | end |