Commit graph

54 commits

Author SHA1 Message Date
Kurt Jaeger
a26a381795 dns/opendnssec: update 1.4.12 -> 1.4.14
- OPENDNSSEC-888: Fix up MySQL<->SQLite3 database conversion script.
- OPENDNSSEC-752: Incorrect calculated number of KSKs needed when
  KSK and ZSK have exactly the same parameters. This would prevent
  KSK rollovers.
- OPENDNSSEC-890: Bogus signatures on mismatching TTLs within the same RRset.

PR:		218994
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2017-05-02 19:29:30 +00:00
Martin Wilke
6d14406a13 - Chase ldns shlip bump
PR:		217495
2017-03-03 04:12:20 +00:00
Bartek Rutkowski
ba4d8e7937 dns/opendnssec: update 1.4.10 -> 1.4.12
PR:		213610
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
MFH:		2016Q4
2016-10-20 09:09:58 +00:00
John Marino
743ab04359 dns/opendnssec: Add SSL flags and honor them
Approved by:	SSL blanket
2016-09-12 02:37:18 +00:00
Erwin Lansing
83542c2867 Add conflicts with upcoming opendnssec2
PR:		211019
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2016-07-13 13:25:25 +00:00
Kurt Jaeger
1f076abb3b dns/opendnssec: 1.4.9 -> 1.4.10
This release fix targets stability issues which have had a history and
have been hard to reproduce.  Issues that have been reported over the
past half year have been fixed that may have even come up earlier as
rare occasions.
Stability should be improved, running OpenDNSSEC as a long term service.

Changes in TTL in the input zone that seem not to be propagated,
notifies to slaves under heavy zone activity load that where not handled
properly and could lead to assertions.
NSEC3PARAM that would appear duplicate in the resulting zone, and
crashes in the signer daemon in seldom race conditions or re-opening due
to a HSM reset.

No migration steps needed when upgrading from OpenDNSSEC 1.4.9.

Also have a look at our OpenDNSSEC 2.0 beta release, its impending
release will help us forward with new development and signal phasing out
historic releases.

Fixes:
- SUPPORT-156 OPENDNSSEC-771: Multiple NSEC3PARAM records in signed
  zone.  After a resalt the signer would fail to remove the old
  NSEC3PARAM RR until a manual resign or incoming transfer.
  Old NSEC3PARAMS are removed when inserting a new record, even if
  they look the same.
- OPENDNSSEC-725: Signer did not properly handle new update while still
  distributing notifies to slaves.
  An AXFR disconnect looked not to be handled gracefully.
- SUPPORT-171: Signer would sometimes hit an assertion using DNS output
  adapter when .ixfr was missing or corrupt but .backup file available.
- Above two issues also in part addresses problems with seemingly
  corrected backup files (SOA serial).  Also an crash on badly
  configured DNS output adapters is averted.
- The signer daemon will now refuse to start when failed to open a
  listen socket for DNS handling.
- OPENDNSSEC-478,750,581 and 582 and SUPPORT-88:
  Segmentation fault in signer daemon when opening and closing HSM
  multiple times. Also addresses other concurrency access by avoiding
  a common context to the HSM (a.k.a. NULL context).
- OPENDNSSEC-798: Improper use of key handles across hsm reopen,
  causing keys not to be available after a re-open.
- SUPPORT-186: IXFR disregards TTL changes, when only TTL of an RR is
  changed.  TTL changes should be treated like any other changes to
  records.
- When OpenDNSSEC now overrides a TTL value, this is now reported in
  the log files.

PR:		209261
Submitted by:	jaap@NLnetLabs.nl (mainainer)
2016-05-05 17:09:42 +00:00
Mathieu Arnold
d78beb132c Move MySQL support from bsd.databases.mk to Uses/mysql.mk.
Also, USE_MYSQL can't happen after bsd.port.pre.mk because it is a USES.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:17:31 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Erwin Lansing
d3749b069b Update to 1.4.9
The main motivations for this release are bug fixes related to use
cases with large number of zones (more than 50 zones) in combination
with an XFR based setup. Too much concurrent zone transfers causes new
transfers to be held back. These excess transfers however were not
properly scheduled for later.

No migration steps needed when upgrading from OpenDNSSEC 1.4.8.

Bugfixes:

* Add TCP waiting queue. Fix signer getting 'stuck' when adding many
  zones at once. Thanks to Haavard Eidnes to bringing this to our attention.
* OPENDNSSEC-723: received SOA serial reported as on disk.
* Fix potential locking issue on SOA serial.
* Crash on shutdown. At all times join xfr and dns handler threads.
* Make handling of notifies more consistent. Previous implementation would
  bounce between code paths.

