Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 23:15:12 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566196 - head/sysutils/cpdup
Message-ID:  <202102202315.11KNFCUj058789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sat Feb 20 23:15:12 2021
New Revision: 566196
URL: https://svnweb.freebsd.org/changeset/ports/566196

Log:
  sysutils/cpdup: update to v1.22, reset maintainer
  
  + switch to DragonflyBSD upstream (Github)
  + patch CFLAGS in
  + patch pkg-config out for base OpenSSL
  + reset maintainer Gianmarco Giovannelli gmarco@gufi.org, repeat timeout,
    reporter claims address unreachable
  
  Extract from https://github.com/DragonFlyBSD/cpdup/tags
  
  cpdup v1.22
  * Add support for lchmod(), lutimes() and lchflags(), allowing symlinks
    to fully replicated.
  * Fix issues when the destination of a rename is chflag'ed in a way that
    causes the rename to fail.
  * Delete temporary files when a rename flies.
  * Remove the FSMID support (obsolete in DragonFly BSD since 2009).
  
  cpdup v1.21
  * Support microsecond timestamp precision; bumped protocol version from
    4 to 5.
  
  PR:		252854
  Reported by:	Henrik Rosenke <rosenke@dssgmbh.de>

Modified:
  head/sysutils/cpdup/Makefile
  head/sysutils/cpdup/distinfo

Modified: head/sysutils/cpdup/Makefile
==============================================================================
--- head/sysutils/cpdup/Makefile	Sat Feb 20 23:14:06 2021	(r566195)
+++ head/sysutils/cpdup/Makefile	Sat Feb 20 23:15:12 2021	(r566196)
@@ -2,23 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	cpdup
-PORTVERSION=	1.20
+PORTVERSION=	1.22
 CATEGORIES=	sysutils
-MASTER_SITES=	http://utenti.gufi.org/~gmarco/files/distfiles/ \
-		https://www.madpilot.net/~mad/
 
-MAINTAINER=	gmarco@gufi.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Comprehensive filesystem mirroring and backup program
 
 LICENSE=	BSD2CLAUSE # clarified by Matthew Dillon himself
 
-USES=		tar:xz
+USES=		gmake ssl tar:xz
+USE_GITHUB=	yes
+GH_TUPLE=	DragonFlyBSD:${PORTNAME}:v${PORTVERSION}
+MAKEFILE=	GNUmakefile
+MAKE_ARGS+=	LIBS="-L${OPENSSLLIB} -lcrypto"
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
-CFLAGS+=	-D_ST_FLAGS_PRESENT_
-
 PLIST_FILES=	bin/cpdup man/man1/cpdup.1.gz
+
+post-patch:
+	${REINPLACE_CMD} \
+		-e 's}^CFLAGS=\(.*\)}& ${CFLAGS}}' \
+		-e '/^CFLAGS+=.*pkg-config.*openssl/s}^CFLAGS.*}CFLAGS+=-I${OPENSSLINC}}' \
+		-e '/^LIBS+=.*pkg-config.*openssl/s}^LIBS.*}LIBS+=-L${OPENSSLLIB} -Wl,--as-needed -lssl -lcrypto}' \
+		${WRKSRC}/GNUmakefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cpdup ${STAGEDIR}${PREFIX}/bin

Modified: head/sysutils/cpdup/distinfo
==============================================================================
--- head/sysutils/cpdup/distinfo	Sat Feb 20 23:14:06 2021	(r566195)
+++ head/sysutils/cpdup/distinfo	Sat Feb 20 23:15:12 2021	(r566196)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1550687246
-SHA256 (cpdup-1.20.tar.xz) = 6c79c0785d29fe611156f1f572db866fa41b52518a181f22e1ed45eae6887169
-SIZE (cpdup-1.20.tar.xz) = 37568
+TIMESTAMP = 1613861241
+SHA256 (DragonFlyBSD-cpdup-1.22-v1.22_GH0.tar.gz) = 2dbfa16a080f8dce1be64a511e785b8491e59be8a0f3d1cef035d08147cc4793
+SIZE (DragonFlyBSD-cpdup-1.22-v1.22_GH0.tar.gz) = 44126



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102202315.11KNFCUj058789>