summaryrefslogtreecommitdiff
path: root/net-libs/libcrafter
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /net-libs/libcrafter
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'net-libs/libcrafter')
-rw-r--r--net-libs/libcrafter/Manifest1
-rw-r--r--net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch59
-rw-r--r--net-libs/libcrafter/libcrafter-1.0-r1.ebuild34
-rw-r--r--net-libs/libcrafter/libcrafter-9999.ebuild33
-rw-r--r--net-libs/libcrafter/metadata.xml36
5 files changed, 0 insertions, 163 deletions
diff --git a/net-libs/libcrafter/Manifest b/net-libs/libcrafter/Manifest
deleted file mode 100644
index d9200c7225ca..000000000000
--- a/net-libs/libcrafter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libcrafter-1.0.tar.gz 116514 BLAKE2B 6f7adee30b1f7be1bf03fedd39deb53ddc7284934f908ebb056726c31adcaa133405a13c06fa6d35b066992e5ccf24eb971d46a44dcad6932009c1d35fc0c0f7 SHA512 146f34831bf26047be06a0dea406ed0495990fd4256c598b5a4ddea4ab8cc6635dbbe98010cb73ada94ec6bd8be65cdcb3489de7dd9b961711707047f94fb48d
diff --git a/net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch b/net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch
deleted file mode 100644
index 252a71db47c7..000000000000
--- a/net-libs/libcrafter/files/libcrafter-0.3_p20171019-libpcap.patch
+++ /dev/null
@@ -1,59 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -12,6 +12,8 @@
- AC_PROG_CXX
- LT_INIT([disable-static])
-
-+PKG_PROG_PKG_CONFIG
-+
- AC_CHECK_TYPE(u_int32_t, uint32_t)
- AC_CHECK_TYPE(u_int64_t, uint64_t)
- AC_CHECK_TYPE(u_int16_t, uint16_t)
-@@ -20,46 +22,7 @@
- AC_CANONICAL_HOST
-
- ## Checks for libpcap
--AC_MSG_CHECKING(for libpcap)
--AC_ARG_WITH(libpcap,
--[ --with-libpcap=DIR use libpcap in DIR],
--[ case "$withval" in
-- yes|no)
-- AC_MSG_RESULT(no)
-- ;;
-- *)
-- AC_MSG_RESULT($withval)
-- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- PCAPINC="-I$withval -I$withval/bpf"
-- PCAPLIB="-L$withval -lpcap"
-- elif test -f $withval/include/pcap.h -a \
-- -f $withval/include/net/bpf.h -a \
-- -f $withval/lib/libpcap.a; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- PCAPINC="-I$withval/include"
-- PCAPLIB="-L$withval/lib -lpcap"
-- else
-- AC_ERROR(pcap.h, net/bpf.h, or libpcap.a not found in $withval)
-- fi
-- ;;
-- esac ],
--[ if test -f ${prefix}/include/pcap.h; then
-- PCAPINC="-I${prefix}/include"
-- PCAPLIB="-L${prefix}/lib -lpcap"
-- elif test -f /usr/include/pcap/pcap.h; then
-- PCAPINC="-I/usr/include/pcap"
-- PCAPLIB="-lpcap"
-- elif test -f /usr/include/pcap.h; then
-- PCAPLIB="-lpcap"
-- else
-- AC_MSG_RESULT(no)
-- AC_ERROR(libpcap not found)
-- fi
-- AC_MSG_RESULT(yes) ]
--)
-+PKG_CHECK_MODULES([PCAP], [libpcap], [PCAPINC="${PCAP_CFLAGS}"; PCAPLIB="${PCAP_LIBS}"],AC_MSG_ERROR([libpcap is required]))
- AC_SUBST(PCAPINC)
- AC_SUBST(PCAPLIB)
- AC_CHECK_LIB([pcap], [pcap_set_immediate_mode],
diff --git a/net-libs/libcrafter/libcrafter-1.0-r1.ebuild b/net-libs/libcrafter/libcrafter-1.0-r1.ebuild
deleted file mode 100644
index 9eb5e0583a60..000000000000
--- a/net-libs/libcrafter/libcrafter-1.0-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="A high level C++ network packet sniffing and crafting library"
-HOMEPAGE="https://github.com/pellegre/libcrafter"
-SRC_URI="https://github.com/pellegre/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-version-${PV}/${PN}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_install() {
- default
-
- dodoc "${WORKDIR}"/${PN}-version-${PV}/README
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-libs/libcrafter/libcrafter-9999.ebuild b/net-libs/libcrafter/libcrafter-9999.ebuild
deleted file mode 100644
index e76b013ba9c7..000000000000
--- a/net-libs/libcrafter/libcrafter-9999.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools git-r3
-
-DESCRIPTION="A high level C++ network packet sniffing and crafting library"
-HOMEPAGE="https://github.com/pellegre/libcrafter"
-EGIT_REPO_URI="https://github.com/pellegre/${PN}"
-S="${WORKDIR}/${P}/${PN}"
-
-LICENSE="BSD"
-SLOT="0"
-
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.3_p20171019-libpcap.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_install() {
- default
-
- dodoc "${WORKDIR}"/${P}/README
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-libs/libcrafter/metadata.xml b/net-libs/libcrafter/metadata.xml
deleted file mode 100644
index c2c7d39d90bf..000000000000
--- a/net-libs/libcrafter/metadata.xml
+++ /dev/null
@@ -1,36 +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 lang="en">
- Libcrafter is a high level library for C++ designed to facilitate the creation
- and decoding of network packets. It is able to craft or decode packets of most
- common networks protocols, send them on the wire, capture them and match
- requests and replies.
- It enables the creation of networking tools in a few lines with a interface
- very similar to <pkg>net-analyzer/scapy</pkg>.
- A packet is described as layers that you stack one upon the other. Fields of
- each layer have useful default values that you can overload.
-
- The library is designed to be used in multithreaded programs where you can
- combine several tasks simultaneously. For example, you can easily design
- something that sniffs, mangles, and sends at the same time you are doing an
- ARP-Spoofing attack.
- It also contains a very naive implementation of the TCP/IP stack (fragmentation
- is no handled yet) at user level that enables working with TCP streams. This
- facilitates the creation of tools for data injection on arbitrary connections,
- IP spoofing and TCP/IP session hijacking.
-
- Supported protocols are:
-
- Ethernet, SLL (Linux cooked-mode capture), ARP, DHCP, DHCP options, IP, IP
- options, IPv6, ICMP, ICMPv6, ICMP extensions, ICMPv6 extensions, TCP, TCP
- options, UDP and DNS
- </longdescription>
- <upstream>
- <remote-id type="github">pellegre/libcrafter</remote-id>
- </upstream>
-</pkgmetadata>