In cdiff, use ftp(1) by default instead of tools from the ports tree.
ok edd@ (maintainer)
This commit is contained in:
parent
94a3a8a2a0
commit
36e23228e9
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2014/08/18 18:25:22 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2014/08/18 19:28:50 jca Exp $
|
||||
|
||||
COMMENT = colorized diff tool
|
||||
DISTNAME = colordiff-1.0.13
|
||||
REVISION = 0
|
||||
CATEGORIES = devel
|
||||
HOMEPAGE = http://www.colordiff.org/
|
||||
MAINTAINER = Edd Barrett <edd@openbsd.org>
|
||||
|
17
devel/colordiff/patches/patch-cdiff_sh
Normal file
17
devel/colordiff/patches/patch-cdiff_sh
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-cdiff_sh,v 1.1 2014/08/18 19:28:50 jca Exp $
|
||||
|
||||
Use ftp(1) instead of tools from the ports tree.
|
||||
|
||||
--- cdiff.sh.orig Wed Oct 17 22:14:35 2012
|
||||
+++ cdiff.sh Mon Aug 18 20:53:33 2014
|
||||
@@ -30,7 +30,9 @@
|
||||
case `echo "$file" | perl -ne 'print lc $_'` in
|
||||
http:*|https:*|ftp:*)
|
||||
if [ -z "$CDIFF_FETCH" ]; then
|
||||
- if which curl >/dev/null 2>&1; then
|
||||
+ if which ftp >/dev/null 2>&1; then
|
||||
+ CDIFF_FETCH="ftp -V -o -"
|
||||
+ elif which curl >/dev/null 2>&1; then
|
||||
CDIFF_FETCH="curl -s"
|
||||
elif which wget >/dev/null 2>&1; then
|
||||
CDIFF_FETCH="wget -e timestamping=off -qO -"
|
Loading…
Reference in New Issue
Block a user