summaryrefslogtreecommitdiff
path: root/net-misc/ffsend
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /net-misc/ffsend
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'net-misc/ffsend')
-rw-r--r--net-misc/ffsend/Manifest2
-rw-r--r--net-misc/ffsend/ffsend-0.2.77.ebuild73
-rw-r--r--net-misc/ffsend/ffsend-9999.ebuild73
-rw-r--r--net-misc/ffsend/files/ffsend-bump-traitobject.patch30
-rw-r--r--net-misc/ffsend/metadata.xml19
5 files changed, 197 insertions, 0 deletions
diff --git a/net-misc/ffsend/Manifest b/net-misc/ffsend/Manifest
new file mode 100644
index 000000000000..ff2bb1eff1cb
--- /dev/null
+++ b/net-misc/ffsend/Manifest
@@ -0,0 +1,2 @@
+DIST ffsend-0.2.77-crates.tar.xz 30781572 BLAKE2B 1906139e895ef8ee2d5a58aec6757c9fbac59aa00ab5d1ad89b27654dca6ab69d5650a678be66f5942777a462e8910d50ce5ddf4cbf6cce3cd3fee831dd8ff00 SHA512 dfaf135e84976208471a973b962d03c2b34367146d1afd8181ff3638b69066bef93a3b1e371d0515128bec5c9d8823bda3a3a1fa92ba0865a0a7aa0f13ec27e3
+DIST ffsend-0.2.77.tar.gz 195500 BLAKE2B 0b67fccadf433031dbd9372892e089fb468ae82228f999b9ffbb81b5995635976045c40b6b666de7fd4210a3f8285ba6d7dea2f8bf0c031f83de0c16440978cf SHA512 0dc47d8fffc98e8ebbfbf43b12f31d6ecb9bb237188f15650c641a03050eebbbc25443e9b6b5bb132d3e020bb4796487da78cc80bc0d4d6798d73e524fc0e9ff
diff --git a/net-misc/ffsend/ffsend-0.2.77.ebuild b/net-misc/ffsend/ffsend-0.2.77.ebuild
new file mode 100644
index 000000000000..f77ca9011d41
--- /dev/null
+++ b/net-misc/ffsend/ffsend-0.2.77.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.14.0
+
+EAPI=8
+
+inherit cargo optfeature shell-completion
+
+DESCRIPTION="Easily and securely share files from the command line"
+HOMEPAGE="https://timvisee.com/projects/ffsend/"
+
+if [[ "${PV}" = "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/timvisee/ffsend.git"
+else
+ SRC_URI="
+ https://github.com/timvisee/ffsend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/beatussum/gentoo-tarballs/releases/download/latest/${P}-crates.tar.xz
+ "
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016"
+
+SLOT="0"
+
+DOCS=(
+ res/
+ CONTRIBUTING.md
+ README.md
+ SECURITY.md
+)
+
+src_unpack() {
+ patch_cargo_file()
+ {
+ pushd "${S}" &>> /dev/null || die
+ eapply "${FILESDIR}/${PN}-bump-traitobject.patch"
+ popd &>> /dev/null || die
+ }
+
+ if [[ "${PV}" = "9999" ]]; then
+ git-r3_src_unpack
+ patch_cargo_file
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ patch_cargo_file
+ fi
+}
+
+src_install() {
+ einstalldocs
+ cargo_src_install
+
+ newbashcomp contrib/completions/ffsend.bash ffsend
+ dofishcomp contrib/completions/ffsend.fish
+ dozshcomp contrib/completions/_ffsend
+
+ exeinto /usr/share/nautilus-script
+ doexe contrib/util/nautilus/firefox-send
+}
+
+pkg_postinst() {
+ optfeature "the Nautilus script support" \
+ "gnome-base/nautilus" \
+ "gnome-extra/zenity"
+}
diff --git a/net-misc/ffsend/ffsend-9999.ebuild b/net-misc/ffsend/ffsend-9999.ebuild
new file mode 100644
index 000000000000..f77ca9011d41
--- /dev/null
+++ b/net-misc/ffsend/ffsend-9999.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.14.0
+
+EAPI=8
+
+inherit cargo optfeature shell-completion
+
+DESCRIPTION="Easily and securely share files from the command line"
+HOMEPAGE="https://timvisee.com/projects/ffsend/"
+
+if [[ "${PV}" = "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/timvisee/ffsend.git"
+else
+ SRC_URI="
+ https://github.com/timvisee/ffsend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/beatussum/gentoo-tarballs/releases/download/latest/${P}-crates.tar.xz
+ "
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016"
+
+SLOT="0"
+
+DOCS=(
+ res/
+ CONTRIBUTING.md
+ README.md
+ SECURITY.md
+)
+
+src_unpack() {
+ patch_cargo_file()
+ {
+ pushd "${S}" &>> /dev/null || die
+ eapply "${FILESDIR}/${PN}-bump-traitobject.patch"
+ popd &>> /dev/null || die
+ }
+
+ if [[ "${PV}" = "9999" ]]; then
+ git-r3_src_unpack
+ patch_cargo_file
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ patch_cargo_file
+ fi
+}
+
+src_install() {
+ einstalldocs
+ cargo_src_install
+
+ newbashcomp contrib/completions/ffsend.bash ffsend
+ dofishcomp contrib/completions/ffsend.fish
+ dozshcomp contrib/completions/_ffsend
+
+ exeinto /usr/share/nautilus-script
+ doexe contrib/util/nautilus/firefox-send
+}
+
+pkg_postinst() {
+ optfeature "the Nautilus script support" \
+ "gnome-base/nautilus" \
+ "gnome-extra/zenity"
+}
diff --git a/net-misc/ffsend/files/ffsend-bump-traitobject.patch b/net-misc/ffsend/files/ffsend-bump-traitobject.patch
new file mode 100644
index 000000000000..c0cc1ed49489
--- /dev/null
+++ b/net-misc/ffsend/files/ffsend-bump-traitobject.patch
@@ -0,0 +1,30 @@
+From 29eb167d4367929a2546c20b3f2bbf890b63c631 Mon Sep 17 00:00:00 2001
+From: Rui Chen <rui@chenrui.dev>
+Date: Mon, 16 Jun 2025 17:23:14 -0400
+Subject: [PATCH] chore(build): bump traitobject to 0.1.1 to build against rust
+ 1.87.0
+
+Signed-off-by: Rui Chen <rui@chenrui.dev>
+---
+ Cargo.lock | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Cargo.lock b/Cargo.lock
+index fabde0d..8f82361 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -2691,9 +2691,9 @@ dependencies = [
+
+ [[package]]
+ name = "traitobject"
+-version = "0.1.0"
++version = "0.1.1"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
++checksum = "04a79e25382e2e852e8da874249358d382ebaf259d0d34e75d8db16a7efabbc7"
+
+ [[package]]
+ name = "try-lock"
+--
+GitLab
+
diff --git a/net-misc/ffsend/metadata.xml b/net-misc/ffsend/metadata.xml
new file mode 100644
index 000000000000..726e69dea27d
--- /dev/null
+++ b/net-misc/ffsend/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>beatussum@protonmail.com</email>
+ <name>Mattéo Rossillol‑‑Laruelle</name>
+ </maintainer>
+
+ <upstream>
+ <maintainer status="active">
+ <name>Tim Visée</name>
+ <email>tim@visee.me</email>
+ </maintainer>
+
+ <bugs-to>https://github.com/timvisee/ffsend/issues</bugs-to>
+ <remote-id type="github">timvisee/ffsend</remote-id>
+ </upstream>
+</pkgmetadata>