source: packages/net/openvpn-devel/Makefile @ 24068

Last change on this file since 24068 was 24068, checked in by florian, 6 years ago

[package] update openvpn-devel to week 45 snapshot

the following patch brings openvpn-devel up to "week 45" (most recent)
openvpn-devel version from git, which has one important bugfix
("route" command with special-case targets was broken) and enables
parallel building.

Also, it seems that "--enable-small" was lost in the application of
the last commit - or my local SVN is confused. I know I sent this last
time, but "svn diff" claims it's not in the repository right now...

Anyway, here's the output of "svn update ; svn diff" on the packages feed
tree...

Signed-off-by: Gert Doering <gert@…>

File size: 1.5 KB
Line 
1#
2# Makefile for openvpn-devel
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=openvpn-devel
8PKG_VERSION:=201045
9PKG_RELEASE:=1
10
11PKG_SOURCE:=openvpn-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/
13PKG_MD5SUM:=0c54fe19381e8756f40bc1050d7016d8
14
15PKG_INSTALL:=1
16PKG_BUILD_PARALLEL:=1
17PKG_BUILD_DIR:=$(BUILD_DIR)/openvpn-devel
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/openvpn-devel
22  SECTION:=net
23  CATEGORY:=Network
24  DEPENDS:=+kmod-tun +kmod-ipv6 +libopenssl +liblzo +ip
25  TITLE:=Open source VPN solution using SSL (devel version)
26  URL:=http://openvpn.net
27  SUBMENU:=VPN
28endef
29
30define Package/openvpn-devel/conffiles
31/etc/config/openvpn
32endef
33
34define Package/openvpn-devel/description
35         Open source VPN solution using SSL - DEVEL VERSION, Week $(PKG_VERSION)
36endef
37
38define Build/Configure
39        $(call Build/Configure/Default, \
40                --disable-pthread \
41                --disable-debug \
42                --disable-plugins \
43                --enable-management \
44                --enable-small \
45                --disable-socks \
46                --enable-password-save \
47                --enable-iproute2 \
48                --enable-small \
49                --with-iproute-path=/usr/sbin/ip \
50                ,\
51                ac_cv_func_epoll_create=no \
52        )
53endef
54
55define Package/openvpn-devel/install
56        $(INSTALL_DIR) $(1)/usr/sbin
57        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
58        $(INSTALL_DIR) $(1)/etc/init.d/
59        $(INSTALL_BIN) files/openvpn.init $(1)/etc/init.d/openvpn
60        $(INSTALL_DIR) $(1)/etc/config
61        $(INSTALL_CONF) files/openvpn.config $(1)/etc/config/openvpn
62        $(INSTALL_DIR) $(1)/etc/openvpn
63endef
64
65$(eval $(call BuildPackage,openvpn-devel))
Note: See TracBrowser for help on using the repository browser.