summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-09 13:05:48 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-09 13:05:48 +0000
commit4bfff023c5397d4088bc6f4619500c8118fc495f (patch)
tree09bd6fd9184a59436a1563392f1e52c806ab912b /package
parent268ceb4392127ebd9dad18ba4ed7d0b227e8c37f (diff)
linux-atm: package atm-diagnostics with atmdump, atmdiag, etc.
If your ISP is pushing their own DSL equipment (which many do to contain support costs), they won't be forthcoming with your various settings: encapsulation, VPI/VCI, etc. These you might have to discover yourself. The easiest way to do this is with atmdiag and atmdump. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26542 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/linux-atm/Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index b88928df8..1a548822d 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -43,6 +43,18 @@ define Package/atm-tools/description
This package contains the Linux ATM tools.
endef
+define Package/atm-diagnostics
+ SECTION:=net
+ CATEGORY:=Network
+ DEPENDS:=linux-atm
+ TITLE:=Linux ATM Diagnostics
+ URL:=http://linux-atm.sourceforge.net/
+endef
+
+define Package/atm-diagnostics/description
+ This package contains the Linux ATM diagnostics.
+endef
+
define Package/br2684ctl
SECTION:=net
CATEGORY:=Network
@@ -89,7 +101,6 @@ define Package/atm-tools/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/arpd/atmarp{,d} $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/lib/network
$(INSTALL_BIN) ./files/ipoa.sh $(1)/lib/network/
- $(INSTALL_DIR) $(1)/usr/bin/
#
#The following is disabled by default but still useful for some debugging
@@ -121,6 +132,14 @@ define Package/atm-tools/install
# $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttcp_atm $(1)/usr/bin/
endef
+define Package/atm-diagnostics/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aread $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/awrite $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/atmdiag $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/atmdump $(1)/usr/bin/
+endef
+
define Package/br2684ctl/install
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) ./files/br2684ctl $(1)/etc/init.d/
@@ -130,4 +149,5 @@ endef
$(eval $(call BuildPackage,linux-atm))
$(eval $(call BuildPackage,atm-tools))
+$(eval $(call BuildPackage,atm-diagnostics))
$(eval $(call BuildPackage,br2684ctl))