summaryrefslogtreecommitdiff
path: root/pkg/thirdparty/openvpn/build.mk
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-16 22:24:09 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-22 12:56:13 +0200
commit75debc78584681071685e17ae4c596662eeae3af (patch)
tree1c017da47e731b990ed5b15126ff07533bc71653 /pkg/thirdparty/openvpn/build.mk
parent0a83b39186d8fc46410c6ccf34546d6b4957e6f1 (diff)
[pkg] update openvpn build script
Diffstat (limited to 'pkg/thirdparty/openvpn/build.mk')
-rw-r--r--pkg/thirdparty/openvpn/build.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/thirdparty/openvpn/build.mk b/pkg/thirdparty/openvpn/build.mk
new file mode 100644
index 00000000..dadc0bad
--- /dev/null
+++ b/pkg/thirdparty/openvpn/build.mk
@@ -0,0 +1,12 @@
+build_static_openvpn:
+ pkg/thirdparty/openvpn/build_openvpn.sh
+ strip ~/openvpn_build/openvpn/install/sbin/openvpn
+
+upload_openvpn:
+ rsync --rsh='ssh' -avztlpog --progress --partial ~/openvpn_build/openvpn/install/sbin/openvpn downloads.leap.se:./public/thirdparty/linux/openvpn/
+
+download_openvpn:
+ wget https://downloads.leap.se/thirdparty/linux/openvpn/openvpn
+
+clean_openvpn_build:
+ rm -rf ~/openvpn_build