Bug 227175 - [PATCH] dns/dnsdist: fix rc.d script, add support for LuaJIT and enable some new features
Summary: [PATCH] dns/dnsdist: fix rc.d script, add support for LuaJIT and enable some ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Carlos J. Puga Medina
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-01 14:14 UTC by Ralf van der Enden
Modified: 2018-04-01 23:56 UTC (History)
0 users

See Also:
cpm: maintainer-feedback+


Attachments
Add features and fix rc.d script. Bump portrevision (3.88 KB, patch)
2018-04-01 14:14 UTC, Ralf van der Enden
no flags Details | Diff
patch (3.64 KB, patch)
2018-04-01 14:50 UTC, Carlos J. Puga Medina
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2018-04-01 14:14:57 UTC
Created attachment 192054 [details]
Add features and fix rc.d script. Bump portrevision

Starting with version 1.3.0, the app no longer runs as a daemon on its own. On FreeBSD it requires daemon(8). Changed the rc.d script to start using daemon(8) and add the --supervised commandline argument (which suppresses opening up the console).

Other changes:
- Add dnstap support (disabled by default)
- Add SNMP support (disabled by default)
- Enable DNS-over-TLS (upstream suggests enabling both GnuTLS and OpenSSL backends so you can switch in case of a serious security issue in .ie OpenSSL)
- Add support for LuaJIT or whatever you set as your default version in make.conf
Comment 1 Carlos J. Puga Medina freebsd_committer freebsd_triage 2018-04-01 14:23:32 UTC
Thanks for the patch. I'll commit it today.
Comment 2 Carlos J. Puga Medina freebsd_committer freebsd_triage 2018-04-01 14:50:01 UTC
Created attachment 192056 [details]
patch

- Cosmetic fixes
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-04-01 15:15:50 UTC
A commit references this bug:

Author: cpm
Date: Sun Apr  1 15:14:46 UTC 2018
New revision: 466166
URL: https://svnweb.freebsd.org/changeset/ports/466166

Log:
  dns/dnsdist: fix rc.d script, add support for LuaJIT and enable some new features

  - Really fix the rc.d script to start using daemon(8) and add the --supervised commandline argument (which suppresses opening up the console)
  - Enable DNS-over-TLS (upstream suggests enabling both GnuTLS and OpenSSL backends so you can switch in case of a serious security issue in .ie OpenSSL)
  - Add OpenSSL support (enabled by default)
  - Add GnuTLS support (enabled by default)
  - Add dnstap support (disabled by default)
  - Add SNMP support (disabled by default)
  - Add support for LuaJIT or whatever you set as your default version in make.conf (disabled by default)
  - Bump PORTREVISION

  PR:		227175
  Submitted by:	Ralf van der Enden <tremere@cainites.net>
  MFH:		2018Q2

Changes:
  head/dns/dnsdist/Makefile
  head/dns/dnsdist/files/dnsdist.in
  head/dns/dnsdist/files/patch-ext_luawrapper_include_LuaContext.hpp
Comment 4 Carlos J. Puga Medina freebsd_committer freebsd_triage 2018-04-01 15:16:40 UTC
Committed!

Thanks
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-04-01 23:56:09 UTC
A commit references this bug:

Author: cpm
Date: Sun Apr  1 23:55:26 UTC 2018
New revision: 466191
URL: https://svnweb.freebsd.org/changeset/ports/466191

Log:
  MFH: r466166

  dns/dnsdist: fix rc.d script, add support for LuaJIT and enable some new features

  - Really fix the rc.d script to start using daemon(8) and add the --supervised commandline argument (which suppresses opening up the console)
  - Enable DNS-over-TLS (upstream suggests enabling both GnuTLS and OpenSSL backends so you can switch in case of a serious security issue in .ie OpenSSL)
  - Add OpenSSL support (enabled by default)
  - Add GnuTLS support (enabled by default)
  - Add dnstap support (disabled by default)
  - Add SNMP support (disabled by default)
  - Add support for LuaJIT or whatever you set as your default version in make.conf (disabled by default)
  - Bump PORTREVISION

  PR:		227175
  Submitted by:	Ralf van der Enden <tremere@cainites.net>

  Approved by:	ports-secteam (riggs)

Changes:
_U  branches/2018Q2/
  branches/2018Q2/dns/dnsdist/Makefile
  branches/2018Q2/dns/dnsdist/files/dnsdist.in
  branches/2018Q2/dns/dnsdist/files/patch-ext_luawrapper_include_LuaContext.hpp