summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-03-08 08:50:26 -0800
committerAndy Weidenbaum2017-03-08 08:50:26 -0800
commit93c988260bcb10b8ea060c5a53465cf85c8152a9 (patch)
treeb4877e3bca78d1b431c4d2a031e9f8c46cd2eb55
parente047c205858acec9c3c22302ea78fdb89209f76f (diff)
downloadaur-93c988260bcb10b8ea060c5a53465cf85c8152a9.tar.gz
update pkgver to 3.0.0
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
-rw-r--r--bs.install10
3 files changed, 28 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c448c3b385f..c6bd3a0666e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Apr 3 17:56:29 UTC 2016
+# Wed Mar 8 16:48:18 UTC 2017
pkgbase = libbitcoin-server
pkgdesc = Bitcoin Full Node and Query Server
- pkgver = 2.4.0
- pkgrel = 2
+ pkgver = 3.0.0
+ pkgrel = 1
url = https://github.com/libbitcoin/libbitcoin-server
install = bs.install
arch = i686
@@ -20,25 +20,25 @@ pkgbase = libbitcoin-server
makedepends = pkg-config
depends = boost
depends = boost-libs
- depends = czmq-git
- depends = czmqpp-git
depends = icu
- depends = libbitcoin
depends = libbitcoin-blockchain
depends = libbitcoin-consensus
+ depends = libbitcoin-database
+ depends = libbitcoin-network
depends = libbitcoin-node
+ depends = libbitcoin-protocol
+ depends = libbitcoin-system
depends = libsecp256k1
- depends = libsodium
depends = zeromq
optdepends = libbitcoin-explorer: CurveZMQ client/server authentication
backup = etc/bs/bs.cfg
backup = etc/logrotate.d/bs
- source = libbitcoin-server-2.4.0.tar.gz::https://codeload.github.com/libbitcoin/libbitcoin-server/tar.gz/v2.4.0
+ source = libbitcoin-server-3.0.0.tar.gz::https://codeload.github.com/libbitcoin/libbitcoin-server/tar.gz/v3.0.0
source = git+https://github.com/libbitcoin/libbitcoin-server.wiki
source = bs.logrotate
source = bs.service
source = bsinit.service
- sha256sums = 984c979683de042603a49f2f1c88cd897683c00ec8bbb7be3e93a831fc7d9328
+ sha256sums = bb97de5100b7a49b2c55817cf9431777535d0f95f90a80238356a5bcb86c1203
sha256sums = SKIP
sha256sums = 09ea3d2bf7cb87a0760c2a73893d62d1868d232c9e925cabf6140b1b031efee3
sha256sums = 564112d0860f1523049bd89779e1b1bfc189a3d143d2cc808441981ed793658a
diff --git a/PKGBUILD b/PKGBUILD
index eaebb3abcbc..2338b812ea8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,21 @@
# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
pkgname=libbitcoin-server
-pkgver=2.4.0
-pkgrel=2
+pkgver=3.0.0
+pkgrel=1
pkgdesc="Bitcoin Full Node and Query Server"
arch=('i686' 'x86_64')
depends=('boost'
'boost-libs'
- 'czmq-git'
- 'czmqpp-git'
'icu'
- 'libbitcoin'
'libbitcoin-blockchain'
'libbitcoin-consensus'
+ 'libbitcoin-database'
+ 'libbitcoin-network'
'libbitcoin-node'
+ 'libbitcoin-protocol'
+ 'libbitcoin-system'
'libsecp256k1'
- 'libsodium'
'zeromq')
makedepends=('autoconf'
'automake'
@@ -34,7 +34,7 @@ source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/libbitcoin/$pkgname
bs.logrotate
bs.service
bsinit.service)
-sha256sums=('984c979683de042603a49f2f1c88cd897683c00ec8bbb7be3e93a831fc7d9328'
+sha256sums=('bb97de5100b7a49b2c55817cf9431777535d0f95f90a80238356a5bcb86c1203'
'SKIP'
'09ea3d2bf7cb87a0760c2a73893d62d1868d232c9e925cabf6140b1b031efee3'
'564112d0860f1523049bd89779e1b1bfc189a3d143d2cc808441981ed793658a'
@@ -49,10 +49,11 @@ prepare() {
msg2 'Configuring...'
cp -dpr --no-preserve=ownership data/bs.cfg data/bs.cfg.in
sed -i \
- -e 's@^database_path.*@database_path = /srv/blockchain/db@' \
+ -e 's@^directory.*@directory = /srv/bs/db@' \
-e 's@^debug_file.*@debug_file = /var/log/bs/debug.log@' \
-e 's@^error_file.*@error_file = /var/log/bs/error.log@' \
-e 's@^hosts_file.*@hosts_file = /etc/bs/hosts.cache@' \
+ -e 's@^archive_directory.*@archive_directory = /var/log/bs@' \
data/bs.cfg.in
}
@@ -69,8 +70,9 @@ build() {
--sharedstatedir=/usr/share/libbitcoin-server \
--localstatedir=/var/lib/libbitcoin-server \
--with-bash-completiondir=/usr/share/bash-completion/completions \
- --with-gnu-ld
- make
+ --with-gnu-ld \
+ --without-tests
+ make -j$(($(nproc)/2))
}
package() {
@@ -81,7 +83,7 @@ package() {
msg2 'Installing...'
install -dm 700 "$pkgdir/etc/bs"
- install -dm 755 "$pkgdir/srv/blockchain"
+ install -dm 755 "$pkgdir/srv/bs"
make DESTDIR="$pkgdir" install
msg2 'Installing documentation...'
@@ -101,4 +103,5 @@ package() {
msg2 'Cleaning up pkgdir...'
find "$pkgdir" -type d -name .git -exec rm -r '{}' +
+ find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
}
diff --git a/bs.install b/bs.install
index b0fab5facc1..93aa3a459f7 100644
--- a/bs.install
+++ b/bs.install
@@ -4,22 +4,22 @@ _bs_group=bs
post_install() {
_mkuser
# disable Copy-On-Write (btrfs directories only)
- for _dir in /srv/blockchain /var/log/bs; do
+ for _dir in /srv/bs /var/log/bs; do
_is_btrfs "$_dir" && _disable_cow "$_dir"
done
- chown -R $_bs_user:$_bs_group /etc/bs /srv/blockchain /var/log/bs
+ chown -R $_bs_user:$_bs_group /etc/bs /srv/bs /var/log/bs
printf "%b\n" "$obelisk"
}
post_upgrade() {
_mkuser
- chown -R $_bs_user:$_bs_group /etc/bs /srv/blockchain /var/log/bs
+ chown -R $_bs_user:$_bs_group /etc/bs /srv/bs /var/log/bs
printf "%b\n" "$obelisk"
}
post_remove() {
_rmuser
- rm -rf /etc/bs /srv/blockchain /var/log/bs
+ rm -rf /etc/bs /srv/bs /var/log/bs
}
@@ -104,7 +104,7 @@ read -d '' obelisk <<'EOF'
## ##
## ##
## Config: /etc/bs/bs.cfg ##
-## Blockchain: /srv/blockchain ##
+## Blockchain: /srv/bs ##
## Documentation: /usr/share/doc/libbitcoin-server ##
## Logs: /var/log/bs ##
## ##