snmp/snmp.spec

changeset 384
590d931d793c
parent 353
198005e4aad2
child 588
300d43423c2e
equal deleted inserted replaced
3:81477f39aa20 4:cf844370066a
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: BASE 31 Class: BASE
32 Group: Network 32 Group: Network
33 License: BSD 33 License: BSD
34 Version: 5.7 34 Version: 5.7
35 Release: 20110914 35 Release: 20110915
36 36
37 # package options 37 # package options
38 %option with_fsl yes 38 %option with_fsl yes
39 %option with_perl no 39 %option with_perl no
40 %option with_shared no 40 %option with_shared no
48 Source1: rc.snmp 48 Source1: rc.snmp
49 Source2: fsl.snmp 49 Source2: fsl.snmp
50 Source3: snmpd.conf 50 Source3: snmpd.conf
51 Source4: snmptrapd.conf 51 Source4: snmptrapd.conf
52 Patch0: snmp.patch 52 Patch0: snmp.patch
53 Patch1: snmp_agentx.patch
53 54
54 # build information 55 # build information
55 Prefix: %{l_prefix} 56 Prefix: %{l_prefix}
56 BuildRoot: %{l_buildroot} 57 BuildRoot: %{l_buildroot}
57 BuildPreReq: OpenPKG, openpkg >= 20060823, gcc 58 BuildPreReq: OpenPKG, openpkg >= 20060823, gcc
85 86
86 %prep 87 %prep
87 # unpack and patch package 88 # unpack and patch package
88 %setup -q -n net-snmp-%{version} 89 %setup -q -n net-snmp-%{version}
89 %patch -p0 90 %patch -p0
91 %patch -p0 -P 1
90 92
91 # provide a default PID file location 93 # provide a default PID file location
92 %{l_shtool} subst %{l_value -s -a} \ 94 %{l_shtool} subst %{l_value -s -a} \
93 agent/snmpd.c \ 95 agent/snmpd.c \
94 apps/snmptrapd.c 96 apps/snmptrapd.c

mercurial