You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
623B

  1. #!/bin/bash
  2. set -x
  3. PKGS="
  4. rsyslog
  5. rsyslog-czmq
  6. rsyslog-doc
  7. rsyslog-elasticsearch
  8. rsyslog-gnutls
  9. rsyslog-gssapi
  10. rsyslog-hiredis
  11. rsyslog-kafka
  12. rsyslog-mongodb
  13. rsyslog-mysql
  14. rsyslog-openssl
  15. rsyslog-pgsql
  16. rsyslog-relp
  17. golang
  18. git
  19. "
  20. export DEBIAN_FRONTEND=noninteractive
  21. apt update
  22. apt install -y $PKGS
  23. git clone https://github.com/gliderlabs/logspout.git /usr/local/src/logspout
  24. # current master as of 20200303
  25. LS_VERSION="8617629f8caffe866dece71c60967349f23c8d2d"
  26. cd /usr/local/src/logspout
  27. git checkout $LS_VERSION
  28. go get -v
  29. go build -o /usr/local/bin/logspout