2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://software.uninett.no
/radsecproxy
/
16 PKG_MD5SUM
:=e209054731b3316301d0920c15a0a5b2
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/radsecproxy
23 DEPENDS
:=+libopenssl
+libpthread
25 URL
:=http
://software.uninett.no
/radsecproxy
28 define Package
/radsecproxy
/description
29 A generic radius proxy for UDP
/TLS
(RadSec
)
33 --with-ssl
="$(STAGING_DIR)/usr"
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 DESTDIR
="$(PKG_INSTALL_DIR)" \
41 define Package
/radsecproxy
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
/
43 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/radsecproxy
$(1)/usr
/sbin
/
44 $(INSTALL_DIR
) $(1)/etc
/
45 $(CP
) $(PKG_INSTALL_DIR
)/etc
/radsecproxy.conf-example
$(1)/etc
/radsecproxy.conf
46 $(INSTALL_DIR
) $(1)/etc
/init.d
/
47 $(INSTALL_BIN
) .
/files
/radsecproxy.init
$(1)/etc
/init.d
/radsecproxy
50 $(eval
$(call BuildPackage
,radsecproxy
))