update to tinyproxy-1.11.0

This commit is contained in:
sthen 2021-07-15 16:51:22 +00:00
parent 0c40561380
commit 7464a9cae8
4 changed files with 22 additions and 21 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.33 2020/06/12 12:35:51 sthen Exp $
# $OpenBSD: Makefile,v 1.34 2021/07/15 16:51:22 sthen Exp $
COMMENT = lightweight HTTP/SSL proxy
V = 1.10.0
V = 1.11.0
DISTNAME = tinyproxy-$V
CATEGORIES = www net
@ -11,13 +11,12 @@ HOMEPAGE = https://tinyproxy.github.io/
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB = c
WANTLIB += c pthread
BUILD_DEPENDS = textproc/asciidoc>=8.6.8
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.69
CONFIGURE_STYLE = gnu
MASTER_SITES = https://github.com/tinyproxy/tinyproxy/releases/download/$V/

View File

@ -1,2 +1,2 @@
SHA256 (tinyproxy-1.10.0.tar.gz) = YCCVXmoO8O+JitW7F6RIxH+eTAA8RktK58TboGMnIFU=
SIZE (tinyproxy-1.10.0.tar.gz) = 264389
SHA256 (tinyproxy-1.11.0.tar.gz) = IPdHaeQBROTSUdKXfMTEDS1CiivsjBuHCc0HMVRUuu8=
SIZE (tinyproxy-1.11.0.tar.gz) = 269412

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-configure_ac,v 1.1 2020/06/12 12:35:51 sthen Exp $
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -161,6 +161,8 @@ if test -n "${MAINTAINER_MODE_FALSE}"; then
DESIRED_FLAGS="-Werror $DESIRED_FLAGS"
fi
+DESIRED_FLAGS="-Wall -Wextra"
+
for flag in $DESIRED_FLAGS; do
AS_COMPILER_FLAG([$flag], [CFLAGS="$CFLAGS $flag"])
done

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_conf_c,v 1.1 2021/07/15 16:51:22 sthen Exp $
for LINE_MAX
Index: src/conf.c
--- src/conf.c.orig
+++ src/conf.c
@@ -23,6 +23,8 @@
* add new directives to. Who knows if I'm right though.
*/
+#include <limits.h>
+
#include "common.h"
#include <regex.h>
#include "conf.h"