From 6d0164d023718031357fd53f3aec5c9d1d764bcd Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 24 Jan 2019 00:52:41 +0100 Subject: [pkg] update deb after code refactor this must be run from the Makefile. it also needs recent changes to bitmask-vpn, including the removal of golang.org/x/text and others from the vendor. --- debian/control | 6 +++--- debian/riseup-vpn.desktop | 14 ++++++++++++++ debian/rules | 16 ++++++++-------- 3 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 debian/riseup-vpn.desktop (limited to 'debian') diff --git a/debian/control b/debian/control index 8a22150..cd11b9e 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: riseup-vpn Section: net Priority: extra Maintainer: LEAP Encryption Access Project -Build-Depends: debhelper (>= 10.0.0), golang-go, dh-golang +Build-Depends: debhelper (>= 10.0.0), dh-golang, golang-go, golang-golang-x-text-dev (>= 0.3.0-2) Standards-Version: 3.9.8 Package: riseup-vpn @@ -13,9 +13,9 @@ Depends: ${misc:Depends}, policykit-1-gnome | polkit-1-auth-agent, python2 | python3, Enhances: openvpn -Description: Easy, fast, and secure VPN service from RiseUp. +Description: Easy, fast, and secure VPN service from Riseup. This package is a custom build of the new Bitmask VPN client, preconfigured - to use the RiseUp provider. + to use the https://riseup.net provider. . The service does not require a user account, keep logs, or track you in any way. The service is paid for entirely by donations from users. diff --git a/debian/riseup-vpn.desktop b/debian/riseup-vpn.desktop new file mode 100644 index 0000000..6b847e6 --- /dev/null +++ b/debian/riseup-vpn.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=RiseupVPN +Comment=Easy VPN by Riseup +Comment[es]=VPN Facil de Riseup +Comment[de]=Easy VPN by Riseup +Exec=riseup-vpn %U +Terminal=false +Icon=riseup-vpn +Categories=Network;Application; +StartupNotify=true +X-AppInstall-Package=riseup-vpn +Keywords=encryption;vpn;riseup;leap diff --git a/debian/rules b/debian/rules index 193f2a9..7bfad39 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ # This has to be exported to make some magic below work. export DH_OPTIONS -export DH_GOPKG = 0xacab.org/leap/riseup_vpn +export DH_GOPKG = 0xacab.org/leap/bitmask-vpn export DH_GOLANG_EXCLUDES = vendor %: @@ -13,11 +13,9 @@ export DH_GOLANG_EXCLUDES = vendor override_dh_auto_test: override_dh_auto_build: - # FIXME how ugly is this? - # this is the only way I found of having a quilt package made for the customized builds that gets - # in place the sources for bitmask-vpn - # XXX What var can I use instead of the hardcoded build dir? - ln -s `pwd` obj-x86_64-linux-gnu/src/0xacab.org/leap/bitmask-systray + rm -rf src/0xacab.org/leap/bitmask-vpn/tools/transifex + rm -rf obj-x86_64-linux-gnu/src/0xacab.org/leap/bitmask-vpn/tools/transifex + rm -rf tools dh_auto_build override_dh_install: @@ -26,6 +24,8 @@ override_dh_install: mkdir -p $(CURDIR)/debian/riseup-vpn/usr/share/polkit-1/actions cp $(CURDIR)/helpers/se.leap.bitmask.policy $(CURDIR)/debian/riseup-vpn/usr/share/polkit-1/actions rm -fr $(CURDIR)/debian/riseup-vpn/usr/share/gocode - rm -fr $(CURDIR)/debian/riseup-vpn/usr/bin/transifex - strip $(CURDIR)/debian/riseup-vpn/usr/bin/riseup_vpn + strip $(CURDIR)/debian/riseup-vpn/usr/bin/bitmask-vpn + rm $(CURDIR)/debian/riseup-vpn/usr/bin/bitmask-helper + rm $(CURDIR)/debian/riseup-vpn/usr/bin/bitmask-connect + mv $(CURDIR)/debian/riseup-vpn/usr/bin/bitmask-vpn $(CURDIR)/debian/riseup-vpn/usr/bin/riseup-vpn dh_install -- cgit v1.2.3