summaryrefslogtreecommitdiffstats
path: root/rtems/config
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-06-23 10:58:56 +1000
committerChris Johns <chrisj@rtems.org>2014-06-23 10:58:56 +1000
commitdf65d664f5c15a299eab0f1192df4879548200f8 (patch)
treefafeb9b50cb19b4d3e70e2d1cb124c8e29bcafe0 /rtems/config
parentsb: Trace relative paths for nesting configs. (diff)
downloadrtems-source-builder-df65d664f5c15a299eab0f1192df4879548200f8.tar.bz2
config: Add net-snmp package for RTEMS.
Diffstat (limited to 'rtems/config')
-rw-r--r--rtems/config/4.11/net-mgmt/net-snmp.bset20
-rw-r--r--rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg29
2 files changed, 49 insertions, 0 deletions
diff --git a/rtems/config/4.11/net-mgmt/net-snmp.bset b/rtems/config/4.11/net-mgmt/net-snmp.bset
new file mode 100644
index 0000000..667acaa
--- /dev/null
+++ b/rtems/config/4.11/net-mgmt/net-snmp.bset
@@ -0,0 +1,20 @@
+#
+# Build set for NetSNMP
+#
+
+%define release 1
+
+#
+# RTEMS Version
+#
+%define rtems_version 4.11
+
+#
+# The RTEMS URL paths.
+#
+%include rtems-urls.bset
+
+#
+# Build NetSNMP.
+#
+net-mgmt/net-snmp-5.7.2.1-1
diff --git a/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg b/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg
new file mode 100644
index 0000000..c86d16d
--- /dev/null
+++ b/rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg
@@ -0,0 +1,29 @@
+#
+# NetSNMP 5.7.2.1
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+%include %{_configdir}/rtems-bsp.cfg
+
+#
+# NetSNMP Version
+#
+%define net_snmp_version 5.7.2.1
+
+#
+# We need some special flags to build this version.
+#
+%define net_snmp_cflags -DNETSNMP_CAN_USE_SYSCTL=1 -DARP_SCAN_FOUR_ARGUMENTS=1 -DINP_IPV6=0
+
+#
+# Patch for RTEMS support.
+#
+%patch add net-snmp %{rtems_git_tools}/net-snmp/rtems-net-snmp-5.7.2.1-20140623.patch
+
+#
+# NetSNMP Build configuration
+#
+%include %{_configdir}/net-snmp-5-1.cfg