git: 9603c4b3eb4e - main - sysutils/rdfind: New port: Utility to find duplicate files based on content
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Oct 2022 21:23:47 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9603c4b3eb4ea691c527804d10dd5b2e42391cdb commit 9603c4b3eb4ea691c527804d10dd5b2e42391cdb Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2022-10-16 20:42:50 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-10-16 21:23:11 +0000 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 --- sysutils/Makefile | 1 + sysutils/rdfind/Makefile | 24 ++++++++++++++++++++++++ sysutils/rdfind/distinfo | 3 +++ sysutils/rdfind/pkg-descr | 3 +++ 4 files changed, 31 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 5fe4ff09813e..a08822208c30 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1145,6 +1145,7 @@ SUBDIR += rclean SUBDIR += rcm SUBDIR += rdate + SUBDIR += rdfind SUBDIR += rdup SUBDIR += read-edid SUBDIR += recoverdm diff --git a/sysutils/rdfind/Makefile b/sysutils/rdfind/Makefile new file mode 100644 index 000000000000..dda641e7ca84 --- /dev/null +++ b/sysutils/rdfind/Makefile @@ -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> diff --git a/sysutils/rdfind/distinfo b/sysutils/rdfind/distinfo new file mode 100644 index 000000000000..fdf6e196cd2a --- /dev/null +++ b/sysutils/rdfind/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665952280 +SHA256 (rdfind-1.5.0.tar.gz) = 4150ed1256f7b12b928c65113c485761552b9496c433778aac3f9afc3e767080 +SIZE (rdfind-1.5.0.tar.gz) = 131167 diff --git a/sysutils/rdfind/pkg-descr b/sysutils/rdfind/pkg-descr new file mode 100644 index 000000000000..db00f21dd3da --- /dev/null +++ b/sysutils/rdfind/pkg-descr @@ -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.