summaryrefslogtreecommitdiffstats
path: root/openwrt/package/ndisc
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-24 01:51:58 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-24 01:51:58 +0000
commit543e698b786407b17770c1090ebe0f2fb54b25f9 (patch)
tree6ccc79307bf1d731c44f35660fa484d435fab4f5 /openwrt/package/ndisc
parent94b0b3ccf57a3cf308630c695e954f0aa69f3d56 (diff)
Add ndisc package, in its own menu to avoid breaking sort order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1041 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/ndisc')
-rw-r--r--openwrt/package/ndisc/Config.in32
-rw-r--r--openwrt/package/ndisc/Makefile41
-rw-r--r--openwrt/package/ndisc/ipkg/ndisc6.control8
-rw-r--r--openwrt/package/ndisc/ipkg/rdisc6.control8
4 files changed, 89 insertions, 0 deletions
diff --git a/openwrt/package/ndisc/Config.in b/openwrt/package/ndisc/Config.in
new file mode 100644
index 000000000..8759c3255
--- /dev/null
+++ b/openwrt/package/ndisc/Config.in
@@ -0,0 +1,32 @@
+menu "ndisc - ICMPv6 discovery tools"
+
+config BR2_PACKAGE_NDISC
+ bool
+ default n
+ depends BR2_PACKAGE_NDISC6 || BR2_PACKAGE_RDISC6
+
+config BR2_PACKAGE_NDISC6
+ tristate "ndisc6 - ICMPv6 neighbour discovery tool"
+# default m if CONFIG_DEVEL
+ default n
+ select BR2_PACKAGE_NDISC
+ help
+
+ ICMPv6 neighbour discovery tools
+
+ http://people.via.ecp.fr/~rem/ndisc/
+
+
+config BR2_PACKAGE_RDISC6
+ tristate "rdisc6 - ICMPv6 router discovery tool"
+# default m if CONFIG_DEVEL
+ default n
+ select BR2_PACKAGE_NDISC
+ help
+
+ ICMPv6 router discovery tool
+
+ http://people.via.ecp.fr/~rem/ndisc/
+
+
+endmenu
diff --git a/openwrt/package/ndisc/Makefile b/openwrt/package/ndisc/Makefile
new file mode 100644
index 000000000..81d5c115a
--- /dev/null
+++ b/openwrt/package/ndisc/Makefile
@@ -0,0 +1,41 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=ndisc
+PKG_VERSION:=0.1.3
+PKG_RELEASE:=1
+PKG_MD5SUM:= c7a8acd8e3d1053265faa17f7edb75d6
+
+PKG_SOURCE_URL:=http://people.via.ecp.fr/~rem/ndisc/v0.1/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_CAT:=bzcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,NDISC6,ndisc6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+$(eval $(call PKG_template,RDISC6,rdisc6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ all
+ touch $@
+
+$(IPKG_NDISC6):
+ install -d -m0755 $(IDIR_NDISC6)/usr/bin
+ install -m0755 $(PKG_BUILD_DIR)/ndisc6 $(IDIR_NDISC6)/usr/bin/
+ $(RSTRIP) $(IDIR_NDISC6)
+ $(IPKG_BUILD) $(IDIR_NDISC6) $(PACKAGE_DIR)
+
+$(IPKG_RDISC6):
+ install -d -m0755 $(IDIR_RDISC6)/usr/bin
+ install -m0755 $(PKG_BUILD_DIR)/rdisc6 $(IDIR_RDISC6)/usr/bin/
+ $(RSTRIP) $(IDIR_RDISC6)
+ $(IPKG_BUILD) $(IDIR_RDISC6) $(PACKAGE_DIR)
diff --git a/openwrt/package/ndisc/ipkg/ndisc6.control b/openwrt/package/ndisc/ipkg/ndisc6.control
new file mode 100644
index 000000000..91356525e
--- /dev/null
+++ b/openwrt/package/ndisc/ipkg/ndisc6.control
@@ -0,0 +1,8 @@
+Package: ndisc6
+Priority: optional
+Section: net
+Version: [TBDL]
+Architecture: [TBDL]
+Maintainer: Nico <nthill@free.fr>
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/ndisc/
+Description: ICMPv6 Neighbour Discovery tool
diff --git a/openwrt/package/ndisc/ipkg/rdisc6.control b/openwrt/package/ndisc/ipkg/rdisc6.control
new file mode 100644
index 000000000..05df1176b
--- /dev/null
+++ b/openwrt/package/ndisc/ipkg/rdisc6.control
@@ -0,0 +1,8 @@
+Package: rdisc6
+Priority: optional
+Section: net
+Version: [TBDL]
+Architecture: [TBDL]
+Maintainer: Nico <nthill@free.fr>
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/ndisc/
+Description: ICMPv6 Router Discovery tool