openbsd-ports/www/surf/patches/patch-config_def_h
2012-10-30 18:27:55 +00:00

26 lines
1.1 KiB
Plaintext

$OpenBSD: patch-config_def_h,v 1.2 2012/10/30 18:27:55 zinke Exp $
--- config.def.h.orig Thu Jul 12 12:42:19 2012
+++ config.def.h Tue Oct 30 18:28:18 2012
@@ -7,7 +7,7 @@ static char *stylefile = ".surf/style.css";
static char *scriptfile = ".surf/script.js";
static char *cookiefile = ".surf/cookies.txt";
static time_t sessiontime = 3600;
-static char *cafile = "/etc/ssl/certs/ca-certificates.crt";
+static char *cafile = "/etc/ssl/cert.pem";
static char *strictssl = FALSE; /* Refuse untrusted SSL connections */
#define HIDE_BACKGROUND FALSE
#define SPATIAL_BROWSING TRUE
@@ -18,9 +18,9 @@ static char *strictssl = FALSE; /* Refuse untrust
p, q, winid, NULL } }
#define DOWNLOAD(d) { \
.v = (char *[]){ "/bin/sh", "-c", \
- "xterm -e \"wget '$0' \
---load-cookies ~/.surf/cookies.txt \
---user-agent '$1' ; sleep 5\"", d, useragent, NULL } }
+ "xterm -e \"ftp '$0' \
+-c ~/.surf/cookies.txt \
+; sleep 5\"", d, NULL } }
#define MODKEY GDK_CONTROL_MASK
static Key keys[] = {
/* modifier keyval function arg Focus */