pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Don't install (g)su with the setuid...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b5590e4f862f
branches: trunk
changeset: 466372:b5590e4f862f
user: recht <recht%pkgsrc.org@localhost>
date: Sat Jan 17 00:14:14 2004 +0000
description:
Don't install (g)su with the setuid bit on NetBSD, FreeBSD and OpenBSD.
Bump PKGREVISION.
diffstat:
sysutils/coreutils/MESSAGE.gsu | 7 +++++++
sysutils/coreutils/Makefile | 11 +++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 98bfccabc8a1 -r b5590e4f862f sysutils/coreutils/MESSAGE.gsu
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/coreutils/MESSAGE.gsu Sat Jan 17 00:14:14 2004 +0000
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE.gsu,v 1.1 2004/01/17 00:14:14 recht Exp $
+
+The GNU ${PKGNAME} version of su doesn't support the wheel group.
+Because of that it is installed without the setuid bit on ${OPSYS}.
+
+===========================================================================
diff -r 98bfccabc8a1 -r b5590e4f862f sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile Sat Jan 17 00:08:50 2004 +0000
+++ b/sysutils/coreutils/Makefile Sat Jan 17 00:14:14 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2003/11/05 00:05:06 recht Exp $
+# $NetBSD: Makefile,v 1.13 2004/01/17 00:14:14 recht Exp $
DISTNAME= coreutils-5.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
EXTRACT_SUFX= .tar.bz2
@@ -38,6 +38,13 @@
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
+ ${OPSYS} == "OpenBSD"
+MAKE_FLAGS+= setuid_root_mode=a=rx
+MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
+MESSAGE_SUBST+= OPSYS=${OPSYS}
+.endif
+
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index