Changeset 26292


Ignore:
Timestamp:
2011-03-25T19:02:51+01:00 (7 years ago)
Author:
nbd
Message:

iptables: libiptc.so is only a compatibility stub, split the package into libip4tc and libip6tc and adjust dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/iptables/Makefile

    r26056 r26292  
    4848  TITLE:=IPv4 firewall administration tool 
    4949  MENU:=1 
    50   DEPENDS+= +kmod-ipt-core +libiptc +libxtables 
     50  DEPENDS+= +kmod-ipt-core +libip4tc +libxtables 
    5151endef 
    5252 
     
    238238define Package/ip6tables 
    239239$(call Package/iptables/Default) 
    240   DEPENDS:=+kmod-ip6tables +libiptc +libxtables 
     240  DEPENDS:=+kmod-ip6tables +libip6tc +libxtables 
    241241  CATEGORY:=IPv6 
    242242  TITLE:=IPv6 firewall administration tool 
     
    255255  SECTION:=libs 
    256256  CATEGORY:=Libraries 
    257   TITLE:=IPv4/IPv6 firewall - shared libiptc library 
     257  DEPENDS:=+libip4tc +libip6tc 
     258  TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub) 
     259endef 
     260 
     261define Package/libip4tc 
     262$(call Package/iptables/Default) 
     263  SECTION:=libs 
     264  CATEGORY:=Libraries 
     265  TITLE:=IPv4 firewall - shared libiptc library 
     266endef 
     267 
     268define Package/libip6tc 
     269$(call Package/iptables/Default) 
     270  SECTION:=libs 
     271  CATEGORY:=Libraries 
     272  TITLE:=IPv6 firewall - shared libiptc library 
    258273endef 
    259274 
     
    353368define Package/libiptc/install 
    354369        $(INSTALL_DIR) $(1)/usr/lib 
    355         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip*tc.so* $(1)/usr/lib/ 
     370        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiptc.so* $(1)/usr/lib/ 
     371endef 
     372 
     373define Package/libip4tc/install 
     374        $(INSTALL_DIR) $(1)/usr/lib 
     375        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip4tc.so* $(1)/usr/lib/ 
     376endef 
     377 
     378define Package/libip6tc/install 
     379        $(INSTALL_DIR) $(1)/usr/lib 
     380        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip6tc.so* $(1)/usr/lib/ 
    356381endef 
    357382 
     
    403428$(eval $(call BuildPackage,ip6tables-utils)) 
    404429$(eval $(call BuildPackage,libiptc)) 
     430$(eval $(call BuildPackage,libip4tc)) 
     431$(eval $(call BuildPackage,libip6tc)) 
    405432$(eval $(call BuildPackage,libxtables)) 
    406433$(eval $(call BuildPackage,libipq)) 
Note: See TracChangeset for help on using the changeset viewer.