1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net-mgmt/smokeping/pkg-plist
Lars Thegler 58af4c38fb by switching to using $USERS & $GROUPS pkg-install is no longer required
pkg-deinstall only needs to handle the removal of the .pid file
use @stopdaemon to stop smoking instead of invoking smokeping stop manually by pkg-deinstall
use bsd.port.options.mk
use SUB_FILES to update pkg-message

PR:		ports/143182
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
2010-02-15 12:53:24 +00:00

274 lines
13 KiB
Plaintext

@stopdaemon smokeping
bin/smokeping
bin/tSmoke
@unexec if cmp -s %D/etc/smokeping/basepage.html %D/etc/smokeping/basepage.html.dist; then rm -f %D/etc/smokeping/basepage.html; fi
etc/smokeping/basepage.html.dist
@exec [ -f %B/basepage.html ] || cp %B/%f %B/basepage.html
@unexec if cmp -s %D/etc/smokeping/config %D/etc/smokeping/config.dist; then rm -f %D/etc/smokeping/config; fi
etc/smokeping/config.dist
@exec [ -f %B/config ] || cp %B/%f %B/config
@unexec if cmp -s %D/etc/smokeping/smokemail %D/etc/smokeping/smokemail.dist; then rm -f %D/etc/smokeping/smokemail; fi
etc/smokeping/smokemail.dist
@exec [ -f %B/smokemail ] || cp %B/%f %B/smokemail
@unexec if cmp -s %D/etc/smokeping/tmail %D/etc/smokeping/tmail.dist; then rm -f %D/etc/smokeping/tmail; fi
etc/smokeping/tmail.dist
@exec [ -f %B/tmail ] || cp %B/%f %B/tmail
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/Smokeping.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping.cgi.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping.cgi.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping_config.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping_config.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping_install.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping_install.txt
%%PORTDOCS%%%%DOCSDIR%%/Config/Grammar.html
%%PORTDOCS%%%%DOCSDIR%%/Config/Grammar.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/matchers/Avgratio.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/matchers/Avgratio.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/matchers/base.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/matchers/base.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/matchers/Median.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/matchers/Median.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/AnotherDNS.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/AnotherDNS.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/AnotherSSH.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/AnotherSSH.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/CiscoRTTMonDNS.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/CiscoRTTMonDNS.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/CiscoRTTMonEchoICMP.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/CiscoRTTMonEchoICMP.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/CiscoRTTMonTcpConnect.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/CiscoRTTMonTcpConnect.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/Curl.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/Curl.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/DNS.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/DNS.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPing.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPing.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingChargen.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingChargen.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingDiscard.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingDiscard.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingHttp.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingHttp.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingHttps.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingHttps.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingIcp.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingIcp.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingSmtp.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/EchoPingSmtp.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/FPing.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/FPing.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/FPing6.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/FPing6.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/IOSPing.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/IOSPing.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/LDAP.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/LDAP.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/Radius.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/Radius.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/RemoteFPing.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/RemoteFPing.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/SSH.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/SSH.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/TelnetIOSPing.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/TelnetIOSPing.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/base.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/base.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/basefork.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/basefork.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/basevars.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/basevars.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/passwordchecker.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/passwordchecker.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/skel.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/probes/skel.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/Examples.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/Examples.txt
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/RRDtools.html
%%PORTDOCS%%%%DOCSDIR%%/Smokeping/RRDtools.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping_examples.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping_examples.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping_extend.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping_extend.txt
%%PORTDOCS%%%%DOCSDIR%%/smokeping_upgrade.html
%%PORTDOCS%%%%DOCSDIR%%/smokeping_upgrade.txt
%%PORTDOCS%%%%DOCSDIR%%/tSmoke.html
%%PORTDOCS%%%%DOCSDIR%%/tSmoke.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.echoping
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.fping-instances
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.multiple-probes
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.simple
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.targetvars-with-Curl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.template
smokeping/htdocs/cropper/cropper.css
smokeping/htdocs/cropper/cropper.js
smokeping/htdocs/cropper/cropper.uncompressed.js
smokeping/htdocs/cropper/lib/builder.js
smokeping/htdocs/cropper/lib/controls.js
smokeping/htdocs/cropper/lib/dragdrop.js
smokeping/htdocs/cropper/lib/effects.js
smokeping/htdocs/cropper/lib/prototype.js
smokeping/htdocs/cropper/lib/prototype.js.LICENSE
smokeping/htdocs/cropper/lib/scriptaculous.js
smokeping/htdocs/cropper/lib/slider.js
smokeping/htdocs/cropper/lib/unittest.js
smokeping/htdocs/cropper/licence.txt
smokeping/htdocs/cropper/marqueeHoriz.gif
smokeping/htdocs/cropper/marqueeVert.gif
smokeping/htdocs/cropper/smokeping-zoom.js
smokeping/htdocs/resource/Tr/image/ajax-loader.gif
smokeping/htdocs/resource/qx/icon/CrystalClear/16/actions/view-refresh.png
smokeping/htdocs/resource/qx/icon/Nuvola/16/actions/view-refresh.png
smokeping/htdocs/resource/qx/static/image/blank.gif
smokeping/htdocs/resource/qx/static/image/dotted_white.gif
smokeping/htdocs/resource/qx/widget/Windows/arrows/down.gif
smokeping/htdocs/resource/qx/widget/Windows/arrows/down_small.gif
smokeping/htdocs/resource/qx/widget/Windows/arrows/next.gif
smokeping/htdocs/resource/qx/widget/Windows/arrows/up.gif
smokeping/htdocs/resource/qx/widget/Windows/arrows/up_small.gif
smokeping/htdocs/resource/qx/widget/Windows/cursors/alias.gif
smokeping/htdocs/resource/qx/widget/Windows/cursors/copy.gif
smokeping/htdocs/resource/qx/widget/Windows/cursors/move.gif
smokeping/htdocs/resource/qx/widget/Windows/cursors/nodrop.gif
smokeping/htdocs/resource/qx/widget/Windows/menu/checkbox.gif
smokeping/htdocs/resource/qx/widget/Windows/menu/radiobutton.gif
smokeping/htdocs/resource/qx/widget/Windows/splitpane/knob-horizontal.png
smokeping/htdocs/resource/qx/widget/Windows/splitpane/knob-vertical.png
smokeping/htdocs/resource/qx/widget/Windows/table/ascending.png
smokeping/htdocs/resource/qx/widget/Windows/table/descending.png
smokeping/htdocs/resource/qx/widget/Windows/table/selectColumnOrder.png
smokeping/htdocs/resource/qx/widget/Windows/window/close.gif
smokeping/htdocs/resource/qx/widget/Windows/window/maximize.gif
smokeping/htdocs/resource/qx/widget/Windows/window/minimize.gif
smokeping/htdocs/resource/qx/widget/Windows/window/restore.gif
smokeping/htdocs/script/Tr.js
smokeping/htdocs/smokeping.cgi
smokeping/htdocs/tr.cgi
smokeping/htdocs/tr.html
smokeping/lib/Config/Grammar.pm
smokeping/lib/Config/Grammar/Document.pm
smokeping/lib/Config/Grammar/Dynamic.pm
smokeping/lib/JSON.pm
smokeping/lib/JSON/Converter.pm
smokeping/lib/JSON/PP.pm
smokeping/lib/JSON/PP5005.pm
smokeping/lib/JSON/PP56.pm
smokeping/lib/JSON/Parser.pm
smokeping/lib/Qooxdoo/JSONRPC.pm
smokeping/lib/Qooxdoo/Services/Tr.pm
smokeping/lib/Smokeping.pm
smokeping/lib/Smokeping/Colorspace.pm
smokeping/lib/Smokeping/Config.pm
smokeping/lib/Smokeping/Examples.pm
smokeping/lib/Smokeping/Graphs.pm
smokeping/lib/Smokeping/Master.pm
smokeping/lib/Smokeping/RRDhelpers.pm
smokeping/lib/Smokeping/RRDtools.pm
smokeping/lib/Smokeping/Slave.pm
smokeping/lib/Smokeping/ciscoRttMonMIB.pm
smokeping/lib/Smokeping/matchers/Avgratio.pm
smokeping/lib/Smokeping/matchers/CheckLatency.pm
smokeping/lib/Smokeping/matchers/CheckLoss.pm
smokeping/lib/Smokeping/matchers/Median.pm
smokeping/lib/Smokeping/matchers/Medratio.pm
smokeping/lib/Smokeping/matchers/base.pm
smokeping/lib/Smokeping/probes/AnotherDNS.pm
smokeping/lib/Smokeping/probes/AnotherSSH.pm
smokeping/lib/Smokeping/probes/CiscoRTTMonDNS.pm
smokeping/lib/Smokeping/probes/CiscoRTTMonEchoICMP.pm
smokeping/lib/Smokeping/probes/CiscoRTTMonTcpConnect.pm
smokeping/lib/Smokeping/probes/Curl.pm
smokeping/lib/Smokeping/probes/DNS.pm
smokeping/lib/Smokeping/probes/EchoPing.pm
smokeping/lib/Smokeping/probes/EchoPingChargen.pm
smokeping/lib/Smokeping/probes/EchoPingDNS.pm
smokeping/lib/Smokeping/probes/EchoPingDiscard.pm
smokeping/lib/Smokeping/probes/EchoPingHttp.pm
smokeping/lib/Smokeping/probes/EchoPingHttps.pm
smokeping/lib/Smokeping/probes/EchoPingIcp.pm
smokeping/lib/Smokeping/probes/EchoPingLDAP.pm
smokeping/lib/Smokeping/probes/EchoPingPlugin.pm
smokeping/lib/Smokeping/probes/EchoPingSmtp.pm
smokeping/lib/Smokeping/probes/EchoPingWhois.pm
smokeping/lib/Smokeping/probes/FPing.pm
smokeping/lib/Smokeping/probes/FPing6.pm
smokeping/lib/Smokeping/probes/FTPtransfer.pm
smokeping/lib/Smokeping/probes/IOSPing.pm
smokeping/lib/Smokeping/probes/LDAP.pm
smokeping/lib/Smokeping/probes/Radius.pm
smokeping/lib/Smokeping/probes/RemoteFPing.pm
smokeping/lib/Smokeping/probes/SSH.pm
smokeping/lib/Smokeping/probes/TCPPing.pm
smokeping/lib/Smokeping/probes/TacacsPlus.pm
smokeping/lib/Smokeping/probes/TelnetIOSPing.pm
smokeping/lib/Smokeping/probes/TelnetJunOSPing.pm
smokeping/lib/Smokeping/probes/WebProxyFilter.pm
smokeping/lib/Smokeping/probes/base.pm
smokeping/lib/Smokeping/probes/basefork.pm
smokeping/lib/Smokeping/probes/basevars.pm
smokeping/lib/Smokeping/probes/passwordchecker.pm
smokeping/lib/Smokeping/probes/skel.pm
smokeping/lib/Smokeping/sorters/Loss.pm
smokeping/lib/Smokeping/sorters/Max.pm
smokeping/lib/Smokeping/sorters/Median.pm
smokeping/lib/Smokeping/sorters/StdDev.pm
smokeping/lib/Smokeping/sorters/base.pm
@dirrmtry etc/smokeping
@exec mkdir -p %D/smokeping/htdocs/img; chown www:www %D/smokeping/htdocs/img
@unexec rm -rf %D/smokeping/htdocs/img 2>/dev/null || true
@exec mkdir -p %D/var/smokeping
@exec chown smokeping:smokeping %D/var/smokeping
@dirrmtry var/smokeping
@dirrmtry var
@dirrm smokeping/lib/Smokeping/sorters
@dirrm smokeping/lib/Smokeping/probes
@dirrm smokeping/lib/Smokeping/matchers
@dirrm smokeping/lib/Smokeping
@dirrm smokeping/lib/Qooxdoo/Services
@dirrm smokeping/lib/Qooxdoo
@dirrm smokeping/lib/JSON
@dirrm smokeping/lib/Config/Grammar
@dirrm smokeping/lib/Config
@dirrm smokeping/lib
@dirrm smokeping/htdocs/script
@dirrm smokeping/htdocs/resource/qx/widget/Windows/window
@dirrm smokeping/htdocs/resource/qx/widget/Windows/table
@dirrm smokeping/htdocs/resource/qx/widget/Windows/splitpane
@dirrm smokeping/htdocs/resource/qx/widget/Windows/menu
@dirrm smokeping/htdocs/resource/qx/widget/Windows/cursors
@dirrm smokeping/htdocs/resource/qx/widget/Windows/arrows
@dirrm smokeping/htdocs/resource/qx/widget/Windows
@dirrm smokeping/htdocs/resource/qx/widget
@dirrm smokeping/htdocs/resource/qx/static/image
@dirrm smokeping/htdocs/resource/qx/static
@dirrm smokeping/htdocs/resource/qx/icon/Nuvola/16/actions
@dirrm smokeping/htdocs/resource/qx/icon/Nuvola/16
@dirrm smokeping/htdocs/resource/qx/icon/Nuvola
@dirrm smokeping/htdocs/resource/qx/icon/CrystalClear/16/actions
@dirrm smokeping/htdocs/resource/qx/icon/CrystalClear/16
@dirrm smokeping/htdocs/resource/qx/icon/CrystalClear
@dirrm smokeping/htdocs/resource/qx/icon
@dirrm smokeping/htdocs/resource/qx
@dirrm smokeping/htdocs/resource/Tr/image
@dirrm smokeping/htdocs/resource/Tr
@dirrm smokeping/htdocs/resource
@dirrm smokeping/htdocs/cropper/lib
@dirrm smokeping/htdocs/cropper
@dirrm smokeping/htdocs
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Config
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Smokeping/matchers
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Smokeping/probes
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Smokeping
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry smokeping