# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # librenms-agent # librenms-agent/files # librenms-agent/files/patch-check__mk__agent__freebsd # librenms-agent/files/patch-check__mk__xinetd # librenms-agent/files/patch-mk__enplug # librenms-agent/Makefile # librenms-agent/distinfo # librenms-agent/pkg-descr # librenms-agent/pkg-plist # echo c - librenms-agent mkdir -p librenms-agent > /dev/null 2>&1 echo c - librenms-agent/files mkdir -p librenms-agent/files > /dev/null 2>&1 echo x - librenms-agent/files/patch-check__mk__agent__freebsd sed 's/^X//' >librenms-agent/files/patch-check__mk__agent__freebsd << 'ed7d646cd29b95b37fd61629e4b0b01d' X--- check_mk_agent_freebsd.orig 2016-07-26 19:46:20 UTC X+++ check_mk_agent_freebsd X@@ -41,7 +41,7 @@ export LC_ALL=C X unset LANG X X export MK_LIBDIR="/usr/local/lib/check_mk_agent" X-export MK_CONFDIR="/etc/check_mk" X+export MK_CONFDIR="/usr/local/etc/check_mk" X export MK_TMPDIR="/var/run/check_mk" X X ed7d646cd29b95b37fd61629e4b0b01d echo x - librenms-agent/files/patch-check__mk__xinetd sed 's/^X//' >librenms-agent/files/patch-check__mk__xinetd << '9419096bbb5b96905d7ccc63f8c13674' X--- check_mk_xinetd.orig 2016-07-26 19:46:20 UTC X+++ check_mk_xinetd X@@ -30,7 +30,7 @@ service check_mk X protocol = tcp X wait = no X user = root X- server = /usr/bin/check_mk_agent X+ server = /usr/local/bin/check_mk_agent X X # If you use fully redundant monitoring and poll the client X # from more then one monitoring servers in parallel you might 9419096bbb5b96905d7ccc63f8c13674 echo x - librenms-agent/files/patch-mk__enplug sed 's/^X//' >librenms-agent/files/patch-mk__enplug << '414d4d179da8cff1cec66d1795d2d3e3' X--- mk_enplug.orig 2016-07-26 19:46:20 UTC X+++ mk_enplug X@@ -14,8 +14,8 @@ X # X # See http://www.gnu.org/licenses/gpl.txt for the full license X X-plugdir=/usr/lib/check_mk_agent/plugins X-repodir=/usr/lib/check_mk_agent/repo X+plugdir=/usr/local/lib/check_mk_agent/plugins X+repodir=/usr/local/lib/check_mk_agent/repo X X findscripts() { X find ${repodir} -type f | sed -e "s#$repodir/##g" 414d4d179da8cff1cec66d1795d2d3e3 echo x - librenms-agent/Makefile sed 's/^X//' >librenms-agent/Makefile << 'b95d94164662dfbcbbecfa2254c8da8b' X# Created by: Nicolas Goralski X# $FreeBSD: $ X XPORTNAME= librenms-agent XPORTVERSION= 0.3 XCATEGORIES= net-mgmt X XMAINTAINER= kiwi@oav.net XCOMMENT= librenms agents and plugins for freebsd system X XLICENSE= GPLv3 X XNO_ARCH= yes X XUSE_GITHUB= yes XGH_ACCOUNT= librenms XGH_PROJECT= librenms-agent XGH_TAGNAME= fb678cb X XNO_BUILD= yes X XRUN_DEPENDS+= xinetd:security/xinetd \ X bash:shells/bash X XLIB_DEPENDS+= libstatgrab.so:devel/libstatgrab \ X Xdo-install: X cd ${STAGEDIR} ; \ X ${MKDIR} usr/local/etc/xinetd.d/ usr/local/lib/check_mk_agent/plugins usr/local/lib/check_mk_agent/repo usr/local/lib/check_mk_agent/local ; \ X cd ${WRKSRC} ; \ X ${INSTALL_SCRIPT} check_mk_agent_freebsd ${STAGEDIR}/usr/local/bin/check_mk_agent ; \ X ${INSTALL_SCRIPT} mk_enplug ${STAGEDIR}/usr/local/bin/ ; \ X ${INSTALL_SCRIPT} check_mk_xinetd ${STAGEDIR}/usr/local/etc/xinetd.d/check_mk ; \ X ${INSTALL_SCRIPT} snmp/distro ${STAGEDIR}/usr/local/bin ; \ X for agent_local in $$( ${FIND} ./agent-local -type f ! -name README ); do \ X ${INSTALL_SCRIPT} "$$agent_local" ${STAGEDIR}/usr/local/lib/check_mk_agent/repo/ ; \ X done X X.include b95d94164662dfbcbbecfa2254c8da8b echo x - librenms-agent/distinfo sed 's/^X//' >librenms-agent/distinfo << '775295a4cd67dc71cc2289b5c658fda7' XTIMESTAMP = 1470122917 XSHA256 (librenms-librenms-agent-0.3-fb678cb_GH0.tar.gz) = 647aa31ceb32a6df3300244ab4b454c9dbcd940cefb2b46b349761e5e17abdbc XSIZE (librenms-librenms-agent-0.3-fb678cb_GH0.tar.gz) = 42887 775295a4cd67dc71cc2289b5c658fda7 echo x - librenms-agent/pkg-descr sed 's/^X//' >librenms-agent/pkg-descr << '4285c59817d576809e0aed30b5ec926d' Xlibrenms-agent is an agent based on check_mk used with xinetd to provide Xmonitoring informations of machine to librenms server. X XWWW: https://github.com/librenms/librenms-agent 4285c59817d576809e0aed30b5ec926d echo x - librenms-agent/pkg-plist sed 's/^X//' >librenms-agent/pkg-plist << '82560c4fa1734fa108618020e5d5f692' Xbin/check_mk_agent Xbin/distro Xbin/mk_enplug Xetc/xinetd.d/check_mk Xlib/check_mk_agent/repo/apache Xlib/check_mk_agent/repo/bind Xlib/check_mk_agent/repo/ceph Xlib/check_mk_agent/repo/dmi Xlib/check_mk_agent/repo/dpkg Xlib/check_mk_agent/repo/drbd Xlib/check_mk_agent/repo/hddtemp Xlib/check_mk_agent/repo/memcached Xlib/check_mk_agent/repo/munin Xlib/check_mk_agent/repo/mysql Xlib/check_mk_agent/repo/nfsstats Xlib/check_mk_agent/repo/nginx Xlib/check_mk_agent/repo/powerdns Xlib/check_mk_agent/repo/powerdns-recursor Xlib/check_mk_agent/repo/proxmox Xlib/check_mk_agent/repo/rpm Xlib/check_mk_agent/repo/rrdcached Xlib/check_mk_agent/repo/temperature Xlib/check_mk_agent/repo/tinydns X@dir lib/check_mk_agent/local X@dir lib/check_mk_agent/plugins 82560c4fa1734fa108618020e5d5f692 exit