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.

57 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2008-2012 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.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://software.uninett.no/radsecproxy/
  13. PKG_MD5SUM:=f74f82a7ae2cdf2b1d9d271a5c360617
  14. PKG_INSTALL:=1
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/radsecproxy
  17. SECTION:=net
  18. CATEGORY:=Network
  19. DEPENDS:=+libopenssl +libpthread
  20. TITLE:=radsecproxy
  21. URL:=http://software.uninett.no/radsecproxy
  22. MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
  23. endef
  24. define Package/radsecproxy/description
  25. A generic radius proxy for UDP/TLS (RadSec)
  26. endef
  27. CONFIGURE_ARGS+= \
  28. --with-ssl="$(STAGING_DIR)/usr"
  29. #TARGET_CFLAGS += -ansi
  30. #TARGET_CFLAGS += -std=c99
  31. TARGET_CFLAGS += -Wno-long-long
  32. define Package/radsecproxy/install
  33. $(INSTALL_DIR) $(1)/usr/sbin/
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
  35. $(INSTALL_DIR) $(1)/etc/
  36. $(CP) $(PKG_BUILD_DIR)/radsecproxy.conf-example $(1)/etc/radsecproxy.conf
  37. $(INSTALL_DIR) $(1)/etc/init.d/
  38. $(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
  39. endef
  40. define Package/radsecproxy/conffiles
  41. /etc/radsecproxy.conf
  42. endef
  43. $(eval $(call BuildPackage,radsecproxy))