Update to edbrowser 3.7.7

(incidentially fixes build with "-fno-common")
- Fix a potential security hole, where one website can bleed into another.
Worth making a release just for this.
- Move or copy files from one directory to another.
- imap can fetch the earliest emails, rather than the most recent.
This commit is contained in:
kn 2021-02-01 01:46:00 +00:00
parent 0daeddc9f1
commit 9f81b578d5
4 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2021/01/16 17:26:16 abieber Exp $
# $OpenBSD: Makefile,v 1.5 2021/02/01 01:46:00 kn Exp $
COMMENT = command-line editor and web browser
DISTNAME = edbrowse-3.7.6
REVISION = 0
GH_ACCOUNT = CMB
GH_PROJECT = edbrowse
GH_TAGNAME = v3.7.7
CATEGORIES = www
@ -14,8 +15,6 @@ PERMIT_PACKAGE = Yes
WANTLIB += c curl duktape m pcre pthread readline tidy
MASTER_SITES = https://deftly.net/dist/
MODULES = devel/cmake
CONFIGURE_ARGS += -DCMAKE_INSTALL_PREFIX:Path=${PREFIX}

View File

@ -1,2 +1,2 @@
SHA256 (edbrowse-3.7.6.tar.gz) = pHp7o2OnLTELCO3umEf7z+C30b9Tx7XPTaEKriN7Crs=
SIZE (edbrowse-3.7.6.tar.gz) = 810783
SHA256 (edbrowse-3.7.7.tar.gz) = vAFd7MAi2Q9IKn8QKOmlaqhPF0BoefmqEGDh3Bde0A8=
SIZE (edbrowse-3.7.7.tar.gz) = 835830

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-CMakeLists_txt,v 1.2 2019/11/28 19:23:44 abieber Exp $
$OpenBSD: patch-CMakeLists_txt,v 1.3 2021/02/01 01:46:00 kn Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -244,16 +244,16 @@ if (UNIX)
@@ -250,16 +250,16 @@ if (UNIX)
FILE (GLOB UnixManFile "doc/man-edbrowse-debian.1")
set (UnixManDir "/usr/share/man/man1")
set (UnixDocDir "/usr/share/doc/edbrowse")
@ -24,7 +24,7 @@ Index: CMakeLists.txt
# gzip it in place
execute_process(COMMAND ${GZIP_EXE} -f "edbrowse.1"
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
@@ -263,6 +263,7 @@ if (UNIX)
@@ -269,6 +269,7 @@ if (UNIX)
install(FILES ${CMAKE_BINARY_DIR}/edbrowse.1.gz DESTINATION ${UnixManDir})
else ()
message(WARNING "Unable to locate 'gzip'! No man page...")

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_html_c,v 1.1 2019/11/28 19:23:44 abieber Exp $
$OpenBSD: patch-src_html_c,v 1.2 2021/02/01 01:46:00 kn Exp $
Index: src/html.c
--- src/html.c.orig
@ -7,8 +7,8 @@ Index: src/html.c
// OSX has no pthread_tryjoin_np, so we can't do our
// asynchronous timers under OSX, which is really no great loss.
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__OpenBSD__)
-#if defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define pthread_tryjoin_np pthread_join
#endif