enable source build from dh9 where applicable
Former-commit-id: 9e8ea41f73674fb836f89e5d53474b271abf10d8
This commit is contained in:
parent
33afd43dde
commit
ada1407ac8
@ -26,7 +26,11 @@ cd ../../../
|
|||||||
tar -czvf keydb-pro_$version.orig.tar.gz --force-local KeyDB-Pro
|
tar -czvf keydb-pro_$version.orig.tar.gz --force-local KeyDB-Pro
|
||||||
cd KeyDB-Pro/pkg/deb/
|
cd KeyDB-Pro/pkg/deb/
|
||||||
mkdir -p $pkg_name/tmp
|
mkdir -p $pkg_name/tmp
|
||||||
|
if [ "$codename" == "xenial" ]; then
|
||||||
|
cp -r debian_dh9 $pkg_name/tmp/debian
|
||||||
|
else
|
||||||
cp -r debian $pkg_name/tmp
|
cp -r debian $pkg_name/tmp
|
||||||
|
fi
|
||||||
cp master_changelog $pkg_name/tmp/debian/changelog
|
cp master_changelog $pkg_name/tmp/debian/changelog
|
||||||
mv ../../../keydb-pro_$version.orig.tar.gz ./$pkg_name
|
mv ../../../keydb-pro_$version.orig.tar.gz ./$pkg_name
|
||||||
cd $pkg_name/tmp
|
cd $pkg_name/tmp
|
||||||
|
@ -9,7 +9,6 @@ else
|
|||||||
SYSTEMD_EXTRA=$(cat <<EOF
|
SYSTEMD_EXTRA=$(cat <<EOF
|
||||||
|
|
||||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
||||||
#MemoryDenyWriteExecute=true
|
|
||||||
ProtectKernelModules=true
|
ProtectKernelModules=true
|
||||||
ProtectKernelTunables=true
|
ProtectKernelTunables=true
|
||||||
ProtectControlGroups=true
|
ProtectControlGroups=true
|
||||||
@ -26,9 +25,13 @@ do
|
|||||||
case "${BINARY}" in
|
case "${BINARY}" in
|
||||||
keydb-server)
|
keydb-server)
|
||||||
NAME="keydb"
|
NAME="keydb"
|
||||||
|
BINARY_EXEC="keydb-server"
|
||||||
|
BINARY_NAME="keydb-pro-server"
|
||||||
;;
|
;;
|
||||||
keydb-sentinel)
|
keydb-sentinel)
|
||||||
NAME="sentinel"
|
NAME="sentinel"
|
||||||
|
BINARY_EXEC="keydb-sentinel"
|
||||||
|
BINARY_NAME="keydb-sentinel"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -78,8 +81,6 @@ do
|
|||||||
#
|
#
|
||||||
# $ systemctl start ${BINARY}@myname.service
|
# $ systemctl start ${BINARY}@myname.service
|
||||||
# $ keydb-cli -s /var/run/${NAME}-myname/${BINARY}.sock info | grep config_file
|
# $ keydb-cli -s /var/run/${NAME}-myname/${BINARY}.sock info | grep config_file
|
||||||
#
|
|
||||||
# -- Chris Lamb <lamby@debian.org> Mon, 09 Oct 2017 22:17:24 +0100
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -91,7 +92,7 @@ Documentation=https://docs.keydb.dev, man:${BINARY}(1)
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/bin/${BINARY} /etc/keydb/${NAMESPACED}.conf
|
ExecStart=/usr/bin/${BINARY_NAME} /etc/keydb/${NAMESPACED}.conf
|
||||||
ExecStop=/bin/kill -s TERM \$MAINPID
|
ExecStop=/bin/kill -s TERM \$MAINPID
|
||||||
PIDFile=/var/run/${NAMESPACED}/${BINARY}.pid
|
PIDFile=/var/run/${NAMESPACED}/${BINARY}.pid
|
||||||
TimeoutStopSec=0
|
TimeoutStopSec=0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Source: keydb
|
Source: keydb-pro
|
||||||
Section: database
|
Section: database
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Ben Schermel <ben@eqalpha.com>
|
Maintainer: Ben Schermel <ben@eqalpha.com>
|
||||||
@ -6,6 +6,11 @@ Build-Depends:
|
|||||||
debhelper (>= 9~),
|
debhelper (>= 9~),
|
||||||
dpkg-dev (>= 1.17.5),
|
dpkg-dev (>= 1.17.5),
|
||||||
systemd,
|
systemd,
|
||||||
|
# libhiredis-dev (>= 0.14.0),
|
||||||
|
# libjemalloc-dev [linux-any],
|
||||||
|
# liblua5.1-dev,
|
||||||
|
# lua-bitop-dev,
|
||||||
|
# lua-cjson-dev,
|
||||||
procps <!nocheck>,
|
procps <!nocheck>,
|
||||||
build-essential <!nocheck>,
|
build-essential <!nocheck>,
|
||||||
tcl <!nocheck>,
|
tcl <!nocheck>,
|
||||||
@ -19,14 +24,14 @@ Build-Depends:
|
|||||||
libssl-dev <!nocheck>
|
libssl-dev <!nocheck>
|
||||||
Standards-Version: 4.2.1
|
Standards-Version: 4.2.1
|
||||||
Homepage: https://docs.keydb.dev/
|
Homepage: https://docs.keydb.dev/
|
||||||
Vcs-Git: https://github.com/JohnSully/KeyDB.git
|
Vcs-Git: https://github.com/JohnSully/KeyDB-Pro.git
|
||||||
Vcs-Browser: https://github.com/JohnSully/KeyDB
|
Vcs-Browser: https://github.com/JohnSully/KeyDB-Pro
|
||||||
|
|
||||||
Package: keydb
|
Package: keydb-pro
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends:
|
Depends:
|
||||||
keydb-server (<< ${binary:Version}.1~),
|
keydb-pro-server (<< ${binary:Version}.1~),
|
||||||
keydb-server (>= ${binary:Version}),
|
keydb-pro-server (>= ${binary:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: Persistent key-value database with network interface (metapackage)
|
Description: Persistent key-value database with network interface (metapackage)
|
||||||
keydb is a key-value database in a similar vein to memcache but the dataset
|
keydb is a key-value database in a similar vein to memcache but the dataset
|
||||||
@ -37,11 +42,11 @@ Description: Persistent key-value database with network interface (metapackage)
|
|||||||
.
|
.
|
||||||
This package depends on the keydb-server package.
|
This package depends on the keydb-server package.
|
||||||
|
|
||||||
Package: keydb-sentinel
|
Package: keydb-pro-sentinel
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends:
|
Depends:
|
||||||
lsb-base (>= 3.2-14),
|
lsb-base (>= 3.2-14),
|
||||||
keydb-tools (= ${binary:Version}),
|
keydb-pro-tools (= ${binary:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: Persistent key-value database with network interface (monitoring)
|
Description: Persistent key-value database with network interface (monitoring)
|
||||||
keydb is a key-value database in a similar vein to memcache but the dataset
|
keydb is a key-value database in a similar vein to memcache but the dataset
|
||||||
@ -50,11 +55,11 @@ Description: Persistent key-value database with network interface (monitoring)
|
|||||||
.
|
.
|
||||||
This package contains the keydb Sentinel monitoring software.
|
This package contains the keydb Sentinel monitoring software.
|
||||||
|
|
||||||
Package: keydb-server
|
Package: keydb-pro-server
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends:
|
Depends:
|
||||||
lsb-base (>= 3.2-14),
|
lsb-base (>= 3.2-14),
|
||||||
keydb-tools (= ${binary:Version}),
|
keydb-pro-tools (= ${binary:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: Persistent key-value database with network interface
|
Description: Persistent key-value database with network interface
|
||||||
keydb is a key-value database in a similar vein to memcache but the dataset
|
keydb is a key-value database in a similar vein to memcache but the dataset
|
||||||
@ -63,7 +68,7 @@ Description: Persistent key-value database with network interface
|
|||||||
.
|
.
|
||||||
The dataset is stored entirely in memory and periodically flushed to disk.
|
The dataset is stored entirely in memory and periodically flushed to disk.
|
||||||
|
|
||||||
Package: keydb-tools
|
Package: keydb-pro-tools
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends:
|
Depends:
|
||||||
adduser,
|
adduser,
|
||||||
|
@ -1,86 +1,13 @@
|
|||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Contact: John Sully <john@eqalpha.com>
|
Upstream-Contact: John Sully <john@eqalpha.com>
|
||||||
Upstream-Name: keydb
|
Upstream-Name: keydb-pro
|
||||||
Source: https://github.com/JohnSully/KeyDB
|
Source: https://github.com/JohnSully/KeyDB-Pro
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: © 2006-2014 Salvatore Sanfilippo <antirez@gmail.com>
|
Copyright: © 2006-2014 Salvatore Sanfilippo <antirez@gmail.com>
|
||||||
Copyright © 2019, John Sully
|
Copyright © 2019, John Sully
|
||||||
License: BSD-3-clause
|
License: Proprietary
|
||||||
|
|
||||||
Files:
|
|
||||||
src/rio.*
|
|
||||||
src/t_zset.c
|
|
||||||
src/ziplist.h
|
|
||||||
src/intset.*
|
|
||||||
src/redis-check-aof.c
|
|
||||||
deps/hiredis/*
|
|
||||||
deps/linenoise/*
|
|
||||||
Copyright:
|
|
||||||
© 2009-2012 Pieter Noordhuis <pcnoordhuis@gmail.com>
|
|
||||||
© 2009-2012 Salvatore Sanfilippo <antirez@gmail.com>
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files:
|
|
||||||
src/lzf.h
|
|
||||||
src/lzfP.h
|
|
||||||
src/lzf_d.c
|
|
||||||
src/lzf_c.c
|
|
||||||
Copyright:
|
|
||||||
© 2000-2007 Marc Alexander Lehmann <schmorp@schmorp.de>
|
|
||||||
© 2009-2012 Salvatore Sanfilippo <antirez@gmail.com>
|
|
||||||
License: BSD-2-clause
|
|
||||||
|
|
||||||
Files: src/setproctitle.c
|
|
||||||
Copyright:
|
|
||||||
© 2010 William Ahern
|
|
||||||
© 2013 Salvatore Sanfilippo
|
|
||||||
© 2013 Stam He
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files: src/ae_evport.c
|
|
||||||
Copyright: © 2012 Joyent, Inc.
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files: src/ae_kqueue.c
|
|
||||||
Copyright: © 2009 Harish Mallipeddi <harish.mallipeddi@gmail.com>
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files: utils/install_server.sh
|
|
||||||
Copyright: © 2011 Dvir Volk <dvirsk@gmail.com>
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files: deps/jemalloc/*
|
|
||||||
Copyright:
|
|
||||||
© 2002-2012 Jason Evans <jasone@canonware.com>
|
|
||||||
© 2007-2012 Mozilla Foundation
|
|
||||||
© 2009-2012 Facebook, Inc.
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files: src/pqsort.*
|
|
||||||
Copyright: © 1992-1993 The Regents of the University of California
|
|
||||||
License: BSD-3-clause
|
|
||||||
|
|
||||||
Files: deps/lua/*
|
|
||||||
Copyright: © 1994-2012 Lua.org, PUC-Ri
|
|
||||||
License: MIT
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
.
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
.
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
|
|
||||||
Files: debian/*
|
Files: debian/*
|
||||||
Copyright: © 2009 Chris Lamb <lamby@debian.org>
|
Copyright: © 2009 Chris Lamb <lamby@debian.org>
|
||||||
|
@ -1 +1 @@
|
|||||||
keydb_5.3.3-1~bionic1_source.buildinfo database optional
|
keydb-pro_5.3.3-1~bionic1_source.buildinfo database optional
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.TH KEYDB-BENCHMARK 1 "August 17, 2019"
|
.TH KEYDB-BENCHMARK 1 "August 17, 2019"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
keydb-benchmark \- Benechmark a KeyDB instance
|
keydb-benchmark \- Benchmark a KeyDB instance
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B redis-benchmark
|
.B redis-benchmark
|
||||||
[\-h <host>] [\-p <port>] [\-c <clients>] [\-n <requests]> [\-k <boolean>]
|
[\-h <host>] [\-p <port>] [\-c <clients>] [\-n <requests]> [\-k <boolean>]
|
||||||
|
23
pkg/deb/debian_dh9/keydb-pro-sentinel.1
Normal file
23
pkg/deb/debian_dh9/keydb-pro-sentinel.1
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
.TH KEYDB-SENTINEL 1 "August 17, 2019"
|
||||||
|
.SH NAME
|
||||||
|
keydb-sentinel \- Persistent key-value database (cluster mode)
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B keydb-sentinel
|
||||||
|
.RI configfile
|
||||||
|
.SH DESCRIPTION
|
||||||
|
KeyDB is a key-value database. It is similar to memcached but the dataset is
|
||||||
|
not volatile and other datatypes (such as lists and sets) are natively
|
||||||
|
supported.
|
||||||
|
.PP
|
||||||
|
.SH OPTIONS
|
||||||
|
.IP "configfile"
|
||||||
|
Read options from specified configuration file.
|
||||||
|
.SH NOTES
|
||||||
|
On Debian GNU/Linux systems, \fBkeydb-sentinel\fP is typically started via the
|
||||||
|
\fB/etc/init.d/keydb-sentinel\fP initscript, not manually. This defaults to using
|
||||||
|
\fB/etc/keydb/sentinel.conf\fP as a configuration file.
|
||||||
|
.SH AUTHOR
|
||||||
|
\fBkeydb-sentinel\fP was written by John Sully, originating as a fork of Redis. Redis was written by Salvatore Sanfilippo.
|
||||||
|
.PP
|
||||||
|
This manual page was written by Chris Lamb <lamby@debian.org> for the Debian
|
||||||
|
project (but may be used by others). Modified by Ben Schermel <ben@eqalpha.com>
|
2
pkg/deb/debian_dh9/keydb-pro-sentinel.install
Normal file
2
pkg/deb/debian_dh9/keydb-pro-sentinel.install
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
debian/keydb-sentinel.service /lib/systemd/system/
|
||||||
|
pkg/deb/conf/sentinel.conf /etc/keydb
|
7
pkg/deb/debian_dh9/keydb-pro-sentinel.logrotate
Normal file
7
pkg/deb/debian_dh9/keydb-pro-sentinel.logrotate
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/var/log/keydb/keydb-sentinel*.log {
|
||||||
|
weekly
|
||||||
|
missingok
|
||||||
|
rotate 12
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
}
|
4
pkg/deb/debian_dh9/keydb-pro-sentinel.maintscript
Normal file
4
pkg/deb/debian_dh9/keydb-pro-sentinel.maintscript
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
rm_conffile /etc/keydb/keydb-sentinel.post-down.d/00_example 4:4.0.2-3~
|
||||||
|
rm_conffile /etc/keydb/keydb-sentinel.post-up.d/00_example 4:4.0.2-3~
|
||||||
|
rm_conffile /etc/keydb/keydb-sentinel.pre-down.d/00_example 4:4.0.2-3~
|
||||||
|
rm_conffile /etc/keydb/keydb-sentinel.pre-up.d/00_example 4:4.0.2-3~
|
1
pkg/deb/debian_dh9/keydb-pro-sentinel.manpages
Normal file
1
pkg/deb/debian_dh9/keydb-pro-sentinel.manpages
Normal file
@ -0,0 +1 @@
|
|||||||
|
debian/keydb-pro-sentinel.1
|
26
pkg/deb/debian_dh9/keydb-pro-sentinel.postinst
Normal file
26
pkg/deb/debian_dh9/keydb-pro-sentinel.postinst
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
USER="keydb"
|
||||||
|
GROUP="$USER"
|
||||||
|
CONFFILE="/etc/keydb/sentinel.conf"
|
||||||
|
|
||||||
|
if [ "$1" = "configure" ]
|
||||||
|
then
|
||||||
|
if ! dpkg-statoverride --list ${CONFFILE} >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
dpkg-statoverride --update --add ${USER} ${GROUP} 640 ${CONFFILE}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
if [ "$1" = "configure" ]
|
||||||
|
then
|
||||||
|
find /etc/keydb -maxdepth 1 -type d -name 'keydb-sentinel.*.d' -empty -delete
|
||||||
|
fi
|
||||||
|
|
||||||
|
sytemctl daemon-reload
|
||||||
|
|
||||||
|
exit 0
|
16
pkg/deb/debian_dh9/keydb-pro-sentinel.postrm
Normal file
16
pkg/deb/debian_dh9/keydb-pro-sentinel.postrm
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
CONFFILE="/etc/keydb/sentinel.conf"
|
||||||
|
|
||||||
|
if [ "$1" = "purge" ]
|
||||||
|
then
|
||||||
|
dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
sytemctl daemon-reload
|
||||||
|
|
||||||
|
exit 0
|
23
pkg/deb/debian_dh9/keydb-pro-server.1
Normal file
23
pkg/deb/debian_dh9/keydb-pro-server.1
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
.TH KEYDB-SERVER 1 "August 17, 2019"
|
||||||
|
.SH NAME
|
||||||
|
keydb-server \- Persistent key-value database
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B keydb-server
|
||||||
|
.RI configfile
|
||||||
|
.SH DESCRIPTION
|
||||||
|
KeyDB is a key-value database. It is similar to memcached but the dataset is
|
||||||
|
not volatile and other datatypes (such as lists and sets) are natively
|
||||||
|
supported.
|
||||||
|
.PP
|
||||||
|
.SH OPTIONS
|
||||||
|
.IP "configfile"
|
||||||
|
Read options from specified configuration file.
|
||||||
|
.SH NOTES
|
||||||
|
On Debian GNU/Linux systems, \fBkeydb-server\fP is typically started via the
|
||||||
|
\fB/etc/init.d/keydb-server\fP initscript, not manually. This defaults to using
|
||||||
|
\fB/etc/keydb/keydb.conf\fP as a configuration file.
|
||||||
|
.SH AUTHOR
|
||||||
|
\fBkeydb-server\fP was written by John Sully, originating as a fork of Redis. Redis was written by Salvatore Sanfilippo.
|
||||||
|
.PP
|
||||||
|
This manual page was written by Chris Lamb <lamby@debian.org> for the Debian
|
||||||
|
project (but may be used by others). Modified by Ben Schermel <ben@eqalpha.com>
|
1
pkg/deb/debian_dh9/keydb-pro-server.docs
Normal file
1
pkg/deb/debian_dh9/keydb-pro-server.docs
Normal file
@ -0,0 +1 @@
|
|||||||
|
README.md
|
2
pkg/deb/debian_dh9/keydb-pro-server.install
Normal file
2
pkg/deb/debian_dh9/keydb-pro-server.install
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
debian/keydb-server.service /lib/systemd/system/
|
||||||
|
pkg/deb/conf/keydb.conf /etc/keydb
|
7
pkg/deb/debian_dh9/keydb-pro-server.logrotate
Normal file
7
pkg/deb/debian_dh9/keydb-pro-server.logrotate
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/var/log/keydb/keydb-server*.log {
|
||||||
|
weekly
|
||||||
|
missingok
|
||||||
|
rotate 12
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
}
|
4
pkg/deb/debian_dh9/keydb-pro-server.maintscript
Normal file
4
pkg/deb/debian_dh9/keydb-pro-server.maintscript
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
rm_conffile /etc/keydb/keydb-server.post-down.d/00_example 4:4.0.2-3~
|
||||||
|
rm_conffile /etc/keydb/keydb-server.post-up.d/00_example 4:4.0.2-3~
|
||||||
|
rm_conffile /etc/keydb/keydb-server.pre-down.d/00_example 4:4.0.2-3~
|
||||||
|
rm_conffile /etc/keydb/keydb-server.pre-up.d/00_example 4:4.0.2-3~
|
1
pkg/deb/debian_dh9/keydb-pro-server.manpages
Normal file
1
pkg/deb/debian_dh9/keydb-pro-server.manpages
Normal file
@ -0,0 +1 @@
|
|||||||
|
debian/keydb-pro-server.1
|
26
pkg/deb/debian_dh9/keydb-pro-server.postinst
Normal file
26
pkg/deb/debian_dh9/keydb-pro-server.postinst
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
USER="keydb"
|
||||||
|
GROUP="$USER"
|
||||||
|
CONFFILE="/etc/keydb/keydb.conf"
|
||||||
|
|
||||||
|
if [ "$1" = "configure" ]
|
||||||
|
then
|
||||||
|
if ! dpkg-statoverride --list ${CONFFILE} >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
dpkg-statoverride --update --add ${USER} ${GROUP} 640 ${CONFFILE}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
if [ "$1" = "configure" ]
|
||||||
|
then
|
||||||
|
find /etc/keydb -maxdepth 1 -type d -name 'keydb-server.*.d' -empty -delete
|
||||||
|
fi
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
exit 0
|
16
pkg/deb/debian_dh9/keydb-pro-server.postrm
Normal file
16
pkg/deb/debian_dh9/keydb-pro-server.postrm
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
CONFFILE="/etc/keydb/keydb.conf"
|
||||||
|
|
||||||
|
if [ "${1}" = "purge" ]
|
||||||
|
then
|
||||||
|
dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
sytemctl daemon-reload
|
||||||
|
|
||||||
|
exit 0
|
2
pkg/deb/debian_dh9/keydb-pro-tools.examples
Normal file
2
pkg/deb/debian_dh9/keydb-pro-tools.examples
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
src/redis-trib.rb
|
||||||
|
utils/lru
|
6
pkg/deb/debian_dh9/keydb-pro-tools.install
Normal file
6
pkg/deb/debian_dh9/keydb-pro-tools.install
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
debian/bash_completion.d/* /usr/share/bash-completion/completions
|
||||||
|
src/keydb-benchmark /usr/bin
|
||||||
|
src/keydb-check-aof /usr/bin
|
||||||
|
src/keydb-check-rdb /usr/bin
|
||||||
|
src/keydb-cli /usr/bin
|
||||||
|
src/keydb-pro-server /usr/bin
|
4
pkg/deb/debian_dh9/keydb-pro-tools.manpages
Normal file
4
pkg/deb/debian_dh9/keydb-pro-tools.manpages
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
debian/keydb-benchmark.1
|
||||||
|
debian/keydb-check-aof.1
|
||||||
|
debian/keydb-check-rdb.1
|
||||||
|
debian/keydb-cli.1
|
47
pkg/deb/debian_dh9/keydb-pro-tools.postinst
Normal file
47
pkg/deb/debian_dh9/keydb-pro-tools.postinst
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
USER="keydb"
|
||||||
|
|
||||||
|
Setup_dir () {
|
||||||
|
DIR="${1}"
|
||||||
|
MODE="${2}"
|
||||||
|
GROUP="${3}"
|
||||||
|
|
||||||
|
mkdir -p ${DIR}
|
||||||
|
|
||||||
|
case "${DIR}" in
|
||||||
|
/var/log/keydb)
|
||||||
|
MODE="02750"
|
||||||
|
GROUP="adm"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
MODE="750"
|
||||||
|
GROUP="${USER}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if ! dpkg-statoverride --list ${DIR} >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
chown ${USER}:${GROUP} ${DIR}
|
||||||
|
chmod ${MODE} ${DIR}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ "$1" = "configure" ]
|
||||||
|
then
|
||||||
|
adduser \
|
||||||
|
--system \
|
||||||
|
--home /var/lib/keydb \
|
||||||
|
--quiet \
|
||||||
|
--group \
|
||||||
|
${USER} || true
|
||||||
|
|
||||||
|
Setup_dir /var/log/keydb ${USER}:adm 2750
|
||||||
|
Setup_dir /var/lib/keydb ${USER}:${USER} 750
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
13
pkg/deb/debian_dh9/keydb-pro-tools.postrm
Normal file
13
pkg/deb/debian_dh9/keydb-pro-tools.postrm
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
if [ "${1}" = "purge" ]
|
||||||
|
then
|
||||||
|
userdel keydb || true
|
||||||
|
rm -rf /var/lib/keydb /var/log/keydb
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
@ -1,2 +1,3 @@
|
|||||||
keydb_5.0.6.orig.tar.gz
|
keydb-pro_5.0.6.orig.tar.gz
|
||||||
keydb_5.0.6-1chl1~bionic1.debian.tar.xz
|
keydb-pro_5.0.6-1~bionic1.debian.tar.xz
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# Upstream do not provide signed tarballs.
|
# Upstream do not provide signed tarballs.
|
||||||
keydb source: debian-watch-does-not-check-gpg-signature
|
keydb-pro source: debian-watch-does-not-check-gpg-signature
|
||||||
|
@ -1 +1,2 @@
|
|||||||
extend-diff-ignore = "^\.travis\.yml$"
|
extend-diff-ignore = "^\.travis\.yml$"
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version=4
|
version=6
|
||||||
opts=uversionmangle=s/-?(alpha|beta|rc)/~$1/ \
|
opts=uversionmangle=s/-?(alpha|beta|rc)/~$1/ \
|
||||||
https://github.com/JohnSully/KeyDB/releases .*/archive/(.*).tar.gz
|
https://github.com/JohnSully/KeyDB-Pro/releases .*/archive/(.*).tar.gz
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
keydb (6.0.8-1distribution_placeholder) codename_placeholder; urgency=medium
|
keydb (6.0.8-1distribution_placeholder) codename_placeholder; urgency=medium
|
||||||
|
|
||||||
* 6.0.8 Updating builds from deb source package
|
* 6.0.8
|
||||||
* Naming conventions are now updated
|
* Updating deb package builds to build from source and phasing out init.d. dh_installsystemd from deb helper 11 used where applicable
|
||||||
* Builds now genrated accross different distributions/architectures automatically.
|
* Naming conventions are now updated [ keydbpackage_version-build~distribution_architecture] and master changelog included and maintained
|
||||||
* Same changelog used for all distribitions/architectures and will be updated on each release
|
* keydb-pro-server binary is no longer inluded in the open source package
|
||||||
* init.d has been phased out and scripts updated to use systemd only
|
|
||||||
* keydb-pro=server binary is no longer inluded in the open source package
|
|
||||||
* see github pkg directory for debian code and build scripts used in distributions
|
|
||||||
|
|
||||||
-- Ben Schermel <ben@eqalpha.com> Wed, 06 May 2020 8:00:37 +0000
|
-- Ben Schermel <ben@eqalpha.com> Sun, 31 May 2020 8:00:37 +0000
|
||||||
|
|
||||||
keydb (5:5.1.12-1chl1distribution_placeholder) codename_placeholder; urgency=medium
|
keydb (5:5.1.12-1chl1distribution_placeholder) codename_placeholder; urgency=medium
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user