summaryrefslogtreecommitdiff
path: root/package/raddump
diff options
context:
space:
mode:
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.