net/iputils: update to iputils-20100418
authorAlexandros C. Couloumbis <alex@ozo.com>
Wed, 7 Jul 2010 09:59:54 +0000 (09:59 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Wed, 7 Jul 2010 09:59:54 +0000 (09:59 +0000)
SVN-Revision: 22083

net/iputils/Makefile
net/iputils/patches/002-fix-ipv6.patch
net/iputils/patches/003-fix-makefile.patch [new file with mode: 0644]

index 40c4903a63987832fa9b55054c630ff1ca2cbe98..736144ae2a36a9b90cffd4b8a6c4b76c4baf4b2b 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=iputils
-PKG_VERSION:=20071127
+PKG_VERSION:=20100418
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-s$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.skbuff.net/iputils
-PKG_MD5SUM:=12245e9927d60ff5cf4a99d265bcb7d3
+PKG_MD5SUM:=df6b0062118cdc5c62e3c810f831e976
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-s$(PKG_VERSION)
 
@@ -26,6 +26,7 @@ define Package/iputils-arping
   CATEGORY:=Network
   TITLE:=iputils - arping
   URL:=http://www.skbuff.net/iputils
+  DEPENDS:= +sysfsutils
 endef
 
 define Package/iputils-arping/description
@@ -121,7 +122,7 @@ define Package/iputils-traceroute6/description
 endef
 
 MAKE_FLAGS += \
-       CFLAGS="$(TARGET_CFLAGS)"
+       CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -L$(STAGING_DIR)/usr/lib" 
 
 define Package/iputils-arping/install
        $(INSTALL_DIR) $(1)/usr/bin
index 09617ca565d43deaa729e4ca1a4c19bd35f2078a..f549d71dbe6eb288a19f00cd46c5faec8aa05029 100644 (file)
  
  LASTTAG:=`git-describe HEAD | sed -e 's/-.*//'`
  TAG:=`date +s%Y%m%d`
-@@ -29,7 +32,7 @@ all: $(TARGETS)
- tftpd: tftpd.o tftpsubs.o
- ping: ping.o ping_common.o
- ping6: ping6.o ping_common.o
--ping.o ping6.o ping_common.o: ping_common.h
-+ping.o ping_common.o: ping_common.h
- tftpd.o tftpsubs.o: tftp.h
- rdisc_srv: rdisc_srv.o
diff --git a/net/iputils/patches/003-fix-makefile.patch b/net/iputils/patches/003-fix-makefile.patch
new file mode 100644 (file)
index 0000000..f2bc17a
--- /dev/null
@@ -0,0 +1,16 @@
+--- a/Makefile
++++ b/Makefile
+@@ -30,9 +30,11 @@ all: $(TARGETS)
+ tftpd: tftpd.o tftpsubs.o
+-arping: arping.o -lsysfs
++arping: arping.o 
++      $(CC) $(CFLAGS) -o $@ arping.o -lsysfs
+ ping: ping.o ping_common.o
+-ping6: ping6.o ping_common.o -lresolv -lcrypto
++ping6: ping6.o ping_common.o 
++      $(CC) $(CFLAGS) -o $@  ping6.o ping_common.o -lresolv -lcrypto
+ ping.o ping6.o ping_common.o: ping_common.h
+ tftpd.o tftpsubs.o: tftp.h