- Update to 1.18

- Remove unneeded patches

Submitted by:	Gianmarco Giovannelli <gmarco at gufi.org>
		(maintainer, via email)
This commit is contained in:
Guido Falsi 2016-02-18 14:37:24 +00:00
parent ba8cb44402
commit d5fe20d168
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409109
4 changed files with 3 additions and 34 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= cpdup
PORTVERSION= 1.17
PORTREVISION= 2
PORTVERSION= 1.18
CATEGORIES= sysutils
MASTER_SITES= http://apollo.backplane.com/FreeSrc/ \
http://utenti.gufi.org/~gmarco/files/distfiles/

View File

@ -1,2 +1,2 @@
SHA256 (cpdup-1.17.tgz) = 22ed182c130a6fb8d179afbda50408aba6985bbd96ceeb01c05858b4562d93e7
SIZE (cpdup-1.17.tgz) = 42236
SHA256 (cpdup-1.18.tgz) = 3893de9a8ebe5543b9b11c4b575075e59509ddb0f26e6229b2554ee625d25687
SIZE (cpdup-1.18.tgz) = 42841

View File

@ -1,10 +0,0 @@
--- Makefile.orig 2010-07-05 20:02:07.000000000 +0200
+++ Makefile 2012-11-05 13:35:55.997489741 +0100
@@ -6,6 +6,7 @@
.if defined(.FreeBSD)
CFLAGS += -D_ST_FLAGS_PRESENT_=1
+NO_WERROR = true
WARNS?= 6
.endif

View File

@ -1,20 +0,0 @@
--- hclink.c.orig 2010-07-19 21:01:56.000000000 +0200
+++ hclink.c 2012-11-05 13:16:09.731500043 +0100
@@ -49,7 +49,7 @@
av[n++] = "-C";
for (m = 0; m < ssh_argc; m++)
av[n++] = ssh_argv[m];
- av[n++] = "-T";
+ av[n++] = "--";
av[n++] = hc->host;
av[n++] = "cpdup";
av[n++] = (readonly ? "-RS" : "-S");
@@ -388,7 +388,7 @@
hcc_check_space(hctransaction_t trans, struct HCHead *head, int n, int size)
{
size = HCC_ALIGN(size) + n * sizeof(struct HCLeaf);
- if (size > HC_BUFSIZE - trans->windex) {
+ if (size >= HC_BUFSIZE - trans->windex) {
struct HCHead *whead = (void *)trans->wbuf;
whead->cmd |= HCF_CONTINUE;