Received: by mail.netbsd.org (Postfix, from userid 605) id 8C79C84D5E; Sun, 4 Apr 2021 10:52:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C43F884D54 for ; Sun, 4 Apr 2021 10:52:41 +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 Zca6hAxdxbph for ; Sun, 4 Apr 2021 10:52:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 18BAB84CFD for ; Sun, 4 Apr 2021 10:52:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 05DB3FA95; Sun, 4 Apr 2021 10:52:41 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1617533560530" MIME-Version: 1.0 Date: Sun, 4 Apr 2021 10:52:40 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/sysutils/intel-backlight To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20210404105241.05DB3FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1617533560530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Sun Apr 4 10:52:40 UTC 2021 Modified Files: pkgsrc/sysutils/intel-backlight: Makefile Log Message: intel-backlight: Use SETUID_ROOT_PERMS so normal user can set backlight This is the recommended way to install the program and is also the default behaviour in FreeBSD ports. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/intel-backlight/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1617533560530 Content-Disposition: inline Content-Length: 922 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/intel-backlight/Makefile diff -u pkgsrc/sysutils/intel-backlight/Makefile:1.1 pkgsrc/sysutils/intel-backlight/Makefile:1.2 --- pkgsrc/sysutils/intel-backlight/Makefile:1.1 Thu Dec 10 06:13:15 2020 +++ pkgsrc/sysutils/intel-backlight/Makefile Sun Apr 4 10:52:40 2021 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.1 2020/12/10 06:13:15 nia Exp $ +# $NetBSD: Makefile,v 1.2 2021/04/04 10:52:40 tnn Exp $ DISTNAME= intel_backlight_fbsd-20200418 +PKGREVISION= 1 PKGNAME= ${DISTNAME:S/^intel_backlight_fbsd/intel-backlight/1} CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=FreeBSDDesktop/} @@ -24,6 +25,8 @@ NOT_FOR_PLATFORM+= Darwin-*-* INSTALLATION_DIRS+= sbin INSTALLATION_DIRS+= ${PKGMANDIR}/man1 +SPECIAL_PERMS+= sbin/intel_backlight ${SETUID_ROOT_PERMS} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/intel_backlight \ ${DESTDIR}${PREFIX}/sbin/intel_backlight --_----------=_1617533560530--