From nobody Sat Nov 18 13:26:34 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 4SXZL25RKbz516dv; Sat, 18 Nov 2023 13:26:34 +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 4SXZL24y19z4cnD; Sat, 18 Nov 2023 13:26:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700313994; 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=dHcXBJnIoa3RqZM93PFBAE8hXCATtBDFcyPWtpx+4kI=; b=Q/8/7dYLSMsIfxI/J2MlEKjkdQMYp7/qOYebngd9xtNuLuqWspam+FCKlbWcuSJrzFLTld O+RVkVGbdT5mBWagGMU6WvTb7vErnKXsxLQ87xLDKVe78fsnpU4bCCrxBjA4ZhY5WGs3t8 6YgEFI3rPoEuuBG3yBAObDt4BEixq7VdlPLmKkee6c4snFUScQlXzSP3D40UbCuPnjMjxa 2BdFxYexgoj7ynUjFYZ9sBKlVr9h9+JYHKndNug+Rxw6EdJQoMoOLKlEnOgOq8Nx+29C0C Wbfh0SPNbAFCzm6S6HUfWk++ewsr+6RcwMaFBlztrfK1vspQ2eUVaeWlwEQ3jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700313994; 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=dHcXBJnIoa3RqZM93PFBAE8hXCATtBDFcyPWtpx+4kI=; b=dD/aP6H/XIn4QVIKepaNxsfcoKJi8DKo09XcG1JQ+8W6n1qgqiNek2FE0ZVgLMp8yslDV7 YNl4FugZKDvZRYiswse8brLCA/kqMqnnNL5aXHpSZUijQZUB9ChI7B0/6TmDaSUVf4gocv JawHEeNT2Wn0yBkeLsIZTMg/FGgPQnhSBP+cXFNhDJ5syecxEWMdP0KdFKL+PidgCy0ZrC H17EggBSFpbVAmvUNG73NUfCUKo9KXG5V+pCPRdgMYoZzOoA33CkGqqFp8U72rGGcHQkDB hLZhDgQq6cNublDs/lcFRlO3r5oTxnQYrSKDX4QK+LuUKHpJ94rwK6Mzhb41Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700313994; a=rsa-sha256; cv=none; b=AzYxzM8SS9RMk13zj+AiSm2vggHz8GurxUq0p10Nr5wAy7s2OIN05U703j1oKC59F5KN5d tdvKlnvx45M2Uex8tIDvkwyPFehQ+YYIeig+cZgf9lBZFwvMtpo8v73uPFawPe8utiajB9 fXzydgOFAvmnCocFVhID5NVoJnrCd3H2bFV7rn+JMc8J8eBXMsE6YZLs1AQXdt0cmTpc4X tHGsPD3Ugi+sLqhZad0M3ZA5FKLIXmFCiVq47cvuyVANjHMcS9vKYxoQxaersGn/QNGwqh emwmlbkexfmdVfid7qRLi/2jQcJIMW9nJ2Wh6SJvN5MnY2DBHzldyNohOvq8vA== 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 4SXZL242rszDFx; Sat, 18 Nov 2023 13:26:34 +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 3AIDQYfh015214; Sat, 18 Nov 2023 13:26:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AIDQYQw015211; Sat, 18 Nov 2023 13:26:34 GMT (envelope-from git) Date: Sat, 18 Nov 2023 13:26:34 GMT Message-Id: <202311181326.3AIDQYQw015211@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: a6890d074354 - main - www/foreign-cdm: Update to 20231105 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a6890d074354bbdcd00df0eec8217e1a269529dc Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6890d074354bbdcd00df0eec8217e1a269529dc commit a6890d074354bbdcd00df0eec8217e1a269529dc Author: Alex S AuthorDate: 2023-11-18 13:10:29 +0000 Commit: Gleb Popov CommitDate: 2023-11-18 13:11:35 +0000 www/foreign-cdm: Update to 20231105 This updates brings support for jailing the Widevine host process. Co-authored-by: Gleb Popov --- www/foreign-cdm/Makefile | 12 +++++++++--- www/foreign-cdm/distinfo | 6 +++--- www/foreign-cdm/files/fcdm-setup-env.in | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/www/foreign-cdm/Makefile b/www/foreign-cdm/Makefile index d76f9b9a1148..09cbd3b2f78d 100644 --- a/www/foreign-cdm/Makefile +++ b/www/foreign-cdm/Makefile @@ -1,5 +1,5 @@ PORTNAME= foreign-cdm -PORTVERSION= 3 +PORTVERSION= 20231105 CATEGORIES= www multimedia linux MASTER_SITES= https://arrowd.name/:cdm DISTFILES= cdm-${CDM_INT_HASH}.tar.gz:cdm @@ -19,7 +19,7 @@ RUN_DEPENDS= linux_base-c7>0:emulators/linux_base-c7 USE_GITHUB= yes GH_ACCOUNT= shkhln GH_PROJECT= foreign-cdm -GH_TAGNAME= e953bc0d35344b7e4474969ed37f4e0f9be01451 +GH_TAGNAME= 963d3bc2450997e67e583457d74260daaa7e29ef GH_TUPLE= capnproto:capnproto:928c8390d4d562bd32dc79a42eb64e9bdba572d8:capnproto/third_party/capnproto MAKE_ENV= LINUX_CC=/compat/linux/opt/rh/devtoolset-11/root/usr/bin/g++ \ @@ -27,7 +27,8 @@ MAKE_ENV= LINUX_CC=/compat/linux/opt/rh/devtoolset-11/root/usr/bin/g++ \ SUB_FILES= fcdm-setup-env -PLIST_FILES= libexec/fcdm-worker \ +PLIST_FILES= libexec/fcdm-jail \ + libexec/fcdm-worker \ lib/foreign-cdm/fcdm-fbsd.so \ share/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so \ share/chromium/WidevineCdm/manifest.json \ @@ -38,7 +39,12 @@ CDM_INT_HASH= fef0b5aa1bd31efb88dfab804bdbe614f3d54f28 post-extract: ${MV} ${WRKDIR}/*.h ${WRKSRC}/third_party/cdm/ +post-patch: + ${REINPLACE_CMD} -e 's|chmod a+srX|chmod a+rX|' ${WRKSRC}/Makefile + do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/build/fcdm-jail ${STAGEDIR}${PREFIX}/libexec/ + ${CHMOD} u+s ${STAGEDIR}${PREFIX}/libexec/fcdm-jail ${INSTALL_PROGRAM} ${WRKSRC}/build/fcdm-worker ${STAGEDIR}${PREFIX}/libexec/ ${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/www/foreign-cdm/distinfo b/www/foreign-cdm/distinfo index 0ee1880f2820..e94471524a4a 100644 --- a/www/foreign-cdm/distinfo +++ b/www/foreign-cdm/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1696775809 +TIMESTAMP = 1700309740 SHA256 (cdm-fef0b5aa1bd31efb88dfab804bdbe614f3d54f28.tar.gz) = 178ae15061d67943fa754e9ddf1903536c4cdb813dcdd90f98007f6238781a26 SIZE (cdm-fef0b5aa1bd31efb88dfab804bdbe614f3d54f28.tar.gz) = 14361 -SHA256 (shkhln-foreign-cdm-3-e953bc0d35344b7e4474969ed37f4e0f9be01451_GH0.tar.gz) = 12c081634d6ae9637666d592b29525726288e408d722838e8c17b07431e036ba -SIZE (shkhln-foreign-cdm-3-e953bc0d35344b7e4474969ed37f4e0f9be01451_GH0.tar.gz) = 13365 +SHA256 (shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz) = c8874f0b5649d2257326f155146128160454ce63e1fe25f91e979aaf6fa9fcd3 +SIZE (shkhln-foreign-cdm-20231105-963d3bc2450997e67e583457d74260daaa7e29ef_GH0.tar.gz) = 16000 SHA256 (capnproto-capnproto-928c8390d4d562bd32dc79a42eb64e9bdba572d8_GH0.tar.gz) = 5c867f4758d7a3e2e0213e732e2b9a5ad70d1193a4d615bbab41df1d4051de37 SIZE (capnproto-capnproto-928c8390d4d562bd32dc79a42eb64e9bdba572d8_GH0.tar.gz) = 2413835 diff --git a/www/foreign-cdm/files/fcdm-setup-env.in b/www/foreign-cdm/files/fcdm-setup-env.in index 1bc9c3cb400b..93785fb7e166 100644 --- a/www/foreign-cdm/files/fcdm-setup-env.in +++ b/www/foreign-cdm/files/fcdm-setup-env.in @@ -1,2 +1,2 @@ export FCDM_CDM_SO_PATH=%%PREFIX%%/lib/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so -export FCDM_WORKER_PATH=%%PREFIX%%/libexec/fcdm-worker +export FCDM_BINDIR_PATH=%%PREFIX%%/libexec