Skip to content
Snippets Groups Projects
Unverified Commit 5a23e053 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[pkg] initial debian package - yet another

parent b8a9a0ae
No related branches found
No related tags found
No related merge requests found
riseup-vpn/*
.debhelper/*
The Debian Package riseup-vpn
----------------------------
Initial debianization of bitmask-vpn repo. This is a native package for
riseup-vpn, branded clients will use a template based on that one.
-- Kali Kaneko <kali@leap.se> Tue, 09 Feb 2021 20:26:52 +0100
riseup-vpn for Debian
--------------------
<possible notes regarding this package - if none, delete this file>
-- Kali Kaneko <kali@leap.se> Tue, 09 Feb 2021 20:26:52 +0100
riseup-vpn for Debian
--------------------
<this file describes information about the source package, see Debian policy
manual section 4.14. You WILL either need to modify or delete this file>
-- Kali Kaneko <kali@leap.se> Tue, 09 Feb 2021 20:26:52 +0100
riseup-vpn (0.21.2) unstable; urgency=medium
* Initial Release.
-- Kali Kaneko <kali@leap.se> Tue, 09 Feb 2021 20:26:52 +0100
Source: riseup-vpn
Section: net
Priority: extra
Maintainer: LEAP Encryption Access Project <debian@leap.se>
Build-Depends: debhelper-compat (= 12), golang-go (>= 2:1.9), make, pkg-config, g++
Standards-Version: 4.4.1
Homepage: https://0xacab.org/leap/bitmask-vpn
#Vcs-Browser: https://0xacab.org/leap/bitmask-vpn
#Vcs-Git: https://0xacab.org/leap/bitmask-vpn.git
Package: riseup-vpn
Architecture: any
Enhances: openvpn
Depends: ${shlibs:Depends}, ${misc:Depends}, openvpn, policykit-1-gnome | polkit-1-auth-agent, python3
Description: Easy, fast, and secure VPN service from riseup.net.
.
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.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: riseup-vpn
Upstream-Contact: <preferred name and address to reach the upstream project>
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: GPL-3.0+
Files: debian/*
Copyright: 2021 Kali Kaneko <kali@leap.se>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
#
# If you need, there are some extra license texts available in two places:
# /usr/share/debhelper/dh_make/licenses/
# /usr/share/common-licenses/
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
export DH_OPTIONS
export GO111MODULE=on
export GOCACHE=/tmp/gocache
export DH_GOPKG = 0xacab.org/leap/bitmask-vpn
export APPNAME = riseup-vpn
ifeq ($(DEB_HOST_ARCH), i386)
export GOARCH := 386
else ifeq ($(DEB_HOST_ARCH), amd64)
export GOARCH := amd64
else ifeq ($(DEB_HOST_ARCH), armhf)
export GOARCH := arm
else ifeq ($(DEB_HOST_ARCH), arm64)
export GOARCH := arm64
endif
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
override_dh_auto_build:
make build
override_dh_install:
mkdir -p $(CURDIR)/debian/${APPNAME}/usr/bin
mkdir -p $(CURDIR)/debian/${APPNAME}/usr/sbin
cp $(CURDIR)/helpers/bitmask-root $(CURDIR)/debian/${APPNAME}/usr/sbin/
mkdir -p $(CURDIR)/debian/${APPNAME}/usr/share/polkit-1/actions
cp $(CURDIR)/helpers/se.leap.bitmask.policy $(CURDIR)/debian/${APPNAME}/usr/share/polkit-1/actions
cp build/qt/release/${APPNAME} $(CURDIR)/debian/${APPNAME}/usr/bin/${APPNAME}
strip $(CURDIR)/debian/${APPNAME}/usr/bin/${APPNAME}
dh_install
# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
3.0 (native)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment