2007-10-22 13:45:58 +00:00
|
|
|
#
|
2011-11-13 22:15:31 +00:00
|
|
|
# Copyright (C) 2008-20211 OpenWrt.org
|
2007-10-22 13:45:58 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=radsecproxy
|
2011-02-23 17:44:34 +00:00
|
|
|
PKG_VERSION:=1.4.2
|
2011-11-16 20:02:41 +00:00
|
|
|
PKG_RELEASE:=3
|
2007-10-22 13:45:58 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://software.uninett.no/radsecproxy/
|
2011-02-23 17:44:34 +00:00
|
|
|
PKG_MD5SUM:=ccdff609c72c0862235b9119323345a8
|
2007-10-22 13:45:58 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2007-10-22 13:45:58 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/radsecproxy
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2008-12-13 20:28:08 +00:00
|
|
|
DEPENDS:=+libopenssl +libpthread
|
2007-10-22 13:45:58 +00:00
|
|
|
TITLE:=radsecproxy
|
|
|
|
URL:=http://software.uninett.no/radsecproxy
|
2010-03-30 23:41:38 +00:00
|
|
|
MAINTAINER:=Hans Zandbelt <hans.zandbelt@gmail.com>
|
2007-10-22 13:45:58 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/radsecproxy/description
|
|
|
|
A generic radius proxy for UDP/TLS (RadSec)
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--with-ssl="$(STAGING_DIR)/usr"
|
|
|
|
|
|
|
|
define Package/radsecproxy/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin/
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
|
2007-10-22 13:45:58 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/
|
2010-07-17 14:38:41 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/radsecproxy.conf-example $(1)/etc/radsecproxy.conf
|
2007-10-22 13:45:58 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
|
|
$(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
|
|
|
|
endef
|
|
|
|
|
2011-11-16 20:02:41 +00:00
|
|
|
define Package/radsecproxy/conffiles
|
|
|
|
/etc/radsecproxy.conf
|
|
|
|
endef
|
|
|
|
|
2007-10-22 13:45:58 +00:00
|
|
|
$(eval $(call BuildPackage,radsecproxy))
|
|
|
|
|