Changeset 26457


Ignore:
Timestamp:
2011-04-04T01:20:48+02:00 (5 years ago)
Author:
nbd
Message:

iptables: backport the libiptc split from r26292

File:
1 edited

Legend:

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

    r25906 r26457  
    4545  TITLE:=IPv4 firewall administration tool 
    4646  MENU:=1 
    47   DEPENDS+= +kmod-ipt-core +libiptc +libxtables 
     47  DEPENDS+= +kmod-ipt-core +libip4tc +libxtables 
    4848endef 
    4949 
     
    233233define Package/ip6tables 
    234234$(call Package/iptables/Default) 
    235   DEPENDS:=+kmod-ip6tables 
     235  DEPENDS:=+kmod-ip6tables +libip6tc +libxtables 
    236236  CATEGORY:=IPv6 
    237237  TITLE:=IPv6 firewall administration tool 
     
    250250  SECTION:=libs 
    251251  CATEGORY:=Libraries 
    252   TITLE:=IPv4/IPv6 firewall - shared libiptc library 
     252  DEPENDS:=+libip4tc +libip6tc 
     253  TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub) 
     254endef 
     255 
     256define Package/libip4tc 
     257$(call Package/iptables/Default) 
     258  SECTION:=libs 
     259  CATEGORY:=Libraries 
     260  TITLE:=IPv4 firewall - shared libiptc library 
     261endef 
     262 
     263define Package/libip6tc 
     264$(call Package/iptables/Default) 
     265  SECTION:=libs 
     266  CATEGORY:=Libraries 
     267  TITLE:=IPv6 firewall - shared libiptc library 
    253268endef 
    254269 
     
    347362define Package/libiptc/install 
    348363        $(INSTALL_DIR) $(1)/usr/lib 
    349         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip*tc.so* $(1)/usr/lib/ 
     364        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiptc.so* $(1)/usr/lib/ 
     365endef 
     366 
     367define Package/libip4tc/install 
     368        $(INSTALL_DIR) $(1)/usr/lib 
     369        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip4tc.so* $(1)/usr/lib/ 
     370endef 
     371 
     372define Package/libip6tc/install 
     373        $(INSTALL_DIR) $(1)/usr/lib 
     374        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip6tc.so* $(1)/usr/lib/ 
    350375endef 
    351376 
     
    392417$(eval $(call BuildPackage,ip6tables-utils)) 
    393418$(eval $(call BuildPackage,libiptc)) 
     419$(eval $(call BuildPackage,libip4tc)) 
     420$(eval $(call BuildPackage,libip6tc)) 
    394421$(eval $(call BuildPackage,libxtables)) 
Note: See TracChangeset for help on using the changeset viewer.