forked from Lainports/opnsense-ports
sysutils/cpdup: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
031f459465
commit
ed4ac959ea
4 changed files with 3 additions and 34 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
@ -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;
|
||||
Loading…
Add table
Reference in a new issue