Known Issues:

When using SoftHSM2 compiled with OpenSSL, and libmysql with OpenSSL
as database backend for OpenDNSSEC. "ods-ksmutil key list --verbose"
crashes on exit. This is ultimately a bug in OpenSSL and not new for
this particular release. Make sure you don't use this specific
combination.

From <https://www.opendnssec.org>

PR:             206491
Submitted by:   Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:   DK Hostmaster A/S
2016-03-16 13:33:52 +00:00
Erwin Lansing
35716d4b8a Upgrade from version 1.4.7 to 1.4.8.2
NEWS:

    * Support for RFC5011 style KSK rollovers. KSK section in the KASP now
      accepts <RFC5011/> element.
    * Enforcer: New repository option <AllowExtraction/> allows to generate
      keys with CKA_EXTRACTABLE attribute set to TRUE so keys can be wrapped
      and extracted from HSM.

Bugfixes:

    * SUPPORT-145: EOF handling an ARM architecture caused signer to hang.
    * Fixed signer hitting assertion on short reply XFR handler.
    * Include revoke bit in keytag calculation.
    * Increased stacksize on some systems (thanks Patrik Lundin!).
    * Stop ods-signerd on SIGINT.

Fixes port problem (reported by *geoffroy desvernay*)

    * Now also installs previous missing migration script convert_database.pl

