Date: Sun, 21 Jan 2024 02:03:02 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a82513663601 - main - sysutils/gstopd: Sanitize MANPREFIX Message-ID: <202401210203.40L232rX012417@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a82513663601d85e5d42d3d40c6d47141663ee24 commit a82513663601d85e5d42d3d40c6d47141663ee24 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-21 01:59:45 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-21 02:02:47 +0000 sysutils/gstopd: Sanitize MANPREFIX - Refresh patches Approved by: portmgr (blanket) --- sysutils/gstopd/Makefile | 7 +++++-- sysutils/gstopd/files/patch-gstopd.c | 8 +++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/sysutils/gstopd/Makefile b/sysutils/gstopd/Makefile index 5dc098c07de1..809e47480e67 100644 --- a/sysutils/gstopd/Makefile +++ b/sysutils/gstopd/Makefile @@ -1,12 +1,15 @@ PORTNAME= gstopd PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= LOCAL/mr MAINTAINER= mr@FreeBSD.org COMMENT= GEOM stop daemon -PLIST_FILES= sbin/gstopd man/man8/gstopd.8.gz +LICENSE= BSD2CLAUSE + +PLIST_FILES= sbin/gstopd share/man/man8/gstopd.8.gz .include <bsd.port.options.mk> @@ -16,6 +19,6 @@ CFLAGS+= -Wno-error=unused-but-set-variable do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gstopd ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/gstopd.8 ${STAGEDIR}${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/gstopd.8 ${STAGEDIR}${PREFIX}/share/man/man8 .include <bsd.port.mk> diff --git a/sysutils/gstopd/files/patch-gstopd.c b/sysutils/gstopd/files/patch-gstopd.c index 35902012dd02..e693a3a36340 100644 --- a/sysutils/gstopd/files/patch-gstopd.c +++ b/sysutils/gstopd/files/patch-gstopd.c @@ -1,9 +1,11 @@ ---- gstopd.c.orig 2013-10-10 12:51:01.431793192 +0000 -+++ gstopd.c 2013-10-10 12:58:54.538750707 +0000 -@@ -116,5 +116,5 @@ +--- gstopd.c.orig 2004-03-24 10:25:33 UTC ++++ gstopd.c +@@ -115,7 +115,7 @@ main(int argc, char **argv) + if( error != 0 ) { errx( 1, "Error %d accessing %s", errno, path ); } - snprintf( devs[i].name, 6, argv[i] ); + snprintf( devs[i].name, 6, "%s", argv[i] ); devs[i].lastt = 1; } + error = daemon( 0, 0 );
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401210203.40L232rX012417>