[gnome-build-meta/valentindavid/network-manager-vpns] Add some VPN backends for NetworkManager
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/network-manager-vpns] Add some VPN backends for NetworkManager
- Date: Tue, 27 Apr 2021 09:19:27 +0000 (UTC)
commit ef56ca704fbd304ff1fcaa0dcaac96372ebb0fd8
Author: Valentin David <valentin david codethink co uk>
Date: Tue Apr 27 11:18:34 2021 +0200
Add some VPN backends for NetworkManager
This adds backends for
- fortisslvpn
- openconnect
- vpnc
- openvpn
- pptp
elements/vm/NetworkManager-fortisslvpn.bst | 20 ++++++++++++++++++++
elements/vm/NetworkManager-openconnect.bst | 16 ++++++++++++++++
elements/vm/NetworkManager-openvpn.bst | 16 ++++++++++++++++
elements/vm/NetworkManager-pptp.bst | 19 +++++++++++++++++++
elements/vm/NetworkManager-vpnc.bst | 21 +++++++++++++++++++++
elements/vm/common-deps.bst | 6 ++++++
elements/vm/openconnect.bst | 21 +++++++++++++++++++++
elements/vm/openfortivpn.bst | 11 +++++++++++
elements/vm/openvpn.bst | 14 ++++++++++++++
elements/vm/pptp-client.bst | 18 ++++++++++++++++++
elements/vm/vpnc-scripts.bst | 13 +++++++++++++
elements/vm/vpnc.bst | 23 +++++++++++++++++++++++
12 files changed, 198 insertions(+)
---
diff --git a/elements/vm/NetworkManager-fortisslvpn.bst b/elements/vm/NetworkManager-fortisslvpn.bst
new file mode 100644
index 00000000..0c5b4714
--- /dev/null
+++ b/elements/vm/NetworkManager-fortisslvpn.bst
@@ -0,0 +1,20 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: gnome_downloads:NetworkManager-fortisslvpn/1.2/NetworkManager-fortisslvpn-1.2.8.tar.xz
+
+variables:
+ conf-local: >-
+ --without-libnm-glib
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- core-deps/intltool.bst
+
+depends:
+- sdk/gtk+-3.bst
+- core-deps/libnma.bst
+- core-deps/NetworkManager.bst
+- vm/openfortivpn.bst
+
diff --git a/elements/vm/NetworkManager-openconnect.bst b/elements/vm/NetworkManager-openconnect.bst
new file mode 100644
index 00000000..cf8e95d7
--- /dev/null
+++ b/elements/vm/NetworkManager-openconnect.bst
@@ -0,0 +1,16 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: gnome_downloads:NetworkManager-openconnect/1.2/NetworkManager-openconnect-1.2.6.tar.xz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- core-deps/intltool.bst
+
+depends:
+- sdk/gcr.bst
+- sdk/gtk+-3.bst
+- core-deps/NetworkManager.bst
+- vm/openconnect.bst
+
diff --git a/elements/vm/NetworkManager-openvpn.bst b/elements/vm/NetworkManager-openvpn.bst
new file mode 100644
index 00000000..1eb0c9da
--- /dev/null
+++ b/elements/vm/NetworkManager-openvpn.bst
@@ -0,0 +1,16 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: gnome_downloads:NetworkManager-openvpn/1.8/NetworkManager-openvpn-1.8.14.tar.xz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- core-deps/intltool.bst
+
+depends:
+- sdk/gtk+-3.bst
+- sdk/libsecret.bst
+- core-deps/libnma.bst
+- core-deps/NetworkManager.bst
+- vm/openvpn.bst
diff --git a/elements/vm/NetworkManager-pptp.bst b/elements/vm/NetworkManager-pptp.bst
new file mode 100644
index 00000000..da2e4758
--- /dev/null
+++ b/elements/vm/NetworkManager-pptp.bst
@@ -0,0 +1,19 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: gnome_downloads:NetworkManager-pptp/1.2/NetworkManager-pptp-1.2.8.tar.xz
+
+variables:
+ conf-local: >-
+ --without-libnm-glib
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- core-deps/intltool.bst
+
+depends:
+- sdk/gtk+-3.bst
+- core-deps/libnma.bst
+- core-deps/NetworkManager.bst
+- vm/pptp-client.bst
diff --git a/elements/vm/NetworkManager-vpnc.bst b/elements/vm/NetworkManager-vpnc.bst
new file mode 100644
index 00000000..c7dddd05
--- /dev/null
+++ b/elements/vm/NetworkManager-vpnc.bst
@@ -0,0 +1,21 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: gnome_downloads:NetworkManager-vpnc/1.2/NetworkManager-vpnc-1.2.6.tar.xz
+
+variables:
+ conf-local: >-
+ --without-libnm-glib
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- core-deps/intltool.bst
+
+depends:
+- sdk/gtk+-3.bst
+- core-deps/libnma.bst
+- core-deps/NetworkManager.bst
+
+runtime-depends:
+- vm/vpnc.bst
diff --git a/elements/vm/common-deps.bst b/elements/vm/common-deps.bst
index b3b0be88..62c5bd01 100644
--- a/elements/vm/common-deps.bst
+++ b/elements/vm/common-deps.bst
@@ -23,6 +23,12 @@ depends:
- vm/uresourced.bst
- vm/android-udev-rules.bst
+- vm/NetworkManager-fortisslvpn.bst
+- vm/NetworkManager-openvpn.bst
+- vm/NetworkManager-openconnect.bst
+- vm/NetworkManager-pptp.bst
+- vm/NetworkManager-vpnc.bst
+
- freedesktop-sdk.bst:vm/config/sudo.bst
- freedesktop-sdk.bst:vm/config/useradd-ostree.bst
- freedesktop-sdk.bst:vm/mesa-default.bst
diff --git a/elements/vm/openconnect.bst b/elements/vm/openconnect.bst
new file mode 100644
index 00000000..02d08924
--- /dev/null
+++ b/elements/vm/openconnect.bst
@@ -0,0 +1,21 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: ftp://ftp.infradead.org/pub/openconnect/openconnect-8.10.tar.gz
+
+variables:
+ conf-local: >-
+ --with-vpnc-script=/usr/share/vpnc-scripts
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+#- freedesktop-sdk.bst:components/git-minimal.bst
+
+depends:
+- freedesktop-sdk.bst:components/libxml2.bst
+- vm/vpnc-scripts.bst
+#- freedesktop-sdk.bst:components/lz4.bst
+#- freedesktop-sdk.bst:components/lzo.bst
+#- freedesktop-sdk.bst:components/linux-pam.bst
+
diff --git a/elements/vm/openfortivpn.bst b/elements/vm/openfortivpn.bst
new file mode 100644
index 00000000..b5a63e23
--- /dev/null
+++ b/elements/vm/openfortivpn.bst
@@ -0,0 +1,11 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: github_com:adrienverge/openfortivpn/archive/refs/tags/v1.16.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/vm/openvpn.bst b/elements/vm/openvpn.bst
new file mode 100644
index 00000000..630e8082
--- /dev/null
+++ b/elements/vm/openvpn.bst
@@ -0,0 +1,14 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: https://swupdate.openvpn.org/community/releases/openvpn-2.5.1.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- freedesktop-sdk.bst:components/git-minimal.bst
+
+depends:
+- freedesktop-sdk.bst:components/lz4.bst
+- freedesktop-sdk.bst:components/lzo.bst
+- freedesktop-sdk.bst:components/linux-pam.bst
diff --git a/elements/vm/pptp-client.bst b/elements/vm/pptp-client.bst
new file mode 100644
index 00000000..0c7a51e3
--- /dev/null
+++ b/elements/vm/pptp-client.bst
@@ -0,0 +1,18 @@
+kind: make
+
+sources:
+- kind: tar
+ url: sourceforge_net:pptpclient/files/pptp/pptp-1.10.0/pptp-1.10.0.tar.gz
+
+variables:
+ make-args: >-
+ BINDIR='%{install-root}%{bindir}'
+
+ make: make %{make-args}
+ make-install: make -j1 DESTDIR='%{install-root}' %{make-args}
+
+build-depends:
+- freedesktop-sdk.bst:components/perl.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/vm/vpnc-scripts.bst b/elements/vm/vpnc-scripts.bst
new file mode 100644
index 00000000..d0107ad3
--- /dev/null
+++ b/elements/vm/vpnc-scripts.bst
@@ -0,0 +1,13 @@
+kind: manual
+
+sources:
+- kind: tar
+ url: ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-20210402.tar.gz
+
+config:
+ install-commands:
+ - |
+ install -Dm755 -t '%{install-root}%{datadir}/vpnc-scripts' vpnc-script*
+
+build-depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/vm/vpnc.bst b/elements/vm/vpnc.bst
new file mode 100644
index 00000000..8c866d21
--- /dev/null
+++ b/elements/vm/vpnc.bst
@@ -0,0 +1,23 @@
+kind: make
+
+sources:
+- kind: git_tag
+ url: github_com:streambinder/vpnc.git
+ track: 43780cecd7a61668002f73b6f8b9f9ba61af74ad
+ track-tags: false
+
+variables:
+ make-args: >-
+ PREFIX='%{prefix}'
+ SCRIPT_PATH='/usr/share/vpnc-script'
+ make: make %{make-args}
+ make-install: make -j1 DESTDIR='%{install-root}' %{make-args}
+
+build-depends:
+- freedesktop-sdk.bst:components/pkg-config.bst
+- freedesktop-sdk.bst:components/perl.bst
+
+depends:
+- freedesktop-sdk.bst:components/libgcrypt.bst
+- freedesktop-sdk.bst:components/gnutls.bst
+- vm/vpnc-scripts.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]