Skip to content

Commit

Permalink
openvpn: upgrade to 2.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed May 28, 2023
1 parent dba1c89 commit 95ec44d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions trunk/user/openvpn/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
openvpn-*/
openvpn-*.tar.gz
12 changes: 9 additions & 3 deletions trunk/user/openvpn/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
SRC_NAME=openvpn-2.5.2
SRC_NAME=openvpn-2.5.9
SRC_URL = https://github.com/OpenVPN/openvpn/archive/refs/tags/v2.5.9.tar.gz

CFLAGS += -ffunction-sections -fdata-sections -fvisibility=hidden
LDFLAGS += -Wl,--gc-sections

all: extract_test config_test
all: download_test extract_test config_test
$(MAKE) -j$(HOST_NCPU) -C $(SRC_NAME)

download_test:
( if [ ! -f $(SRC_NAME).tar.gz ]; then \
wget -t5 --timeout=20 --no-check-certificate -O $(SRC_NAME).tar.gz $(SRC_URL); \
fi )

extract_test:
( if [ ! -d $(SRC_NAME) ]; then \
tar -xf $(SRC_NAME).tar.xz; \
tar -xf $(SRC_NAME).tar.gz; \
patch -d $(SRC_NAME) -p1 < $(SRC_NAME).patch ; \
fi )

Expand Down
Binary file removed trunk/user/openvpn/openvpn-2.5.2.tar.xz
Binary file not shown.
File renamed without changes.

0 comments on commit 95ec44d

Please sign in to comment.