From nobody Sun Oct 16 21:23:47 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MrCmM4LqWz4g6rx; Sun, 16 Oct 2022 21:23:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MrCmM3fsKz3T3J; Sun, 16 Oct 2022 21:23:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665955427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FKAfFUXZjBKrBAmFzEDIHB7hA2EK7agXCZjH7Hl7fpU=; b=UrOQpIRogIXIrrhJkoY6CbQpXJ+LKcOuvyq1UF+lFkcIwp75cp5SFiiU5jgTXl8607ZOX0 ZzDn/NruN1C6YqpnzxHU4a+IZi96Fy3+Q8dATqoFps4VpI/Pok74RlSUPGKbfKUDKHT7gX uVu1qvXkx9U1Q74HaU4PU+uML1wvrisuoB4mTDNmfL1dZLlRk7pzoHFDbswJ5MPXafz7FH usbPK73x1CN2zUQwGpURr/grqLwEqDEQzSbVlgmUdY3Q5h5dpMUAft68x77yX+34BV7MOD XgnhItwuAy+5TJ8sAmsslygIV/sgW3ImGncuEAhhSy2VUlt2QvM/RB1ZOIJQeA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MrCmM2lYJzbMg; Sun, 16 Oct 2022 21:23:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29GLNlkG045692; Sun, 16 Oct 2022 21:23:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29GLNlr4045691; Sun, 16 Oct 2022 21:23:47 GMT (envelope-from git) Date: Sun, 16 Oct 2022 21:23:47 GMT Message-Id: <202210162123.29GLNlr4045691@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 9603c4b3eb4e - main - sysutils/rdfind: New port: Utility to find duplicate files based on content List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9603c4b3eb4ea691c527804d10dd5b2e42391cdb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665955427; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FKAfFUXZjBKrBAmFzEDIHB7hA2EK7agXCZjH7Hl7fpU=; b=Ds1yWXOxWKrqrwBEvMI1QNPQAHA+5sRLArHVOqAr0Mw6MQzJni/7ZbTAAdb+Y8xEwCc55b 7+qgRS/iwE44SlIC8XKO70ohTOZ5y5Od8xIq6/mQP62wqOV86jCns+IYTkJNpupZbBYIxv B0/sh7npIchG+jWnDv0WsiFm2fAKf5Ow5idiTH7b0CiZpJUBC/3knRj5vrUeVHSJsgWwyd A4bUGbl5lTAtsQt+zpdVhscAM1o9oWCW2IQMd25h5WILk4LzA1jaLUYZP8wnBimmlF41ox yXm5Zc4+kwdAef0vFG578G3DTK8v/VTCz+TVSbUmGI70GoXX31Y+XJpcthpOsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665955427; a=rsa-sha256; cv=none; b=TCG+TQ7kqXzeHE9abKhz/LlIXe0CvjdrPhp+JCkSYbYEMp0y0aQcAsoAtWLp3I+QXwVpxl VhKT0idBC6LnzWQFkzzUlSkD6gX5aTp9Qg0avpzGMaxYdW1rYUGQlgTGcJkpOMB3LsrJRy BlKClTZq/ZVSnG2UC3a/VeW3bXt1iBQNXzdTiZKoApJOjCbyFpeJjv+DTbyDstJOKNjVIc 6foXi72lmKqFcNgJdoJjqDLI6h4JesQR1DaD0lCJXrYcDUa0832lm7UY9TO4XVuhZ5oHm9 E9WsjmoDJjkSXyjcVWcA1CG/IUMEBmv9U9dvBBGC2K6HMqIOaB8zrq+RPHnLzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 AuthorDate: 2022-10-16 20:42:50 +0000 Commit: Daniel Engberg 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 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.