net-analyzer/slurm: drop 0.4.3

Bug: https://bugs.gentoo.org/957245
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-08-26 21:13:34 +02:00
parent b0a640be71
commit 74cb396d9d
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
6 changed files with 0 additions and 90 deletions

View File

@ -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

View File

@ -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;

View File

@ -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 <stdio.h>
#include <sys/param.h>
-#include <sys/sysctl.h>
+#include <linux/sysctl.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
@@ -195,8 +195,8 @@
#include <netinet/in.h>
#include <net/if.h>
#include <arpa/inet.h>
-#include <net/ppp_defs.h>
-#include <net/if_ppp.h>
+#include <linux/ppp_defs.h>
+#include <linux/if_ppp.h>
#elif defined (__Solaris__) /* S O L A R I S */
#include <stdio.h>
#define NO_CURSES_E 1

View File

@ -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)

View File

@ -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"

View File

@ -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
}