aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cpdup
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cpdup')
-rw-r--r--sysutils/cpdup/Makefile14
-rw-r--r--sysutils/cpdup/distinfo6
-rw-r--r--sysutils/cpdup/files/patch-cpdup.c14
-rw-r--r--sysutils/cpdup/pkg-descr7
4 files changed, 25 insertions, 16 deletions
diff --git a/sysutils/cpdup/Makefile b/sysutils/cpdup/Makefile
index 230caef4565c..f329b0f39651 100644
--- a/sysutils/cpdup/Makefile
+++ b/sysutils/cpdup/Makefile
@@ -6,17 +6,23 @@
#
PORTNAME= cpdup
-PORTVERSION= 1.05
-PORTREVISION= 1
+PORTVERSION= 1.07
CATEGORIES= sysutils
MASTER_SITES= http://apollo.backplane.com/FreeBSDPorts/ \
http://utenti.gufi.org/~gmarco/files/distfiles/
MAINTAINER= gmarco@gufi.org
-COMMENT= A comprehensive filesystem mirroring program
+COMMENT= A comprehensive filesystem mirroring and backup program
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+CFLAGS+= -D_ST_FLAGS_PRESENT_
MAN1= cpdup.1
-MANCOMPRESSED= yes
PLIST_FILES= bin/cpdup
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cpdup ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cpdup.1 ${PREFIX}/man/man1
+
.include <bsd.port.mk>
diff --git a/sysutils/cpdup/distinfo b/sysutils/cpdup/distinfo
index 1cebe156966d..b11afbbf8903 100644
--- a/sysutils/cpdup/distinfo
+++ b/sysutils/cpdup/distinfo
@@ -1,3 +1,3 @@
-MD5 (cpdup-1.05.tar.gz) = e4bf75137694c8f2eeed3eb39a0f7905
-SHA256 (cpdup-1.05.tar.gz) = 71ee8b34567de9da054fc32c2db278b500958c05bcb7fed39873ebcf92b92dc1
-SIZE (cpdup-1.05.tar.gz) = 10985
+MD5 (cpdup-1.07.tar.gz) = 4f96bd2eb66749c01a8ea863658cd798
+SHA256 (cpdup-1.07.tar.gz) = 42a643006f7ce98fe6203b185d52c1a8573d6f1231c7d6ba186d2880c91ea732
+SIZE (cpdup-1.07.tar.gz) = 30236
diff --git a/sysutils/cpdup/files/patch-cpdup.c b/sysutils/cpdup/files/patch-cpdup.c
index aa5c1fca53ea..d203cde0f8e2 100644
--- a/sysutils/cpdup/files/patch-cpdup.c
+++ b/sysutils/cpdup/files/patch-cpdup.c
@@ -1,17 +1,17 @@
$FreeBSD$
---- cpdup.c.orig
-+++ cpdup.c
-@@ -321,6 +321,11 @@
+--- cpdup.c.orig Thu Sep 21 06:09:28 2006
++++ cpdup.c Wed May 30 17:27:55 2007
+@@ -463,6 +463,11 @@
- if (lstat(spath, &st1) != 0)
+ if (hc_lstat(&SrcHost, spath, &st1) != 0)
return(0);
+#ifdef SF_SNAPSHOT
-+ /* skip snapshot files: we cannot handle files larger than file system */
++ /* skip snapshot files because they're sparse and _huge_ */
+ if (st1.st_flags & SF_SNAPSHOT)
-+ return(0);
++ return(0);
+#endif
st2.st_mode = 0; /* in case lstat fails */
st2.st_flags = 0; /* in case lstat fails */
- if (dpath && lstat(dpath, &st2) == 0)
+ if (dpath && hc_lstat(&DstHost, dpath, &st2) == 0)
diff --git a/sysutils/cpdup/pkg-descr b/sysutils/cpdup/pkg-descr
index 2141148b6e70..88f5521035bf 100644
--- a/sysutils/cpdup/pkg-descr
+++ b/sysutils/cpdup/pkg-descr
@@ -1,2 +1,5 @@
-This is the distribution of "cpdup", a powerful filesystem mirroring utility
-which also has file integrity testing features
+This is the distribution of "cpdup", a powerful filesystem mirroring
+and backup utility which also has file integrity testing features,
+supports incremental backups and remote mirroring via ssh.
+
+WWW: http://apollo.backplane.com/FreeBSDPorts/