# Maintainer: Vladimir Krivopalov # Main package information pkgname=scylla pkgver=2.2.0 pkgrel=1 pkgdesc="Scylla is an open source NoSQL drop-in replacement for Apache Cassandra with fast throughput and low latency" arch=('x86_64') url="http://www.scylladb.com/" license=('AGPL') # Dependencies depends=('hwloc' 'systemd' 'collectd' 'python-yaml' 'python2-yaml' 'python-urwid' 'pciutils' 'python-pyparsing' 'python2-requests' 'util-linux' 'python-pyudev' 'python-setuptools' 'boost' 'boost-libs') optdepends=('scylla-jmx: JMX interface for compatibility with tooling such as nodetool' 'scylla-tools: Tools to be used with ScyllaDB, such as cqlsh, nodetool and others') makedepends=('git' 'gcc7' 'gcc7-libs' 'antlr3-cpp-headers-git' 'libyaml' 'yaml-cpp' 'lz4' 'zlib' 'snappy' 'jsoncpp' 'gnutls' 'ninja' 'ragel' 'libaio' 'crypto++' 'xfsprogs' 'jre8-openjdk-headless' 'numactl' 'libpciaccess' 'libxml2' 'thrift-0.10.0' 'lksctp-tools' 'protobuf' 'libunwind' 'systemtap' 'make' 'libtool' 'cmake') # Relations provides=('scylla') conflicts=('cassandra' 'scylla-git') # Others backup=('etc/scylla/scylla.yaml' 'etc/scylla/cassandra-rackdc.properties' 'etc/scylla.d/housekeeping.cfg' 'etc/sysconfig/scylla-server' 'etc/collectd.d/scylla.conf' 'etc/scylla.d/cpuset.conf' 'etc/scylla.d/dev-mode.conf' 'etc/scylla.d/io.conf') install=.install changelog= source=("git+https://github.com/scylladb/scylla.git#tag=scylla-${pkgver}" 'git+https://github.com/scylladb/scylla-ami.git' 'git+https://github.com/scylladb/scylla-swagger-ui.git' 'git+https://github.com/scylladb/scylla-seastar.git' 'git+https://github.com/scylladb/fmt.git' 'git+https://github.com/scylladb/dpdk.git' 'git+https://github.com/scylladb/c-ares.git' 'git+https://github.com/scylladb/xxHash.git' ) md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP') prepare() { cd "$srcdir/${pkgname}" git submodule update --init --recursive } build() { cd "$srcdir/${pkgname}" sed -i -e 's@sizeof(byte)@sizeof(CryptoPP::byte)@g' md5_hasher.hh repair/repair.cc sed -i -e 's@reinterpret_cast