From 3ceb2c03a25f6036cd482d4ba4f80ebbd43491f7 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Mon, 18 Mar 2024 13:48:39 +0100 Subject: [PATCH] net-mgmt/pandorafms_agent: Move man pages to share/man Approved by: portmgr (blanket) --- net-mgmt/pandorafms_agent/Makefile | 1 + .../files/patch-pandora__agent__installer | 12 ++++++++++-- net-mgmt/pandorafms_agent/pkg-plist | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/net-mgmt/pandorafms_agent/Makefile b/net-mgmt/pandorafms_agent/Makefile index 425714f8be39a..6782a1a4d4ef9 100644 --- a/net-mgmt/pandorafms_agent/Makefile +++ b/net-mgmt/pandorafms_agent/Makefile @@ -1,4 +1,5 @@ PORTNAME= pandora_agent +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= koichiro@rworks.jp diff --git a/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer b/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer index 61a71caf4bb72..48f8710be8136 100644 --- a/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer +++ b/net-mgmt/pandorafms_agent/files/patch-pandora__agent__installer @@ -1,6 +1,14 @@ ---- pandora_agent_installer.orig 2019-08-12 10:17:59 UTC +--- pandora_agent_installer.orig 2016-04-08 09:51:58 UTC +++ pandora_agent_installer -@@ -88,13 +88,9 @@ fi +@@ -49,7 +49,6 @@ FreeBSD) + ;; + FreeBSD) + PANDORA_CFG=$PREFIX/etc/pandora +- PANDORA_MAN=$PREFIX/man + PANDORA_STARTUP=$PREFIX/etc/rc.d/pandora_agent + DAEMON_SCRIPT=$OS_NAME/pandora_agent + PANDORA_PERL_PATH=/usr/local/bin/perl +@@ -88,13 +87,9 @@ fi [ "$4" ] && PANDORA_PERL_PATH=$4 diff --git a/net-mgmt/pandorafms_agent/pkg-plist b/net-mgmt/pandorafms_agent/pkg-plist index 03603d5a64a36..68e3d78d9ef01 100644 --- a/net-mgmt/pandorafms_agent/pkg-plist +++ b/net-mgmt/pandorafms_agent/pkg-plist @@ -6,8 +6,8 @@ bin/pandora_revent bin/tentacle_client etc/rc.d/pandora_agent @sample(pandora,,400) %%ETCDIR%%/pandora_agent.conf.sample -man/man1/tentacle_client.1.gz -man/man1/pandora_agent.1.gz +share/man/man1/tentacle_client.1.gz +share/man/man1/pandora_agent.1.gz @mode 555 %%DATADIR%%/plugins/files_indir %%DATADIR%%/plugins/grep_log