pkgsrc-WIP-changes archive

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

xtrlock: don't install suid binary with write permission



Module Name:	pkgsrc-wip
Committed By:	Matthias Petermann <mp%petermann-it.de@localhost>
Pushed By:	mp
Date:		Fri Feb 26 01:13:28 2021 +0100
Changeset:	431f388a26dab0eed5484d83bc7f4d16bf8f4c7b

Modified Files:
	xtrlock/Makefile

Log Message:
xtrlock: don't install suid binary with write permission

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

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

diffstat:
 xtrlock/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/xtrlock/Makefile b/xtrlock/Makefile
index 719ff006f3..3133bd475a 100644
--- a/xtrlock/Makefile
+++ b/xtrlock/Makefile
@@ -2,6 +2,7 @@
 #
 
 DISTNAME=	xtrlock-2.14
+PKGREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	${MASTER_SITE_DEBIAN:=pool/main/x/xtrlock/}
 EXTRACT_SUFX=	.tar.xz
@@ -22,7 +23,7 @@ do-build:
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
 do-install:
-	${INSTALL} -m 4775 ${WRKSRC}/xtrlock ${DESTDIR}${PREFIX}/bin/xtrlock
+	${INSTALL} -m 4555 ${WRKSRC}/xtrlock ${DESTDIR}${PREFIX}/bin/xtrlock
 	${INSTALL_MAN} ${MAN_PAGE} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xtrlock.1
 
 .include "../../x11/libX11/buildlink3.mk"


Home | Main Index | Thread Index | Old Index