diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-analyzer/xprobe | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'net-analyzer/xprobe')
| -rw-r--r-- | net-analyzer/xprobe/Manifest | 1 | ||||
| -rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-clang.patch | 16 | ||||
| -rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch | 11 | ||||
| -rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-demangle-output.patch | 156 | ||||
| -rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-gcc-12.patch | 21 | ||||
| -rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch | 29 | ||||
| -rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-makefiles.patch | 99 | ||||
| -rw-r--r-- | net-analyzer/xprobe/metadata.xml | 17 | ||||
| -rw-r--r-- | net-analyzer/xprobe/xprobe-0.3-r1.ebuild | 41 | ||||
| -rw-r--r-- | net-analyzer/xprobe/xprobe-0.3-r2.ebuild | 41 |
10 files changed, 0 insertions, 432 deletions
diff --git a/net-analyzer/xprobe/Manifest b/net-analyzer/xprobe/Manifest deleted file mode 100644 index ac7fe80043b4..000000000000 --- a/net-analyzer/xprobe/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xprobe2-0.3.tar.gz 533636 BLAKE2B 1f106a3c08bfc6e205731a2e8c64f7e9f2e52caba38374ab7980fcae95113b6790297a59f5d4d6ad8e09d2145b68801403472b07690ff27b42dec8c6b7d97895 SHA512 fd499ada22be5df3e01630948cb72d1a9e648e0c7bfaf2a688386a61c67bb36a326a9e2f3f2b9960a6a49128343010aafe8a3f04ec05e89420a1384215e41f21 diff --git a/net-analyzer/xprobe/files/xprobe-0.3-clang.patch b/net-analyzer/xprobe/files/xprobe-0.3-clang.patch deleted file mode 100644 index 1ed7561a5380..000000000000 --- a/net-analyzer/xprobe/files/xprobe-0.3-clang.patch +++ /dev/null @@ -1,16 +0,0 @@ -Clang: ISO C++17 does not allow register storage class specifier -https://bugs.gentoo.org/897838 ---- a/libs-external/USI++/src/misc.cc -+++ b/libs-external/USI++/src/misc.cc -@@ -18,9 +18,9 @@ - in_cksum (unsigned short *ptr, int nbytes, bool may_pad) - { - -- register long sum; /* assumes long == 32 bits */ -+ long sum; /* assumes long == 32 bits */ - u_short oddbyte; -- register u_short answer; /* assumes u_short == 16 bits */ -+ u_short answer; /* assumes u_short == 16 bits */ - - - /* For psuedo-headers: odd len's require diff --git a/net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch b/net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch deleted file mode 100644 index 7ec38a9c2756..000000000000 --- a/net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/defines.h.in -+++ b/src/defines.h.in -@@ -24,7 +24,7 @@ - - #define VERSION "@VERSION@" - #define BANNER \ --"\nXprobe2 v."VERSION\ -+"\nXprobe2 v." VERSION \ - " Copyright (c) 2002-2005 fyodor@o0o.nu, ofir@sys-security.com, meder@o0o.nu"\ - "\n" - diff --git a/net-analyzer/xprobe/files/xprobe-0.3-demangle-output.patch b/net-analyzer/xprobe/files/xprobe-0.3-demangle-output.patch deleted file mode 100644 index a63018a56bb1..000000000000 --- a/net-analyzer/xprobe/files/xprobe-0.3-demangle-output.patch +++ /dev/null @@ -1,156 +0,0 @@ -https://github.com/dschwen/xprobe2/commit/1a8c68bc904bb1e971ec456aaff0879933a80e23 -https://bugs.gentoo.org/910424 - -From 1a8c68bc904bb1e971ec456aaff0879933a80e23 Mon Sep 17 00:00:00 2001 -From: Daniel Schwen <daniel@schwen.de> -Date: Mon, 22 Mar 2021 14:28:25 -0600 -Subject: [PATCH] Fix garbled output (#1) - ---- a/src/os_matrix.cc -+++ b/src/os_matrix.cc -@@ -42,12 +42,12 @@ OS_Name::OS_Name(void) { - ******************* - * returns FAIL is the OS already exist. os_id otherwise. - */ -- -+ - - int OS_Name::add_os(string &os_name) { - - if (find_os(os_name) != FAIL) return FAIL; /* exist */ -- -+ - osid_name.insert(pair<int, string>(id_count, os_name)); - return (id_count++); - } -@@ -58,7 +58,7 @@ int OS_Name::add_os(string &os_name) { - ******************* - * returns FAIL is the OS does not exist. os_id otherwise. - */ -- -+ - - int OS_Name::find_os(string &os_name) { - map <int, string>::iterator osid_i; -@@ -76,7 +76,7 @@ int OS_Name::find_os(string &os_name) { - ******************* - * for debugging _ONLY_ - */ -- -+ - - void OS_Name::list_oses(void) { - map <int, string>::iterator osid_i; -@@ -94,18 +94,18 @@ void OS_Name::list_oses(void) { - ******************* - * for debugging _ONLY_ - */ -- - - --const string OS_Name::osid2str(int id) { -+ -+const string & OS_Name::osid2str(int id) { - map <int, string>::iterator osid_i = osid_name.find(id); - if (osid_i != osid_name.end()) return ((*osid_i).second); - return ("BUG, PLEASE REPORT! :-)"); - } -- -+ - /* - * OS_Vector stuff: -- */ -+ */ - OS_Vector::OS_Vector(int new_os_id) { - os_id = new_os_id; - total = 0; -@@ -148,18 +148,18 @@ int OS_Matrix::find_os_id(int os_id) { - if (os_id == osid_vec[i].get_os_id()) return i; - return -1; - } -- -+ - void OS_Matrix::add_result(int test_id, int os_id, int score, int times) { - int i; - -- xprobe_debug(XPROBE_DEBUG_OSMATRIX, "test_id: %i os_id: %i score: %i\n", test_id, os_id, score); -+ xprobe_debug(XPROBE_DEBUG_OSMATRIX, "test_id: %i os_id: %i score: %i\n", test_id, os_id, score); - - if (find_os_id(os_id) == -1) /* if doesn't exist. we insert it - * first */ - osid_vec.push_back(OS_Vector(os_id)); - - i = find_os_id(os_id); -- while (times-- > 0) { -+ while (times-- > 0) { - osid_vec[i].add_result(test_id, score); - } - } -@@ -173,7 +173,7 @@ int OS_Matrix::get_score(int os_id) { - - int OS_Matrix::get_max_score(int os_id) { - int i = find_os_id(os_id); -- -+ - //return (xp_loaded_mods * XPROBE_MATCH_YES); - return (osid_vec[i].get_number_of_keywords() * XPROBE_MATCH_YES); - -@@ -181,12 +181,12 @@ int OS_Matrix::get_max_score(int os_id) { - - int OS_Matrix::get_prcnt_score(int os_id) { - -- if (get_score(os_id) < 0) return 0; -+ if (get_score(os_id) < 0) return 0; - return get_score(os_id) * 100/get_max_score(os_id); - - } - --int OS_Matrix::get_top(int num) { -+int OS_Matrix::get_top(int num) { - - sort(osid_vec.begin(), osid_vec.end(), os_vector_compare); - -@@ -194,5 +194,4 @@ int OS_Matrix::get_top(int num) { - return osid_vec[num].get_os_id(); - - return 0; /* out of range */ --} -- -+} ---- a/src/os_matrix.h -+++ b/src/os_matrix.h -@@ -44,9 +44,9 @@ class OS_Name { - int id_count; - public: - OS_Name(void); -- const string osid2str(int); -+ const string & osid2str(int); - const char *osid2char(int id) { -- string s = osid2str(id); -+ const string & s = osid2str(id); - return (s.c_str()); - } - int add_os(string &os_name); -@@ -54,7 +54,7 @@ class OS_Name { - void list_oses(void); - int get_osnum(void) { return id_count; } - }; -- -+ - - class OS_Vector { - -@@ -79,7 +79,7 @@ class OS_Matrix { - vector <OS_Vector> osid_vec; - int xp_loaded_mods; - int find_os_id(int); -- -+ - public: - OS_Matrix(int); - virtual ~OS_Matrix(void); -@@ -96,4 +96,3 @@ class OS_Matrix { - }; - - #endif /* INTERFACE_H */ -- diff --git a/net-analyzer/xprobe/files/xprobe-0.3-gcc-12.patch b/net-analyzer/xprobe/files/xprobe-0.3-gcc-12.patch deleted file mode 100644 index 534d17cb019b..000000000000 --- a/net-analyzer/xprobe/files/xprobe-0.3-gcc-12.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/852119 ---- a/libs-external/USI++/src/datalink.cc -+++ b/libs-external/USI++/src/datalink.cc -@@ -15,6 +15,7 @@ - #include <string.h> - #include <unistd.h> - #include <errno.h> -+#include <ctime> - #include <sys/ioctl.h> - - #ifdef IMMEDIATE ---- a/libs-external/USI++/src/tcp.cc -+++ b/libs-external/USI++/src/tcp.cc -@@ -16,6 +16,7 @@ - #include <string.h> - #include <stdlib.h> - #include <errno.h> -+#include <ctime> - - namespace usipp { - diff --git a/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch b/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch deleted file mode 100644 index 1175631b9a16..000000000000 --- a/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/libs-external/USI++/src/ip.cc -+++ b/libs-external/USI++/src/ip.cc -@@ -13,6 +13,7 @@ - #include "usi++/ip.h" - - #include "config.h" -+#include <cstdlib> - #include <iostream> - #include <string.h> - #include <errno.h> ---- a/libs-external/USI++/src/misc.cc -+++ b/libs-external/USI++/src/misc.cc -@@ -1,5 +1,6 @@ - #include "usi++/usi++" - #include "usi++/usi-structs.h" -+#include <cstdlib> - #include <string.h> - #include <unistd.h> - #include <sys/ioctl.h> ---- a/libs-external/USI++/usi++/tcp.h -+++ b/libs-external/USI++/usi++/tcp.h -@@ -15,6 +15,7 @@ - #include "usi-structs.h" - #include "datalink.h" - #include "ip.h" -+#include <cstring> - - namespace usipp { - diff --git a/net-analyzer/xprobe/files/xprobe-0.3-makefiles.patch b/net-analyzer/xprobe/files/xprobe-0.3-makefiles.patch deleted file mode 100644 index ed49b8366e4c..000000000000 --- a/net-analyzer/xprobe/files/xprobe-0.3-makefiles.patch +++ /dev/null @@ -1,99 +0,0 @@ -Add explicit dependency between program and library -Fixes break with MAKEOPTS="-j1 --shuffle=3854825862" and other shuffle -Also folds sed commands from ebuild and patches configure; running -autoreconf breaks build -https://bugs.gentoo.org/882675 ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -47,7 +47,7 @@ - - all: lib xprobe2 - --xprobe2: $(OBJS) modules -+xprobe2: $(OBJS) modules lib - $(CXX) $(CFLAGS) $(OBJS) $(MODOBJS) -o $@ $(LDFLAGS) $(LIBS) - strip $@ - ---- a/libs-external/USI++/src/Makefile.in -+++ b/libs-external/USI++/src/Makefile.in -@@ -15,7 +15,7 @@ - clear - - usi++:icmp.o datalink.o ip.o misc.o udp.o tcp.o TX_IP.o Layer2.o arp.o -- ar cr libusi++.a *.o -+ $(AR) cr libusi++.a *.o - # ld *.o -Bshareable -o libusi++.so - $(RANLIB) libusi++.a - rm -f *.o ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -49,7 +49,7 @@ - - xprobe2: $(OBJS) modules lib - $(CXX) $(CFLAGS) $(OBJS) $(MODOBJS) -o $@ $(LDFLAGS) $(LIBS) -- strip $@ -+ true $@ - - modules: - cd xpmodules; ${MAKE} ---- a/src/xplib/Makefile.in -+++ b/src/xplib/Makefile.in -@@ -44,7 +44,7 @@ - all: libxplib.a - - libxplib.a: $(OBJS) -- ar cr libxplib.a *.o -+ $(AR) cr libxplib.a *.o - $(RANLIB) libxplib.a - - .c.o: $(INCLUDES) ---- a/src/xpmodules/alive_probe/Makefile.in -+++ b/src/xpmodules/alive_probe/Makefile.in -@@ -42,7 +42,7 @@ - all: alive_probe.a - - alive_probe.a: icmp_ping.o tcp_ping.o udp_ping.o ttl_module portscan_module -- ar cr alive_probe.a *.o ttl_calc/*.o portscanner/*.o -+ $(AR) cr alive_probe.a *.o ttl_calc/*.o portscanner/*.o - $(RANLIB) alive_probe.a - - icmp_ping.o: icmp_ping.cc ---- a/src/xpmodules/os_probe/Makefile.in -+++ b/src/xpmodules/os_probe/Makefile.in -@@ -43,7 +43,7 @@ - - os_probe.a: icmp_port_unreach_mod icmp_echo_id_mod icmp_timestamp_mod \ - icmp_inforeq_mod icmp_addrmask_mod tcp_handshake_mod tcp_rst_mod smb_mod snmp_mod -- ar cr os_probe.a icmp_port_unreach/*.o icmp_echo_id/*.o icmp_timestamp/*.o \ -+ $(AR) cr os_probe.a icmp_port_unreach/*.o icmp_echo_id/*.o icmp_timestamp/*.o \ - icmp_inforeq/*.o icmp_addrmask/*.o tcp_handshake/*.o tcp_rst/*.o smb/*.o snmp/*.o - $(RANLIB) os_probe.a - ---- b/configure -+++ a/configure -@@ -2252,6 +2252,7 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_declaration -+#include <cstdlib> - int - main () - { -@@ -2613,6 +2614,7 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_declaration -+#include <cstdlib> - int - main () - { ---- a/libs-external/USI++/src/configure 2025-02-15 16:41:20.320574540 +0400 -+++ b/libs-external/USI++/src/configure 2025-02-15 16:42:29.463212487 +0400 -@@ -3499,6 +3499,7 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include <ctype.h> -+#include <stdlibh> - #if ((' ' & 0x0FF) == 0x020) - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) diff --git a/net-analyzer/xprobe/metadata.xml b/net-analyzer/xprobe/metadata.xml deleted file mode 100644 index 5832f45c51f6..000000000000 --- a/net-analyzer/xprobe/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>netmon@gentoo.org</email> - <name>Gentoo network monitoring and analysis project</name> - </maintainer> - <longdescription> - Active OS fingerprinting tool. This is the new xprobe, called xprobe2, due to - xprobe1 being obsoleted. xprobe2 has a different approach to OS fingerprinting. - xprobe2 relies on fuzzy signature matching, probabilistic guesses, multiple - matches simultaneously, and a signature database. - </longdescription> - <upstream> - <remote-id type="sourceforge">xprobe</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-analyzer/xprobe/xprobe-0.3-r1.ebuild b/net-analyzer/xprobe/xprobe-0.3-r1.ebuild deleted file mode 100644 index 8416f8e294ac..000000000000 --- a/net-analyzer/xprobe/xprobe-0.3-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_P=${PN}2-${PV} - -DESCRIPTION="Active OS fingerprinting tool - this is Xprobe2" -HOMEPAGE="http://sys-security.com/blog/xprobe2" -SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86" - -DEPEND="net-libs/libpcap" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gcc43.patch - "${FILESDIR}"/${P}-cxx11.patch - "${FILESDIR}"/${P}-gcc-12.patch -) - -src_prepare() { - default - - sed -i -e 's:strip:true:' src/Makefile.in || die - sed -i -e 's:ar cr:$(AR) cr:g' $(find -name '*Makefile*') || die - - tc-export AR -} - -src_install() { - default - - dodoc AUTHORS CHANGELOG CREDITS README TODO docs/*.{txt,pdf} -} diff --git a/net-analyzer/xprobe/xprobe-0.3-r2.ebuild b/net-analyzer/xprobe/xprobe-0.3-r2.ebuild deleted file mode 100644 index b4847c26f053..000000000000 --- a/net-analyzer/xprobe/xprobe-0.3-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_P=${PN}2-${PV} - -DESCRIPTION="Active OS fingerprinting tool - this is Xprobe2" -HOMEPAGE="http://sys-security.com/blog/xprobe2" -SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86" - -DEPEND="net-libs/libpcap" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gcc43.patch - "${FILESDIR}"/${P}-cxx11.patch - "${FILESDIR}"/${P}-gcc-12.patch - "${FILESDIR}"/${P}-makefiles.patch - "${FILESDIR}"/${P}-demangle-output.patch - "${FILESDIR}"/${P}-clang.patch -) - -src_prepare() { - default - - tc-export AR -} - -src_install() { - default - - dodoc AUTHORS CHANGELOG CREDITS README TODO docs/*.{txt,pdf} -} |
