From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73E0215806E for ; Thu, 25 May 2023 20:36:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86639E0856; Thu, 25 May 2023 20:36:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A8DAE0856 for ; Thu, 25 May 2023 20:36:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C8A433C84E for ; Thu, 25 May 2023 20:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E965BA64 for ; Thu, 25 May 2023 20:36:44 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1685046990.332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: Documentation/maintainers/ X-VCS-Repository: proj/kde X-VCS-Files: Documentation/maintainers/dynlink-scanner X-VCS-Directories: Documentation/maintainers/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8 X-VCS-Branch: master Date: Thu, 25 May 2023 20:36:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5d9f795-394b-487f-8f65-99c1a20b6fab X-Archives-Hash: dc9655cf8aa2a64a83e8d07c44890074 commit: 332dfc9e2f9afa3a3fa782ec3a11b2fe79a264e8 Author: Yixun Lan gentoo org> AuthorDate: Thu Jan 19 09:29:17 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu May 25 20:36:30 2023 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=332dfc9e dynlink-scanner: add pie-executable to emime type detection list Signed-off-by: Yixun Lan gentoo.org> Signed-off-by: Andreas Sturmlechner gentoo.org> Documentation/maintainers/dynlink-scanner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/maintainers/dynlink-scanner b/Documentation/maintainers/dynlink-scanner index a95235c1ee..153edd0e4d 100755 --- a/Documentation/maintainers/dynlink-scanner +++ b/Documentation/maintainers/dynlink-scanner @@ -22,7 +22,7 @@ if [[ "$1" = --linking-deps ]]; then exit 1 fi mime=`file -b --mime-type "$2"` - if [[ "$mime" == 'application/x-executable' ]] || [[ "${mime}" == 'application/x-sharedlib' ]]; then + if [[ "$mime" == 'application/x-pie-executable' ]] || [[ "$mime" == 'application/x-executable' ]] || [[ "${mime}" == 'application/x-sharedlib' ]]; then LINK=`get_link_deps "$2"` [[ "$mime" == 'application/x-sharedlib' ]] && /tmp/try_dlopen "$2" [[ -n $LINK ]] && echo -e ${LINK//,/\\n} | sort -u