aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsyslog/rsyslog.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-01-27 00:34:00 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-01-28 01:51:37 +0100
commite5d012de60e3e83dd28cd5e592ad3282a55031fe (patch)
treedb5eab2c2683eb7d41c8bcaf963fb76e185909fe /main/rsyslog/rsyslog.post-upgrade
parentc09f399cfd19723402bcf02246f8bc77f521a652 (diff)
downloadaports-e5d012de60e3e83dd28cd5e592ad3282a55031fe.tar.gz
aports-e5d012de60e3e83dd28cd5e592ad3282a55031fe.tar.bz2
aports-e5d012de60e3e83dd28cd5e592ad3282a55031fe.tar.xz
main/rsyslog: move omudpspoof lmcry_gcry fmhttp omtesting to subpkgs
These plugins have some dependencies, except omtesting that is useful only for testing/debugging.
Diffstat (limited to 'main/rsyslog/rsyslog.post-upgrade')
-rw-r--r--main/rsyslog/rsyslog.post-upgrade15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/rsyslog/rsyslog.post-upgrade b/main/rsyslog/rsyslog.post-upgrade
new file mode 100644
index 0000000000..2654196962
--- /dev/null
+++ b/main/rsyslog/rsyslog.post-upgrade
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "8.4.0-r2")" = "<" ]; then
+ cat >&2 <<-EOF
+ *
+ * The following modules has been moved to separate packages:
+ * lmcry_gcry (crypto), fmhttp (http), omudpspoof, omtesting
+ * If you use one of these, install the relevant package(s), e.g.:
+ * apk add rsyslog-crypto
+ *
+ EOF
+fi