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
:=http
://software.uninett.no
/radsecproxy
/
16 PKG_HASH
:=9923203c3aaf17e31d5bc7a61b99e5a6aa0ef19a8397616f6ef9c0c41948f7d2
19 PKG_LICENSE_FILES
:=LICENSE
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/radsecproxy
28 DEPENDS
:=+libopenssl
+libpthread
30 URL
:=http
://software.uninett.no
/radsecproxy
31 MAINTAINER
:=Toke Høiland-Jørgensen
<toke@toke.dk
>
34 define Package
/radsecproxy
/description
35 A generic radius proxy for UDP
/TLS
(RadSec
)
39 --with-ssl
="$(STAGING_DIR)/usr"
41 #TARGET_CFLAGS += -ansi
42 #TARGET_CFLAGS += -std=c99
43 TARGET_CFLAGS
+= -Wno-long-long
46 define Package
/radsecproxy
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
/
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/radsecproxy
$(1)/usr
/sbin
/
49 $(INSTALL_DIR
) $(1)/etc
/config
/
50 $(INSTALL_DATA
) .
/files
/radsecproxy.conf
$(1)/etc
/config
/radsecproxy
51 $(INSTALL_DIR
) $(1)/etc
/init.d
/
52 $(INSTALL_BIN
) .
/files
/radsecproxy.init
$(1)/etc
/init.d
/radsecproxy
55 define Package
/radsecproxy
/conffiles
56 /etc
/config
/radsecproxy
59 $(eval
$(call BuildPackage
,radsecproxy
))