summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-09 13:05:48 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-04-09 13:05:48 +0000
commitcdd51194caf76c5c0246ec553b0820e3f21fed52 (patch)
tree98b4fe816320b5349b2e03acc31721f554ef001c /package
parentdf49468a5161b466bba806c89f2e056ed54e4e98 (diff)
downloadmtk-20170518-cdd51194caf76c5c0246ec553b0820e3f21fed52.zip
mtk-20170518-cdd51194caf76c5c0246ec553b0820e3f21fed52.tar.gz
mtk-20170518-cdd51194caf76c5c0246ec553b0820e3f21fed52.tar.bz2
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> SVN-Revision: 26542
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 b88928d..1a54882 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))