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
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/raddump
17 PKG_MD5SUM
:=f8c29c67141ea78bb6ae8b97d5149480
19 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 URL
:=http
://sourceforge.net
/projects
/raddump
32 define Package
/raddump
/description
33 raddump interprets captured RADIUS packets to
print a
34 timestamp
, packet length
, RADIUS packet type
, source and
35 destination hosts and ports
, and included attribute names and
36 values for each packet.
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
43 DESTDIR
="$(PKG_INSTALL_DIR)" \
47 define Package
/raddump
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/raddump
$(1)/usr
/bin
/
52 $(eval
$(call BuildPackage
,raddump
))