summaryrefslogtreecommitdiff
path: root/package/net-snmp/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'package/net-snmp/ipkg')
-rw-r--r--package/net-snmp/ipkg/libnetsnmp.control4
-rw-r--r--package/net-snmp/ipkg/snmp-utils.control5
-rw-r--r--package/net-snmp/ipkg/snmpd.conffiles1
-rw-r--r--package/net-snmp/ipkg/snmpd.control5
-rw-r--r--package/net-snmp/ipkg/snmpd.postinst3
5 files changed, 18 insertions, 0 deletions
diff --git a/package/net-snmp/ipkg/libnetsnmp.control b/package/net-snmp/ipkg/libnetsnmp.control
new file mode 100644
index 000000000..7a28ef887
--- /dev/null
+++ b/package/net-snmp/ipkg/libnetsnmp.control
@@ -0,0 +1,4 @@
+Package: libnetsnmp
+Priority: optional
+Section: libs
+Description: SNMP shared libraries
diff --git a/package/net-snmp/ipkg/snmp-utils.control b/package/net-snmp/ipkg/snmp-utils.control
new file mode 100644
index 000000000..42d9251c8
--- /dev/null
+++ b/package/net-snmp/ipkg/snmp-utils.control
@@ -0,0 +1,5 @@
+Package: snmp-utils
+Priority: optional
+Section: admin
+Description: SNMP client utilities
+Depends: libnetsnmp, libelf
diff --git a/package/net-snmp/ipkg/snmpd.conffiles b/package/net-snmp/ipkg/snmpd.conffiles
new file mode 100644
index 000000000..121a94479
--- /dev/null
+++ b/package/net-snmp/ipkg/snmpd.conffiles
@@ -0,0 +1 @@
+/etc/snmp/snmpd.conf
diff --git a/package/net-snmp/ipkg/snmpd.control b/package/net-snmp/ipkg/snmpd.control
new file mode 100644
index 000000000..986b19631
--- /dev/null
+++ b/package/net-snmp/ipkg/snmpd.control
@@ -0,0 +1,5 @@
+Package: snmpd
+Priority: optional
+Section: admin
+Description: SNMP agent
+Depends: libnetsnmp, libelf
diff --git a/package/net-snmp/ipkg/snmpd.postinst b/package/net-snmp/ipkg/snmpd.postinst
new file mode 100644
index 000000000..3f053bd5d
--- /dev/null
+++ b/package/net-snmp/ipkg/snmpd.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf 'e.g. "-Lf /dev/null -p /var/run/snmpd.pid"' snmpd_flags