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 untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
9 changed files with 26 additions and 14 deletions

View File

@ -1,5 +1,6 @@
APP=pybitmessage
VERSION=0.4.4
APPDIR=`basename "\`pwd\`"`
VERSION=0.6.0
RELEASE=1
ARCH_TYPE=`uname -m`
PREFIX?=/usr/local
@ -8,7 +9,7 @@ LIBDIR=lib
all:
debug:
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
install:
mkdir -p ${DESTDIR}/usr
@ -57,5 +58,5 @@ clean:
rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz
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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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