Hello,

With this seems to pass the build just fine.

(I also notified upstream)

OK? Comments?

Cheers.-


-- 

                - gonzalo
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/ziproxy/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile    12 Jul 2019 20:48:53 -0000      1.15
+++ Makefile    2 Feb 2021 09:46:50 -0000
@@ -4,7 +4,7 @@ COMMENT =               compressing non-caching HTTP 
 
 DISTNAME =             ziproxy-3.3.1
 EXTRACT_SUFX =         .tar.bz2
-REVISION =             0
+REVISION =             1
 
 CATEGORIES =           net www
 
Index: patches/patch-src_cfgfile_c
===================================================================
RCS file: patches/patch-src_cfgfile_c
diff -N patches/patch-src_cfgfile_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_cfgfile_c 2 Feb 2021 09:46:50 -0000
@@ -0,0 +1,29 @@
+$OpenBSD$
+
+Index: src/cfgfile.c
+--- src/cfgfile.c.orig
++++ src/cfgfile.c
+@@ -111,11 +111,11 @@ in_addr_t *BindOutgoingExAddr;
+ in_addr_t *BindOutgoing;
+ int BindOutgoing_entries;
+ 
+-int TOSFlagsDefault;
+-int TOSFlagsDiff;
++extern int TOSFlagsDefault;
++extern int TOSFlagsDiff;
+ char *TOSMarkAsDiffURL;
+ char *TOSMarkAsDiffCT;
+-int TOSMarkAsDiffSizeBT;
++extern int TOSMarkAsDiffSizeBT;
+ 
+ int MaxActiveUserConnections;
+ 
+@@ -159,7 +159,7 @@ int check_int_ranges (const char *conf_key, const int 
+ int check_int_minimum (const char *conf_key, const int inval, const int vlow);
+ int check_directory (const char *conf_key, const char *dirname);
+ 
+-const t_ut_urltable *tos_markasdiff_url;
++const t_ut_urltable *Tos_markasdiff_url;
+ const t_ct_cttable *tos_maskasdiff_ct;
+ 
+ const t_ut_urltable *urltable_noprocessing;
Index: patches/patch-src_tosmarking_c
===================================================================
RCS file: patches/patch-src_tosmarking_c
diff -N patches/patch-src_tosmarking_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_tosmarking_c      2 Feb 2021 09:46:50 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/tosmarking.c
+--- src/tosmarking.c.orig
++++ src/tosmarking.c
+@@ -39,7 +39,7 @@ SOCKET sock_child_out;
+ int TOSFlagsDefault;
+ int TOSFlagsDiff;
+ const t_ut_urltable *tos_markasdiff_url;
+-const t_ct_cttable *tos_maskasdiff_ct;
++extern const t_ct_cttable *tos_maskasdiff_ct;
+ ZP_DATASIZE_TYPE TOSMarkAsDiffSizeBT;
+ 
+ int current_tos;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/ziproxy/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   27 Sep 2012 13:17:12 -0000      1.3
+++ pkg/PLIST   2 Feb 2021 09:46:50 -0000
@@ -2,6 +2,13 @@
 @newgroup _ziproxy:641
 @newuser _ziproxy:641:641:daemon:Ziproxy Daemon:/var/empty:/sbin/nologin
 @extraunexec rm -rf /var/log/ziproxy/*
+@mode 770
+@owner _ziproxy
+@group _ziproxy
+@rcscript ${RCDIR}/ziproxy
+@mode
+@owner
+@group
 @bin bin/ziproxy
 @bin bin/ziproxylogtool
 @man man/man1/ziproxy.1
@@ -30,4 +37,3 @@ share/examples/ziproxy/ziproxy_genhtml_s
 @owner _ziproxy
 @group _ziproxy
 @sample /var/log/ziproxy/
-@rcscript ${RCDIR}/ziproxy

Reply via email to