From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/psmisc/
Date: Thu, 7 Mar 2024 19:44:13 +0000 (UTC) [thread overview]
Message-ID: <1709840642.cd57d7f864d847841affa9ef26cd391460ea9736.sam@gentoo> (raw)
commit: cd57d7f864d847841affa9ef26cd391460ea9736
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 7 19:42:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 7 19:44:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd57d7f8
sys-process/psmisc: add 23.7
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-process/psmisc/Manifest | 1 +
sys-process/psmisc/psmisc-23.7.ebuild | 68 +++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/sys-process/psmisc/Manifest b/sys-process/psmisc/Manifest
index f8c765371133..7014008e2c43 100644
--- a/sys-process/psmisc/Manifest
+++ b/sys-process/psmisc/Manifest
@@ -1,3 +1,4 @@
DIST psmisc-23.4.tar.xz 370000 BLAKE2B e762171c4d3252421a49b352fadb3e892f66862f003a313a0cc692f973364b06d2652a51d331314462784d94ad55189e74c4d7a023d5d7c917c5e5c05009f46b SHA512 b05781fdb283a6f132bd385d64437f8080e6bc0e11cd2e3e02227678682bb67b3c89edec34a6d067d77312811d072dc60b47ebb32b168c4c69bbc36df643a471
DIST psmisc-23.5.tar.xz 394012 BLAKE2B 258b82c9fff3765f33cdcd4150489b3e585a47b9065b1cb4f5b432bea4aa7766aab15b160cfb948df9e835c7ac09a9f185d663ab1cd376bedea53bdaf73fd776 SHA512 e908220350491a595ceaf96025a9aa14d832cacc8901545d0864152053fedaf9dc10f45fb2870aa2a00e4d9d8947243038357e14a82b04ab5d20c53e7f841a8d
DIST psmisc-23.6.tar.xz 424736 BLAKE2B 468bf4e84695efcedb832f890b6201b7bc4aca7c5aabaf30e67f4471671421897ee7cd67f01d4b3d60c3e1c63752eb7384e627e75fa7db290cd749da08e2f788 SHA512 4daffbd1726e50d9344f8578dd4c10f0b8f7971929ec667490de31122e5f3828747e1bafb3ed3c37ed7e1758ab9ec43b8f4556b676a416a8efbc7c6c88b6985d
+DIST psmisc-23.7.tar.xz 432208 BLAKE2B 5064f929bf320c3fe91d3e665479dcb0913b12f4dddd23e49e296509f89e29b5d147b411c33cca9892a43d955c8e431bccf00872ae86a9c9d2545295f05b69d7 SHA512 8180d24355b3b0f3102044916d078b1aa9a1af3d84f1e14db79e33e505390167012adbb1a8a5f47a692f3a14aba1eb5f1f8f37f328392e8635b89966af9b2128
diff --git a/sys-process/psmisc/psmisc-23.7.ebuild b/sys-process/psmisc/psmisc-23.7.ebuild
new file mode 100644
index 000000000000..50827dfb481c
--- /dev/null
+++ b/sys-process/psmisc/psmisc-23.7.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="A set of tools that use the proc filesystem"
+HOMEPAGE="http://psmisc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="apparmor nls selinux test X"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ !=app-i18n/man-pages-l10n-4.0.0-r0
+ >=sys-libs/ncurses-5.7-r7:=
+ apparmor? ( sys-libs/libapparmor )
+ nls? ( virtual/libintl )
+ selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-build/libtool-2.2.6b
+ nls? ( sys-devel/gettext )
+ test? ( dev-util/dejagnu )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ if tc-is-cross-compiler ; then
+ # This isn't ideal but upstream don't provide a placement
+ # when malloc is missing anyway, leading to errors like:
+ # pslog.c:(.text.startup+0x108): undefined reference to `rpl_malloc'
+ # See https://sourceforge.net/p/psmisc/bugs/71/
+ # (and https://lists.gnu.org/archive/html/autoconf/2011-04/msg00019.html)
+ export ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes
+ fi
+
+ local myeconfargs=(
+ # Hardening flags are set by our toolchain alraedy. Setting these
+ # in packages means toolchain & users can't set something tougher.
+ --disable-harden-flags
+ --enable-ipv6
+ $(use_enable apparmor)
+ $(use_enable nls)
+ $(use_enable selinux)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ use X || rm -f "${ED}"/usr/bin/pstree.x11
+
+ [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd
+ [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1
+
+ # fuser is needed by init.d scripts; use * wildcard for #458250
+ dodir /bin
+ mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die
+}
next reply other threads:[~2024-03-07 19:44 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 19:44 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-01 3:46 [gentoo-commits] repo/gentoo:master commit in: sys-process/psmisc/ Ionen Wolkens
2024-04-29 7:51 Jakov Smolić
2024-04-29 7:51 Jakov Smolić
2024-02-04 20:21 Ulrich Müller
2023-03-07 15:45 Sam James
2023-03-07 11:42 Sam James
2023-03-04 12:02 Arthur Zamarin
2023-03-04 8:54 Arthur Zamarin
2023-03-04 7:48 Arthur Zamarin
2023-03-04 7:17 Arthur Zamarin
2023-03-04 6:11 Arthur Zamarin
2023-03-04 5:52 Arthur Zamarin
2022-12-13 22:54 Sam James
2022-10-28 7:01 Sam James
2022-07-29 4:17 Sam James
2021-08-30 2:25 Sam James
2021-05-13 22:11 David Seifert
2021-05-13 21:17 Sam James
2021-05-13 18:58 Sam James
2021-05-13 18:56 Sam James
2021-05-13 18:36 Sergei Trofimovich
2021-05-13 17:15 Sam James
2021-05-13 16:37 Sam James
2021-02-07 17:01 Ulrich Müller
2021-02-06 15:18 Lars Wendler
2020-09-26 21:34 Sergei Trofimovich
2020-09-24 6:46 Agostino Sarubbo
2020-09-23 10:32 Agostino Sarubbo
2020-09-23 10:31 Agostino Sarubbo
2020-09-23 10:29 Agostino Sarubbo
2020-09-23 10:24 Agostino Sarubbo
2020-09-23 10:21 Agostino Sarubbo
2020-09-20 21:52 Thomas Deutschmann
2020-09-20 17:23 Sam James
2020-09-07 20:44 Mike Gilbert
2019-11-12 15:10 Lars Wendler
2019-10-26 11:27 Lars Wendler
2019-05-04 11:54 Mikle Kolyada
2018-08-14 13:03 Lars Wendler
2018-07-22 0:42 Mikle Kolyada
2018-06-30 18:16 Mikle Kolyada
2018-06-26 15:44 Tobias Klausmann
2018-06-23 15:19 Mart Raudsepp
2018-06-12 20:48 Sergei Trofimovich
2018-06-12 16:21 Mikle Kolyada
2018-06-12 11:36 Thomas Deutschmann
2018-06-12 8:44 Sergei Trofimovich
2018-06-11 19:15 Lars Wendler
2018-06-11 19:15 Lars Wendler
2017-06-17 8:50 Lars Wendler
2017-06-13 7:32 Lars Wendler
2017-01-29 20:14 Fabian Groffen
2016-10-27 6:06 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1709840642.cd57d7f864d847841affa9ef26cd391460ea9736.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox