diff options
author | madpilot <madpilot@FreeBSD.org> | 2012-11-07 16:25:42 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2012-11-07 16:25:42 +0800 |
commit | f9c5cf7ce953f0d1a11cdf179bdc12de0e70b855 (patch) | |
tree | 27a97f469b06308da076f132964574ca8f68e321 /sysutils/cpdup | |
parent | c97d58123643250c7c9b8be038874fc5602011cc (diff) | |
download | freebsd-ports-gnome-f9c5cf7ce953f0d1a11cdf179bdc12de0e70b855.tar.gz freebsd-ports-gnome-f9c5cf7ce953f0d1a11cdf179bdc12de0e70b855.tar.zst freebsd-ports-gnome-f9c5cf7ce953f0d1a11cdf179bdc12de0e70b855.zip |
- Don't pass -T option to ssh process, this allows use of the "null"
cipher if requested [1]
- Fix build with clang
- Trim Makefile headers
Submitted by: Oliver Fromme <olli@grabthar.secnetix.de> [1]
Approved by: Gianmarco Giovannelli <gmarco@gufi.org> (maintainer)
Feature safe: yes
Diffstat (limited to 'sysutils/cpdup')
-rw-r--r-- | sysutils/cpdup/Makefile | 8 | ||||
-rw-r--r-- | sysutils/cpdup/files/patch-Makefile | 10 | ||||
-rw-r--r-- | sysutils/cpdup/files/patch-hclink.c | 13 |
3 files changed, 23 insertions, 8 deletions
diff --git a/sysutils/cpdup/Makefile b/sysutils/cpdup/Makefile index 5333f951fbaf..4756b2397846 100644 --- a/sysutils/cpdup/Makefile +++ b/sysutils/cpdup/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: cpdup -# Date created: 28 Oct 1999 -# Whom: dillon -# +# Created by: Matthew Dillon <dillon@backplane.com> # $FreeBSD$ -# PORTNAME= cpdup PORTVERSION= 1.17 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://apollo.backplane.com/FreeSrc/ \ http://utenti.gufi.org/~gmarco/files/distfiles/ diff --git a/sysutils/cpdup/files/patch-Makefile b/sysutils/cpdup/files/patch-Makefile new file mode 100644 index 000000000000..be1fe39f2bc2 --- /dev/null +++ b/sysutils/cpdup/files/patch-Makefile @@ -0,0 +1,10 @@ +--- 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 + diff --git a/sysutils/cpdup/files/patch-hclink.c b/sysutils/cpdup/files/patch-hclink.c index c69fc19c5e56..aab08e6588d2 100644 --- a/sysutils/cpdup/files/patch-hclink.c +++ b/sysutils/cpdup/files/patch-hclink.c @@ -1,5 +1,14 @@ ---- ./hclink.c.orig 2010-09-25 18:01:27.989863475 -0400 -+++ ./hclink.c 2010-09-25 18:01:46.138176079 -0400 +--- 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) { |