Date: Tue, 22 Sep 2020 20:36:45 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549632 - in head/net/sniproxy: . files Message-ID: <202009222036.08MKajr9084536@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Tue Sep 22 20:36:45 2020 New Revision: 549632 URL: https://svnweb.freebsd.org/changeset/ports/549632 Log: Fix build with -fno-common and remove the now osbolete -fcommon option. While here fix 2 white-space issues reported by portlint. Approved by: krion (maintainer) Added: head/net/sniproxy/files/patch-src_http.h (contents, props changed) head/net/sniproxy/files/patch-src_tls.h (contents, props changed) Modified: head/net/sniproxy/Makefile head/net/sniproxy/pkg-descr Modified: head/net/sniproxy/Makefile ============================================================================== --- head/net/sniproxy/Makefile Tue Sep 22 20:13:46 2020 (r549631) +++ head/net/sniproxy/Makefile Tue Sep 22 20:36:45 2020 (r549632) @@ -2,7 +2,7 @@ PORTNAME= sniproxy DISTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= krion@FreeBSD.org @@ -12,7 +12,7 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libev.so:devel/libev \ - libpcre.so:devel/pcre \ + libpcre.so:devel/pcre \ libudns.so:dns/udns USES= autoreconf:build gettext pkgconfig @@ -24,7 +24,6 @@ USE_GITHUB= yes GH_ACCOUNT= dlundquist GNU_CONFIGURE= yes -CFLAGS+= -fcommon USE_LDCONFIG= yes PLIST_FILES= man/man5/sniproxy.conf.5.gz \ Added: head/net/sniproxy/files/patch-src_http.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sniproxy/files/patch-src_http.h Tue Sep 22 20:36:45 2020 (r549632) @@ -0,0 +1,10 @@ +--- src/http.h.orig 2018-12-06 04:14:58 UTC ++++ src/http.h +@@ -29,6 +29,6 @@ + #include <stdio.h> + #include "protocol.h" + +-const struct Protocol *const http_protocol; ++extern const struct Protocol *const http_protocol; + + #endif Added: head/net/sniproxy/files/patch-src_tls.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sniproxy/files/patch-src_tls.h Tue Sep 22 20:36:45 2020 (r549632) @@ -0,0 +1,10 @@ +--- src/tls.h.orig 2018-12-06 04:14:58 UTC ++++ src/tls.h +@@ -28,6 +28,6 @@ + + #include "protocol.h" + +-const struct Protocol *const tls_protocol; ++extern const struct Protocol *const tls_protocol; + + #endif Modified: head/net/sniproxy/pkg-descr ============================================================================== --- head/net/sniproxy/pkg-descr Tue Sep 22 20:13:46 2020 (r549631) +++ head/net/sniproxy/pkg-descr Tue Sep 22 20:36:45 2020 (r549632) @@ -17,5 +17,5 @@ Supports multiple listening sockets per instance. Supports HAProxy proxy protocol to propagate original source address to backend servers. - + WWW: https://github.com/dlundquist/sniproxy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009222036.08MKajr9084536>