bluez-tools: Add package bluezetools
[feed/packages.git] / net / radsecproxy / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=radsecproxy
11 PKG_VERSION:=1.9.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/radsecproxy/radsecproxy/releases/download/$(PKG_VERSION)/
16 PKG_HASH:=440624c53ae67c8e245b9b60ad4d29525471e957d923d94cf72945efc40f4a28
17
18 PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
19 PKG_LICENSE:=BSD-3-CLAUSE
20 PKG_LICENSE_FILES:=LICENSE
21 PKG_CPE_ID:=cpe:/a:uninett:radsecproxy
22
23 PKG_FIXUP:=autoreconf
24 PKG_BUILD_PARALLEL:=1
25 PKG_INSTALL:=1
26
27 include $(INCLUDE_DIR)/package.mk
28
29 define Package/radsecproxy
30 SECTION:=net
31 CATEGORY:=Network
32 DEPENDS:=+libopenssl +libpthread +libnettle
33 TITLE:=radsecproxy
34 URL:=https://radsecproxy.github.io/
35 endef
36
37 define Package/radsecproxy/description
38 A generic radius proxy for UDP/TLS (RadSec)
39 endef
40
41 CONFIGURE_ARGS+= \
42 --with-ssl="$(STAGING_DIR)/usr"
43
44 define Package/radsecproxy/install
45 $(INSTALL_DIR) $(1)/usr/sbin/
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radsecproxy $(1)/usr/sbin/
47 $(INSTALL_DIR) $(1)/etc/config/
48 $(INSTALL_DATA) ./files/radsecproxy.conf $(1)/etc/config/radsecproxy
49 $(INSTALL_DIR) $(1)/etc/init.d/
50 $(INSTALL_BIN) ./files/radsecproxy.init $(1)/etc/init.d/radsecproxy
51 endef
52
53 define Package/radsecproxy/conffiles
54 /etc/config/radsecproxy
55 endef
56
57 $(eval $(call BuildPackage,radsecproxy))
58