On Thu, Apr 19, 2012 at 11:26:54AM +0100, Stuart Henderson wrote: > On 2012/04/19 13:20, Onat I. wrote: > > RUN_DEPENDS can be fixed or it can be patched to use ftp(1) instead. > > > > Yes, good idea.
Below a diff for the second option. OK? Index: Makefile =================================================================== RCS file: /cvs/ports/www/surf/Makefile,v retrieving revision 1.12 diff -u -p -u -r1.12 Makefile --- Makefile 13 Oct 2011 06:55:58 -0000 1.12 +++ Makefile 7 Jul 2012 16:08:00 -0000 @@ -3,9 +3,11 @@ COMMENT = simple webbrowser based on webkit/gtk+ DISTNAME = surf-0.4.1 -REVISION= 3 +REVISION= 4 CATEGORIES = www HOMEPAGE = http://surf.suckless.org/ + +MAINTAINER= Joerg Zinke <m...@umaxx.net> # MIT PERMIT_PACKAGE_CDROM = Yes Index: patches/patch-config_def_h =================================================================== RCS file: patches/patch-config_def_h diff -N patches/patch-config_def_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-config_def_h 7 Jul 2012 16:08:00 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- config.def.h.orig Sat Jul 7 17:24:23 2012 ++++ config.def.h Sat Jul 7 17:24:50 2012 +@@ -14,7 +14,7 @@ static time_t sessiontime = 3600; + p, q, winid, NULL } } + #define DOWNLOAD(d) { \ + .v = (char *[]){ "/bin/sh", "-c", \ +- "xterm -e \"wget --load-cookies ~/.surf/cookies.txt '$0';\"", \ ++ "xterm -e \"ftp -c ~/.surf/cookies.txt '$0';\"", \ + d, NULL } } + #define MODKEY GDK_CONTROL_MASK + static Key keys[] = {