Commit graph

84 commits

Author SHA1 Message Date
Mathieu Arnold
4fd85a7a49 Fix the rc script reload command.
Noticed by:	David Samms
Sponsored by:	Absolight
2014-04-17 16:43:48 +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
Mathieu Arnold
cc30f48479 Use @sample for my port, cleanup an etc/PORTNAME into ETCDIR.
Sponsored by:	Absolight
2014-04-12 19:23:10 +00:00
Mathieu Arnold
47fccddc36 Two changes to the RC script
- Add a dependency on ldconfig
- Allow people to change the pidfile

PR:		188439
Submitted by:	Oliver Lehmann
Sponsored by:	Absolight
2014-04-10 20:43:50 +00:00
Mathieu Arnold
6e55fcb8e1 Remove noop patch.
Sponsored by:	Absolight
2014-04-10 15:45:03 +00:00
Mathieu Arnold
5bab5ca52b - Add a patch to install missing man page
- Add dnssec-* tools to bind-tools[1]

Requested by:	many [1]
Sponsored by:	Absolight
2014-04-09 14:14:46 +00:00
Mathieu Arnold
9e86044525 - Fix startup script
- Fix whitespace

PR:		188011
Submitted by:	takefu
Sponsored by:	Absolight
2014-03-27 13:30:12 +00:00
Mathieu Arnold
5ec261812d Finaly pet rclint.
With help from:	crees
Sponsored by:	Absolight
2014-03-25 17:25:17 +00:00
Mathieu Arnold
85c36a990e Remove GSSAPI from the default options.
Almost nobody needs it, and people keep having a hard time building BIND
because of this.

Sponsored by:	Absolight
2014-03-25 15:46:24 +00:00
Mathieu Arnold
5a324458e6 - Use SUB_FILES for named.conf and the rc script
- Fix some package installation warnings

Sponsored by:	Absolight
2014-03-17 18:46:47 +00:00
Mathieu Arnold
261d0e7b24 Always depend on libxml[1]
Add XML newstats support to bind99[2]

PR:		186890[1], 186791[2]
Submitted by:	Jason Mann[1], Matthew Seaman[2]
Sponsored by:	Absolight
2014-03-06 17:31:55 +00:00
Mathieu Arnold
93f4bf8487 Try and have BIND start earlier.
Sponsored by:	Absolight
2014-03-06 17:12:52 +00:00
Mathieu Arnold
8baf534a0b Actually commit what I tested.
Sponsored by:	Absolight
2014-03-04 17:37:54 +00:00
Mathieu Arnold
14bf5e9cb7 Don't polute isc-config.sh with gssapi flags.
Submitted by:	hrs
Sponsored by:	Absolight
2014-03-04 17:32:45 +00:00
Mathieu Arnold
0014042ad5 Change the BIND ports to use PKGNAMESUFFIX.
Sponsored by:	Absolight
2014-02-27 18:10:04 +00:00
Mathieu Arnold
a25ac2f3ab Add back the RPZ speed improvements patch.
Many thanks to:	Vernon Schryver
Sponsored by:	Absolight
2014-02-07 09:15:23 +00:00
Mathieu Arnold
63786acf24 Update to 9.9.5.
Changes:	https://lists.isc.org/pipermail/bind-announce/2014-January/000896.html
Sponsored by:	Absolight
2014-01-31 08:58:45 +00:00
Renato Botelho
3960fdb899 Revert r341073, static libs are not supposed to be PIC 2014-01-27 15:43:42 +00:00
Renato Botelho
a61773bab1 Add -fPIC to CFLAGS for amd64, this fix static libraries
Approved by:	mat@ (maintainer)
2014-01-25 18:28:03 +00:00
Mathieu Arnold
c39c3d4a40 Security update to fix CVE-2014-0591 as reported at
https://kb.isc.org/article/AA-01078/74/

9.9.4 -> 9.9.4-P2
9.8.6 -> 9.8.6-P2
9.6-ESV-R10 -> 9.6-ESV-R10-P2

Security:	CVE-2014-0591 Remote DOS
2014-01-13 17:38:28 +00:00
Mathieu Arnold
434aa8bf29 Fixup rndc.conf.sample installation
Spotted by:	antoine
2014-01-08 22:52:19 +00:00
Erwin Lansing
fe8682b27c There's always a default value for named_conf now, so no need to
check for it, and espcially not for a wrong value.

