From d1a77ff1cbb0c2c4626af27be3c2a43054314281 Mon Sep 17 00:00:00 2001
From: Tim Biermann <tbier@posteo.de>
Date: Sun, 12 Nov 2023 09:47:06 +0100
Subject: [PATCH] rdfind: initial commit, version 1.6.0

---
 rdfind/.footprint |  7 +++++++
 rdfind/.signature |  5 +++++
 rdfind/Pkgfile    | 19 +++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 rdfind/.footprint
 create mode 100644 rdfind/.signature
 create mode 100644 rdfind/Pkgfile

diff --git a/rdfind/.footprint b/rdfind/.footprint
new file mode 100644
index 000000000..5757dd13c
--- /dev/null
+++ b/rdfind/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/rdfind
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man1/
+-rw-r--r--	root/root	usr/share/man/man1/rdfind.1.gz
diff --git a/rdfind/.signature b/rdfind/.signature
new file mode 100644
index 000000000..c32978bae
--- /dev/null
+++ b/rdfind/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/opt.pub
+RWSE3ohX2g5d/brmYWvzfIUCMnatyxCth0VL+74MY8fETyIly3CAqBhyJjUCDJbqIkCSOyYl1pT/Thn1xetRALLTOkMTZZFG5wk=
+SHA256 (Pkgfile) = cfb1e91673dd398f566d499ea82dd5fafb06fdcd0b4353fbe8c7f5f36acb9913
+SHA256 (.footprint) = bd41ed10b18a71992a117c604bcce4eeabeeb08d291c6d9ed939a47f305380ab
+SHA256 (rdfind-1.6.0.tar.gz) = 9198d41c7a14bdf29c347570bab5001a56a4d23c1bc2e962115dccbc2d0d2265
diff --git a/rdfind/Pkgfile b/rdfind/Pkgfile
new file mode 100644
index 000000000..833098e17
--- /dev/null
+++ b/rdfind/Pkgfile
@@ -0,0 +1,19 @@
+# Description: find duplicate files utility
+# URL: https://github.com/pauldreik/rdfind
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: nettle
+
+name=rdfind
+version=1.6.0
+release=1
+source=(https://github.com/pauldreik/rdfind/archive/releases/$version.tar.gz)
+renames=($name-$version.tar.gz)
+
+build() {
+  cd $name-releases-$version
+
+  ./bootstrap.sh
+  ./configure --prefix=/usr
+  make
+  make DESTDIR=$PKG install
+}