diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-01-16 00:23:46 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-01-16 19:46:16 +0100 |
commit | f6267d0fd0d1f8eb5a7f822a418d82d5def62eae (patch) | |
tree | 0c87841616d2d8fe1be9d1347691815d50b1426b | |
parent | 7053932af89d8848fb37eca6362c21deb2172af4 (diff) |
[pkg] initial debianization
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 21 | ||||
-rw-r--r-- | debian/copyright | 25 | ||||
-rwxr-xr-x | debian/rules | 31 | ||||
-rw-r--r-- | debian/source/format | 1 |
6 files changed, 84 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..45b72ab --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +riseup-vpn (0.18.12-3) unstable; urgency=medium + + * Initial package. + + -- LEAP Encryption Access Project <debian@leap.se> Mon, 14 Jan 2019 15:23:00 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8a22150 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: riseup-vpn +Section: net +Priority: extra +Maintainer: LEAP Encryption Access Project <debian@leap.se> +Build-Depends: debhelper (>= 10.0.0), golang-go, dh-golang +Standards-Version: 3.9.8 + +Package: riseup-vpn +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, + openvpn, libgtk-3-0, libappindicator3-1, + policykit-1-gnome | polkit-1-auth-agent, + python2 | python3, +Enhances: openvpn +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. + . + 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/copyright b/debian/copyright new file mode 100644 index 0000000..e2a1670 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: auth-pam +Source: <https://0xacab.org/leap/riseup_vpn> + +Files: * +Copyright: 2018 LEAP Encryption Access Project <info@leap.se> +License: GPLv3 + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..193f2a9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export DH_GOPKG = 0xacab.org/leap/riseup_vpn +export DH_GOLANG_EXCLUDES = vendor + +%: + dh $@ --with golang --buildsystem golang + +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 + dh_auto_build + +override_dh_install: + mkdir -p $(CURDIR)/debian/riseup-vpn/usr/sbin + cp $(CURDIR)/helpers/bitmask-root $(CURDIR)/debian/riseup-vpn/usr/sbin/ + 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 + dh_install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |