Changeset 25336


Ignore:
Timestamp:
2011-02-03T04:25:29+01:00 (7 years ago)
Author:
swalker
Message:

[packages] ndisc: update to 1.0.0

  • add missing libpthread dependencies
  • append -std=c99 to TARGET_CFLAGS
  • update URL
  • use PKG_INSTALL
  • refresh patches
Location:
packages/ipv6/ndisc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/ndisc/Makefile

    r21773 r25336  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=ndisc6 
    11 PKG_VERSION:=0.9.9 
     11PKG_VERSION:=1.0.0 
    1212PKG_RELEASE:=1 
    13 PKG_MD5SUM:=aab2209fa7bf6b02ed2f49e7b8e9fa18 
    1413 
    15 PKG_SOURCE_URL:=http://www.remlab.net/files/ndisc6/ 
    1614PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     15PKG_SOURCE_URL:=http://www.remlab.net/files/ndisc6 
     16PKG_MD5SUM:=0aa142213f4b24a6c7dcf75d2a2c05a8 
     17 
     18PKG_INSTALL:=1 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
     
    2325  SUBMENU:=IPv6 discovery tools 
    2426  TITLE:=IPv6 discovery tools 
    25   URL:=http://people.via.ecp.fr/~rem/ndisc6/ 
     27  URL:=http://www.remlab.net/ndisc6/ 
    2628endef 
    2729 
     
    3335  $(call Package/ndisc) 
    3436  TITLE:=An ICMPv6 neighbour discovery tool 
     37  DEPENDS:=+libpthread 
    3538endef 
    3639 
     
    4245  $(call Package/ndisc) 
    4346  TITLE:=An ICMPv6 router discovery tool 
     47  DEPENDS:=+libpthread 
    4448endef 
    4549 
     
    6064  $(call Package/ndisc) 
    6165  TITLE:=DNS server discovery daemon 
    62   DEPENDS:=+librt 
     66  DEPENDS:=+libpthread 
    6367endef 
    6468 
     
    6872endef 
    6973 
    70  
    71 define Build/Compile 
    72         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    73                 $(TARGET_CONFIGURE_OPTS) \ 
    74                 CFLAGS="$(TARGET_CFLAGS) -std=c99" \ 
    75                 all 
    76 endef 
     74TARGET_CFLAGS += -std=c99 
    7775 
    7876define Package/ndisc6/install 
    7977        $(INSTALL_DIR) $(1)/usr/bin 
    80         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ndisc6 $(1)/usr/bin/ 
     78        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ndisc6 $(1)/usr/bin/ 
    8179endef 
    8280 
    8381define Package/rdisc6/install 
    8482        $(INSTALL_DIR) $(1)/usr/bin 
    85         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rdisc6 $(1)/usr/bin/ 
     83        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rdisc6 $(1)/usr/bin/ 
    8684endef 
    8785 
    8886define Package/tcptraceroute6/install 
    8987        $(INSTALL_DIR) $(1)/usr/bin 
    90         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tcptraceroute6 $(1)/usr/bin/ 
     88        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tcptraceroute6 $(1)/usr/bin/ 
    9189endef 
    9290 
    9391define Package/rdnssd/install 
    94         $(INSTALL_DIR) $(1)/usr/bin 
    95         $(INSTALL_BIN) $(PKG_BUILD_DIR)/rdnssd/rdnssd $(1)/usr/bin/ 
     92        $(INSTALL_DIR) $(1)/usr/sbin 
     93        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rdnssd $(1)/usr/sbin/ 
    9694endef 
    9795 
  • packages/ipv6/ndisc/patches/110-strverscmp.patch

    r21772 r25336  
    11--- a/rdnssd/Makefile.am 
    22+++ b/rdnssd/Makefile.am 
    3 @@ -27,7 +27,8 @@ conf_SCRIPTS = merge-hook 
     3@@ -30,7 +30,8 @@ conf_SCRIPTS = merge-hook 
    44 # rdnssd 
    55 rdnssd_SOURCES = rdnssd.c rdnssd.h \ 
     
    1313--- a/rdnssd/Makefile.in 
    1414+++ b/rdnssd/Makefile.in 
    15 @@ -58,7 +58,7 @@ CONFIG_CLEAN_FILES = 
     15@@ -60,7 +60,7 @@ CONFIG_CLEAN_FILES = 
     16 CONFIG_CLEAN_VPATH_FILES = 
    1617 am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(confdir)" 
    17  sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 
    1818 PROGRAMS = $(sbin_PROGRAMS) 
    1919-am_rdnssd_OBJECTS = rdnssd.$(OBJEXT) icmp.$(OBJEXT) netlink.$(OBJEXT) 
     
    2222 am__DEPENDENCIES_1 = 
    2323 rdnssd_DEPENDENCIES = $(am__DEPENDENCIES_1) \ 
    24 @@ -213,7 +213,8 @@ conf_SCRIPTS = merge-hook 
     24@@ -251,7 +251,8 @@ conf_SCRIPTS = merge-hook 
    2525 # rdnssd 
    2626 rdnssd_SOURCES = rdnssd.c rdnssd.h \ 
     
    3232 rdnssd_LDADD = $(LIBRT) \ 
    3333                @top_builddir@/compat/libcompat.a 
    34 @@ -336,6 +337,7 @@ distclean-compile: 
     34@@ -373,6 +374,7 @@ distclean-compile: 
    3535  
    3636 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icmp.Po@am__quote@ 
Note: See TracChangeset for help on using the changeset viewer.