]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - net-snmp/net-snmp.nm
checkpolicy: Update to 2.1.8.
[people/arne_f/ipfire-3.x.git] / net-snmp / net-snmp.nm
CommitLineData
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 6name = net-snmp
e6b79974 7version = 5.7.1
d28271c1 8release = 3
8a0917c3 9
802ea3af
MT
10groups = Networking/Daemons
11url = http://net-snmp.sourceforge.net
12license = BSD
13summary = Simple Network Management Protocol Daemon.
8a0917c3 14
802ea3af
MT
15description
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
19end
20
e6b79974 21source_dl = https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/
802ea3af
MT
22
23build
24 requires
25 libselinux-devel
26 perl
27 end
28
29 PARALLELISMFLAGS = # No parallel build
30
31 configure_options += \
802ea3af
MT
32 --with-default-snmp-version=2 \
33 --with-sys-contact=root@ \
34 --with-sys-location=localhost \
35 --with-logfile=/var/log/snmpd.log \
36 --with-persistent-directory=/var/net-snmp \
37 --without-perl-modules \
38 --disable-embedded-perl
39
40 install_cmds
41 mkdir -pv %{BUILDROOT}/etc
42 install -v -m644 %{DIR_APP}/python/netsnmp/tests/snmpd.conf %{BUILDROOT}/etc/snmpd.conf
43 end
44end
45
46packages
47 package %{name}
7ae2a692
MT
48 # XXX Although we don't want to build perl modules,
49 # we have this requirement?!
50 filter_requires
d28271c1 51 ^perl
7ae2a692
MT
52 end
53 end
802ea3af
MT
54
55 package %{name}-libs
56 template LIBS
57 end
58
59 package %{name}-devel
60 template DEVEL
61 end
1f9bc2f0
MT
62
63 package %{name}-debuginfo
64 template DEBUGINFO
65 end
802ea3af 66end