Guillem Jover 0731a0509a build: Add support for linking against a system libhiredis/libhiredis_ssl
Add a new USE_SYSTEM_HIREDIS make variable to select whether to link
against the system libhiredis (and libhiredis_ssl if BUILD_TLS is
enabled).

Move the sdscompat.h header from the vendored hiredis directory to src/,
as this file is not and has never been part of the upstream hiredis
project, it got added in commit bffbbeaa9a1a6b8e81384297272cb0631502e8fd
in redis itself.
2024-03-25 21:01:05 -04:00
..
2024-03-07 19:54:09 -05:00
2022-04-15 23:09:44 -04:00

KeyDB DEB Package Source Builds

This directory contains scripts and components needed to generate debian packages on different distributions/architectures from source

The 'debian' directory contains debian source code for bionic, buster and later distributions as it uses functions only available with debhelper11+. 'debian_dh9' is used for xenial, stretch and earlier distributions using debhelper9.

You will need to install pbuilder sudo apt install pbuilder along with other distribution specific dependencies

Generate deb packages with the following script command run from this directory:

$ ./deb-buildsource.sh

This generates a directory structure, .dsc file, original.tar.gz, and new changelog for the distribution and architecture installed.

When complete the produced debian packages will be located in deb_files_generated directory.

Arguments for the deb-buildsource.sh script that can be passed are either 'None' or '"your custom comments"'. 'None' assumes a permanent changelog entry has been made listing the correct build for the version. If you quote and enter your own comment string, it will be appended to the changelog for that deb package. If no argument is passed a default comment is generated saying that this deb package was generated by this script.

This script has been tested on xenial/bionic/focal/stretch/buster/bullseye