Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions net/mini_snmpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=mini_snmpd
PKG_VERSION:=1.6
PKG_RELEASE:=5
PKG_VERSION:=2.0
Comment thread
AuthorReflex marked this conversation as resolved.
PKG_RELEASE:=1
PKG_MAINTAINER:=Marcin Jurkowski <marcin1j@gmail.com>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
Expand All @@ -18,9 +18,9 @@ PKG_CPE_ID:=cpe:/a:minisnmpd_project:minisnmpd
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/troglobit/mini-snmpd
PKG_SOURCE_SUBDIR:=mini-snmpd-$(PKG_VERSION)
PKG_SOURCE_VERSION:=45765e39d52469fd2b5ec5cfb78e042f437c0df4
PKG_SOURCE_VERSION:=dba5d0cee40a29d109dbf2f64853651cf6ec79e4
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/mini-snmpd-$(PKG_VERSION)
PKG_MIRROR_HASH:=580eb4bc45a86d9827df505813ec0cf47ba836261d27e8e4b5ca5e0e1581c255
PKG_MIRROR_HASH:=16104e50a36ba193142252e5cfd0a6c3fec391ae651dfde40fb4da83226e0d28

PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
Expand Down
7 changes: 5 additions & 2 deletions net/mini_snmpd/files/mini_snmpd.init
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,11 @@ start_instance() {
append_arg "-V" "$vendor_oid"
append_arg "-t" $mib_timeout

[ "$ipv6" = 1 ] && procd_append_param command "-6"
[ "$debug" = 1 ] && procd_append_param command "-v"
if "$PROG" -h 2>&1 | grep -q -- '--use-ipv4'; then
[ "$ipv6" = 0 ] && procd_append_param command "-4"
[ "$ipv6" = 1 ] && procd_append_param command "-6"
fi
[ "$debug" = 1 ] && procd_append_param command "-l" "debug"
# uci_validate_section() aka /sbin/validate_data can only cast default values not defined in /etc/config/* to string
# e.g. ="1" however it sets bools defined in /etc/config/* to =1 / =0
[ "$auth" = 1 -o "$auth" = "1" ] && procd_append_param command "-a"
Expand Down

This file was deleted.