aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslog-ng/syslog-ng.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-01-26 18:59:58 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-01-26 23:20:28 +0100
commitbe57f09a54cf4241c122243455f00fe4d0e328e2 (patch)
treebe87a08db8f2897d505b08fa4474c9f248f79729 /main/syslog-ng/syslog-ng.post-upgrade
parent55dd699ae3e2225ed9f65387a9ae145390b12098 (diff)
downloadaports-be57f09a54cf4241c122243455f00fe4d0e328e2.tar.bz2
aports-be57f09a54cf4241c122243455f00fe4d0e328e2.tar.xz
main/syslog-ng: move some modules to subpackages
Diffstat (limited to 'main/syslog-ng/syslog-ng.post-upgrade')
-rw-r--r--main/syslog-ng/syslog-ng.post-upgrade16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/syslog-ng/syslog-ng.post-upgrade b/main/syslog-ng/syslog-ng.post-upgrade
new file mode 100644
index 0000000000..0609aceda1
--- /dev/null
+++ b/main/syslog-ng/syslog-ng.post-upgrade
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "3.18.1-r2")" = "<" ]; then
+ cat >&2 <<-EOF
+ *
+ * The following modules has been moved to separate packages:
+ * add-contextual-data, examples, graphite, map-value-pairs,
+ * python2, redis, stardate, stomp, tags-parser, xml.
+ * If you use one of these, install the relevant package(s), e.g.:
+ * apk add syslog-ng-redis
+ *
+ EOF
+fi