pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Handle MNT_LOG



Module Name:	pkgsrc-wip
Committed By:	Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By:	bartosz.kuzma
Date:		Mon Sep 22 07:10:30 2025 +0200
Changeset:	2fd217dc90b54ea576fadb34a62266016deaea55

Modified Files:
	duf/Makefile
	duf/files/mounts_netbsd.go

Log Message:
Handle MNT_LOG

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2fd217dc90b54ea576fadb34a62266016deaea55

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 duf/Makefile               | 1 +
 duf/files/mounts_netbsd.go | 3 +++
 2 files changed, 4 insertions(+)

diffs:
diff --git a/duf/Makefile b/duf/Makefile
index 99964cb55a..2a0d14acd1 100644
--- a/duf/Makefile
+++ b/duf/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	duf-v0.9.1
 PKGNAME=	${DISTNAME:S/-v/-/}
+PKGREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=muesli/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
diff --git a/duf/files/mounts_netbsd.go b/duf/files/mounts_netbsd.go
index ca53e63466..938225ea68 100644
--- a/duf/files/mounts_netbsd.go
+++ b/duf/files/mounts_netbsd.go
@@ -68,6 +68,9 @@ func mounts() ([]Mount, []string, error) {
 		if stat.Flag&unix.MNT_SOFTDEP != 0 {
 			opts += ",softdep"
 		}
+		if stat.Flag&unix.MNT_LOG != 0 {
+			opts += ",log"
+		}
 		if stat.Flag&unix.MNT_NOATIME != 0 {
 			opts += ",noatime"
 		}


Home | Main Index | Thread Index | Old Index