Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id BA0D01A9239 for ; Sun, 19 Dec 2021 21:26:29 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id E20D584F0C; Sun, 19 Dec 2021 21:26:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 287B484EFA for ; Sun, 19 Dec 2021 21:26:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id c2nSkM9c_i2G for ; Sun, 19 Dec 2021 21:26:27 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 938EF84D66 for ; Sun, 19 Dec 2021 21:26:27 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8CD23FAEC; Sun, 19 Dec 2021 21:26:27 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_163994918775710" MIME-Version: 1.0 Date: Sun, 19 Dec 2021 21:26:27 +0000 From: "Olaf Seibert" Subject: CVS commit: pkgsrc/emulators/hercules4sdl To: pkgsrc-changes@NetBSD.org Reply-To: rhialto@netbsd.org X-Mailer: log_accum Message-Id: <20211219212627.8CD23FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_163994918775710 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rhialto Date: Sun Dec 19 21:26:27 UTC 2021 Modified Files: pkgsrc/emulators/hercules4sdl: DESCR Makefile Log Message: emulators/hercules4sdl: limit access to suid program hercifc. It's installed accessible to the new group "hercules": -r-s--x--- 1 root hercules 9512 Dec 19 21:25 /usr/pkg/bin/hercifc To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/hercules4sdl/DESCR cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/hercules4sdl/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_163994918775710 Content-Disposition: inline Content-Length: 1554 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/emulators/hercules4sdl/DESCR diff -u pkgsrc/emulators/hercules4sdl/DESCR:1.1 pkgsrc/emulators/hercules4sdl/DESCR:1.2 --- pkgsrc/emulators/hercules4sdl/DESCR:1.1 Sat Nov 6 16:43:23 2021 +++ pkgsrc/emulators/hercules4sdl/DESCR Sun Dec 19 21:26:27 2021 @@ -13,3 +13,6 @@ Relevant mailing lists include https://g https://hercules-390.groups.io/g/group. This version is developed by SoftDevLabs. + +The hercifc program, which is only used when configuring network devices, +is installed suid root, only accessible by group "hercules". Index: pkgsrc/emulators/hercules4sdl/Makefile diff -u pkgsrc/emulators/hercules4sdl/Makefile:1.5 pkgsrc/emulators/hercules4sdl/Makefile:1.6 --- pkgsrc/emulators/hercules4sdl/Makefile:1.5 Sun Dec 19 19:08:19 2021 +++ pkgsrc/emulators/hercules4sdl/Makefile Sun Dec 19 21:26:27 2021 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2021/12/19 19:08:19 rhialto Exp $ +# $NetBSD: Makefile,v 1.6 2021/12/19 21:26:27 rhialto Exp $ PKGNAME= hercules4sdl-4.4 +PKGREVISION= 1 DISTNAME= hyperion-Release_${PKGVERSION_NOREV} CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_GITHUB:=SDL-Hercules-390/} @@ -33,8 +34,10 @@ SUBST_SED.prefix= -e 's,/usr/local,${PRE CONFIGURE_ARGS+= --enable-extpkgs=${PREFIX}/lib/hercules4sdl +GROUP= hercules +PKG_GROUPS+= ${GROUP} +SPECIAL_PERMS+= ${PREFIX}/bin/hercifc ${REAL_ROOT_USER} ${GROUP} 4510 INSTALLATION_DIRS+= share/examples/hercules -SPECIAL_PERMS+= ${PREFIX}/bin/hercifc ${SETUID_ROOT_PERMS} pre-configure: cd ${WRKSRC} && ./autogen.sh --_----------=_163994918775710--