summaryrefslogtreecommitdiff
path: root/package/mtr
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/mtr
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/mtr')
-rw-r--r--package/mtr/Makefile8
-rw-r--r--package/mtr/ipkg/mtr.control15
2 files changed, 6 insertions, 17 deletions
diff --git a/package/mtr/Makefile b/package/mtr/Makefile
index 0d90da866..87afd18d9 100644
--- a/package/mtr/Makefile
+++ b/package/mtr/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:= mtr
PKG_VERSION:= 0.75
PKG_RELEASE:= 1
PKG_MD5SUM:= 23baca52d0922c2ecba7eba05317868c
-MASTER_SITES:= ftp://ftp.bitwizard.nl/mtr/
+PKG_DESCR:= ncurses traceroute/ping tool
+PKG_SECTION:= net
+PKG_DEPENDS:= libncurses
+PKG_URL:= http://www.bitwizard.nl/mtr
+PKG_SITES:= ftp://ftp.bitwizard.nl/mtr/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,MTR,mtr,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,MTR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE+= gnu
CONFIGURE_ENV+= ac_cv_lib_resolv_res_mkquery=yes
diff --git a/package/mtr/ipkg/mtr.control b/package/mtr/ipkg/mtr.control
deleted file mode 100644
index c5dad152c..000000000
--- a/package/mtr/ipkg/mtr.control
+++ /dev/null
@@ -1,15 +0,0 @@
-Package: mtr
-Priority: optional
-Section: net
-Depends: libncurses
-Description: Full screen ncurses traceroute/ping tool
- mtr combines the functionality of the 'traceroute' and 'ping' programs
- in a single network diagnostic tool.
- .
- As mtr starts, it investigates the network connection between the host
- mtr runs on and a user-specified destination host. After it
- determines the address of each network hop between the machines,
- it sends a sequence ICMP ECHO requests to each one to determine the
- quality of the link to each machine. As it does this, it prints
- running statistics about each machine.
-