pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/coreutils
Module Name: pkgsrc
Committed By: ryoon
Date: Sat Nov 15 13:11:19 UTC 2025
Modified Files:
pkgsrc/sysutils/coreutils: Makefile Makefile.common PLIST
Log Message:
sysutils/coreutils: Try to build Linux-specific commands under Linux
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/sysutils/coreutils/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/sysutils/coreutils/Makefile.common
cvs rdiff -u -r1.24 -r1.25 pkgsrc/sysutils/coreutils/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/coreutils/Makefile
diff -u pkgsrc/sysutils/coreutils/Makefile:1.90 pkgsrc/sysutils/coreutils/Makefile:1.91
--- pkgsrc/sysutils/coreutils/Makefile:1.90 Tue Nov 11 13:42:54 2025
+++ pkgsrc/sysutils/coreutils/Makefile Sat Nov 15 13:11:18 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2025/11/11 13:42:54 taca Exp $
+# $NetBSD: Makefile,v 1.91 2025/11/15 13:11:18 ryoon Exp $
.include "../../sysutils/coreutils/Makefile.common"
@@ -15,7 +15,7 @@ CONFLICTS+= ganglia-monitor-core-[0-9]*
INFO_FILES= yes
# Exclude programs from PLIST which aren't built on a platform.
-PLIST_VARS+= hostid stdbuf
+PLIST_VARS+= hostid stdbuf linux
PLIST.hostid= yes
# This should really only be defined if building stdbuf, however we cannot
Index: pkgsrc/sysutils/coreutils/Makefile.common
diff -u pkgsrc/sysutils/coreutils/Makefile.common:1.36 pkgsrc/sysutils/coreutils/Makefile.common:1.37
--- pkgsrc/sysutils/coreutils/Makefile.common:1.36 Tue Nov 11 09:31:59 2025
+++ pkgsrc/sysutils/coreutils/Makefile.common Sat Nov 15 13:11:18 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.36 2025/11/11 09:31:59 wiz Exp $
+# $NetBSD: Makefile.common,v 1.37 2025/11/15 13:11:18 ryoon Exp $
#
# used by sysutils/coreutils/Makefile
# used by misc/gnuls/Makefile
@@ -63,6 +63,10 @@ CONFIGURE_ENV+= ac_cv_header_sys_acl_h=
# How can we determine the API version of the builtin gettext?
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
+.else # Linux
+# To build chcon etc.
+CONFIGURE_ARGS+= --with-selinux
+PLIST.linux= yes
.endif
CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
Index: pkgsrc/sysutils/coreutils/PLIST
diff -u pkgsrc/sysutils/coreutils/PLIST:1.24 pkgsrc/sysutils/coreutils/PLIST:1.25
--- pkgsrc/sysutils/coreutils/PLIST:1.24 Tue Nov 11 09:31:59 2025
+++ pkgsrc/sysutils/coreutils/PLIST Sat Nov 15 13:11:18 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2025/11/11 09:31:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.25 2025/11/15 13:11:18 ryoon Exp $
bin/g[
bin/gb2sum
bin/gbase32
@@ -6,6 +6,7 @@ bin/gbase64
bin/gbasename
bin/gbasenc
bin/gcat
+${PLIST.linux}bin/gchcon
bin/gchgrp
bin/gchmod
bin/gchown
@@ -65,6 +66,7 @@ bin/greadlink
bin/grealpath
bin/grm
bin/grmdir
+${PLIST.linux}bin/gruncon
bin/gseq
bin/gsha1sum
bin/gsha224sum
@@ -109,6 +111,7 @@ gnu/bin/base32
gnu/bin/base64
gnu/bin/basename
gnu/bin/cat
+${PLIST.linux}gnu/bin/chcon
gnu/bin/chgrp
gnu/bin/chmod
gnu/bin/chown
@@ -168,6 +171,7 @@ gnu/bin/readlink
gnu/bin/realpath
gnu/bin/rm
gnu/bin/rmdir
+${PLIST.linux}gnu/bin/runcon
gnu/bin/seq
gnu/bin/sha1sum
gnu/bin/sha224sum
@@ -211,6 +215,7 @@ gnu/man/man1/base32.1
gnu/man/man1/base64.1
gnu/man/man1/basename.1
gnu/man/man1/cat.1
+${PLIST.linux}gnu/man/man1/chcon.1
gnu/man/man1/chgrp.1
gnu/man/man1/chmod.1
gnu/man/man1/chown.1
@@ -270,6 +275,7 @@ gnu/man/man1/readlink.1
gnu/man/man1/realpath.1
gnu/man/man1/rm.1
gnu/man/man1/rmdir.1
+${PLIST.linux}gnu/man/man1/runcon.1
gnu/man/man1/seq.1
gnu/man/man1/sha1sum.1
gnu/man/man1/sha224sum.1
@@ -316,6 +322,7 @@ man/man1/gbase64.1
man/man1/gbasename.1
man/man1/gbasenc.1
man/man1/gcat.1
+${PLIST.linux}man/man1/gchcon.1
man/man1/gchgrp.1
man/man1/gchmod.1
man/man1/gchown.1
@@ -375,6 +382,7 @@ man/man1/greadlink.1
man/man1/grealpath.1
man/man1/grm.1
man/man1/grmdir.1
+${PLIST.linux}man/man1/gruncon.1
man/man1/gseq.1
man/man1/gsha1sum.1
man/man1/gsha224sum.1
Home |
Main Index |
Thread Index |
Old Index