diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-22 03:04:36 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-22 03:04:36 -0500 |
| commit | 63ccd2e4ddd6295605ea83ff6f5e2337785496e5 (patch) | |
| tree | c2e8b95c36b14703e41de0de4fe7cb686ee24eea /net-analyzer | |
| parent | 805088e14f2164ec415b97288657da8492869f97 (diff) | |
| download | baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.tar.gz baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.tar.xz baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.zip | |
Adding metadata
Diffstat (limited to 'net-analyzer')
| -rw-r--r-- | net-analyzer/ipv4-heatmap/Manifest | 1 | ||||
| -rw-r--r-- | net-analyzer/ipv4-heatmap/ipv4-heatmap-0_p20210302.ebuild | 50 | ||||
| -rw-r--r-- | net-analyzer/ipv4-heatmap/ipv4-heatmap-9999.ebuild | 50 | ||||
| -rw-r--r-- | net-analyzer/ipv4-heatmap/metadata.xml | 9 |
4 files changed, 110 insertions, 0 deletions
diff --git a/net-analyzer/ipv4-heatmap/Manifest b/net-analyzer/ipv4-heatmap/Manifest new file mode 100644 index 000000000000..bd5fa39039a6 --- /dev/null +++ b/net-analyzer/ipv4-heatmap/Manifest @@ -0,0 +1 @@ +DIST ipv4-heatmap-3b4b4f87298c84cd1d501e77948c1101ddea1cf6.tar.gz 34250 BLAKE2B 6d0d42d3d4e69416cb97d5ea155a858da6a1f479188a6fdeb7382a557c64d9aab7cc555028ad71ca3ab502a7708f4c5474f1a6bd81932b4e05ed35e08e2fc825 SHA512 aac95c4fe382d9b2a398bac294d4165d3b88365ca48c34f3e128dbc1ae84582a9a26d78e9d6080699cea528439b472ead6b2ef85adefaee8054d1c30e03e2624 diff --git a/net-analyzer/ipv4-heatmap/ipv4-heatmap-0_p20210302.ebuild b/net-analyzer/ipv4-heatmap/ipv4-heatmap-0_p20210302.ebuild new file mode 100644 index 000000000000..37bb456ac91f --- /dev/null +++ b/net-analyzer/ipv4-heatmap/ipv4-heatmap-0_p20210302.ebuild @@ -0,0 +1,50 @@ +# Copyright 2026 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +if [[ "${PV}" == "9999"* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/measurement-factory/ipv4-heatmap" +else + EGIT_COMMIT="3b4b4f87298c84cd1d501e77948c1101ddea1cf6" + SRC_URI="https://github.com/measurement-factory/ipv4-heatmap/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" + S="${WORKDIR}/${PN}-${EGIT_COMMIT}/" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Generate Hilbert curve heatmaps of the IPv4 address space" +HOMEPAGE="https://github.com/measurement-factory/ipv4-heatmap" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="media-libs/gd:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + sed -i \ + -e '1aPKG_CONFIG ?= pkg-config' \ + -e 's,^LIBS=.*,LIBS = -lm `${PKG_CONFIG} --libs gdlib`,' \ + -e 's,^CFLAGS=.*,CFLAGS += `${PKG_CONFIG} --cflags gdlib`,' \ + -e 's,^LDFLAGS=.*,#LDFLAGS,' \ + Makefile || die +} + +src_configure() { + tc-export CC PKG_CONFIG +} + +src_install() { + einstalldocs + + dobin ipv4-heatmap + doman ipv4-heatmap.1 + + dodoc labels/iana/iana-labels.txt +} diff --git a/net-analyzer/ipv4-heatmap/ipv4-heatmap-9999.ebuild b/net-analyzer/ipv4-heatmap/ipv4-heatmap-9999.ebuild new file mode 100644 index 000000000000..37bb456ac91f --- /dev/null +++ b/net-analyzer/ipv4-heatmap/ipv4-heatmap-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 2026 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +if [[ "${PV}" == "9999"* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/measurement-factory/ipv4-heatmap" +else + EGIT_COMMIT="3b4b4f87298c84cd1d501e77948c1101ddea1cf6" + SRC_URI="https://github.com/measurement-factory/ipv4-heatmap/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" + S="${WORKDIR}/${PN}-${EGIT_COMMIT}/" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Generate Hilbert curve heatmaps of the IPv4 address space" +HOMEPAGE="https://github.com/measurement-factory/ipv4-heatmap" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="media-libs/gd:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + sed -i \ + -e '1aPKG_CONFIG ?= pkg-config' \ + -e 's,^LIBS=.*,LIBS = -lm `${PKG_CONFIG} --libs gdlib`,' \ + -e 's,^CFLAGS=.*,CFLAGS += `${PKG_CONFIG} --cflags gdlib`,' \ + -e 's,^LDFLAGS=.*,#LDFLAGS,' \ + Makefile || die +} + +src_configure() { + tc-export CC PKG_CONFIG +} + +src_install() { + einstalldocs + + dobin ipv4-heatmap + doman ipv4-heatmap.1 + + dodoc labels/iana/iana-labels.txt +} diff --git a/net-analyzer/ipv4-heatmap/metadata.xml b/net-analyzer/ipv4-heatmap/metadata.xml new file mode 100644 index 000000000000..b3ff58794ac1 --- /dev/null +++ b/net-analyzer/ipv4-heatmap/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
