2 # Copyright (C) 2008-2016 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
:=https
://github.com
/radsecproxy
/radsecproxy
/releases
/download
/$(PKG_VERSION
)/
16 PKG_HASH
:=e08e4e04d188deafd0b55b2f66b1e7fff9bdb553fb170846590317d02c9dc5db
18 PKG_MAINTAINER
:=Toke Høiland-Jørgensen
<toke@toke.dk
>
19 PKG_LICENSE
:=BSD-3-CLAUSE
20 PKG_LICENSE_FILES
:=LICENSE
21 PKG_CPE_ID
:=cpe
:/a
:uninett
:radsecproxy
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/radsecproxy
32 DEPENDS
:=+libopenssl
+libpthread
+libnettle
34 URL
:=https
://radsecproxy.github.io
/
37 define Package
/radsecproxy
/description
38 A generic radius proxy for UDP
/TLS
(RadSec
)
42 --with-ssl
="$(STAGING_DIR)/usr"
44 define Package
/radsecproxy
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
/
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/radsecproxy
$(1)/usr
/sbin
/
47 $(INSTALL_DIR
) $(1)/etc
/config
/
48 $(INSTALL_DATA
) .
/files
/radsecproxy.conf
$(1)/etc
/config
/radsecproxy
49 $(INSTALL_DIR
) $(1)/etc
/init.d
/
50 $(INSTALL_BIN
) .
/files
/radsecproxy.init
$(1)/etc
/init.d
/radsecproxy
53 define Package
/radsecproxy
/conffiles
54 /etc
/config
/radsecproxy
57 $(eval
$(call BuildPackage
,radsecproxy
))