Update libnet to 1.1.2.1, need to rebuild dependencies against it and have some tests
authorFlorian Fainelli <florian@openwrt.org>
Wed, 13 Sep 2006 22:53:26 +0000 (22:53 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 13 Sep 2006 22:53:26 +0000 (22:53 +0000)
SVN-Revision: 4784

libs/libnet/Makefile
libs/libnet/patches/500-debian-subset.patch.gz

index 415b3537c166d549114287c28854b8157ed028a1..5e21812b475258e9d8ed1324e97cbcb6f278a519 100644 (file)
@@ -9,13 +9,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libnet
-PKG_VERSION:=1.0.2a
-PKG_RELEASE:=7
+PKG_VERSION:=1.1.2.1
+PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/Libnet-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.packetfactory.net/libnet/dist/deprecated/
-PKG_MD5SUM:=ddf53f0f484184390e8c2a1bd0853667
+PKG_BUILD_DIR:=$(BUILD_DIR)/libnet
+PKG_SOURCE:=$(PKG_NAME).tar.gz
+PKG_SOURCE_URL:=http://www.packetfactory.net/libnet/dist/
+PKG_MD5SUM:=be845c41170d72c7db524f3411b50256
 PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@@ -35,6 +35,12 @@ ENDIANESS:=lil
 ifeq ($(ARCH),mips)
 ENDIANESS:=big
 endif
+ifeq ($(ARCH),armeb)
+ENDIANESS:=big
+endif
+ifeq ($(ARCH),powerpc)
+ENDIANESS:=big
+endif
 
 define Build/Configure
        (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
@@ -50,6 +56,7 @@ define Build/Configure
                ac_libnet_have_pf_packet=yes \
                ac_cv_lbl_unaligned_fail=no \
                ac_cv_libnet_endianess=$(ENDIANESS) \
+               ac_libnet_have_packet_socket=yes \
                ./configure \
                        --target=$(GNU_TARGET_NAME) \
                        --host=$(GNU_TARGET_NAME) \
index 0c1d676ca4b443b9be68ba77cd310f115ec80a91..6ebd6b5c38dd992c506c14c9be88540d85c254a8 100644 (file)
Binary files a/libs/libnet/patches/500-debian-subset.patch.gz and b/libs/libnet/patches/500-debian-subset.patch.gz differ