Changeset 775f99a in freewrt for package/net-snmp


Ignore:
Timestamp:
Nov 10, 2006, 1:02:55 AM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
6db3678
Parents:
d4edf63
Message:

remove static version of snmpd

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1108 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/net-snmp
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • package/net-snmp/Config.in

    rd4edf63 r775f99a  
    1 
    21config FWRT_COMPILE_NET_SNMP
    32        bool
     
    65config FWRT_DUMMY_NET_SNMP
    76        bool
    8         prompt "net-snmp.......................... SNMP Server and Cliet packages"
     7        prompt "net-snmp.......................... SNMP Server and Client packages"
    98
    109config FWRT_PACKAGE_LIBNETSNMP
    1110        prompt "libnetsnmp...................... SNMP shared libraries"
    1211        tristate
    13         default m if CONFIG_DEVEL
     12        default n
    1413        depends FWRT_DUMMY_NET_SNMP
    1514        select FWRT_COMPILE_NET_SNMP
     
    2928        prompt "snmp-utils...................... SNMP client utilities"
    3029        tristate
    31         default m if CONFIG_DEVEL
     30        default n
    3231        depends FWRT_DUMMY_NET_SNMP
    3332        select FWRT_PACKAGE_LIBNETSNMP
     
    4645        prompt "snmpd........................... SNMP agent"
    4746        tristate
    48         default m if CONFIG_DEVEL
     47        default n
    4948        depends FWRT_DUMMY_NET_SNMP
    5049        select FWRT_PACKAGE_LIBNETSNMP
     
    6059          This package contains the SNMP agent, dynamically linked.
    6160
    62 config FWRT_PACKAGE_SNMPD_STATIC
    63         prompt "snmpd-static.................... SNMP agent (statically linked)"
    64         tristate
    65         default m if CONFIG_DEVEL
    66         depends FWRT_DUMMY_NET_SNMP
    67         select FWRT_COMPILE_NET_SNMP
    68         select FWRT_PACKAGE_LIBELF
    69         help
    70           Simple Network Management Protocol (SNMP) is a widely used
    71           protocol for monitoring the health and welfare of network
    72           equipment (eg. routers), computer equipment and even devices
    73           like UPSs. Net-SNMP is a suite of applications used to implement
    74           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  
    99PKG_NAME:=              net-snmp
    1010PKG_VERSION:=           5.1.2
    11 PKG_RELEASE:=           3
     11PKG_RELEASE:=           4
    1212PKG_MD5SUM:=            8080555ab3f90011f25d5122042d9a8d
    1313PKG_INIT:=              80
     
    9898$(eval $(call PKG_template,LIBNETSNMP,libnetsnmp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    9999$(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)))
    101100$(eval $(call PKG_template,SNMP_UTILS,snmp-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    102101
     
    137136                INSTALL_PREFIX="$(WRKINST)" \
    138137                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 install
    146         ( cd $(WRKINST); mv ./usr/sbin/snmpd ./usr/sbin/snmpd-static; )
    147 endif
    148138        touch $@
    149139
     
    164154        $(RSTRIP) $(IDIR_SNMPD)
    165155        $(IPKG_BUILD) $(IDIR_SNMPD) $(PACKAGE_DIR)
    166 
    167 $(IPKG_SNMPD_STATIC):
    168         install -d -m0755 $(IDIR_SNMPD_STATIC)/etc/snmp
    169         install -m0644 ./files/snmpd.conf $(IDIR_SNMPD_STATIC)/etc/snmp/snmpd.conf
    170         install -d -m0755 $(IDIR_SNMPD_STATIC)/etc/init.d
    171         install -m0755 ./files/snmpd.init $(IDIR_SNMPD_STATIC)/etc/init.d/snmpd
    172         install -d -m0755 $(IDIR_SNMPD_STATIC)/usr/sbin
    173         install -m0755 $(WRKINST)/usr/sbin/snmpd-static $(IDIR_SNMPD_STATIC)/usr/sbin/snmpd
    174         $(RSTRIP) $(IDIR_SNMPD_STATIC)
    175         $(IPKG_BUILD) $(IDIR_SNMPD_STATIC) $(PACKAGE_DIR)
    176156
    177157$(IPKG_SNMP_UTILS):
Note: See TracChangeset for help on using the changeset viewer.