git: ea197227b257 - main - security/fwlogwath: move man page

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 01 Mar 2024 21:11:47 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea197227b25786ccc597301c131db8376324da47

commit ea197227b25786ccc597301c131db8376324da47
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-01 19:47:47 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-01 21:11:20 +0000

    security/fwlogwath: move man page
---
 security/fwlogwatch/Makefile             |  1 +
 security/fwlogwatch/files/patch-Makefile | 16 +++++-----------
 security/fwlogwatch/pkg-plist            |  2 +-
 3 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile
index 0ad33b631a61..a8c700544948 100644
--- a/security/fwlogwatch/Makefile
+++ b/security/fwlogwatch/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fwlogwatch
 PORTVERSION=	1.5
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://fwlogwatch.inside-security.de/sw/
 
diff --git a/security/fwlogwatch/files/patch-Makefile b/security/fwlogwatch/files/patch-Makefile
index b620777a0045..f53ea833139a 100644
--- a/security/fwlogwatch/files/patch-Makefile
+++ b/security/fwlogwatch/files/patch-Makefile
@@ -1,5 +1,5 @@
 --- Makefile.orig	2016-02-19 06:35:50.592222000 -0800
-+++ Makefile	2016-04-21 19:29:52.738338000 -0700
++++ Makefile	2024-03-01 11:46:05.890134000 -0800
 @@ -11,10 +11,10 @@
  # -DHAVE_GEOIP enables support for GeoIP database lookups.
  
@@ -15,7 +15,7 @@
  
  # Mac OS X
  #CC = gcc
-@@ -37,21 +37,21 @@
+@@ -37,22 +37,22 @@
  #LIBS = -L/usr/local/lib -lz -lintl
  
  # FreeBSD
@@ -43,18 +43,12 @@
 +INSTALL_DIR = ${DESTDIR}${PREFIX}
 +CONF_DIR = ${INSTALL_DIR}/etc
 +LOCALE_DIR = ${INSTALL_DIR}
-+
  
++
  OBJS = cisco_ios.o cisco_pix.o compare.o ipchains.o ipfilter.o ipfw.o \
         lancom.o main.o modes.o net.o netfilter.o netscreen.o output.o \
-@@ -89,18 +89,24 @@
- 	$(INSTALL_PROGRAM) fwlogwatch $(INSTALL_DIR)/sbin/fwlogwatch
- 	$(INSTALL_SCRIPT) contrib/fwlw_notify $(INSTALL_DIR)/sbin/fwlw_notify
- 	$(INSTALL_SCRIPT) contrib/fwlw_respond $(INSTALL_DIR)/sbin/fwlw_respond
--	$(INSTALL_DATA) fwlogwatch.8 $(INSTALL_DIR)/share/man/man8/fwlogwatch.8
-+	$(INSTALL_DATA) fwlogwatch.8 $(INSTALL_DIR)/man/man8/fwlogwatch.8
- 
- install-config:
+        parser.o rcfile.o resolve.o response.o snort.o utils.o whois.o
+@@ -95,12 +95,18 @@
  	$(INSTALL_DATA) fwlogwatch.config $(CONF_DIR)/fwlogwatch.config
  
  install-i18n:
diff --git a/security/fwlogwatch/pkg-plist b/security/fwlogwatch/pkg-plist
index 665886392b2d..2fe75fa7b0fe 100644
--- a/security/fwlogwatch/pkg-plist
+++ b/security/fwlogwatch/pkg-plist
@@ -1,6 +1,6 @@
 etc/fwlogwatch.config
 etc/rc.d/fwlogwatch.sh.sample
-man/man8/fwlogwatch.8.gz
+share/man/man8/fwlogwatch.8.gz
 sbin/fwlogwatch
 sbin/fwlw_notify
 sbin/fwlw_respond