From 74cb396d9dde3fc06db774db91b7e43b1107e21a Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 26 Aug 2025 21:13:34 +0200 Subject: [PATCH] net-analyzer/slurm: drop 0.4.3 Bug: https://bugs.gentoo.org/957245 Signed-off-by: Andreas Sturmlechner --- net-analyzer/slurm/Manifest | 1 - .../slurm/files/slurm-0.3.3-overflow.patch | 17 ----------- .../files/slurm-0.4.3-fix-includes.patch | 23 -------------- .../slurm/files/slurm-0.4.3-tinfo.patch | 12 -------- .../slurm/files/slurm-0.4.3-version.patch | 7 ----- net-analyzer/slurm/slurm-0.4.3.ebuild | 30 ------------------- 6 files changed, 90 deletions(-) delete mode 100644 net-analyzer/slurm/files/slurm-0.3.3-overflow.patch delete mode 100644 net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch delete mode 100644 net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch delete mode 100644 net-analyzer/slurm/files/slurm-0.4.3-version.patch delete mode 100644 net-analyzer/slurm/slurm-0.4.3.ebuild diff --git a/net-analyzer/slurm/Manifest b/net-analyzer/slurm/Manifest index 94b32c6ab287..2f14f31cb87d 100644 --- a/net-analyzer/slurm/Manifest +++ b/net-analyzer/slurm/Manifest @@ -1,2 +1 @@ -DIST slurm-0.4.3.tar.gz 36076 BLAKE2B 468dadfb7e338a7b11a2db8501763fa75e9f82af1c7411d132c6aec2e8426cbd1170fb9657a661dde35c77d6ad23497599affc9b36e583772950a2bf30715c20 SHA512 f55005e2e2acebf1b7be0f7106511f83123f4df30305d00495940220f99394ddd48193ee4985c91604f294487c181f6efebe9452137f7df5b9675d2c3388892f DIST slurm-0.4.4.tar.gz 76154 BLAKE2B 4f5fa23f42dce3a5eca2a82b82b55cc81e564843a943c572b33c2c07b752e985f52516795c4331ba80137a76ababc8e61a8f7fbf183a032551f3aa2a95ba61d8 SHA512 5a54d004e18a27ead40140f0b5d1bf4db773d2d12a1d8358993944e0a51db8598353e330e114851b90125f09fd8d5ebfb50d2be362e85ad50e7c39ce6aa6bcc1 diff --git a/net-analyzer/slurm/files/slurm-0.3.3-overflow.patch b/net-analyzer/slurm/files/slurm-0.3.3-overflow.patch deleted file mode 100644 index f9adc1d9bf71..000000000000 --- a/net-analyzer/slurm/files/slurm-0.3.3-overflow.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/src/linux.c -+++ b/src/linux.c -@@ -68,11 +68,11 @@ - - /* do not parse the first two lines as they only contain static garbage */ - fseek(proc_net_dev, 0, SEEK_SET); -- fgets(buffer, BUFSIZ-1, proc_net_dev); -- fgets(buffer, BUFSIZ-1, proc_net_dev); -+ fgets(buffer, BUFSIZE-1, proc_net_dev); -+ fgets(buffer, BUFSIZE-1, proc_net_dev); - - interfacefound = 0; -- while (fgets(buffer, BUFSIZ-1, proc_net_dev) != NULL) -+ while (fgets(buffer, BUFSIZE-1, proc_net_dev) != NULL) - { - /* find the device name and substitute ':' with '\0' */ - ptr = buffer; diff --git a/net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch b/net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch deleted file mode 100644 index a421c0aa1fa0..000000000000 --- a/net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/mattthias/slurm/pull/39 ---- a/os.h -+++ b/os.h -@@ -177,7 +177,7 @@ - #elif defined (__linux__) /* L I N U X */ - #include - #include --#include -+#include - #include - #include - #include -@@ -195,8 +195,8 @@ - #include - #include - #include --#include --#include -+#include -+#include - #elif defined (__Solaris__) /* S O L A R I S */ - #include - #define NO_CURSES_E 1 diff --git a/net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch b/net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch deleted file mode 100644 index ccb00fbeb094..000000000000 --- a/net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://github.com/mattthias/slurm/pull/38 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -25,7 +25,7 @@ - - add_executable(slurm ${SLURM_SOURCES}) - --target_link_libraries(slurm ncurses) -+target_link_libraries(slurm ${CURSES_LIBRARY} ${CURSES_EXTRA_LIBRARY}) - - # install - install(TARGETS slurm DESTINATION bin) diff --git a/net-analyzer/slurm/files/slurm-0.4.3-version.patch b/net-analyzer/slurm/files/slurm-0.4.3-version.patch deleted file mode 100644 index 2266cad19356..000000000000 --- a/net-analyzer/slurm/files/slurm-0.4.3-version.patch +++ /dev/null @@ -1,7 +0,0 @@ ---- a/config.h -+++ b/config.h -@@ -1,2 +1,2 @@ --#define PACKAGE_VERSION "0.4.3+git" --#define VERSION "0.4.3+git" -+#define PACKAGE_VERSION "0.4.3" -+#define VERSION "0.4.3" diff --git a/net-analyzer/slurm/slurm-0.4.3.ebuild b/net-analyzer/slurm/slurm-0.4.3.ebuild deleted file mode 100644 index 31e739fa828b..000000000000 --- a/net-analyzer/slurm/slurm-0.4.3.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Realtime network interface monitor based on FreeBSD's pppstatus" -HOMEPAGE="https://github.com/mattthias/slurm" -SRC_URI="https://github.com/mattthias/slurm/archive/upstream/${PN}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-upstream" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~ppc ~sparc x86" - -RDEPEND="sys-libs/ncurses:=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.3.3-overflow.patch - "${FILESDIR}"/${P}-tinfo.patch - "${FILESDIR}"/${P}-version.patch - "${FILESDIR}"/${P}-fix-includes.patch -) - -src_install() { - cmake_src_install - dodoc KEYS THEMES.txt -}