summaryrefslogtreecommitdiff
path: root/package/raddump
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/raddump
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/raddump')
-rwxr-xr-xpackage/raddump/Makefile14
-rwxr-xr-xpackage/raddump/ipkg/raddump.control6
2 files changed, 8 insertions, 12 deletions
diff --git a/package/raddump/Makefile b/package/raddump/Makefile
index 8585ef928..8031ece50 100755
--- a/package/raddump/Makefile
+++ b/package/raddump/Makefile
@@ -9,19 +9,21 @@ PKG_NAME:= raddump
PKG_VERSION:= 0.3.1
PKG_RELEASE:= 1
PKG_MD5SUM:= f8c29c67141ea78bb6ae8b97d5149480
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=raddump/}
+PKG_DESCR:= interprets captured RADIUS packets
+PKG_SECTION:= net
+PKG_DEPENDS:= libpcap libopenssl
+PKG_URL:= http://sourceforge.net/projects/raddump
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=raddump/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,RADDUMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,RADDUMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
-CONFIGURE_ARGS+= ac_cv_c_bigendian=no \
- ac_cv_func_malloc_0_nonnull=yes \
- ac_cv_func_realloc_0_nonnull=yes
INSTALL_STYLE:= auto
post-install:
- ${CP} ${WRKINST}/* ${IDIR_RADDUMP}/
+ ${INSTALL_DIR} ${IDIR_RADDUMP}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/raddump ${IDIR_RADDUMP}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/raddump/ipkg/raddump.control b/package/raddump/ipkg/raddump.control
deleted file mode 100755
index 2d31b0221..000000000
--- a/package/raddump/ipkg/raddump.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: raddump
-Depends: libpcap, libopenssl
-Section: net
-Architecture: mipsel
-Priority: optional
-Description: raddump interprets captured RADIUS packets to print a timestamp, packet length, RADIUS packet type, source and destination hosts and ports, and included attribute names and values for each packet.