2 # Copyright (C) 2008-2012 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:=f74f82a7ae2cdf2b1d9d271a5c360617
20 include $(INCLUDE_DIR)/package.mk
22 define Package/radsecproxy
25 DEPENDS:=+libopenssl +libpthread
27 URL:=http://software.uninett.no/radsecproxy
30 define Package/radsecproxy/description
31 A generic radius proxy for UDP/TLS (RadSec)
35 --with-ssl="$(STAGING_DIR)/usr"
37 #TARGET_CFLAGS += -ansi
38 #TARGET_CFLAGS += -std=c99
39 TARGET_CFLAGS += -Wno-long-long
42 define Package/radsecproxy/install
43 $(INSTALL_DIR) $(1)/usr/sbin/
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
45 $(INSTALL_DIR) $(1)/etc/
46 $(CP) $(PKG_BUILD_DIR)/radsecproxy.conf-example $(1)/etc/radsecproxy.conf
47 $(INSTALL_DIR) $(1)/etc/init.d/
48 $(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
51 define Package/radsecproxy/conffiles
55 $(eval $(call BuildPackage,radsecproxy))