Skip to content

Commit af0dfdc

Browse files
committed
Merge pull request #852 from Bitmessage/v0.6
V0.6
2 parents 72ea076 + b194e4c commit af0dfdc

File tree

133 files changed

+39296
-12113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+39296
-12113
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ src/build
55
src/dist
66
src/.project
77
src/.pydevproject
8-
src/.settings/
8+
src/.settings/
9+
*.dll

COPYING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Copyright (c) 2012-2015 Jonathan Warren
2-
Copyright (c) 2013-2015 The Bitmessage Developers
1+
Copyright (c) 2012-2016 Jonathan Warren
2+
Copyright (c) 2013-2016 The Bitmessage Developers
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
2-
Copyright (c) 2012-2014 Jonathan Warren
3-
Copyright (c) 2013-2014 The Bitmessage Developers
2+
Copyright (c) 2012-2016 Jonathan Warren
3+
Copyright (c) 2013-2016 The Bitmessage Developers
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
APP=pybitmessage
2-
VERSION=0.4.4
2+
APPDIR=`basename "\`pwd\`"`
3+
VERSION=0.6.0
34
RELEASE=1
45
ARCH_TYPE=`uname -m`
56
PREFIX?=/usr/local
@@ -8,7 +9,7 @@ LIBDIR=lib
89
all:
910
debug:
1011
source:
11-
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
12+
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs
1213
gzip -f9n ../${APP}_${VERSION}.orig.tar
1314
install:
1415
mkdir -p ${DESTDIR}/usr
@@ -57,5 +58,5 @@ clean:
5758
rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz
5859

5960
sourcedeb:
60-
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs --exclude 'debian'
61+
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs --exclude 'debian'
6162
gzip -f9n ../${APP}_${VERSION}.orig.tar

arch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APP=pybitmessage
44
PREV_VERSION=0.4.4
5-
VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
ARCH_TYPE=any
88
CURRDIR=`pwd`

archpackage/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Maintainer: Bob Mottram (4096 bits) <[email protected]>
22
pkgname=pybitmessage
3-
pkgver=0.4.4
3+
pkgver=0.6.0
44
pkgrel=1
55
pkgdesc="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."
66
arch=('any')

compiletest.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/python2.7
2+
3+
import ctypes
4+
import fnmatch
5+
import os
6+
import sys
7+
import traceback
8+
9+
matches = []
10+
for root, dirnames, filenames in os.walk('src'):
11+
for filename in fnmatch.filter(filenames, '*.py'):
12+
matches.append(os.path.join(root, filename))
13+
14+
for filename in matches:
15+
source = open(filename, 'r').read() + '\n'
16+
try:
17+
compile(source, filename, 'exec')
18+
except Exception as e:
19+
ctypes.windll.user32.MessageBoxA(0, traceback.format_exc(), "Exception in " + filename, 1)
20+
sys.exit(1)

debian.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/bin/bash
22

33
APP=pybitmessage
4-
PREV_VERSION=0.4.2
5-
VERSION=0.4.4
4+
PREV_VERSION=0.4.4
5+
VERSION=0.6.0
66
RELEASE=1
77
ARCH_TYPE=all
88
DIR=${APP}-${VERSION}
9+
CURDIR=`pwd`
10+
SHORTDIR=`basename ${CURDIR}`
911

1012
if [ $ARCH_TYPE == "x86_64" ]; then
1113
ARCH_TYPE="amd64"
@@ -30,17 +32,17 @@ make clean
3032
make
3133

3234
# Change the parent directory name to Debian format
33-
mv ../${APP} ../${DIR}
35+
mv ../${SHORTDIR} ../${DIR}
3436

3537
# Create a source archive
3638
make sourcedeb
3739

3840
# Build the package
39-
dpkg-buildpackage -F
41+
dpkg-buildpackage -F -us -uc
4042

4143
# Sign files
4244
gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb
4345
gpg -ba ../${APP}_${VERSION}.orig.tar.gz
4446

4547
# Restore the parent directory name
46-
mv ../${DIR} ../${APP}
48+
mv ../${DIR} ../${SHORTDIR}

debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
pybitmessage (0.6.0-1) trusty; urgency=low
2+
3+
* Bugfixes
4+
* UI improvements
5+
* performance and security improvements
6+
* integration with email gateway (mailchuck.com)
7+
8+
-- Peter Surda <[email protected]> Mon, 2 May 2016 16:25:00 +0200
9+
110
pybitmessage (0.4.4-1) utopic; urgency=low
211

312
* Added ability to limit network transfer rate

debian/copyright

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Upstream-Name:
33
Source:
44

55
Files: *
6-
Copyright: Copyright 2014 Bob Mottram (4096 bits) <[email protected]>
6+
Copyright: Copyright 2016 Bob Mottram (4096 bits) <[email protected]>
77
License: MIT
88

99
Files: debian/*
10-
Copyright: Copyright 2014 Bob Mottram (4096 bits) <[email protected]>
10+
Copyright: Copyright 2016 Bob Mottram (4096 bits) <[email protected]>
1111
License: MIT
1212

1313
License: MIT

0 commit comments

Comments
 (0)