pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/haproxy Update to version 2.0.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/968c0b147686
branches:  trunk
changeset: 337342:968c0b147686
user:      morr <morr%pkgsrc.org@localhost>
date:      Sat Aug 03 20:37:19 2019 +0000

description:
Update to version 2.0.3.

ChangeLog too big to list here, please take a look at
http://www.haproxy.org/download/2.0/src/CHANGELOG

diffstat:

 net/haproxy/Makefile               |   4 +-
 net/haproxy/PLIST                  |   5 +--
 net/haproxy/distinfo               |  12 +++++-----
 net/haproxy/options.mk             |  12 +++++++++-
 net/haproxy/patches/patch-Makefile |  40 +++++++++++++++++++++++++++++--------
 5 files changed, 51 insertions(+), 22 deletions(-)

diffs (127 lines):

diff -r 3d2eb3e409b9 -r 968c0b147686 net/haproxy/Makefile
--- a/net/haproxy/Makefile      Sat Aug 03 14:49:00 2019 +0000
+++ b/net/haproxy/Makefile      Sat Aug 03 20:37:19 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2019/06/13 09:07:08 adam Exp $
+# $NetBSD: Makefile,v 1.47 2019/08/03 20:37:19 morr Exp $
 
-DISTNAME=      haproxy-1.8.20
+DISTNAME=      haproxy-2.0.3
 CATEGORIES=    net www
 MASTER_SITES=  http://www.haproxy.org/download/${PKGVERSION_NOREV:R}/src/
 
diff -r 3d2eb3e409b9 -r 968c0b147686 net/haproxy/PLIST
--- a/net/haproxy/PLIST Sat Aug 03 14:49:00 2019 +0000
+++ b/net/haproxy/PLIST Sat Aug 03 20:37:19 2019 +0000
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.8 2017/03/07 17:48:06 morr Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/08/03 20:37:19 morr Exp $
 man/man1/haproxy.1
 sbin/haproxy
 share/doc/haproxy/architecture.txt
 share/doc/haproxy/configuration.txt
 share/examples/haproxy/acl-content-sw.cfg
-share/examples/haproxy/auth.cfg
 share/examples/haproxy/content-sw-sample.cfg
 share/examples/haproxy/option-http_proxy.cfg
-share/examples/haproxy/ssl.cfg
+share/examples/haproxy/socks4.cfg
 share/examples/haproxy/transparent_proxy.cfg
 share/examples/haproxy/wurfl-example.cfg
diff -r 3d2eb3e409b9 -r 968c0b147686 net/haproxy/distinfo
--- a/net/haproxy/distinfo      Sat Aug 03 14:49:00 2019 +0000
+++ b/net/haproxy/distinfo      Sat Aug 03 20:37:19 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.41 2019/06/13 09:07:08 adam Exp $
+$NetBSD: distinfo,v 1.42 2019/08/03 20:37:19 morr Exp $
 
-SHA1 (haproxy-1.8.20.tar.gz) = 7aa627e4ae0b2ee603d5525436c7f4d13b8e2f5e
-RMD160 (haproxy-1.8.20.tar.gz) = 20df9c96ec28b202ff8ab4957edbc41633151be1
-SHA512 (haproxy-1.8.20.tar.gz) = c288ccf223da71a29ae0f08f3c9753002735816229ea83ca497d46c860fb8a4bd422077a94652aa475e48aefb78787979cdce7f1bd0b5919dc671ba25212c133
-Size (haproxy-1.8.20.tar.gz) = 2083917 bytes
-SHA1 (patch-Makefile) = 0d80582ae4fc755b5a0aeefd5b943d9b2e238768
+SHA1 (haproxy-2.0.3.tar.gz) = 32426b727f88a90b0e8ed04190ba1d138d535394
+RMD160 (haproxy-2.0.3.tar.gz) = e2c94917923852f7df329bd69a59cd409639259e
+SHA512 (haproxy-2.0.3.tar.gz) = dd7eaf7e05c9b3ee162fcc17bc116f81184523437d6f4dbd940b0a6a8e4d01e1984fc8fabafcfc20261203e60e8bd0bc5b0bf813f5eff47b9ba364465bd0633c
+Size (haproxy-2.0.3.tar.gz) = 2534678 bytes
+SHA1 (patch-Makefile) = 790242ebde13ac1a9d95a16cba29e30a9bccd57c
 SHA1 (patch-src_cli.c) = 4bc5cf0116df121ac4c3c38b8f962c3a62d536e5
 SHA1 (patch-src_haproxy.c) = badb172013541087d84f03726ea928c6f5634dc3
