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 5988E1581E7 for ; Sun, 28 Apr 2024 04:03:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8B08E2A11; Sun, 28 Apr 2024 04:03:49 +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 B1368E2A03 for ; Sun, 28 Apr 2024 04:03:49 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94C64340DE6 for ; Sun, 28 Apr 2024 04:03:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D36C515EC for ; Sun, 28 Apr 2024 04:03:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1714276932.ef4afbd75c2c6e8262d2de04930398dfbce1d1bc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ncurses/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/ncurses/ncurses-6.5-r1.ebuild sys-libs/ncurses/ncurses-6.5.ebuild X-VCS-Directories: sys-libs/ncurses/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ef4afbd75c2c6e8262d2de04930398dfbce1d1bc X-VCS-Branch: master Date: Sun, 28 Apr 2024 04:03:46 +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: 8647f5d8-fd48-4baa-86d9-c57fc1492f33 X-Archives-Hash: f85a6861508e81cffa12b4b9ab9f37a3 commit: ef4afbd75c2c6e8262d2de04930398dfbce1d1bc Author: Sam James gentoo org> AuthorDate: Sun Apr 28 03:49:27 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 28 04:02:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4afbd7 sys-libs/ncurses: tweaks to 6.5 * Cleanup PATCH_DATES as new release means starting anew * Cleanup whitespace left over from opaque settings * Pass --enable-fvisibility * Pass --disable-setuid-environ (bug #930806) * Add a TODO wrt gpm/PDEPEND/circular dep Closes: https://bugs.gentoo.org/930806 Signed-off-by: Sam James gentoo.org> .../{ncurses-6.5.ebuild => ncurses-6.5-r1.ebuild} | 85 ++++------------------ 1 file changed, 14 insertions(+), 71 deletions(-) diff --git a/sys-libs/ncurses/ncurses-6.5.ebuild b/sys-libs/ncurses/ncurses-6.5-r1.ebuild similarity index 94% rename from sys-libs/ncurses/ncurses-6.5.ebuild rename to sys-libs/ncurses/ncurses-6.5-r1.ebuild index 3354bee12fbd..f4d21fed91c1 100644 --- a/sys-libs/ncurses/ncurses-6.5.ebuild +++ b/sys-libs/ncurses/ncurses-6.5-r1.ebuild @@ -43,74 +43,7 @@ if [[ ${PV} == *_p* ]] ; then # This array should contain a list of all the snapshots since the last # release if there's no megapatch available yet. PATCH_DATES=( - 20230107 - 20230114 - 20230121 - 20230128 - 20230211 - 20230218 - 20230225 - 20230311 - 20230401 - 20230408 - 20230415 - 20230418 - 20230423 - 20230424 - 20230429 - 20230506 - 20230514 - 20230520 - 20230527 - 20230603 - 20230610 - 20230615 - 20230617 - 20230624 - 20230625 - 20230701 - 20230708 - 20230715 - 20230722 - 20230729 - 20230805 - 20230812 - 20230819 - 20230826 - 20230902 - 20230909 - 20230917 - 20230918 - 20230923 - 20231001 - 20231007 - 20231014 - 20231016 - 20231021 - 20231028 - 20231104 - 20231111 - 20231118 - 20231121 - 20231125 - 20231202 - 20231209 - 20231217 - 20231223 - 20231230 - 20240106 - 20240113 - 20240120 - 20240127 - 20240203 - 20240210 - 20240217 - 20240224 - 20240302 - 20240309 - 20240323 - 20240330 - 20240413 + #20240101 # Latest patch is just _pN = $(ver_cut 4) $(ver_cut 4) @@ -156,6 +89,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~ IUSE="ada +cxx debug doc gpm minimal profile split-usr +stack-realign static-libs test tinfo trace" RESTRICT="!test? ( test )" +# TODO: ncurses allows (and we take advantage of this, even) passing +# the SONAME for dlopen() use, so only the header is needed at build time. +# Maybe we should bundle a copy of gpm.h so we can move gpm to PDEPEND +# which would be far nicer UX-wise. DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" # Block the older ncurses that installed all files w/SLOT=5, bug #557472 RDEPEND=" @@ -284,6 +221,7 @@ do_configure() { # Now the rest of the various standard flags. --with-shared + --enable-fvisibility # (Originally disabled until bug #245417 is sorted out, but now # just keeping it off for good, given nobody needed it until now # (2022) and we're trying to phase out bdb.) @@ -297,6 +235,13 @@ do_configure() { # The configure script uses ldd to parse the linked output which # is flaky for cross-compiling/multilib/ldd versions/etc... $(use_with gpm gpm libgpm.so.1) + + # bug #930806 + --disable-setuid-environ + # TODO: Maybe do these for USE=hardened + #--disable-root-access + #--disable-root-environ + --disable-term-driver --disable-termcap --enable-symlinks @@ -326,9 +271,7 @@ do_configure() { if [[ ${target} == ncursest* ]] ; then conf+=( --with-{pthread,reentrant} ) else - conf+=( - --without-{pthread,reentrant} - ) + conf+=( --without-{pthread,reentrant} ) fi # Make sure each variant goes in a unique location.