sysutils/rdfind: New port: Utility to find duplicate files based on content

Command line utility that's useful for compressing backup directories or
just finding duplicate files based on their content.

Committers note:
Patch modified to follow Porters Handbook more closely

PR:		266985
This commit is contained in:
Jesús Daniel Colmenares Oviedo 2022-10-16 22:42:50 +02:00 committed by Daniel Engberg
parent a3c7e5c215
commit 9603c4b3eb
4 changed files with 31 additions and 0 deletions

View file

@ -1145,6 +1145,7 @@
SUBDIR += rclean
SUBDIR += rcm
SUBDIR += rdate
SUBDIR += rdfind
SUBDIR += rdup
SUBDIR += read-edid
SUBDIR += recoverdm

24
sysutils/rdfind/Makefile Normal file
View file

@ -0,0 +1,24 @@
PORTNAME= rdfind
DISTVERSION= 1.5.0
CATEGORIES= sysutils
MASTER_SITES= https://rdfind.pauldreik.se/
MAINTAINER= DtxdF@disroot.org
COMMENT= Utility to find duplicate files based on their content
WWW= https://rdfind.pauldreik.se/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libnettle.so:security/nettle
USES= autoreconf localbase:ldflags
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

3
sysutils/rdfind/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1665952280
SHA256 (rdfind-1.5.0.tar.gz) = 4150ed1256f7b12b928c65113c485761552b9496c433778aac3f9afc3e767080
SIZE (rdfind-1.5.0.tar.gz) = 131167

View file

@ -0,0 +1,3 @@
Rdfind is a command line tool that finds duplicate files. It is
useful for compressing backup directories or just finding duplicate
files. It compares files based on their content, not file names.