Changeset 23765 for packages


Ignore:
Timestamp:
2010-11-01T16:52:43+01:00 (6 years ago)
Author:
acoul
Message:

net/mini_snmpd: update to version 1.2b

Location:
packages/net/mini_snmpd
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/mini_snmpd/Makefile

    r23339 r23765  
    99 
    1010PKG_NAME:=mini_snmpd 
    11 PKG_VERSION:=1.0 
    12 PKG_RELEASE:=7 
     11PKG_VERSION:=1.2b 
     12PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=mini_snmpd.tar.gz 
     14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://members.aon.at/linuxfreak/linux/ 
    16 PKG_MD5SUM:=13f2202ff01ff6b6463989f34f453063 
     16PKG_MD5SUM:=9e432c50ba8216d7fab0983b11b7112a 
    1717 
    18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME) 
     18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME) 
    1919PKG_BUILD_PARALLEL:=1 
    2020PKG_INSTALL:=1 
     
    3131  SECTION:=net 
    3232  CATEGORY:=Network 
    33   TITLE+= (IPv4 only) 
    34   VARIANT:=ipv4 
     33  TITLE+= Mini Snmpd 
    3534endef 
    3635 
    37 define Package/mini-snmpd6 
    38 $(call Package/mini-snmpd/Default) 
    39   SECTION:=ipv6 
    40   CATEGORY:=IPv6 
    41   TITLE+= (IPv6 only) 
    42   VARIANT:=ipv6 
    43   DEPENDS:=+kmod-ipv6 
    44 endef 
     36PKG_OFLAGS:=$(TARGET_CFLAGS) -DSYSLOG 
    4537 
    46  
    47 PKG_OFLAGS:=$(TARGET_CFLAGS) -DSYSLOG 
    48 ifeq ($(BUILD_VARIANT),ipv6) 
    49   PKG_OFLAGS+= -DIPV6 
     38ifeq ($(CONFIG_IPV6),y) 
     39  PKG_OFLAGS+= -D__IPV6__ 
     40else 
     41  PKG_OFLAGS+= -D__IPV4__ 
    5042endif 
    5143 
     
    7163 
    7264$(eval $(call BuildPackage,mini-snmpd)) 
    73 $(eval $(call BuildPackage,mini-snmpd6)) 
  • packages/net/mini_snmpd/patches/101-opt_flags.patch

    r14314 r23765  
    11--- a/Makefile 
    22+++ b/Makefile 
    3 @@ -30,8 +30,9 @@ HEADERS       = mini_snmpd.h 
     3@@ -32,9 +32,9 @@ HEADERS       = mini_snmpd.h 
    44 SOURCES        = mini_snmpd.c protocol.c mib.c globals.c utils.c linux.c freebsd.c 
    5  VERSION = 1.0 
     5 VERSION = 1.2b 
    66 VENDOR = .1.3.6.1.4.1 
    7 +OFLAGS = -O2 -DDEBUG 
     7-OFLAGS = -O2 -DDEBUG -g 
     8+OFLAGS = -O2 
    89 CFLAGS = -Wall -Werror -DVERSION="\"$(VERSION)\"" -DVENDOR="\"$(VENDOR)\"" \ 
    9 -         -O2 -DDEBUG -D__LINUX__ -D__DEMO__ 
    10 +         $(OFLAGS) -D__LINUX__ -D__DEMO__ 
     10-         $(OFLAGS) -D__TRAPS__ -D__LINUX__ -D__IPV6__ 
     11+         $(OFLAGS) -D__TRAPS__ -D__LINUX__ 
     12 LDFLAGS        = $(OFLAGS) 
    1113 TARGET = mini_snmpd 
    1214 MAN    = mini_snmpd.8 
    13  DOC    = CHANGELOG COPYING README TODO 
Note: See TracChangeset for help on using the changeset viewer.