mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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 <gmarco@giovannelli.it> (maintainer)
This commit is contained in:
parent
2f3c3b1d9d
commit
0d316fecca
6 changed files with 48 additions and 0 deletions
|
@ -236,6 +236,7 @@
|
||||||
SUBDIR += coreos-ct
|
SUBDIR += coreos-ct
|
||||||
SUBDIR += coreutils
|
SUBDIR += coreutils
|
||||||
SUBDIR += cpdup
|
SUBDIR += cpdup
|
||||||
|
SUBDIR += cpdup-FreeBSD
|
||||||
SUBDIR += cpu-microcode
|
SUBDIR += cpu-microcode
|
||||||
SUBDIR += cpu-microcode-amd
|
SUBDIR += cpu-microcode-amd
|
||||||
SUBDIR += cpu-microcode-intel
|
SUBDIR += cpu-microcode-intel
|
||||||
|
|
22
sysutils/cpdup-FreeBSD/Makefile
Normal file
22
sysutils/cpdup-FreeBSD/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
3
sysutils/cpdup-FreeBSD/distinfo
Normal file
3
sysutils/cpdup-FreeBSD/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1739815106
|
||||||
|
SHA256 (freebsd-cpdup-1.0.0_GH0.tar.gz) = 216d7416f23df392a4218120ee8b4d66ddab04f7c3677b8bfd7c6fea8383aa26
|
||||||
|
SIZE (freebsd-cpdup-1.0.0_GH0.tar.gz) = 45939
|
11
sysutils/cpdup-FreeBSD/files/patch-Makefile.bsd
Normal file
11
sysutils/cpdup-FreeBSD/files/patch-Makefile.bsd
Normal file
|
@ -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 <bsd.prog.mk>
|
||||||
|
|
9
sysutils/cpdup-FreeBSD/pkg-descr
Normal file
9
sysutils/cpdup-FreeBSD/pkg-descr
Normal file
|
@ -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.
|
|
@ -15,6 +15,8 @@ GH_TUPLE= DragonFlyBSD:${PORTNAME}:v${PORTVERSION}
|
||||||
MAKEFILE= GNUmakefile
|
MAKEFILE= GNUmakefile
|
||||||
MAKE_ARGS+= LIBS="-L${OPENSSLLIB} -lcrypto"
|
MAKE_ARGS+= LIBS="-L${OPENSSLLIB} -lcrypto"
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= cpdup-FreeBSD
|
||||||
|
|
||||||
PLIST_FILES= bin/cpdup share/man/man1/cpdup.1.gz
|
PLIST_FILES= bin/cpdup share/man/man1/cpdup.1.gz
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue