debian package building added #1675
22
debian/README.Debian
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
bitmessage for Debian
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
In order to build the .deb yourself, you'll first have to install the stuff that's neccessary to compile .debs:
|
||||||
|
|
||||||
|
|
||||||
|
apt-get install python-minimal python-setuptools python-all \
|
||||||
|
python openssl libssl-dev dh-apparmor debhelper dh-python \
|
||||||
|
python-msgpack python-qt4 git
|
||||||
|
|
||||||
|
|
||||||
|
Next make some build directory and clone the newest git repository:
|
||||||
|
|
||||||
|
And if I haven't forgotten anything, you can build the .deb package now:
|
||||||
|
|
||||||
|
|
||||||
|
dpkg-buildpackage -us -uc
|
||||||
|
|
||||||
|
|
||||||
|
I've tried this with Debian Buster, but I'd expect it to work on most if not all recent debian-based distributions. Maybe with some minor changes.
|
||||||
|
|
||||||
|
-- citizenaspirant <citizenadmin@helicoptarianconstitocracy.org> Wed, 29 Apr 2020 17:53:21 +0000
|
19
debian/apparmor/pybitmessage
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Last Modified: Wed Apr 29 21:04:08 2020
|
||||||
|
#include <tunables/global>
|
||||||
|
|
||||||
|
/usr/bin/pybitmessage {
|
||||||
|
#include <abstractions/base>
|
||||||
|
#include <abstractions/fonts>
|
||||||
|
#include <abstractions/lightdm>
|
||||||
|
#include <abstractions/python>
|
||||||
|
#include <abstractions/user-tmp>
|
||||||
|
|
||||||
|
owner /home/*/.ICEauthority r,
|
||||||
|
owner /home/*/.Xauthority r,
|
||||||
|
owner /home/*/.config/PyBitmessage/ rw,
|
||||||
|
owner /home/*/.config/PyBitmessage/* rwk,
|
||||||
|
owner /home/*/.config/Trolltech.conf rwk,
|
||||||
|
owner /home/*/.config/Trolltech.conf.* rw,
|
||||||
|
owner /proc/*/mounts r,
|
||||||
|
|
||||||
|
}
|
1
debian/bitmessage-docs.docs
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
README.Debian
|
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
bitmessage (0.7a-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- citizenaspirant <citizenadmin@helicoptarianconstitocracy.org> Wed, 29 Apr 2020 17:53:21 +0000
|
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11
|
20
debian/control
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
Source: bitmessage
|
||||||
|
Section: net
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: citizenadmin <citizenadmin@helicoptarianconstitocracy.org>
|
||||||
|
Build-Depends: debhelper (>= 11), dh-python, dh-apparmor, python-all, python-setuptools
|
||||||
|
Standards-Version: 4.1.3
|
||||||
|
Homepage: https://github.com/Bitmessage/PyBitmessage
|
||||||
|
X-Python-Version: >= 2.6
|
||||||
|
#Vcs-Browser: https://salsa.debian.org/debian/bitmessage
|
||||||
|
Vcs-Git: https://github.com/Bitmessage/PyBitmessage
|
||||||
|
#Testsuite: autopkgtest-pkg-python
|
||||||
|
|
||||||
|
Package: python-bitmessage
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${python:Depends}, ${misc:Depends}, python, openssl, libssl-dev, python-msgpack, python-setuptools
|
||||||
|
Suggests: apparmor, tor, python-pyopencl, python-qt4, python-stem
|
||||||
|
Description: BitMessage Anonymous Communication Client
|
||||||
|
.
|
||||||
|
Bitmessage is a P2P communication protocol used to send encrypted messages to another person or to many subscribers. It is decentralized and trustless, meaning that you need-not inherently trust any entities like root certificate authorities. It uses strong authentication, which means that the sender of a message cannot be spoofed. BM aims to hide metadata from passive eavesdroppers like those ongoing warrantless wiretapping programs. Hence the sender and receiver of Bitmessages stay anonymous.
|
||||||
|
|
38
debian/copyright
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: bitmessage
|
||||||
|
Source: <url://example.com>
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: <years> <put author's name and email here>
|
||||||
|
<years> <likewise for another author>
|
||||||
|
License: <special license>
|
||||||
|
<Put the license of the package here indented by 1 space>
|
||||||
|
<This follows the format of Description: lines in control file>
|
||||||
|
.
|
||||||
|
<Including paragraphs>
|
||||||
|
|
||||||
|
# If you want to use GPL v2 or later for the /debian/* files use
|
||||||
|
# the following clauses, or change it to suit. Delete these two lines
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2020 unknown <builder@unknown>
|
||||||
|
License: GPL-2+
|
||||||
|
This package 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 2 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 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||||
|
|
||||||
|
# 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.
|
4
debian/menu
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
?package(bitmessage): \
|
||||||
|
needs="X11|text|vc|wm" \
|
||||||
|
section="Applications/Office"\
|
||||||
|
title="bitmessage" command="/usr/bin/bitmessage"
|
2
debian/python-bitmessage.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
debian/apparmor/pybitmessage etc/apparmor.d
|
||||||
|
|
19
debian/rules
vendored
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
|||||||
|
#!/usr/bin/make -f
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# See debhelper(7) (uncomment to enable)
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# output every command that modifies files on the build system.
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
export DH_VERBOSE = 1
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
export DH_OPTIONS=-v
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
export PYBUILD_NAME=bitmessage
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
%:
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
dh $@ --with python2 --buildsystem=pybuild
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
dh_apparmor --profile-name=pybitmessage -ppython-bitmessage
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# If you need to rebuild the Sphinx documentation
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# Add spinxdoc to the dh --with line
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
#override_dh_auto_build:
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# dh_auto_build
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
|||||||
|
|
||||||
Did you try --sourcedirectory=.. here? Did you try --sourcedirectory=.. here?
add the argument to the existing command, don't add a new command add the argument to the existing command, don't add a new command
@navjotcis I meant after moving the stuff to the packages dir. @navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works. Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build yes it is failing the build
|
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/source/options
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
Did you try --sourcedirectory=.. here?
Did you try --sourcedirectory=.. here?
I have done some changes, please look
I have done some changes, please look
add the argument to the existing command, don't add a new command
add the argument to the existing command, don't add a new command
ok now please review it
ok now please review it
@navjotcis I meant after moving the stuff to the packages dir.
@navjotcis I meant after moving the stuff to the packages dir.
Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
Well, I checked: --sourcedirectory=.. not works.
): https://travis-ci.org/github/g1itch/PyBitmessage/builds/735388416
yes it is failing the build
yes it is failing the build