PR:		203574
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2015-10-06 13:54:31 +00:00
Tijl Coosemans
68edbeeaae - Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
  when CONFIGURE_ARGS already sets it.  (GNU configure scripts set it to
  PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
  they aren't affected by this change (for now at least).  This commit is
  meant to ensure that new ports don't make the same mistake.

- games/acm: the configure script in this port is very old; instead of
  patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
  changed the behaviour of the configure script; adjust the port to this.

PR:		199506
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-20 19:06:29 +00:00
Erwin Lansing
7903069b6f Update to 1.4.7 which fixes a bug when using DNS adapters
PR:		195686
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2014-12-10 15:14:13 +00:00
Baptiste Daroussin
724bb50381 Cleanup plist 2014-12-09 11:09:42 +00:00
Erwin Lansing
1eeffbf93f - Fix ownership of var/run/opendnssec
- Fix minor whitespace warning

Approved by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2014-07-28 08:40:27 +00:00
Erwin Lansing
928595fc55 - Fix location of libsofthsm.so [1]
- Fix depency on sqlite with non-default LOCALBASE [2]
- Update to 1.4.6

Updates:
Signer Engine: Print secondary server address when logging notify reply errors.
Build: Fixed various OpenBSD compatibility issues found by Patrik Lundin <patrik.lundin.swe () gmail.com>.
OPENDNSSEC-621: conf.xml: New options: <PidFile> for both enforcer and signer, and <SocketFile> for the signer.
New tool: ods-getconf: to retrieve a configuration value from conf.xml given an expression.

Bugfixes:
OPENDNSSEC-469: ods-ksmutil: 'zone add' command when zonelist.xml.backup can't be written zone is still added to database, solved it by checking the zonelist.xml.backup is writable before adding zones, and add error message when add zone failed.
OPENDNSSEC-617: Signer Engine: Fix DNS Input Adapter to not reject zone the first time due to RFC 1982 serial arethmetic.
OPENDNSSEC-619: memory leak when signer failed, solved it by add ldns_rr_free(signature) in libhsm.c
OPENDNSSEC-627: Signer Engine: Unable to update serial after restart when the backup files has been removed.
OPENDNSSEC-628: Signer Engine: Ingored notifies log level is changed from debug to info.
OPENDNSSEC-630: Signer Engine: Fix inbound zone transfer for root zone.
libhsm: Fixed a few other memory leaks.
simple-dnskey-mailer.sh: Fix syntax error. (by Patrik Lundin https://github.com/eest)

PR:		191272 [1], 192021 [2], 192023 [3]
Submitted by:	Andrew Fyfe <andrew@neptune-one.net> [1],
		jhujhiti@adjectivism.org [2],
		Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer) [3]
2014-07-23 08:30:09 +00:00
Adam Weinberger
123723612f Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 15:09:58 +00:00
Martin Wilke
bd48d39657 - Chase database/sqlite3 slib bump
Approved by:	portmgr (myself)
2014-06-27 17:21:06 +00:00
Erwin Lansing
024e09e837 Remove explicit showing of pkg-message, it's automatic these days.
Submitted by:	bdrewery
2014-05-16 18:12:40 +00:00
Erwin Lansing
812b7cb1a1 Fix some outstanding issues with staging and make it work with both
pkg_install and pkgng.

PR:		189823
Submitted by:	erwin
Prodded by:	swills
Approved by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2014-05-15 15:58:32 +00:00
Erwin Lansing
febcb17d7d - Update to 1.4.5
Added Staging support;
Modern options handling where possible.

Bugfixes:

OPENDNSSEC-607: libhsm not using all mandatory attributes for GOST key generation.
OPENDNSSEC-609: ods-ksmutil: 'key list' command fails with error in 1.4.4 on MySQL. Reported by Mark Elkins <mje@posix.co.za>

Includes the update to 1.4.4:

Updates:

SUPPORT-114: libhsm: Optimize storage in HSM by deleting the public key directly if SkipPublicKey is used [OPENDNSSEC-574].
OPENDNSSEC-358: ods-ksmutil: Extend 'key list' command with options to filter on key type and state. This allows keys in the GENERATE and DEAD state to be output.
OPENDNSSEC-549: Signer Engine: Put NSEC3 records on empty non-terminals derived from unsigned delegations (be compatible with servers that are incompatible with RFC 5155 errata 3441).

Bugfixes:

SUPPORT-86: Fixed build on OS X [OPENDNSSEC-512].
SUPPORT-97: Signer Engine: Fix after restart signer thinks zone has expired [OPENDNSSEC-526].
SUPPORT-101: Signer Engine: Fix multiple zone transfer to single file bug [OPENDNSSEC-529].
SUPPORT-102: Signer Engine: Fix statistics (count can be negative)/
SUPPORT-108: Signer Engine: Don't replace tabs in RRs with whitespace [OPENDNSSEC-520].
SUPPORT-116: ods-ksmutil: 'key import' date validation fails on certain dates [OPENDNSSEC-553].
SUPPORT-128: ods-ksmutil. Man page had incorrect formatting [OPENDNSSEC-576].
SUPPORT-127: ods-signer: Fix manpage sections.
OPENDNSSEC-457: ods-ksmutil: Add a check on the 'zone add' input/output type parameter to allow only File or DNS.
OPENDNSSEC-481: libhsm: Fix an off-by-one length check error.
OPENDNSSEC-482: libhsm: Improved cleanup for C_FindObjects.
OPENDNSSEC-531: ods-ksmutil: Exported value of in 'policy export' output could be wrong on MySQL.
OPENDNSSEC-537: libhsm: Possible memory corruption in hsm_get_slot_id.
OPENDNSSEC-544: Signer Engine: Fix assertion error that happens on an IXFR request with EDNS.
OPENDNSSEC-546: enforcer & ods-ksmutil: Improve logging on key creation and alloctaion.
OPENDNSSEC-560: Signer Engine: Don't crash when unsigned zone has no SOA.
Signer Engine: Fix a race condition when stopping daemon.

PR:		188482
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>
Sponsored by:	DK Hostmaster A/S
2014-04-30 08:45:35 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Sunpoet Po-Chuan Hsieh
f223f96a0f - Update to 1.4.3
- While I'm here, add LICENSE and convert to new LIB_DEPENDS format

Changes:	http://www.opendnssec.org/2013/12/04/opendnssec-1-4-3/
PR:		ports/184516
Submitted by:	Jaap Akkerhuis <jaap@nlnetlabs.nl> (maintainer)
2013-12-05 20:25:54 +00:00
Baptiste Daroussin
24a1652ff4 Add NO_STAGE all over the place in preparation for the staging support (cat: dns) 2013-09-20 16:31:57 +00:00
Baptiste Daroussin
b15e495041 Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
2013-09-17 06:28:07 +00:00
Mathieu Arnold
b840c26b62 Update to 1.4.2
PR:		182012
Submitted by:	mat
Approved by:	maintainer
2013-09-16 12:17:07 +00:00
William Grzybowski
0e3d0f60d9 dns/opendnssec: update to 1.4.1
- Update to 1.4.1

Changes: http://www.opendnssec.org/2013/06/27/opendnssec-1-4-1/

PR:		ports/180194
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2013-07-02 13:12:23 +00:00
William Grzybowski
56b8f3b37c dns/opendnssec: fix build with sqlite
- Fix build with non-default LOCALBASE and sqlite

PR:		ports/179606
Submitted by:	Erick Turnquist <jhujhiti@adjectivism.org>
Approved by:	maintainer
2013-06-21 21:00:44 +00:00
William Grzybowski
c6572e3775 - Update to 1.4.0 [1]
- Add PORTDOCS
- Install extra migration files
- Preserve 1.3.x as dns/opendnssec13

Changes: https://wiki.opendnssec.org/display/DOCS/New+in+OpenDNSSEC+1.4

PR:		ports/178861 [1]
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> [1]
Approved by:	culot (mentor), maintainer
2013-06-03 22:13:11 +00:00
Martin Wilke
1ae396094f - Remove mysql 4X reference 2013-05-22 14:30:51 +00:00
Martin Wilke
0f83481044 - Update to 1.3.13
PR:		176303
Submitted by:	maintainer
2013-02-21 00:44:40 +00:00
Ruslan Makhmatkhanov
a09a00ced1 - update to 1.3.12
while here:
- trim Makefile header
- remove trailin dots from options descriptions

PR:		174094
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Feature safe:	yes
2012-12-04 08:37:13 +00:00
Alex Kozlov
25334a5bb6 - Update ldns to 1.6.15 [1]
- Add an entry to UPDATING about binary incompatibility in previous version of ldns
- Fix OptionsNG
- Bump PORTREVISION for all ports dependent on dns/ldns
- Remove ABI version numbers from LIB_DEPENDS while I'm here

PR:	ports/173080 [1]
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer) [1]
Approved by:	portmgr (erwin)
Feature safe:	yes
2012-10-31 07:58:36 +00:00
Erwin Lansing
d2e05ada1c Convert to OPTIONSNG
PR:		172903
Submitted by:	me
Approved by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Feature safe:	yes
2012-10-23 12:34:03 +00:00
Michael Scheidell
b0cf9a880f - Update to 1.3.10
PR:		ports/170544
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2012-08-12 07:52:50 +00:00
Michael Scheidell
1747f9c81d - Update to 1.3.9
- Add GIDs/UIDs 215

