Guest User

Untitled

a guest
Sep 28th, 2018
251
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer 2016-2017: Milian Reichardt <mreichardt95@gmail.com>
  2. # Maintainer since 2018: Christian Blechert <christian@anysrc.net>
  3.  
  4. pkgname=check_mk-agent
  5. pkgver=1.5.0p4
  6. pkgrel=2
  7. pkgdesc="Agent to send information to a Check_MK server"
  8. arch=(any)
  9. url="https://mathias-kettner.de"
  10. license=('GPLv2')
  11. install=${pkgname}.install
  12. depends=('xinetd')
  13.  
  14. source=("check_mk_agent.linux::http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.linux;h=e43aa7e2bfa5e0fa5bf2ba663346a0d19d37ef84;hb=d005641ff3abd079ca7e7b723f8f8c1598cfdfa7"
  15. "check_mk_caching_agent.linux::http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_caching_agent.linux;h=327f2fd350ca16d6b9e915ede22c35af95e661cd;hb=d005641ff3abd079ca7e7b723f8f8c1598cfdfa7"
  16. "xinetd.conf::http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/cfg_examples/xinetd.conf;h=e612f044c927297cb7c012e9f44f49a93b5c48a9;hb=d005641ff3abd079ca7e7b723f8f8c1598cfdfa7")
  17.  
  18. md5sums=('319c365c13e971b49cb5c308f7b9292c'
  19. 'f3e131661041e4129d9a169271d35fbf'
  20. '4a114a25ffdbf7a8bc79552041490395')
  21.  
  22. package() {
  23. mkdir -p "$pkgdir/usr/bin/"
  24. mkdir -p "$pkgdir/etc/xinetd.d/"
  25. mkdir -p "$pkgdir/var/lib/check_mk_agent/cache"
  26. mkdir -p "$pkgdir/var/lib/check_mk_agent/job"
  27. mkdir -p "$pkgdir/var/lib/check_mk_agent/spool"
  28. mkdir -p "$pkgdir/usr/lib/check_mk_agent/local"
  29. mkdir -p "$pkgdir/usr/lib/check_mk_agent/plugins"
  30. install -m744 "$srcdir/check_mk_agent.linux" "$pkgdir/usr/bin/check_mk_agent"
  31. install -m644 "$srcdir/xinetd.conf" "$pkgdir/etc/xinetd.d/check_mk"
  32. install -m744 "$srcdir/check_mk_caching_agent.linux" "$pkgdir/usr/bin/check_mk_caching_agent"
  33. }
RAW Paste Data