Changeset 775f99a in freewrt for package/net-snmp
- Timestamp:
- Nov 10, 2006, 1:02:55 AM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 6db3678
- Parents:
- d4edf63
- Location:
- package/net-snmp
- Files:
-
- 2 deleted
- 2 edited
-
Config.in (modified) (5 diffs)
-
Makefile (modified) (4 diffs)
-
ipkg/snmpd-static.conffiles (deleted)
-
ipkg/snmpd-static.control (deleted)
Legend:
- Unmodified
- Added
- Removed
-
package/net-snmp/Config.in
rd4edf63 r775f99a 1 2 1 config FWRT_COMPILE_NET_SNMP 3 2 bool … … 6 5 config FWRT_DUMMY_NET_SNMP 7 6 bool 8 prompt "net-snmp.......................... SNMP Server and Clie t packages"7 prompt "net-snmp.......................... SNMP Server and Client packages" 9 8 10 9 config FWRT_PACKAGE_LIBNETSNMP 11 10 prompt "libnetsnmp...................... SNMP shared libraries" 12 11 tristate 13 default m if CONFIG_DEVEL12 default n 14 13 depends FWRT_DUMMY_NET_SNMP 15 14 select FWRT_COMPILE_NET_SNMP … … 29 28 prompt "snmp-utils...................... SNMP client utilities" 30 29 tristate 31 default m if CONFIG_DEVEL30 default n 32 31 depends FWRT_DUMMY_NET_SNMP 33 32 select FWRT_PACKAGE_LIBNETSNMP … … 46 45 prompt "snmpd........................... SNMP agent" 47 46 tristate 48 default m if CONFIG_DEVEL47 default n 49 48 depends FWRT_DUMMY_NET_SNMP 50 49 select FWRT_PACKAGE_LIBNETSNMP … … 60 59 This package contains the SNMP agent, dynamically linked. 61 60 62 config FWRT_PACKAGE_SNMPD_STATIC63 prompt "snmpd-static.................... SNMP agent (statically linked)"64 tristate65 default m if CONFIG_DEVEL66 depends FWRT_DUMMY_NET_SNMP67 select FWRT_COMPILE_NET_SNMP68 select FWRT_PACKAGE_LIBELF69 help70 Simple Network Management Protocol (SNMP) is a widely used71 protocol for monitoring the health and welfare of network72 equipment (eg. routers), computer equipment and even devices73 like UPSs. Net-SNMP is a suite of applications used to implement74 SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6.75 76 http://www.net-snmp.org/77 78 This package contains the SNMP agent, statically linked.79 -
package/net-snmp/Makefile
rd4edf63 r775f99a 9 9 PKG_NAME:= net-snmp 10 10 PKG_VERSION:= 5.1.2 11 PKG_RELEASE:= 311 PKG_RELEASE:= 4 12 12 PKG_MD5SUM:= 8080555ab3f90011f25d5122042d9a8d 13 13 PKG_INIT:= 80 … … 98 98 $(eval $(call PKG_template,LIBNETSNMP,libnetsnmp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 99 99 $(eval $(call PKG_template,SNMPD,snmpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 100 $(eval $(call PKG_template,SNMPD_STATIC,snmpd-static,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))101 100 $(eval $(call PKG_template,SNMP_UTILS,snmp-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 102 101 … … 137 136 INSTALL_PREFIX="$(WRKINST)" \ 138 137 all install 139 ( cd $(WRKINST); mv ./usr/sbin/snmpd ./usr/sbin/snmpd-shared; )140 ifneq ($(FWRT_PACKAGE_SNMPD_STATIC),)141 ( cd $(WRKBUILD); rm -f agent/snmpd; )142 $(MAKE) -C $(WRKBUILD) \143 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -static" \144 INSTALL_PREFIX="$(WRKINST)" \145 all install146 ( cd $(WRKINST); mv ./usr/sbin/snmpd ./usr/sbin/snmpd-static; )147 endif148 138 touch $@ 149 139 … … 164 154 $(RSTRIP) $(IDIR_SNMPD) 165 155 $(IPKG_BUILD) $(IDIR_SNMPD) $(PACKAGE_DIR) 166 167 $(IPKG_SNMPD_STATIC):168 install -d -m0755 $(IDIR_SNMPD_STATIC)/etc/snmp169 install -m0644 ./files/snmpd.conf $(IDIR_SNMPD_STATIC)/etc/snmp/snmpd.conf170 install -d -m0755 $(IDIR_SNMPD_STATIC)/etc/init.d171 install -m0755 ./files/snmpd.init $(IDIR_SNMPD_STATIC)/etc/init.d/snmpd172 install -d -m0755 $(IDIR_SNMPD_STATIC)/usr/sbin173 install -m0755 $(WRKINST)/usr/sbin/snmpd-static $(IDIR_SNMPD_STATIC)/usr/sbin/snmpd174 $(RSTRIP) $(IDIR_SNMPD_STATIC)175 $(IPKG_BUILD) $(IDIR_SNMPD_STATIC) $(PACKAGE_DIR)176 156 177 157 $(IPKG_SNMP_UTILS):
Note:
See TracChangeset
for help on using the changeset viewer.
