diff --git a/Makefile b/Makefile index 36927797..3078ee94 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,10 @@ VERSION=0.4.4 RELEASE=1 ARCH_TYPE=`uname -m` PREFIX?=/usr/local +LIBDIR=lib all: debug: -sourcedeb: - tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs --exclude 'debian' - gzip -f9n ../${APP}_${VERSION}.orig.tar source: tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs gzip -f9n ../${APP}_${VERSION}.orig.tar @@ -31,15 +29,18 @@ install: mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons/hicolor/24x24/apps install -m 644 desktop/${APP}.desktop ${DESTDIR}${PREFIX}/share/applications/${APP}.desktop install -m 644 desktop/icon24.png ${DESTDIR}${PREFIX}/share/icons/hicolor/24x24/apps/${APP}.png - install -m 644 desktop/can-icon.svg ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg cp -rf src/* ${DESTDIR}${PREFIX}/share/${APP} echo '#!/bin/sh' > ${DESTDIR}${PREFIX}/bin/${APP} - echo 'if [ -d ${DESTDIR}/usr/local/share/${APP} ]; then' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo ' cd ${DESTDIR}/usr/local/share/${APP}' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo "if [ -d ${PREFIX}/share/${APP} ]; then" >> ${DESTDIR}${PREFIX}/bin/${APP} + echo " cd ${PREFIX}/share/${APP}" >> ${DESTDIR}${PREFIX}/bin/${APP} echo 'else' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo ' cd ${DESTDIR}/usr/share/pybitmessage' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo " cd /usr/share/pybitmessage" >> ${DESTDIR}${PREFIX}/bin/${APP} + echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo 'if [ -d /opt/openssl-compat-bitcoin/lib ]; then' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo ' LD_LIBRARY_PATH="/opt/openssl-compat-bitcoin/lib/" exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo 'else' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo ' exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo 'LD_LIBRARY_PATH="/opt/openssl-compat-bitcoin/lib/" exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} chmod +x ${DESTDIR}${PREFIX}/bin/${APP} uninstall: rm -f ${PREFIX}/share/man/man1/${APP}.1.gz @@ -54,3 +55,7 @@ clean: rm -f ../${APP}*.deb ../${APP}*.changes ../${APP}*.asc ../${APP}*.dsc rm -f rpmpackage/*.src.rpm archpackage/*.gz archpackage/*.xz rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz + +sourcedeb: + tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs --exclude 'debian' + gzip -f9n ../${APP}_${VERSION}.orig.tar diff --git a/arch.sh b/arch.sh index 825367d8..96d2e8d8 100755 --- a/arch.sh +++ b/arch.sh @@ -24,14 +24,14 @@ sed -i 's/-'${PREV_VERSION}'.so/-'${VERSION}'.so/g' debian/*.links make clean rm -f archpackage/*.gz -# Having the root directory called name-version seems essential +# having the root directory called name-version seems essential mv ../${APP} ../${APP}-${VERSION} tar -cvzf ${SOURCE} ../${APP}-${VERSION} --exclude-vcs -# Rename the root directory without the version number +# rename the root directory without the version number mv ../${APP}-${VERSION} ../${APP} -# Calculate the MD5 checksum +# calculate the MD5 checksum CHECKSM=$(md5sum ${SOURCE}) sed -i "s/md5sums[^)]*)/md5sums=(${CHECKSM%% *})/g" archpackage/PKGBUILD diff --git a/archpackage/PKGBUILD b/archpackage/PKGBUILD index 061795dc..5c2c78eb 100644 --- a/archpackage/PKGBUILD +++ b/archpackage/PKGBUILD @@ -19,7 +19,7 @@ install= changelog= source=($pkgname-$pkgver.tar.gz) noextract=() -md5sums=(0ee9bcb11dc606788fde94c7857e8720) +md5sums=() build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr diff --git a/debian.sh b/debian.sh index 709f1879..3a4edbe5 100755 --- a/debian.sh +++ b/debian.sh @@ -1,7 +1,7 @@ #!/bin/bash APP=pybitmessage -PREV_VERSION=0.4.4 +PREV_VERSION=0.4.2 VERSION=0.4.4 RELEASE=1 ARCH_TYPE=all diff --git a/debian/changelog b/debian/changelog index 6677ea9d..415dc400 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,33 @@ +pybitmessage (0.4.4-1) utopic; urgency=low + + * Added ability to limit network transfer rate + * Updated to Protocol Version 3 + * Removed use of memoryview so that we can support python 2.7.3 + * Make use of l10n for localizations + + -- Bob Mottram (4096 bits) Sun, 2 November 2014 12:55:00 +0100 + +pybitmessage (0.4.3-1) saucy; urgency=low + + * Support pyelliptic's updated HMAC algorithm. We'll remove support for the old method after an upgrade period. + * Improved version check + * Refactored decodeBase58 function + * Ignore duplicate messages + * Added bytes received/sent counts and rate on the network information tab + * Fix unicode handling in 'View HTML code as formatted text' + * Refactor handling of packet headers + * Use pointMult function instead of arithmetic.privtopub since it is faster + * Fixed issue where client wasn't waiting for a verack before continuing on with the conversation + * Fixed CPU hogging by implementing tab-based refresh improvements + * Added curses interface + * Added support for IPv6 + * Added a 'trustedpeer' option to keys.dat + * Limit maximum object size to 20 MB + * Support email-like > quote characters and reply-below-quote + * Added Japanese and Dutch language files; updated Norwegian and Russian languages files + + -- Bob Mottram (4096 bits) Thu, 6 March 2014 20:23:00 +0100 + pybitmessage (0.4.2-1) saucy; urgency=low * Exclude debian directory from orig.tar.gz diff --git a/ebuild.sh b/ebuild.sh index cacd7b06..11a6f5be 100755 --- a/ebuild.sh +++ b/ebuild.sh @@ -21,13 +21,13 @@ sed -i "s/|${PREV_VERSION}|/|${VERSION}|/g" puppypackage/*.specs sed -i 's/VERSION='${PREV_VERSION}'/VERSION='${VERSION}'/g' puppypackage/pinstall.sh puppypackage/puninstall.sh sed -i 's/-'${PREV_VERSION}'.so/-'${VERSION}'.so/g' debian/*.links -# Create the source code in the SOURCES directory +# create the source code in the SOURCES directory make clean mkdir -p ~/ebuild rm -f ${SOURCE} mv ../${APP} ../${APP}-${VERSION} tar -cvzf ${SOURCE} ../${APP}-${VERSION} --exclude-vcs -# Rename the root directory without the version number +# rename the root directory without the version number mv ../${APP}-${VERSION} ../${APP} diff --git a/rpm.sh b/rpm.sh index be2e21fa..52fb0465 100755 --- a/rpm.sh +++ b/rpm.sh @@ -24,25 +24,25 @@ sed -i 's/-'${PREV_VERSION}'.so/-'${VERSION}'.so/g' debian/*.links sudo yum groupinstall "Development Tools" sudo yum install rpmdevtools -# Setup the rpmbuild directory tree +# setup the rpmbuild directory tree rpmdev-setuptree -# Create the source code in the SOURCES directory +# create the source code in the SOURCES directory make clean mkdir -p ~/rpmbuild/SOURCES rm -f ${SOURCE} -# Having the root directory called name-version seems essential +# having the root directory called name-version seems essential mv ../${APP} ../${APP}-${VERSION} tar -cvzf ${SOURCE} ../${APP}-${VERSION} --exclude-vcs -# Rename the root directory without the version number +# rename the root directory without the version number mv ../${APP}-${VERSION} ../${APP} -# Copy the spec file into the SPECS directory +# copy the spec file into the SPECS directory cp -f rpmpackage/${APP}.spec ~/rpmbuild/SPECS -# Build +# build cd ~/rpmbuild/SPECS rpmbuild -ba ${APP}.spec cd ${CURRDIR} diff --git a/rpmpackage/pybitmessage.spec b/rpmpackage/pybitmessage.spec index 537a012e..258636f8 100644 --- a/rpmpackage/pybitmessage.spec +++ b/rpmpackage/pybitmessage.spec @@ -69,6 +69,30 @@ make install -B DESTDIR=%{buildroot} PREFIX=/usr %attr(644,root,root) /usr/share/icons/hicolor/24x24/apps/%{name}.png %changelog +* Sun Nov 2 2014 Bob Mottram (4096 bits) - 0.4.4-1 +- Added ability to limit network transfer rate +- Updated to Protocol Version 3 +- Removed use of memoryview so that we can support python 2.7.3 +- Make use of l10n for localizations + +* Thu Mar 6 2014 Bob Mottram (4096 bits) - 0.4.3-1 +- Support pyelliptic's updated HMAC algorithm. We'll remove support for the old method after an upgrade period. +- Improved version check +- Refactored decodeBase58 function +- Ignore duplicate messages +- Added bytes received/sent counts and rate on the network information tab +- Fix unicode handling in 'View HTML code as formatted text' +- Refactor handling of packet headers +- Use pointMult function instead of arithmetic.privtopub since it is faster +- Fixed issue where client wasn't waiting for a verack before continuing on with the conversation +- Fixed CPU hogging by implementing tab-based refresh improvements +- Added curses interface +- Added support for IPv6 +- Added a 'trustedpeer' option to keys.dat +- Limit maximum object size to 20 MB +- Support email-like > quote characters and reply-below-quote +- Added Japanese and Dutch language files; updated Norwegian and Russian languages files + * Thu Mar 6 2014 Bob Mottram (4096 bits) - 0.4.2-1 - Exclude debian directory from orig.tar.gz - Added Norwegian, Chinese, and Arabic translations