Add a patch to use ftp(1) instead of wget and takover Maintainer.

ok sthen@
This commit is contained in:
zinke 2012-07-09 15:01:26 +00:00
parent 27a9d20dc6
commit 89ff6f8556
2 changed files with 16 additions and 2 deletions

View File

@ -1,12 +1,14 @@
# $OpenBSD: Makefile,v 1.12 2011/10/13 06:55:58 jasper Exp $
# $OpenBSD: Makefile,v 1.13 2012/07/09 15:01:26 zinke Exp $
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 <zinke@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-config_def_h,v 1.1 2012/07/09 15:01:26 zinke Exp $
--- 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[] = {