2014-07-31 12:09:44 +00:00
|
|
|
#
|
2016-07-21 12:22:02 +00:00
|
|
|
# Copyright (C) 2008-2016 OpenWrt.org
|
2014-07-31 12:09:44 +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
|
2022-07-03 20:53:27 +00:00
|
|
|
PKG_VERSION:=1.9.1
|
|
|
|
PKG_RELEASE:=1
|
2014-07-31 12:09:44 +00:00
|
|
|
|
2016-09-23 12:01:04 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2018-07-09 13:11:05 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/radsecproxy/radsecproxy/releases/download/$(PKG_VERSION)/
|
2022-07-03 20:53:27 +00:00
|
|
|
PKG_HASH:=e08e4e04d188deafd0b55b2f66b1e7fff9bdb553fb170846590317d02c9dc5db
|
2014-07-31 12:09:44 +00:00
|
|
|
|
2020-01-26 01:48:50 +00:00
|
|
|
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
|
2018-09-04 12:48:48 +00:00
|
|
|
PKG_LICENSE:=BSD-3-CLAUSE
|
2016-07-21 12:22:02 +00:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2019-09-12 12:13:21 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:uninett:radsecproxy
|
2016-07-21 12:22:02 +00:00
|
|
|
|
2018-07-09 13:11:05 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2020-01-26 01:48:50 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-07-31 12:09:44 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/radsecproxy
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2018-07-09 13:11:05 +00:00
|
|
|
DEPENDS:=+libopenssl +libpthread +libnettle
|
2014-07-31 12:09:44 +00:00
|
|
|
TITLE:=radsecproxy
|
2018-07-09 13:11:05 +00:00
|
|
|
URL:=https://radsecproxy.github.io/
|
2014-07-31 12:09:44 +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/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
|
2016-07-21 12:15:53 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config/
|
|
|
|
$(INSTALL_DATA) ./files/radsecproxy.conf $(1)/etc/config/radsecproxy
|
2014-07-31 12:09:44 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
|
|
$(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/radsecproxy/conffiles
|
2016-07-21 12:15:53 +00:00
|
|
|
/etc/config/radsecproxy
|
2014-07-31 12:09:44 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,radsecproxy))
|
|
|
|
|