Noticed by:	Stefan Bethke <stb@lassitu.de>
Approved by:	mat (maintainer)
2014-01-07 09:55:06 +00:00
Mathieu Arnold
29d398ff32 Yet another round of fixes.
This time, it seems all of REPLACE_BASE, not REPLACE_BASE and post Bind removal
from base seem to work consistently.
2014-01-06 23:15:20 +00:00
Mathieu Arnold
3acb181ef3 Fix yet another bug, they're creeping like crazy... 2014-01-06 21:39:08 +00:00
Mathieu Arnold
fb83d6ffa3 Fix gssapi options knob. 2014-01-06 17:31:55 +00:00
Mathieu Arnold
422c80b630 Fix build with LINKS. 2014-01-06 14:29:24 +00:00
Mathieu Arnold
5d545c6f64 Convert to staging and new options. 2014-01-06 13:34:48 +00:00
Mathieu Arnold
0bea110783 Add the DOCS option to OPTIONS_DEFAULT. 2014-01-04 19:25:56 +00:00
Erwin Lansing
feaedb2576 Hand the BIND ports to a new volunteer. 2014-01-02 13:43:11 +00:00
Erwin Lansing
7b131f94df Fix build with GSSAPI option without Kerberos
PR:		184560
Submitted by:	Dewayne <dewayne@heuristicsystems.com.au>
2013-12-10 10:01:21 +00:00
John Marino
2c8e96c57c bind(96,98,99): Couple OSVERSION with OPSYS
OSVERSION is platform-specific and must be used with OPSYS.

Approved by:	maintainer (erwin)
2013-12-08 19:49:52 +00:00
Glen Barber
0dd076723f To prevent fallout of lowering __FreeBSD_version in releng/10.0 branch,
adjust OSVERSION evaluation in ports that specifically use '100050N'.

Approved by:	affected maintainers (implicit)
Sponsored by:	The FreeBSD Foundation
2013-12-07 10:50:23 +00:00
Erwin Lansing
ce2fd7b3ef Install named.conf as named.conf.sample and don't overwrite on upgrade
Bullet hole in foot:	joeld
Pointy hat:		erwin
2013-12-05 12:54:56 +00:00
Erwin Lansing
6c803a1da7 Fix build with GSSAPI
Submitted by:	sunpoet
2013-12-04 12:15:53 +00:00
Sunpoet Po-Chuan Hsieh
b7ffdb5d78 - Respect BIND_DESTETC and PREFIX
Submitted by:	sunpoet (myself)
Approved by:	erwin (maintainer)
2013-11-22 19:05:01 +00:00
Erwin Lansing
5340a9fcad Fix startup script.
PR:		184159 [1]
Submitted by:	Pawel Biernacki <pawel.biernacki@gmail.com> [1],
		Trond Endrestoel <Trond.Endrestol@ximalas.info> (private email)
2013-11-22 13:41:34 +00:00
Erwin Lansing
d7b15df7e6 Support FreeBSD 10.0.
On FreeBSD 10.0, all configuration is installed under
/usr/local/etc/namedb and installs its own rc script in
$PREFIX, which no longer support chroot installations.

LINKS and REPLACE_BASE options are not supported on 10.0
for obvious reasons.

Note for FreeBSD 9.x and earlier users, LINKS is no longer
the default option, though still supported.
2013-11-12 10:59:20 +00:00
Erwin Lansing
2c5222234e Drop support for REPLACE_BIND option after BIND was removed from base,
there's nothing to replace.
2013-11-04 11:23:11 +00:00
Erwin Lansing
5efd401380 Add an option for filter-aaaa
Submitted by:	Matej Gregr <matej.gregr@gmail.com>
2013-09-23 10:20:56 +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
Erwin Lansing
0d68cdb33f Update to 9.9.4
Note that the Rate Limiting option has been renamed.

Security Fixes

   Previously an error in bounds checking on the private type
   'keydata' could be used to deny service through a deliberately
   triggerable REQUIRE failure (CVE-2013-4854).  [RT #34238]

   Prevents exploitation of a runtime_check which can crash named
   when satisfying a recursive query for particular malformed zones.
   (CVE-2013-3919) [RT #33690]

New Features

   Added Response Rate Limiting (RRL) functionality to reduce the
   effectiveness of DNS as an amplifier for reflected denial-of-service
   attacks by rate-limiting substantially-identical responses. [RT
   #28130]

Feature Changes

   rndc status now also shows the build-id. [RT #20422]

   Improved OPT pseudo-record processing to make it easier to support
   new EDNS options. [RT #34414]

   "configure" now finishes by printing a summary of optional BIND
   features and whether they are active or inactive. ("configure
   --enable-full-report" increases the verbosity of the summary.)
   [RT #31777]

   Addressed compatibility issues with newer versions of Microsoft
   Visual Studio. [RT #33916]

   Improved the 'rndc' man page. [RT #33506]

   'named -g' now no longer works with an invalid logging configuration.
   [RT #33473]

   The default (and minimum) value for tcp-listen-queue is now 10
   instead of 3.  This is a subtle control setting (not applicable
   to all OS   environments).  When there is a high rate of inbound
   TCP connections, it   controls how many connections can be queued
   before they are accepted by named.  Once this limit is exceeded,
   new TCP connections will be rejected.  Note however that a value
   of 10 does not imply a strict limit of 10 queued TCP connections
   - the impact of changing this configuration setting will be
   OS-dependent.  Larger values for tcp-listen queue will permit
   more pending tcp connections, which may be needed where there
   is a high rate of TCP-based traffic (for example in a dynamic
   environment where there are frequent zone updates and transfers).
   For most production servers the new default value of 10 should
   be adequate.  [RT #33029]

   Added support for OpenSSL versions 0.9.8y, 1.0.0k, and 1.0.1e
   with PKCS#11. [RT #33463]

   Added logging messages on slave servers when they forward DDNS
   updates to a master. [RT #33240]

   Changed the logging category for RRL events from 'queries' to
   'query-errors'. [RT #33540]
2013-09-20 08:22:45 +00:00
Erwin Lansing
8576e9d9a0 Make GSSAPI support optional
PR:		182122
Submitted by:	Uwe Doering <gemini@geminix.org>
2013-09-17 11:31:49 +00:00
Boris Samorodov
54e44467d7 . introduce ICONV_CONFIGURE_BASE variable at Mk/Uses/iconv.mk. It's value is
"--with-libiconv=${LOCALBASE}" at systems pre OSVERSION 100043 and "" (null)
  otherwise;
. convert all ports which has CONFIGURE_ARGS=--with-libiconv=${LOCALBASE}.

Approved by:	portmgr (bapt, implicit)
2013-09-05 20:18:30 +00:00
Ollivier Robert
b3392148de Update the RPZ+RL patches for both versions.
Approved by:	erwin
2013-07-27 21:08:35 +00:00
Ollivier Robert
290764c8ba Put back the two patches for RPZ-RL that were removed during the previous
update.
2013-07-26 22:19:27 +00:00
Ollivier Robert
3726e2cae1 Security update to fix CVE-2013-4854 as reported at
https://kb.isc.org/article/AA-01015/0

9.9.3-p1 -> 9.9.3-P2
9.8.5-p1 -> 9.8.5-P2

9.6.x is not affected, neither is 10.x.

Security:	CVE-2013-4854 Remote DOS
2013-07-26 22:05:05 +00:00
Erwin Lansing
c971701b31 Update to 9.9.3-P1
Security Fixes

   Prevents exploitation of a runtime_check which can crash named
   when satisfying a recursive query for particular malformed zones.
   (CVE-2013-3919) [RT #33690]

   Now supports NAPTR regular expression validation on all platforms,
   and avoids memory exhaustion compiling pathological regular
   expressions. (CVE-2013-2266)  [RT #32688]

   Prevents named from aborting with a require assertion failure
   on servers with DNS64 enabled.  These crashes might occur as a
   result of specific queries that are received.  (CVE-2012-5688)
   [RT #30792 / #30996]

   Prevents an assertion failure in named when RPZ and DNS64 are
   used together. (CVE-2012-5689) [RT #32141]

See release notes for further features and bug fixes:
https://kb.isc.org/article/AA-00970/0/BIND-9.9.3-P1-Extended-Support-Version-Release-Notes.html

Security:	CVE-2013-3919
		CVE-2013-2266
		CVE-2012-5688
		CVE-2012-5689
2013-06-05 11:51:29 +00:00
Erwin Lansing
e69dae8873 Update to 9.9.3 2013-05-31 09:49:42 +00:00
Erwin Lansing
56bb308f3e Update RPZ and RRL patch set:
- address the issue raised by Bob Harold. RRL on recursive servers
     applies rate limits after waiting for recursion except on
     sub-domains of domains for which the server is authoritative.

  - fix the bug reported by Roy Arends in which "slipped" NXDOMAIN
     responses had rcode values of 0 (NoError) instead of 3 (NXDOMAIN).

  - move reports of RRL drop and slip actions from the "queries"
     log category to the "query-errors" category. Because they are not
     in the "queres" category, enabling or disabling query logging no
     longer affects them.
2013-05-31 08:10:56 +00:00
Erwin Lansing
9d2a6cf8c1 Fix typo in RPZRRL_PATCH
Submitted by:	Alexander Yerenkow <yerenkow@gmail.com>
2013-05-06 07:53:38 +00:00