PR:		ports/169646
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2012-07-08 12:39:15 +00:00
Martin Wilke
4cd6ad2256 - Update to 1.3.7
PR:		166125
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>(maintainer)
Feature safe:	yes
2012-03-18 04:44:00 +00:00
Jason Helfman
8c5c548ed6 - Update to 1.3.6
PR:	ports/165216
Submitted by:	maintainer, jaap at NLnetLabs.nl
2012-02-17 17:52:44 +00:00
Frederic Culot
754a546358 - Update to 1.3.5
Changes:	http://www.opendnssec.org/2012/01/23/opendnssec-1-3-5/
PR:		ports/164628
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2012-01-30 12:27:28 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
7a8533cd34 - Update to 1.3.4
PR:		163080
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2011-12-18 08:54:22 +00:00
Doug Barton
369c12167b Incremental improvements to the rc.d script per
http://lists.freebsd.org/pipermail/cvs-all/2011-July/341217.html

Approved by:	maintainer timeout (2 months)
2011-09-25 07:17:15 +00:00
Dennis Herrmann
4e7192e3ce - Update to 1.3.2
PR:		ports/160828
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2011-09-20 17:40:35 +00:00
Steve Wills
603811e2cc - Mark broken with Ruby 1.9
With hat:	ruby@
2011-08-06 14:40:47 +00:00
Julien Laffaye
76b41420b1 Update to 1.3.0
PR:		ports/158865
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Approved by:	bapt (mentor)
2011-07-15 20:55:00 +00:00
Dennis Herrmann
4087c700d7 - Update to 1.2.1
PR:		ports/155889
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2011-03-24 16:33:57 +00:00
Pav Lucistnik
0d50c5a540 - Update to 1.2.0
PR:		ports/154026
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Feature safe:	yes
2011-01-19 10:49:08 +00:00
Nicola Vitale
924fe8b26c - Add databases/sqlite3 to BUILD_DEPENDS (minimal version required 3.4.2)
- Bump PORTREVISION
- Remove MD5 checksum from distinfo

PR:		ports/152542
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2010-12-11 22:48:20 +00:00
Marcelo Araujo
3fe8733993 - Update to 1.1.3.
PR:		ports/150487
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2010-09-12 18:03:06 +00:00
Sylvio Cesar Teixeira
a3d62fcfbd - Update to 1.1.2
PR:		ports/150248
Submitted by:	Jaap Akkerhuis <japp@nlnetlabs.nl> (maintainer)
2010-09-06 12:11:24 +00:00
Tilman Keskinoz
11a9d91393 Increase minimum required version of dnsruby
PR:		148887
Submitted by:	Ruben van Staveren <ruben@verweg.com>
Approved by:	maitainer
2010-08-14 19:19:10 +00:00