Update build scripts for 0.6

This commit is contained in:
Peter Šurda 2016-05-02 16:26:47 +02:00
parent eebf264552
commit 0851b759b0
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
9 changed files with 26 additions and 14 deletions

View File

@ -1,5 +1,6 @@
APP=pybitmessage APP=pybitmessage
VERSION=0.4.4 APPDIR=`basename "\`pwd\`"`
VERSION=0.6.0
RELEASE=1 RELEASE=1
ARCH_TYPE=`uname -m` ARCH_TYPE=`uname -m`
PREFIX?=/usr/local PREFIX?=/usr/local
@ -8,7 +9,7 @@ LIBDIR=lib
all: all:
debug: debug:
source: source:
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs
gzip -f9n ../${APP}_${VERSION}.orig.tar gzip -f9n ../${APP}_${VERSION}.orig.tar
install: install:
mkdir -p ${DESTDIR}/usr mkdir -p ${DESTDIR}/usr
@ -57,5 +58,5 @@ clean:
rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz
sourcedeb: sourcedeb:
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs --exclude 'debian' tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs --exclude 'debian'
gzip -f9n ../${APP}_${VERSION}.orig.tar gzip -f9n ../${APP}_${VERSION}.orig.tar

View File

@ -2,7 +2,7 @@
APP=pybitmessage APP=pybitmessage
PREV_VERSION=0.4.4 PREV_VERSION=0.4.4
VERSION=0.4.4 VERSION=0.6.0
RELEASE=1 RELEASE=1
ARCH_TYPE=any ARCH_TYPE=any
CURRDIR=`pwd` CURRDIR=`pwd`

View File

@ -1,6 +1,6 @@
# Maintainer: Bob Mottram (4096 bits) <bob@robotics.uk.to> # Maintainer: Bob Mottram (4096 bits) <bob@robotics.uk.to>
pkgname=pybitmessage pkgname=pybitmessage
pkgver=0.4.4 pkgver=0.6.0
pkgrel=1 pkgrel=1
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." 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."
arch=('any') arch=('any')

View File

@ -1,11 +1,13 @@
#!/bin/bash #!/bin/bash
APP=pybitmessage APP=pybitmessage
PREV_VERSION=0.4.2 PREV_VERSION=0.4.4
VERSION=0.4.4 VERSION=0.6.0
RELEASE=1 RELEASE=1
ARCH_TYPE=all ARCH_TYPE=all
DIR=${APP}-${VERSION} DIR=${APP}-${VERSION}
CURDIR=`pwd`
SHORTDIR=`basename ${CURDIR}`
if [ $ARCH_TYPE == "x86_64" ]; then if [ $ARCH_TYPE == "x86_64" ]; then
ARCH_TYPE="amd64" ARCH_TYPE="amd64"
@ -30,17 +32,17 @@ make clean
make make
# Change the parent directory name to Debian format # Change the parent directory name to Debian format
mv ../${APP} ../${DIR} mv ../${SHORTDIR} ../${DIR}
# Create a source archive # Create a source archive
make sourcedeb make sourcedeb
# Build the package # Build the package
dpkg-buildpackage -F dpkg-buildpackage -F -us -uc
# Sign files # Sign files
gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb
gpg -ba ../${APP}_${VERSION}.orig.tar.gz gpg -ba ../${APP}_${VERSION}.orig.tar.gz
# Restore the parent directory name # Restore the parent directory name
mv ../${DIR} ../${APP} mv ../${DIR} ../${SHORTDIR}

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
pybitmessage (0.6.0-1) trusty; urgency=low
* Bugfixes
* UI improvements
* performance and security improvements
* integration with email gateway (mailchuck.com)
-- Peter Surda <dev@mailchuck.com> Mon, 2 May 2016 16:25:00 +0200
pybitmessage (0.4.4-1) utopic; urgency=low pybitmessage (0.4.4-1) utopic; urgency=low
* Added ability to limit network transfer rate * Added ability to limit network transfer rate

View File

@ -2,7 +2,7 @@
APP=pybitmessage APP=pybitmessage
PREV_VERSION=0.4.4 PREV_VERSION=0.4.4
VERSION=0.4.4 VERSION=0.6.0
RELEASE=1 RELEASE=1
SOURCEDIR=. SOURCEDIR=.
ARCH_TYPE=`uname -m` ARCH_TYPE=`uname -m`

View File

@ -2,7 +2,7 @@
APP=pybitmessage APP=pybitmessage
PREV_VERSION=0.4.4 PREV_VERSION=0.4.4
VERSION=0.4.4 VERSION=0.6.0
RELEASE=1 RELEASE=1
BUILDDIR=~/petbuild BUILDDIR=~/petbuild
CURRDIR=`pwd` CURRDIR=`pwd`

View File

@ -1,5 +1,5 @@
Name: pybitmessage Name: pybitmessage
Version: 0.4.4 Version: 0.6.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Send encrypted messages Summary: Send encrypted messages
License: MIT License: MIT

View File

@ -2,7 +2,7 @@
APP=pybitmessage APP=pybitmessage
PREV_VERSION=0.4.4 PREV_VERSION=0.4.4
VERSION=0.4.4 VERSION=0.6.0
RELEASE=1 RELEASE=1
ARCH_TYPE=`uname -m` ARCH_TYPE=`uname -m`
BUILDDIR=~/slackbuild BUILDDIR=~/slackbuild