liblokimq package versioning

This commit is contained in:
Jason Rhinelander 2020-03-28 12:29:45 -03:00
parent 659f279507
commit c118acfcd3
3 changed files with 55 additions and 2 deletions

4
debian/control vendored
View File

@ -9,7 +9,7 @@ Homepage: https://github.com/loki-project/loki-mq
Package: liblokimq-dev
Section: libdevel
Architecture: any
Depends: liblokimq0 (= ${binary:Version}), ${misc:Depends}, libzmq3-dev (>= 4.3), libmapbox-variant-dev
Depends: liblokimq1.0.3 (= ${binary:Version}), ${misc:Depends}, libzmq3-dev (>= 4.3), libmapbox-variant-dev
Description: zeromq-based Loki message passing library (headers)
This C++14 library contains an abstraction layer around ZeroMQ to support
integration with Loki authentication, RPC, and message passing. It is
@ -22,7 +22,7 @@ Description: zeromq-based Loki message passing library (headers)
This package contains the library headers and other development files needed
to build software using lokimq.
Package: liblokimq0
Package: liblokimq1.0.3
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: zeromq-based Loki message passing library

37
debian/control.in vendored Normal file
View File

@ -0,0 +1,37 @@
Source: lokimq
Priority: optional
Maintainer: Jason Rhinelander <jason@imaginary.ca>
Build-Depends: debhelper-compat (= 11), cmake (>= 3.5), g++, pkg-config, libzmq3-dev (>= 4.3), libsodium-dev, libmapbox-variant-dev
Standards-Version: 4.4.1
Section: libs
Homepage: https://github.com/loki-project/loki-mq
Package: liblokimq-dev
Section: libdevel
Architecture: any
Depends: liblokimq@LIB_VERSION@ (= ${binary:Version}), ${misc:Depends}, libzmq3-dev (>= 4.3), libmapbox-variant-dev
Description: zeromq-based Loki message passing library (headers)
This C++14 library contains an abstraction layer around ZeroMQ to support
integration with Loki authentication, RPC, and message passing. It is
designed to be usable as the underlying communication mechanism of SN-to-SN
communication ("quorumnet"), the RPC interface used by wallets and local
daemon commands, communication channels between lokid and auxiliary services
(storage server, lokinet), and also provides a local multithreaded job
scheduling within a process.
.
This package contains the library headers and other development files needed
to build software using lokimq.
Package: liblokimq@LIB_VERSION@
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: zeromq-based Loki message passing library
This C++14 library contains an abstraction layer around ZeroMQ to support
integration with Loki authentication, RPC, and message passing. It is
designed to be usable as the underlying communication mechanism of SN-to-SN
communication ("quorumnet"), the RPC interface used by wallets and local
daemon commands, communication channels between lokid and auxiliary services
(storage server, lokinet), and also provides a local multithreaded job
scheduling within a process.
.
This package contains the library file needed by software built using lokimq.

16
debian/update-lib-version.sh vendored Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
set -e
if ! [ -f debian/changelog ] || ! [ -f debian/control.in ]; then
if [ -f changelog ] && [ -f control.in ]; then
cd ..
else
echo "Error: must run from base or base/debian directory" >&2
exit 1
fi
fi
VERSION=$(head -1 debian/changelog | sed -e 's/.*(//; s/[^0-9.].*//')
sed -e "s/@LIB_VERSION@/$VERSION/g" debian/control.in >debian/control