From nobody Mon Nov 06 17:50:14 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SPJlp3mQjz50RkX; Mon, 6 Nov 2023 17:50:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SPJlp3G5Sz4S12; Mon, 6 Nov 2023 17:50:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699293014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2Y3nAjRoc1yqZO/9qEqZsiZPFGlbNxEjo3y3D8zoHnQ=; b=mR61BLUDwiNSlieepEO32gKDnhPE0OPh3VCWBFw8lW/1CGg8cJvl4lb/Hoj0VZQSYcpOjB e1busQ+haToN+kUDafax7sHG/MphESjVdYiPLjD3W91y+SHpfwJZcvjY85jF63J01gtNF8 9y0f6inYaCiBkQkj6cXUAV3X0urnuX72U4e94X2og3IQpJ61IHa8uNCDnZjAMVbWXT8aeV uqmMndD7uRhML/AmlEPGBAZFzs9LMAL9jDZ/a8mfCdRmQV7FXK27jiOD19q70jsnNXd7Tf vj5OsOsKauTHv/wNgILMMDEZaWLKLMeQxVReROjiACC9MQYhulG7RZmhXOtFwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699293014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2Y3nAjRoc1yqZO/9qEqZsiZPFGlbNxEjo3y3D8zoHnQ=; b=Lb7PpuiBGE8BjLrVtZhTAySYyFsm3iSIZz2Cwnv4Lof5odHod7htidDA8N/Ghj5XQWLKOA cG7jPd2lkhQzMQvSY5sLolv30qkW2y2lYs4gBB2AXXmpwtorX4Qu6xQI8MKHxfSVxpI1B8 4iJYv8h9X4T45aK2rgbIM8LyKA/BWLuicBvE8FhrWxuU1Vbo3aPPWO4uxrXi2wefjzK5Ik HUZObnl9ZsdB6RB5lFAqPz0zYDSTZTwN2BpnxR1O33Kp/TunLMwVHNZg2lUUEHeCYkTCi/ kMpNSVk3S4kjfKU3pKQ0dhNik7onYIuojhvFEK94vgWJBzTCJFnAWBjat8SHNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699293014; a=rsa-sha256; cv=none; b=gYncR48U0Wqvc6KFALjo4vPGkv1ruxdZEvYcquyYMi7rTdE9HQs82IMfRESWAEQkpZ4NIt Z8UCvIOhJF1aKc/9F/onr715ezzReglUdmucNVMTVS7S0t8SUuaepxVyOo5tdSihuXrio6 rFxagmKA5zF418bOc1vu9de3VW/6outGr+GwtmBZbjQZC/fdEAZ3wV97vspQMoLTnm9pJc K+oEblCkA5pF90EEcvbOil4ivWonGUAEVlFFGilgmgP24mcivCKlIiuTTahAalJCgY6hCr 8+tY5tVeRF3s0L3dpCYzgwUIyoy43u1gOkuwH2qdhhTEQLRwPKAofSw2rp4r5g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SPJlp2JJgz2Xs; Mon, 6 Nov 2023 17:50:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A6HoEen066005; Mon, 6 Nov 2023 17:50:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A6HoEob065997; Mon, 6 Nov 2023 17:50:14 GMT (envelope-from git) Date: Mon, 6 Nov 2023 17:50:14 GMT Message-Id: <202311061750.3A6HoEob065997@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 43a873b0bccb - main - x11/i3lock-color: drop setuid bit via unix-selfauth-helper List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43a873b0bccbeadef7f745f01ac7add5d365b59d Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=43a873b0bccbeadef7f745f01ac7add5d365b59d commit 43a873b0bccbeadef7f745f01ac7add5d365b59d Author: Jan Beich AuthorDate: 2023-08-11 14:23:21 +0000 Commit: Jan Beich CommitDate: 2023-11-06 17:49:23 +0000 x11/i3lock-color: drop setuid bit via unix-selfauth-helper pam_helper was supposed to avoid setuid bit but wasn't actually hooked. PR: 273074 Approved by: maintainer timeout (3 months) --- x11/i3lock-color/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11/i3lock-color/Makefile b/x11/i3lock-color/Makefile index f732ca37f0ec..348ee7cfaec6 100644 --- a/x11/i3lock-color/Makefile +++ b/x11/i3lock-color/Makefile @@ -1,6 +1,6 @@ PORTNAME= i3lock-color DISTVERSION= 2.13.c.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MAINTAINER= fjachuf@gmail.com @@ -9,7 +9,6 @@ WWW= https://github.com/Raymo111/i3lock-color LICENSE= BSD3CLAUSE -BUILD_DEPENDS= ${LOCALBASE}/bin/pam_helper:security/pam_helper LIB_DEPENDS= libev.so:devel/libev \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ @@ -19,6 +18,7 @@ LIB_DEPENDS= libev.so:devel/libev \ libxcb-xrm.so:x11/xcb-util-xrm \ libxkbcommon.so:x11/libxkbcommon \ libxkbfile.so:x11/libxkbfile +RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper USES= autoreconf gmake gnome iconv jpeg localbase pkgconfig tar:bzip2 xorg USE_CSTD= c99 @@ -38,7 +38,8 @@ LDFLAGS+= ${ICONV_LIB} CONFLICTS_INSTALL= i3lock -PLIST_FILES= "@(,,4755) bin/i3lock" \ +PLIST_FILES= bin/i3lock \ + etc/pam.d/i3lock \ man/man1/i3lock.1.gz OPTIONS_DEFINE= DOCS @@ -49,6 +50,8 @@ DOCS_PLIST_FILES= ${DOC_FILES:S|^|${DOCSDIR_REL}/|} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock @${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock + @${LN} -s ${LOCALBASE}/etc/pam.d/unix-selfauth \ + ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}