You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2008-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=radsecproxy
  9. PKG_VERSION:=1.8.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/radsecproxy/radsecproxy/releases/download/$(PKG_VERSION)/
  13. PKG_HASH:=c6f9380f049818e71c129ee9bdfa20c8e0e3a13ca1c806643e0d44c310914e63
  14. PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
  15. PKG_LICENSE:=BSD-3-CLAUSE
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_CPE_ID:=cpe:/a:uninett:radsecproxy
  18. PKG_FIXUP:=autoreconf
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/radsecproxy
  23. SECTION:=net
  24. CATEGORY:=Network
  25. DEPENDS:=+libopenssl +libpthread +libnettle
  26. TITLE:=radsecproxy
  27. URL:=https://radsecproxy.github.io/
  28. endef
  29. define Package/radsecproxy/description
  30. A generic radius proxy for UDP/TLS (RadSec)
  31. endef
  32. CONFIGURE_ARGS+= \
  33. --with-ssl="$(STAGING_DIR)/usr"
  34. define Package/radsecproxy/install
  35. $(INSTALL_DIR) $(1)/usr/sbin/
  36. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
  37. $(INSTALL_DIR) $(1)/etc/config/
  38. $(INSTALL_DATA) ./files/radsecproxy.conf $(1)/etc/config/radsecproxy
  39. $(INSTALL_DIR) $(1)/etc/init.d/
  40. $(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
  41. endef
  42. define Package/radsecproxy/conffiles
  43. /etc/config/radsecproxy
  44. endef
  45. $(eval $(call BuildPackage,radsecproxy))