1
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.6.8
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://software.uninett.no/radsecproxy/
  13. PKG_HASH:=9923203c3aaf17e31d5bc7a61b99e5a6aa0ef19a8397616f6ef9c0c41948f7d2
  14. PKG_LICENSE:=GPL-2.0+
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/radsecproxy
  19. SECTION:=net
  20. CATEGORY:=Network
  21. DEPENDS:=+libopenssl +libpthread
  22. TITLE:=radsecproxy
  23. URL:=http://software.uninett.no/radsecproxy
  24. MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
  25. endef
  26. define Package/radsecproxy/description
  27. A generic radius proxy for UDP/TLS (RadSec)
  28. endef
  29. CONFIGURE_ARGS+= \
  30. --with-ssl="$(STAGING_DIR)/usr"
  31. #TARGET_CFLAGS += -ansi
  32. #TARGET_CFLAGS += -std=c99
  33. TARGET_CFLAGS += -Wno-long-long
  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))