source: rtems-source-builder/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg @ bcfb210

5
Last change on this file since bcfb210 was a083b52, checked in by Chris Johns <chrisj@…>, on 07/29/14 at 06:35:43

Add checksum support for downloaded files.

File download by http, ftp, pw support checksum. The %hash
directive provides a means of setting a hash used to
checksum the file.

Files on disk or just downloaded are checked.

  • Property mode set to 100644
File size: 672 bytes
Line 
1#
2# NetSNMP 5.7.2.1
3#
4
5%if %{release} == %{nil}
6 %define release 1
7%endif
8
9%include %{_configdir}/rtems-bsp.cfg
10
11#
12# NetSNMP Version
13#
14%define net_snmp_version 5.7.2.1
15
16%hash md5 net-snmp-%{net_snmp_version}.tar.gz 7db683faba037249837b226f64d566d4
17
18#
19# We need some special flags to build this version.
20#
21%define net_snmp_cflags -DNETSNMP_CAN_USE_SYSCTL=1 -DARP_SCAN_FOUR_ARGUMENTS=1 -DINP_IPV6=0
22
23#
24# Patch for RTEMS support.
25#
26%patch add net-snmp %{rtems_git_tools}/net-snmp/rtems-net-snmp-5.7.2.1-20140623.patch
27%hash  md5 rtems-net-snmp-5.7.2.1-20140623.patch 9a22fb4366a113f5df71ed2acd672b2b
28
29#
30# NetSNMP Build configuration
31#
32%include %{_configdir}/net-snmp-5-1.cfg
Note: See TracBrowser for help on using the repository browser.