Ignore:
Timestamp:
2011-08-11T23:34:56+02:00 (5 years ago)
Author:
jow
Message:

[backfire] backport r27961, deprecate iptables-utils and ip6tables-utils but leave them in place to not break backwards compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/iptables/Makefile

    r27649 r27962  
    1111PKG_NAME:=iptables 
    1212PKG_VERSION:=1.4.6 
    13 PKG_RELEASE:=3 
     13PKG_RELEASE:=3.1 
    1414 
    1515PKG_MD5SUM:=c67cf30e281a924def6426be0973df56 
     
    291291define Package/iptables-utils 
    292292$(call Package/iptables/Module, ) 
    293   TITLE:=iptables save and restore utilities 
     293  TITLE:=iptables save and restore utilities (deprecated) 
     294endef 
     295 
     296define Package/iptables-utils/description 
     297This is a dummy package for backwards compatibility reasons. 
     298Everything that used to be provided by this package is part 
     299of iptables now. 
    294300endef 
    295301 
     
    306312  DEPENDS:=ip6tables 
    307313  CATEGORY:=IPv6 
    308   TITLE:=ip6tables save and restore utilities 
     314  TITLE:=ip6tables save and restore utilities (deprecated) 
     315endef 
     316 
     317define Package/ip6tables-utils/description 
     318This is a dummy package for backwards compatibility reasons. 
     319Everything that used to be provided by this package is part 
     320of ip6tables now. 
    309321endef 
    310322 
     
    394406        $(INSTALL_DIR) $(1)/usr/sbin 
    395407        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/ 
     408        $(LN) iptables $(1)/usr/sbin/iptables-save 
     409        $(LN) iptables $(1)/usr/sbin/iptables-restore 
    396410        $(INSTALL_DIR) $(1)/usr/lib/iptables 
    397411        (cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \ 
     
    405419 
    406420define Package/iptables-utils/install 
    407         $(INSTALL_DIR) $(1)/usr/sbin 
    408         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables-multi $(1)/usr/sbin/ 
    409         $(LN) iptables-multi $(1)/usr/sbin/iptables-save 
    410         $(LN) iptables-multi $(1)/usr/sbin/iptables-restore 
     421        true 
    411422endef 
    412423 
     
    414425        $(INSTALL_DIR) $(1)/usr/sbin 
    415426        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables $(1)/usr/sbin/ 
     427        $(LN) ip6tables $(1)/usr/sbin/ip6tables-save 
     428        $(LN) ip6tables $(1)/usr/sbin/ip6tables-restore 
    416429        $(INSTALL_DIR) $(1)/usr/lib/iptables 
    417430        (cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \ 
     
    421434 
    422435define Package/ip6tables-utils/install 
    423         $(INSTALL_DIR) $(1)/usr/sbin 
    424         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-multi $(1)/usr/sbin/ 
    425         $(LN) ip6tables-multi $(1)/usr/sbin/ip6tables-save 
    426         $(LN) ip6tables-multi $(1)/usr/sbin/ip6tables-restore 
     436        true 
    427437endef 
    428438 
Note: See TracChangeset for help on using the changeset viewer.