update to dnsdist-1.3.2, ok with Peter van Dijk (maintainer)

- upstream now defaults to luajit; we can do this but needs to be done
per-arch (and means extra testing for updates) so left at lua5.3 for now,
Peter agrees
This commit is contained in:
sthen 2018-09-09 15:25:31 +00:00
parent 834461e45f
commit d9b2caa920
6 changed files with 17 additions and 29 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2018/05/09 21:22:42 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2018/09/09 15:25:31 sthen Exp $
COMMENT= highly DNS-, DoS- and abuse-aware loadbalancer
DISTNAME= dnsdist-1.3.0
REVISION= 0
DISTNAME= dnsdist-1.3.2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net
@ -15,7 +14,7 @@ MAINTAINER= Peter van Dijk <peter.van.dijk@powerdns.com>
# GPLv2 only
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ${MODLUA_WANTLIB} c curses edit m protobuf pthread \
WANTLIB += ${MODLUA_WANTLIB} c curses edit m protobuf pthread \
z crypto ssl sodium ${COMPILER_LIBCXX}
MASTER_SITES= https://downloads.powerdns.com/releases/
@ -26,7 +25,7 @@ USE_GMAKE= Yes
CONFIGURE_ARGS+= --disable-gnutls \
--disable-hardening \
--with-lua \
--with-lua=lua${MODLUA_VERSION:S/.//} \
--without-net-snmp \
--enable-dns-over-tls \
--enable-dnscrypt

View File

@ -1,2 +1,2 @@
SHA256 (dnsdist-1.3.0.tar.bz2) = qmfNTbhAShPtTtEJfdhQID2rijJzcvcrsUDfEe9+ugg=
SIZE (dnsdist-1.3.0.tar.bz2) = 924183
SHA256 (dnsdist-1.3.2.tar.bz2) = C+dwTlpBio7WkI/BEOz7m8I/Jwta+KVSXx+pNO8Oa8Q=
SIZE (dnsdist-1.3.2.tar.bz2) = 918200

View File

@ -1,8 +1,10 @@
$OpenBSD: patch-build-aux_gen-version,v 1.1.1.1 2017/01/15 17:13:33 sthen Exp $
--- build-aux/gen-version.orig Sun Jan 15 14:45:58 2017
+++ build-aux/gen-version Sun Jan 15 14:47:13 2017
@@ -1,5 +1,11 @@
#!/bin/sh
$OpenBSD: patch-build-aux_gen-version,v 1.2 2018/09/09 15:25:31 sthen Exp $
Index: build-aux/gen-version
--- build-aux/gen-version.orig
+++ build-aux/gen-version
@@ -7,6 +7,12 @@ if [ ! -z "$BUILDER_VERSION" ]; then
fi
VERSION="unknown"
+if [ -f .version ]; then
+ VERSION="$(cat .version)"

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-configure_ac,v 1.2 2017/09/06 08:59:44 sthen Exp $
$OpenBSD: patch-configure_ac,v 1.3 2018/09/09 15:25:31 sthen Exp $
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -82,7 +82,7 @@ PROGRAM_LDFLAGS="$PIE_LDFLAGS $PROGRAM_LDFLAGS"
@@ -88,7 +88,7 @@ PROGRAM_LDFLAGS="$PIE_LDFLAGS $PROGRAM_LDFLAGS"
AC_SUBST([PROGRAM_LDFLAGS])
AC_SUBST([AM_CPPFLAGS],

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-dnsdist-lua_cc,v 1.1 2018/04/03 11:18:34 jca Exp $
--- dnsdist-lua.cc
+++ dnsdist-lua.cc
@@ -22,9 +22,9 @@
#include <dirent.h>
#include <fstream>
+#include <sys/socket.h>
#include <net/if.h>
#include <sys/types.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <thread>

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2018/04/03 11:18:34 jca Exp $
@comment $OpenBSD: PLIST,v 1.4 2018/09/09 15:25:31 sthen Exp $
@newgroup _dnsdist:788
@newuser _dnsdist:788:_dnsdist:daemon:dnsdist DNS load balancer:/nonexistent:/sbin/nologin
@rcscript ${RCDIR}/dnsdist
@bin bin/dnsdist
@man man/man1/dnsdist.1
share/doc/dnsdist/
@ -9,4 +10,3 @@ share/examples/dnsdist/
@sample ${SYSCONFDIR}/
share/examples/dnsdist/dnsdistconf.lua
@sample ${SYSCONFDIR}/dnsdist.conf
@rcscript ${RCDIR}/dnsdist