commit:     09e86ef39b3611c50b598ea00b202f52171544c2
Author:     Dale Sweeney <agooglygooglr <AT> gmail <DOT> com>
AuthorDate: Wed Dec 31 08:19:18 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Dec 31 08:19:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09e86ef3

net-misc/flypaper: new package, add 0.4.0

Signed-off-by: Dale Sweeney <agooglygooglr <AT> gmail.com>

 net-misc/flypaper/Manifest              |  1 +
 net-misc/flypaper/flypaper-0.4.0.ebuild | 36 +++++++++++++++++++++++++++++++++
 net-misc/flypaper/metadata.xml          | 14 +++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/net-misc/flypaper/Manifest b/net-misc/flypaper/Manifest
new file mode 100644
index 0000000000..45742e8fd5
--- /dev/null
+++ b/net-misc/flypaper/Manifest
@@ -0,0 +1 @@
+DIST flypaper-0.4.0.tar.gz 33559 BLAKE2B 
be3a4831831b6a2f0d04aca6069d72304aca08e3b5b4046686993fc08dc37966232c9d54e625250612a1e138881b136c7546ea290768cd3329f004ea3f0d9333
 SHA512 
5c293ad4bec3a989afaf7be37311dce1790d328faef1a2ed68c3ce11e277d48ae77281fe15356a3031b019c829118e94d55ab6621db40b3114b579bad8a40aec

diff --git a/net-misc/flypaper/flypaper-0.4.0.ebuild 
b/net-misc/flypaper/flypaper-0.4.0.ebuild
new file mode 100644
index 0000000000..31466f5b60
--- /dev/null
+++ b/net-misc/flypaper/flypaper-0.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Externally bind or mark sockets on the fly"
+HOMEPAGE="https://codeberg.org/iguanajuice/flypaper";
+SRC_URI="https://codeberg.org/iguanajuice/flypaper/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/flypaper"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="systemd"
+
+DEPEND="
+       dev-libs/cJSON
+       dev-libs/libbpf
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       dev-util/bpftool
+       llvm-core/clang
+"
+
+src_configure() {
+       mkdir -p "${S}/build"
+       ln -s "${WORKDIR}/${P}-build/vmlinux.h" "${S}/build/vmlinux.h"
+       ln -s "${WORKDIR}/${P}-build/flypaper.skel.h" 
"${S}/build/flypaper.skel.h"
+
+       local emesonargs=(
+               $(usex systemd -Dsystemd=true -Dopenrc=true)
+       )
+       meson_src_configure
+}

diff --git a/net-misc/flypaper/metadata.xml b/net-misc/flypaper/metadata.xml
new file mode 100644
index 0000000000..6735a93a5b
--- /dev/null
+++ b/net-misc/flypaper/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Dale Sweeney</name>
+               <email>[email protected]</email>
+       </maintainer>
+       <longdescription>
+               Bind applications to network interfaces or mark them for 
app-based routing via eBPF
+       </longdescription>
+       <upstream>
+               <remote-id type="codeberg">iguanajuice/flypaper</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to