diff -r 3d2eb3e409b9 -r 968c0b147686 net/haproxy/options.mk
--- a/net/haproxy/options.mk    Sat Aug 03 14:49:00 2019 +0000
+++ b/net/haproxy/options.mk    Sat Aug 03 20:37:19 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2017/07/04 07:04:17 adam Exp $
+# $NetBSD: options.mk,v 1.7 2019/08/03 20:37:19 morr Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.haproxy
-PKG_SUPPORTED_OPTIONS= pcre ssl deviceatlas lua
+PKG_SUPPORTED_OPTIONS= pcre ssl deviceatlas lua prometheus
 PKG_SUGGESTED_OPTIONS= pcre ssl
 
 .include "../../mk/bsd.options.mk"
@@ -26,6 +26,14 @@
 .endif
 
 ###
+### Use Prometheus
+###
+.if !empty(PKG_OPTIONS:Mprometheus)
+BUILD_MAKE_FLAGS+=     EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o"
+.endif
+
+
+###
 ### Support DeviceAtlas detection.
 ###
 .if !empty(PKG_OPTIONS:Mpcre) && !empty(PKG_OPTIONS:Mdeviceatlas)
diff -r 3d2eb3e409b9 -r 968c0b147686 net/haproxy/patches/patch-Makefile
--- a/net/haproxy/patches/patch-Makefile        Sat Aug 03 14:49:00 2019 +0000
+++ b/net/haproxy/patches/patch-Makefile        Sat Aug 03 20:37:19 2019 +0000
@@ -1,15 +1,37 @@
-$NetBSD: patch-Makefile,v 1.6 2019/06/13 09:07:08 adam Exp $
+$NetBSD: patch-Makefile,v 1.7 2019/08/03 20:37:19 morr Exp $
 
 Do not hardcode _XOPEN_SOURCE.
 
---- Makefile.orig      2019-04-25 21:59:27.000000000 +0000
+--- Makefile.orig      2019-07-23 13:21:26.000000000 +0000
 +++ Makefile
-@@ -316,7 +316,7 @@ ifeq ($(TARGET),solaris)
-   # This is for Solaris 8
-   # We also enable getaddrinfo() which works since solaris 8.
-   USE_POLL       = implicit
--  TARGET_CFLAGS  = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
+@@ -333,7 +333,7 @@ ifeq ($(TARGET),solaris)
+   set_target_defaults = $(call default_opts, \
+     USE_POLL USE_TPROXY USE_LIBCRYPT USE_CRYPT_H USE_GETADDRINFO USE_THREAD \
+     USE_RT USE_OBSOLETE_LINKER USE_EVPORTS)
+-  TARGET_CFLAGS  = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
 +  TARGET_CFLAGS  = -DFD_SETSIZE=65536 -D_REENTRANT -D__EXTENSIONS__
    TARGET_LDFLAGS = -lnsl -lsocket
-   USE_TPROXY     = implicit
-   USE_LIBCRYPT    = implicit
+ endif
+ 
+@@ -852,8 +852,8 @@ src/haproxy.o:     src/haproxy.c $(DEP)
+              -c -o $@ $<
+ 
+ install-man:
+-      $(Q)install -v -d "$(DESTDIR)$(MANDIR)"/man1
+-      $(Q)install -v -m 644 doc/haproxy.1 "$(DESTDIR)$(MANDIR)"/man1
++      $(Q)install -d "$(DESTDIR)$(MANDIR)"/man1
++      $(Q)install -m 644 doc/haproxy.1 "$(DESTDIR)$(MANDIR)"/man1
+ 
+ EXCLUDE_DOCUMENTATION = lgpl gpl coding-style
+ DOCUMENTATION = $(filter-out $(EXCLUDE_DOCUMENTATION),$(patsubst doc/%.txt,%,$(wildcard doc/*.txt)))
+@@ -871,8 +871,8 @@ install-bin:
+                       exit 1; \
+               fi; \
+       done
+-      $(Q)install -v -d "$(DESTDIR)$(SBINDIR)"
+-      $(Q)install -v haproxy $(EXTRA) "$(DESTDIR)$(SBINDIR)"
++      $(Q)install -d "$(DESTDIR)$(SBINDIR)"
++      $(Q)install haproxy $(EXTRA) "$(DESTDIR)$(SBINDIR)"
+ 
+ install: install-bin install-man install-doc
+ 



Home | Main Index | Thread Index | Old Index