Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2024 03:48:34 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2b614efb26a8 - main - sysutils/syslog-ng: Move man pages
Message-ID:  <202403050348.4253mYmG010272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

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

commit 2b614efb26a82c4ebee25fa0282f902720fe9f51
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-05 03:47:12 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-05 03:47:12 +0000

    sysutils/syslog-ng: Move man pages
    
    Patch was created and tested by our upstream representative
    Peter Czanik.
    
    Submitted by:   Peter Czanik (CzP) <peter.czanik@oneidentity.com>
                    Balabit (a OneIdentity company) / syslog-ng upstream
---
 sysutils/syslog-ng/Makefile  | 10 ++++++----
 sysutils/syslog-ng/pkg-plist | 24 ++++++++++++------------
 2 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 8daa364aeb19..7862becabfa4 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	syslog-ng
 DISTVERSION=	4.6.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 # official master site:
 MASTER_SITES=	https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${DISTVERSION}/
@@ -59,7 +60,7 @@ SUB_FILES=	pkg-message
 INSTALL_TARGET=	install-strip
 
 CONFIGURE_ARGS=	--sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \
-		--enable-dynamic-linking --enable-manpages \
+		--enable-dynamic-linking --disable-manpages-install \
 		--disable-linux-caps \
 		--datadir=${PREFIX}/share/ --with-ivykis=system \
 		--with-python=${PYTHON_VER} --with-python-packages=none
@@ -295,9 +296,10 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/NEWS.md ${STAGEDIR}${DOCSDIR}
 .endif
-	${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1/
-	${INSTALL_MAN} ${WRKSRC}/doc/man/*.5 ${STAGEDIR}${PREFIX}/man/man5/
-	${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${PREFIX}/man/man8/
+	${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/share/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/doc/man/*.5 ${STAGEDIR}${PREFIX}/share/man/man5/
+	${INSTALL_MAN} ${WRKSRC}/doc/man/*.7 ${STAGEDIR}${PREFIX}/share/man/man7/
+	${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${PREFIX}/share/man/man8/
 	${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \
 		${STAGEDIR}${PREFIX}/etc
 	${INSTALL_DATA} ${WRKSRC}/scl/syslog-ng.conf.dist \
diff --git a/sysutils/syslog-ng/pkg-plist b/sysutils/syslog-ng/pkg-plist
index 648931f69795..cae743f64cc2 100644
--- a/sysutils/syslog-ng/pkg-plist
+++ b/sysutils/syslog-ng/pkg-plist
@@ -349,21 +349,21 @@ lib/syslog-ng/loggen/libloggen_socket_plugin.so
 lib/syslog-ng/loggen/libloggen_ssl_plugin.so
 libdata/pkgconfig/syslog-ng-native-connector.pc
 libdata/pkgconfig/syslog-ng.pc
-man/man1/dqtool.1.gz
-man/man1/loggen.1.gz
-man/man1/pdbtool.1.gz
-man/man1/persist-tool.1.gz
-man/man1/slogencrypt.1.gz
-man/man1/slogkey.1.gz
-man/man1/slogverify.1.gz
-man/man1/syslog-ng-ctl.1.gz
-man/man1/syslog-ng-debun.1.gz
-man/man5/syslog-ng.conf.5.gz
-man/man7/secure-logging.7.gz
-man/man8/syslog-ng.8.gz
 sbin/syslog-ng
 sbin/syslog-ng-ctl
 sbin/syslog-ng-debun
+share/man/man1/dqtool.1.gz
+share/man/man1/loggen.1.gz
+share/man/man1/pdbtool.1.gz
+share/man/man1/persist-tool.1.gz
+share/man/man1/slogencrypt.1.gz
+share/man/man1/slogkey.1.gz
+share/man/man1/slogverify.1.gz
+share/man/man1/syslog-ng-ctl.1.gz
+share/man/man1/syslog-ng-debun.1.gz
+share/man/man5/syslog-ng.conf.5.gz
+share/man/man7/secure-logging.7.gz
+share/man/man8/syslog-ng.8.gz
 share/syslog-ng/include/scl/apache/apache.conf
 share/syslog-ng/include/scl/cee/adapter.conf
 share/syslog-ng/include/scl/checkpoint/plugin.conf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403050348.4253mYmG010272>