@ -0,0 +1,45 @@
|
||||
APP=pybitmessage
|
||||
VERSION=0.2.7
|
||||
|
||||
all:
|
||||
|
||||
debug:
|
||||
|
||||
source:
|
||||
tar -cvzf ../$(APP)_$(VERSION).orig.tar.gz ../$(APP)-$(VERSION) --exclude=.git
|
||||
|
||||
install:
|
||||
mkdir -m 755 -p /usr/share/applications
|
||||
mkdir -m 755 -p /usr/share/applications/$(APP)
|
||||
mkdir -m 755 -p /usr/share/applications/$(APP)/images
|
||||
mkdir -m 755 -p /usr/share/applications/$(APP)/pyelliptic
|
||||
mkdir -m 755 -p /usr/share/applications/$(APP)/socks
|
||||
mkdir -m 755 -p /usr/share/pixmaps
|
||||
mkdir -m 755 -p /usr/share/icons
|
||||
mkdir -m 755 -p /usr/share/icons/hicolor
|
||||
mkdir -m 755 -p /usr/share/icons/hicolor/scalable
|
||||
mkdir -m 755 -p /usr/share/icons/hicolor/scalable/apps
|
||||
mkdir -m 755 -p /usr/share/icons/hicolor/24x24
|
||||
mkdir -m 755 -p /usr/share/icons/hicolor/24x24/apps
|
||||
|
||||
install -m 644 src/*.ui /usr/share/applications/$(APP)
|
||||
install -m 644 src/*.py /usr/share/applications/$(APP)
|
||||
install -m 644 src/*.qrc /usr/share/applications/$(APP)
|
||||
|
||||
install -m 644 src/images/*.png /usr/share/applications/$(APP)/images
|
||||
install -m 644 src/images/*.ico /usr/share/applications/$(APP)/images
|
||||
install -m 644 src/pyelliptic/* /usr/share/applications/$(APP)/pyelliptic
|
||||
install -m 644 src/socks/* /usr/share/applications/$(APP)/socks
|
||||
install -m 755 debian/pybm /usr/bin
|
||||
|
||||
install -m 644 desktop/$(APP).desktop /usr/share/applications/$(APP)/$(APP).desktop
|
||||
install -m 644 src/images/can-icon-24px.png /usr/share/icons/hicolor/24x24/apps/$(APP).png
|
||||
install -m 644 desktop/can-icon.svg /usr/share/icons/hicolor/scalable/apps/$(APP).svg
|
||||
install -m 644 desktop/can-icon.svg /usr/share/pixmaps/$(APP).svg
|
||||
|
||||
clean:
|
||||
rm -rf debian/$(APP)
|
||||
rm -f ../$(APP)_*.deb ../$(APP)_*.asc ../$(APP)_*.dsc ../$(APP)*.changes
|
||||
rm -f *.sh~ src/*.pyc src/socks/*.pyc src/pyelliptic/*.pyc
|
||||
rm -f *.deb \#* \.#* debian/*.log debian/*.substvars
|
||||
rm -f Makefile~
|
@ -0,0 +1,21 @@
|
||||
# To build a debian package first ensure that the code exists
|
||||
# within a directory called pybitmessage-x.x.x (where the x's
|
||||
# are the version number), make sure that the VERSION parameter
|
||||
# within debian/rules and this script are correct, then run
|
||||
# this script.
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
APP=pybitmessage
|
||||
VERSION=0.2.7
|
||||
ARCH_TYPE=all
|
||||
|
||||
# Create a source archive
|
||||
make clean
|
||||
make source
|
||||
|
||||
# Build the package
|
||||
fakeroot dpkg-buildpackage -A
|
||||
|
||||
gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb
|
||||
gpg -ba ../${APP}_${VERSION}.orig.tar.gz
|
@ -0,0 +1,9 @@
|
||||
pybitmessage (0.2.7-1) unstable; urgency=low
|
||||
|
||||
* Added debian packaging
|
||||
* Script to generate debian packages
|
||||
* SVG icon for Gnome shell, etc
|
||||
* Source moved int src directory for debian standards compatibility
|
||||
* Trailing carriage return on COPYING LICENSE and README.md
|
||||
|
||||
-- Bob Mottram (4096 bits) <bob@sluggish.dyndns.org> Tue, 1 Apr 2013 17:12:14 +0100
|
@ -0,0 +1 @@
|
||||
8
|
@ -0,0 +1,21 @@
|
||||
Source: pybitmessage
|
||||
Section: contrib/comm
|
||||
Priority: extra
|
||||
Maintainer: Jonathan Warren <jonathan@bitmessage.org>
|
||||
Build-Depends: debhelper (>= 8.0.0), python, openssl
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: https://bitmessage.org/
|
||||
Vcs-Browser: https://github.com/Bitmessage/PyBitmessage
|
||||
Vcs-Git: https://github.com/Bitmessage/PyBitmessage.git
|
||||
|
||||
Package: pybitmessage
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, python, openssl
|
||||
Description: Send encrypted messages to another person or to many subscribers
|
||||
Bitmessage is a P2P communications 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, and it aims to hide "non-content" data, like the
|
||||
sender and receiver of messages, from passive eavesdroppers like those
|
||||
running warrantless wiretapping programs.
|
@ -0,0 +1,30 @@
|
||||
Format: http://dep.debian.net/deps/dep5
|
||||
Upstream-Name: PyBitmessage
|
||||
Source: https://github.com/Bitmessage/PyBitmessage
|
||||
|
||||
Files: *
|
||||
Copyright: 2012 Jonathan Warren
|
||||
License: MIT
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2012 Jonathan Warren
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
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.
|
@ -0,0 +1 @@
|
||||
|
@ -0,0 +1 @@
|
||||
pybitmessage_0.2.7-1_all.deb contrib/comm extra
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /usr/share/applications/pybitmessage
|
||||
python bitmessagemain.py
|
||||
|
@ -0,0 +1,68 @@
|
||||
#!/usr/bin/make -f
|
||||
APP=pybitmessage
|
||||
|
||||
DEST_MAIN = $(CURDIR)/debian/$(APP)/usr/bin
|
||||
DEST_SHARE = $(CURDIR)/debian/$(APP)/usr/share
|
||||
|
||||
build: build-stamp
|
||||
make
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
touch build-stamp
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
dh_clean
|
||||
install: build clean
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
mkdir -m 755 -p $(CURDIR)/debian/$(APP)/usr
|
||||
mkdir -m 755 -p $(CURDIR)/debian/$(APP)/usr/bin
|
||||
mkdir -m 755 -p $(DEST_SHARE)/applications
|
||||
mkdir -m 755 -p $(DEST_SHARE)/applications/$(APP)
|
||||
mkdir -m 755 -p $(DEST_SHARE)/applications/$(APP)/images
|
||||
mkdir -m 755 -p $(DEST_SHARE)/applications/$(APP)/pyelliptic
|
||||
mkdir -m 755 -p $(DEST_SHARE)/applications/$(APP)/socks
|
||||
mkdir -m 755 -p $(DEST_SHARE)/pixmaps
|
||||
mkdir -m 755 -p $(DEST_SHARE)/icons
|
||||
mkdir -m 755 -p $(DEST_SHARE)/icons/hicolor
|
||||
mkdir -m 755 -p $(DEST_SHARE)/icons/hicolor/scalable
|
||||
mkdir -m 755 -p $(DEST_SHARE)/icons/hicolor/scalable/apps
|
||||
mkdir -m 755 -p $(DEST_SHARE)/icons/hicolor/24x24
|
||||
mkdir -m 755 -p $(DEST_SHARE)/icons/hicolor/24x24/apps
|
||||
|
||||
install -m 644 $(CURDIR)/src/*.ui $(DEST_SHARE)/applications/$(APP)
|
||||
install -m 644 $(CURDIR)/src/*.py $(DEST_SHARE)/applications/$(APP)
|
||||
install -m 644 $(CURDIR)/src/*.qrc $(DEST_SHARE)/applications/$(APP)
|
||||
|
||||
install -m 644 $(CURDIR)/src/images/*.png $(DEST_SHARE)/applications/$(APP)/images
|
||||
install -m 644 $(CURDIR)/src/images/*.ico $(DEST_SHARE)/applications/$(APP)/images
|
||||
install -m 644 $(CURDIR)/src/pyelliptic/* $(DEST_SHARE)/applications/$(APP)/pyelliptic
|
||||
install -m 644 $(CURDIR)/src/socks/* $(DEST_SHARE)/applications/$(APP)/socks
|
||||
install -m 755 $(CURDIR)/debian/pybm $(DEST_MAIN)
|
||||
|
||||
install -m 644 $(CURDIR)/desktop/$(APP).desktop $(DEST_SHARE)/applications/$(APP)/$(APP).desktop
|
||||
install -m 644 $(CURDIR)/src/images/can-icon-24px.png $(DEST_SHARE)/icons/hicolor/24x24/apps/$(APP).png
|
||||
install -m 644 $(CURDIR)/desktop/can-icon.svg $(DEST_SHARE)/icons/hicolor/scalable/apps/$(APP).svg
|
||||
install -m 644 $(CURDIR)/desktop/can-icon.svg $(DEST_SHARE)/pixmaps/$(APP).svg
|
||||
binary-indep: build install
|
||||
dh_shlibdeps
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
# dh_installexamples
|
||||
# dh_installman
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
binary-arch: build install
|
||||
binary: binary-indep
|
||||
.PHONY: build clean binary-indep binary install
|
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
@ -0,0 +1,15 @@
|
||||
src/images/sent.png
|
||||
src/images/can-icon-16px.png
|
||||
src/images/addressbook.png
|
||||
src/images/networkstatus.png
|
||||
src/images/redicon.png
|
||||
src/images/subscriptions.png
|
||||
src/images/blacklist.png
|
||||
src/images/can-icon-24px.png
|
||||
src/images/identities.png
|
||||
src/images/yellowicon.png
|
||||
src/images/inbox.png
|
||||
src/images/greenicon.png
|
||||
src/images/can-icon.ico
|
||||
src/images/send.png
|
||||
desktop/can-icon.svg
|
After Width: | Height: | Size: 8.5 KiB |
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=PyBitmessage
|
||||
GenericName=PyBitmessage
|
||||
Comment=Send encrypted messages to another person or to many subscribers
|
||||
Exec=pybm %U
|
||||
Icon=pybitmessage
|
||||
Terminal=false
|
||||
Categories=Network
|
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 752 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 870 B After Width: | Height: | Size: 870 B |
Before Width: | Height: | Size: 687 B After Width: | Height: | Size: 687 B |
Before Width: | Height: | Size: 629 B After Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 631 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |