2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
14 PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
15 PKG_SOURCE_URL:=@SF/raddump
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22 include $(INCLUDE_DIR)/package.mk
24 define Package/raddump
27 DEPENDS:=+libpcap +libopenssl
28 TITLE:=raddump interprets captured RADIUS packets.
29 DESCRIPTION:=raddump interprets captured RADIUS packets to print a\\\
30 timestamp, packet length, RADIUS packet type, source and\\\
31 destination hosts and ports, and included attribute names and\\\
32 values for each packet.\\\
33 URL:=http://sourceforge.net/projects/raddump
36 define Build/Configure
37 $(call Build/Configure/Default,,ac_cv_c_bigendian=no \
38 ac_cv_func_malloc_0_nonnull=yes \
39 ac_cv_func_realloc_0_nonnull=yes)
43 $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
46 define Package/raddump/install
48 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
51 $(eval $(call BuildPackage,raddump))