From nobody Wed Feb 26 04:06:03 2025 X-Original-To: dev-commits-ports-all@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 4Z2grH1PFfz5pcXF; Wed, 26 Feb 2025 04:06:07 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z2grG4tzjz3sFn; Wed, 26 Feb 2025 04:06:06 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id mzw6tTy2F9JM2n8gPtVzhB; Wed, 26 Feb 2025 04:06:05 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id n8gOtEctY4k0on8gPtEOYO; Wed, 26 Feb 2025 04:06:05 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=fLKa3oae c=1 sm=1 tr=0 ts=67be932d a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=T2h4t0Lz3GQA:10 a=6I5d2MoRAAAA:8 a=NEAV23lmAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=mmd9MoDiIWYjCYDJVG4A:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id DFD0345D; Tue, 25 Feb 2025 20:06:03 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id D9972C6; Tue, 25 Feb 2025 20:06:03 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Guido Falsi cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 0d316feccaf8 - main - sysutils/cpdup-FreeBSD: Add FreeBSD fork of cpdup In-reply-to: <202502252200.51PM0JNl002582@gitrepo.freebsd.org> References: <202502252200.51PM0JNl002582@gitrepo.freebsd.org> Comments: In-reply-to Guido Falsi message dated "Tue, 25 Feb 2025 22:00:19 +0000." List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Feb 2025 20:06:03 -0800 Message-Id: <20250226040603.D9972C6@slippy.cwsent.com> X-CMAE-Envelope: MS4xfMUHvaHRIIkxehDx8XG85us0PfuXDTj8NMhKahQxAlwn9lPBA++pOZWdOHHL6U/yXjQyIpcBcJjDaiyFcXgYi7ZIZPsp3o77GGgYmbKoXqIgUrK4L3/u cTQxjGH9YgaftMumc8SuV/757B6F4Q+xZORklRQwsXVJHC4OR2ur0byPgxjFt7SngrfyAjTCQUlgQ8AkZbcW7ApsPUmVpLdCDpUDGsovEkF6sCekPZpQQNUG FDrBiXct4cXpsPZqVeffb8Hc6haDypZiB8RyAAsKh5VhyGyI8U4dId1CFOxMTjAc4x7Byr023KfJNDpMXbCkPFo7bfvxPpQYgB29GThmr3SRvJHDP9YjGeyN +sJrdifQ X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4Z2grG4tzjz3sFn X-Spamd-Bar: ---- In message <202502252200.51PM0JNl002582@gitrepo.freebsd.org>, Guido Falsi write s: > The branch main has been updated by madpilot: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=0d316feccaf89c1bd804d600127442 > 6a7135c93a > > commit 0d316feccaf89c1bd804d6001274426a7135c93a > Author: Guido Falsi > AuthorDate: 2025-02-25 21:58:58 +0000 > Commit: Guido Falsi > CommitDate: 2025-02-25 21:58:58 +0000 > > sysutils/cpdup-FreeBSD: Add FreeBSD fork of cpdup > > Add a fork of cpdup, including patches to support copy_file_range(2) > and allowing to choose checksum algorithm. > > Thanks to mm for providing the required patches to the fork. > > Assign port to cpdup maintainer > > Approved by: Gianmarco Giovannelli (maintainer > ) > --- > sysutils/Makefile | 1 + > sysutils/cpdup-FreeBSD/Makefile | 22 ++++++++++++++++++++++ > sysutils/cpdup-FreeBSD/distinfo | 3 +++ > sysutils/cpdup-FreeBSD/files/patch-Makefile.bsd | 11 +++++++++++ > sysutils/cpdup-FreeBSD/pkg-descr | 9 +++++++++ > sysutils/cpdup/Makefile | 2 ++ > 6 files changed, 48 insertions(+) > > diff --git a/sysutils/Makefile b/sysutils/Makefile > index e9cf3cf53bb3..ea8c5a687551 100644 > --- a/sysutils/Makefile > +++ b/sysutils/Makefile > @@ -236,6 +236,7 @@ > SUBDIR += coreos-ct > SUBDIR += coreutils > SUBDIR += cpdup > + SUBDIR += cpdup-FreeBSD > SUBDIR += cpu-microcode > SUBDIR += cpu-microcode-amd > SUBDIR += cpu-microcode-intel > diff --git a/sysutils/cpdup-FreeBSD/Makefile b/sysutils/cpdup-FreeBSD/Makefil > e > new file mode 100644 > index 000000000000..e98c449cd03a > --- /dev/null > +++ b/sysutils/cpdup-FreeBSD/Makefile > @@ -0,0 +1,22 @@ > +PORTNAME= cpdup > +DISTVERSION= 1.0.0 > +CATEGORIES= sysutils > +PKGNAMESUFFIX= -FreeBSD > + > +MAINTAINER= gmarco@giovannelli.it > +COMMENT= Comprehensive filesystem mirroring and backup program > +WWW= https://github.com/freebsd/cpdup > + > +LICENSE= BSD3CLAUSE > + > +USES= ssl tar:xz > +USE_GITHUB= yes > +GH_ACCOUNT= freebsd > +MAKEFILE= Makefile.bsd > + > +CONFLICTS_INSTALL= cpdup > + > +PLIST_FILES= bin/cpdup \ > + share/man/man1/cpdup.1.gz > + > +.include > diff --git a/sysutils/cpdup-FreeBSD/distinfo b/sysutils/cpdup-FreeBSD/distinf > o > new file mode 100644 > index 000000000000..427084c3b7ec > --- /dev/null > +++ b/sysutils/cpdup-FreeBSD/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP = 1739815106 > +SHA256 (freebsd-cpdup-1.0.0_GH0.tar.gz) = 216d7416f23df392a4218120ee8b4d66dd > ab04f7c3677b8bfd7c6fea8383aa26 > +SIZE (freebsd-cpdup-1.0.0_GH0.tar.gz) = 45939 > diff --git a/sysutils/cpdup-FreeBSD/files/patch-Makefile.bsd b/sysutils/cpdup > -FreeBSD/files/patch-Makefile.bsd > new file mode 100644 > index 000000000000..89789d24a958 > --- /dev/null > +++ b/sysutils/cpdup-FreeBSD/files/patch-Makefile.bsd > @@ -0,0 +1,11 @@ > +--- Makefile.bsd.orig 2023-11-30 11:20:48 UTC > ++++ Makefile.bsd > +@@ -11,7 +11,7 @@ BINDIR?= ${PREFIX}/bin > + CFLAGS+= -D_ST_FLAGS_PRESENT_ > + PREFIX?= /usr/local > + BINDIR?= ${PREFIX}/bin > +-MANDIR?= ${PREFIX}/man/man > ++MANDIR?= ${PREFIX}/share/man/man > + > + .include > + > diff --git a/sysutils/cpdup-FreeBSD/pkg-descr b/sysutils/cpdup-FreeBSD/pkg-de > scr > new file mode 100644 > index 000000000000..f432acb29e51 > --- /dev/null > +++ b/sysutils/cpdup-FreeBSD/pkg-descr > @@ -0,0 +1,9 @@ > +cpdup-FreeBSD is a FreeBSD fork of cpdup, a powerful filesystem mirroring > +and backup utility which also has file integrity testing features, supports > +incremental backups, and remote mirroring via ssh. > + > +This fork supports copy_file_range(2) and allows choosing checksum > +algorithm. > + > +Note: This port does not copy (or mirror) any FreeBSD supported ACL > +types and Extended Attributes nor MAC labels. > diff --git a/sysutils/cpdup/Makefile b/sysutils/cpdup/Makefile > index e25e3c69aef2..51e2ad7e8a15 100644 > --- a/sysutils/cpdup/Makefile > +++ b/sysutils/cpdup/Makefile > @@ -15,6 +15,8 @@ GH_TUPLE= DragonFlyBSD:${PORTNAME}:v${PORTVERSION} > MAKEFILE= GNUmakefile > MAKE_ARGS+= LIBS="-L${OPENSSLLIB} -lcrypto" > > +CONFLICTS_INSTALL= cpdup-FreeBSD > + > PLIST_FILES= bin/cpdup share/man/man1/cpdup.1.gz > > post-patch: > This fails to build under poudriere. ===> Staging for cpdup-FreeBSD-1.0.0 ===> Generating temporary packing list install -s -o root -g wheel -m 555 cpdup /wrkdirs/usr/ports/sysutils/cpdu p-FreeBSD/work/stage/usr/local/bin/cpdup install: /wrkdirs/usr/ports/sysutils/cpdup-FreeBSD/work/stage/usr/local/bin/ cpdup: chown/chgrp: Operation not permitted *** Error code 71 Stop. make: stopped making "install" in /wrkdirs/usr/ports/sysutils/cpdup-FreeBSD/ work/cpdup-1.0.0 *** Error code 1 Stop. make: stopped making "stage" in /usr/ports/sysutils/cpdup-FreeBSD =>> Cleaning up wrkdir ===> Cleaning for cpdup-FreeBSD-1.0.0 You need to add USES=uidfix to your Makefile. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0