Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
deb-redis
Commits
bff0e03e
Commit
bff0e03e
authored
Nov 21, 2019
by
Noah Hilverling
Browse files
Merge all packages into one icinga-redis package
parent
a2e67570
Pipeline
#7345
passed with stages
in 1 minute and 35 seconds
Changes
16
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debian/control
View file @
bff0e03e
...
...
@@ -18,49 +18,18 @@ Vcs-Browser: https://salsa.debian.org/lamby/pkg-redis
Rules-Requires-Root: no
Package: icinga-redis
Architecture: all
Depends:
icinga-redis-server (<< ${binary:Version}.1~),
icinga-redis-server (>= ${binary:Version}),
${misc:Depends},
Description: Persistent key-value database with network interface (metapackage)
Redis is a key-value database in a similar vein to memcache but the dataset
is non-volatile. Redis additionally provides native support for atomically
manipulating and querying data structures such as lists and sets.
.
The dataset is stored entirely in memory and periodically flushed to disk.
.
This package depends on the redis-server package.
Package: icinga-redis-server
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends:
adduser,
lsb-base (>= 3.2-14),
icinga-redis-tools (= ${binary:Version}),
${misc:Depends},
Description: Persistent key-value database with network interface
${shlibs:Depends},
Description: Persistent key-value database with network interface (metapackage)
Redis is a key-value database in a similar vein to memcache but the dataset
is non-volatile. Redis additionally provides native support for atomically
manipulating and querying data structures such as lists and sets.
.
The dataset is stored entirely in memory and periodically flushed to disk.
Package: icinga-redis-tools
Architecture: any
Depends:
adduser,
${misc:Depends},
${shlibs:Depends},
Suggests:
ruby-redis,
Replaces:
icinga-redis-server (<< 2:2.6.16-1),
Breaks:
icinga-redis-server (<< 2:2.6.16-1),
Description: Persistent key-value database with network interface (client)
Redis is a key-value database in a similar vein to memcache but the dataset
is non-volatile. Redis additionally provides native support for atomically
manipulating and querying data structures such as lists and sets.
.
This package
contains the command line client and other tools
.
This package
depends on the redis-server package
.
debian/icinga-redis-server.install
deleted
100644 → 0
View file @
a2e67570
debian
/
icinga
-
redis
-
server
.
service
/
lib
/
systemd
/
system
redis
.
conf
/
etc
/
icinga
-
redis
debian/icinga-redis-server.manpages
deleted
100644 → 0
View file @
a2e67570
debian/icinga-redis-server.1
debian/icinga-redis-server.postinst
deleted
100644 → 0
View file @
a2e67570
#!/bin/sh
set
-eu
USER
=
"icinga-redis"
GROUP
=
"
$USER
"
CONFFILE
=
"/etc/icinga-redis/redis.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/icinga-redis
-maxdepth
1
-type
d
-name
'icinga-redis-server.*.d'
-empty
-delete
fi
exit
0
debian/icinga-redis-tools.postrm
deleted
100644 → 0
View file @
a2e67570
#!/bin/sh
set
-eu
if
[
"
${
1
}
"
=
"purge"
]
then
userdel icinga-redis
||
true
rm
-rf
/var/lib/icinga-redis /var/log/icinga-redis
fi
#DEBHELPER#
exit
0
debian/icinga-redis
-server
.default
→
debian/icinga-redis.default
View file @
bff0e03e
File moved
debian/icinga-redis
-server
.docs
→
debian/icinga-redis.docs
View file @
bff0e03e
File moved
debian/icinga-redis
-tools
.examples
→
debian/icinga-redis.examples
View file @
bff0e03e
File moved
debian/icinga-redis
-server
.init
→
debian/icinga-redis.init
View file @
bff0e03e
File moved
debian/icinga-redis
-tools
.install
→
debian/icinga-redis.install
View file @
bff0e03e
debian
/
bash_completion
.
d
/*
/
usr
/
share
/
bash
-
completion
/
completions
debian
/
icinga
-
redis
-
server
.
service
/
lib
/
systemd
/
system
redis
.
conf
/
etc
/
icinga
-
redis
src
/
icinga
-
redis
-
benchmark
/
usr
/
bin
src
/
icinga
-
redis
-
check
-
aof
/
usr
/
bin
src
/
icinga
-
redis
-
check
-
rdb
/
usr
/
bin
...
...
debian/icinga-redis
-server
.links
→
debian/icinga-redis.links
View file @
bff0e03e
File moved
debian/icinga-redis
-server
.logrotate
→
debian/icinga-redis.logrotate
View file @
bff0e03e
File moved
debian/icinga-redis
-server
.maintscript
→
debian/icinga-redis.maintscript
View file @
bff0e03e
File moved
debian/icinga-redis
-tools
.manpages
→
debian/icinga-redis.manpages
View file @
bff0e03e
debian/icinga-redis-server.1
debian/icinga-redis-benchmark.1
debian/icinga-redis-check-aof.1
debian/icinga-redis-check-rdb.1
debian/icinga-redis-cli.1
debian/icinga-redis
-tools
.postinst
→
debian/icinga-redis.postinst
View file @
bff0e03e
...
...
@@ -3,6 +3,8 @@
set
-eu
USER
=
"icinga-redis"
GROUP
=
"
$USER
"
CONFFILE
=
"/etc/icinga-redis/redis.conf"
Setup_dir
()
{
DIR
=
"
${
1
}
"
...
...
@@ -40,6 +42,11 @@ then
Setup_dir /var/log/icinga-redis
${
USER
}
:adm 2750
Setup_dir /var/lib/icinga-redis
${
USER
}
:
${
USER
}
750
if
!
dpkg-statoverride
--list
${
CONFFILE
}
>
/dev/null 2>&1
then
dpkg-statoverride
--update
--add
${
USER
}
${
GROUP
}
640
${
CONFFILE
}
fi
fi
#DEBHELPER#
...
...
debian/icinga-redis
-server
.postrm
→
debian/icinga-redis.postrm
View file @
bff0e03e
...
...
@@ -7,6 +7,8 @@ CONFFILE="/etc/icinga-redis/redis.conf"
if
[
"
${
1
}
"
=
"purge"
]
then
dpkg-statoverride
--remove
${
CONFFILE
}
||
test
$?
-eq
2
userdel icinga-redis
||
true
rm
-rf
/var/lib/icinga-redis /var/log/icinga-redis
fi
#DEBHELPER#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment