summaryrefslogtreecommitdiff
path: root/net/bind9
AgeCommit message (Collapse)AuthorFilesLines
2008-01-18Per the process outlined in revbump(1), perform a recursive revbumptnn2-4/+4
on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
2007-09-07Convert packages that test and use USE_INET6 to use the options frameworkjlam1-7/+6
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
2007-08-08Fix two typos. I didn't test this. Bump PKGREVISION as onreed4-8/+9
"dragonfly" this may change the build.
2007-08-01Fix for bind package name pointed out by John Klos on tech-pkg@adrianp1-1/+2
2007-07-28Update to 9.4.1-P1adrianp2-7/+6
2206. [security] "allow-query-cache" and "allow-recursion" now cross inherit from each other. If allow-query-cache is not set in named.conf then allow-recursion is used if set, otherwise allow-query is used if set, otherwise the default (localnets; localhost;) is used. If allow-recursion is not set in named.conf then allow-query-cache is used if set, otherwise allow-query is used if set, otherwise the default (localnets; localhost;) is used. 2203. [security] Query id generation was cryptographically weak. 2202. [security] The default acls for allow-query-cache and allow-recursion were not being applied. 2193. [port] win32: BINDInstall.exe is now linked statically. 2192. [port] win32: use vcredist_x86.exe to install Visual Studio's redistributable dlls if building with Visual Stdio 2005 or later.
2007-07-04Make it easier to build and install packages "unprivileged", wherejlam1-2/+5
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-06-12Automatically include pthread variables. Bump revision as it mightjoerg1-1/+3
change some of the binaries.
2007-05-02Update BIND to 9.4.1:cjs2-6/+6
CVE-2007-2241: A sequence of queries can cause a recursive nameserver to exit. While it is unlikely these will occur in normal operation, an attack can use them to cause the affected versions to exit. This attack is a denial of service, and does not allow an attacker to gain control of affected systems.
2007-04-15Upgrade BIND to 9.4.0.cjs4-14/+17
I won't attempt to summarize 221 lines of changes in README here.
2007-01-30Fix permission problems:tron1-1/+4
- "share/doc/bind9" shouldn't be group-writable. - "share/doc/bind9/arm/Bv9ARM.pdf" shouldn't be executable. Bump package revision because of these fixes.
2007-01-28Update to 9.3.4adrianp5-164/+14
Lots of changes, see http://www.isc.org/sw/bind/view/?release=9.3.4#RELEASE for all the details: In brief: 2126. [security] Serialise validation of type ANY responses. 2124. [security] It was possible to dereference a freed fetch context. 2089. [security] Raise the minimum safe OpenSSL versions to OpenSSL 0.9.7l and OpenSSL 0.9.8d. Versions prior to these have known security flaws which are (potentially) exploitable in named. 2088. [security] Change the default RSA exponent from 3 to 65537. 2066. [security] Handle SIG queries gracefully. 1941. [bug] ncache_adderesult() should set eresult even if no rdataset is passed to it.
2006-11-23Disable threading on sparc and sparc64hubertf1-2/+4
sparc64 tested successfully by Volkmar Seifert <vs@nifelheim.info> OK'd by (and sparc included per suggestion of) martin@
2006-11-05Don't install doc/*/Makefile{,.in} as theses do not pass the CHECK_WRKREFseb1-6/+5
check. Also don't install utility perl scripts for building the docs. Use pax to install all the doc files in one go. Bump PKGREVISION to 3 for the PLIST changes.
2006-09-05Fixes for CVE-2006-4095 and CVE-2006-4096 from bind-9.3.2-P1adrianp4-3/+153
* Assertion failure in ISC BIND SIG query processing (CVE-2006-4095) - Recursive servers Queries for SIG records will trigger an assertion failure if more than one RRset is returned. However exposure can be minimized by restricting which sources can ask for recursion. - Authoritative servers If a nameserver is serving a RFC 2535 DNSSEC zone and is queried for the SIG records where there are multiple RRsets, then the named program will trigger an assertion failure when it tries to construct the response. * INSIST failure in ISC BIND recursive query handling code (CVE-2006-4096) It is possible to trigger an INSIST failure by sending enough recursive queries such that the response to the query arrives after all the clients waiting for the response have left the recursion queue. However exposure can be minimized by restricting which sources can ask for recursion.
2006-09-03Added the relevant variables to BUILD_DEFS.rillig1-1/+3
2006-08-28Bump PKGREVISION to 1.seb4-2/+49
Fix build on NetBSD/sparc64 3.x: sync CPP symbols usage between struct addrinfo definition and its usage in getaddrinfo(). While here define struct addrinfo's pad members the same way as in NetBSD's /usr/include/netbsd.h and sync code in lib/bind/irs/getaddrinfo.c:getaddrinfo(). This had been reported to bind9-bugs at isc dot org.
2006-08-17Update bind to 9.3.2.taca12-208/+187
Changes are huge, so please see http://www.isc.org/sw/bind/bind9.3.php.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-06-20The contents of include/bind vary widly between systems as bind9abs2-29/+6
dutifully installs whatever it thinks might be missing or just substandard on the current system. As the Makefile already adds the contents of share/doc/bind9 dynamically to the PLIST, do the same for include/bind. Fixes the PLIST on RedHat EL 2 & 3, and does not break it on NetBSD/3 No PKGREVISION bump as no change to anything but generated PLIST
2006-04-25Remove as maintainer of this package. I'm no longer using it on anytron1-2/+2
system I administrate.
2006-04-23Modify packages that set PKG_USERS and PKG_GROUPS to follow the newjlam1-2/+5
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-5/+5
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-2/+3
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2006-03-22Add DragonFly support.joerg3-6/+53
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-05Ran "pkglint --autofix", which corrected some of the quoting issues inrillig1-3/+3
CONFIGURE_ARGS.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-3/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-23The real user name in PKG_USERS does not need to be escaped with doublerillig1-2/+2
backslashes anymore. A single backslash is enough. Changed the definition in all affected packages. For those that are not caught, an additional check is placed into bsd.pkginstall.mk.
2005-07-05whitespace fixesgrant1-2/+7
2005-07-05- fix two typosgrant1-4/+4
- s/change root/chroot/ for clarity - punctuation fixes
2005-06-26Fix the detection of bind on systems where it's available natively.jlam1-9/+17
This bug was introduced in revision 1.7 where bind was determined to be built-in only if libbind.* existed on the system, which isn't necessarily true on systems where the resolver routines are incorporated into libc, e.g. NetBSD. We now consider bind to be built-in if BUILTIN_VERSION.bind is defined, and we define BUILTIN_VERSION.bind only if /usr/sbin/named exists on the system. We also improve the derivation of the version number of BIND by parsing the named output, so we can now also detect bind-4.x and bind-8.x.
2005-06-02Check that a variable is defined before using it.jlam1-2/+3
2005-06-01Don't set "DIST_SUBDIR". BIND 9.x archives include the version number.tron2-6/+5
2005-06-01Update "bind" package to version 9.3.1. Changes since version 9.3.0:tron3-17/+9
BIND 9.3.1 is a maintenance release, containing fixes for a number of bugs in 9.3.0. libbind: corresponds to that from BIND 8.4.6-REL.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-22/+70
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-17Use RCD_SCRIPTS_SHELL. Script now works on Solaris.sketch1-2/+2
2005-05-03Sort.wiz1-2/+2
2005-05-02RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.reed1-1/+3
And always is defined as share/examples/rc.d which was the default before. This rc.d scripts are not automatically added to PLISTs now also. So add to each corresponding PLIST as required. This was discussed on tech-pkg in late January and late April. Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-18- Incooperate change root non-root support from NetBSD's "/etc/rc.d/named"tron3-8/+45
into "named9.sh". - Create a user and a group "named" for running the name server. - Add a message file which encourages to run the name server in a change root non-root configuration. This address PR pkg/14876 by Greg A. Woods. Bump package revision because of the above changes.
2005-03-16- Rename rc script "named" to "named9" to avoid conflicts with NetBSD'stron4-5/+21
builtin script. - Don't set "pidfile" in "named9.sh" because it breaks change rooted configurations. - Disable inlining in "lib/dns/rbt.c" on PowerPC systems because certain GCC version create broken code for that file. Bump package revision because of the above changes.
2005-03-15- Reorder assignment to fix "pkglint" warnings.tron2-18/+8
- Use RCD_SCRIPTS mechanism to install startup scripts as suggested by Greg A. Woods in PR pkg/19099.
2005-03-15Add missing RCS Ids.tron3-3/+7
2005-03-15Improve description as suggested by Greg A. Woods in PR pkg/19099.tron1-14/+19
2005-02-24Add RMD160 digests.agc1-1/+3
2005-01-26Apply ISC patch to fix a potential DoS in BIND 9.3.0 reported in VU#938617.tron2-4/+10
Bump package version number to 9.3.0pl1 because of this.
2004-12-29Use VARBASE.minskim1-2/+2
2004-12-18BIND 9.3.0 dies right after launch on VAX and m68k when threading isjklos1-2/+4
enabled. Until this is fixed, we'll turn off threading for VAX and m68k. PowerPC has some other issue, and i386 and SPARC appear to work fine with threading.