summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Finalise 1.5.0~rc1-1debian/1.5.0_rc1-1Ian Jackson2014-10-26
|
* Add missing Build-Dependency on `lynx' (for README).Ian Jackson2014-10-26
|
* Note re lack of upstream code changesIan Jackson2014-10-26
|
* Remove vbuf__append_quoted1035 from symbols file.Ian Jackson2014-10-26
|
* Record new upstream version in changelogIan Jackson2014-10-26
|
* Merge tag 'adns-1.5.0-rc1' into dgit/sidIan Jackson2014-10-26
|\ | | | | | | adns release 1.5.0~rc1
| * Finalise 1.5.0~rc1Ian Jackson2014-10-26
| |
| * NEWS, changelog: Documentation for 1.5.0~rc1Ian Jackson2014-10-26
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * regress/Makefile.in: Parallelise `make check'Ian Jackson2014-10-26
| | | | | | | | | | | | | | Use an individual target for each test. This allows parallel make to get its teeth into the problem. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * resolv.conf parsing: Test adns_af:dampstringIan Jackson2014-10-26
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * resolv.conf parsing: Treat unknown adns_af: values correctlyIan Jackson2014-10-26
| | | | | | | | | | | | | | These shouldn't be fatal, and they should be affected by ads->config_report_unknown. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * resolv.conf option parsing: Test adns_checkcIan Jackson2014-10-26
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * resolv.conf parsing: Rename OPTION_IS etc. to WORD_ISIan Jackson2014-10-26
| | | | | | | | | | | | | | | | This now handles whatever is in `word', not necessarily the whole option. (We do this rename in a separate patch as it makes the previous patch easier to review.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * resolv.conf option parsing: Fix word separationIan Jackson2014-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nextword' does not nul-terminate the words it returns. So the strcmps in ccf_options are wrong. Fix this as follows: * Abolish most uses of l in favour of a pointer variable endword. * Have OPTION_IS and OPTION_STARTS update word, and endword, so that it is convenient to use them for option values, etc. * Save the whole option in new variables opt and optend for reporting and to assist the `adns_af:' loop. * Use OPTION_IS, OPTION_STARTS and memchr, rather than strcmp, ad-hoc memcmp, and strcspn. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * RELEASE-CHECKLIST: Check that tarball is equal to git treeIan Jackson2014-10-26
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * RELEASE-CHECKLIST: Non-real mode (the default, now)Ian Jackson2014-10-26
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * RELEASE-CHECKLIST: Require version argumentIan Jackson2014-10-26
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * Config parsing: Provide a way to ignore unknown resolv.conf contentsIan Jackson2014-10-26
| | | | | | | | | | | | | | You can now set the option `adns_ignoreunkcfg'. This is relevant to Debian #411263. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * Config parsing: Ignore some BIND9-specific resolv.conf optionsIan Jackson2014-10-26
| | | | | | | | | | | | Debian #411263. I also read wheezy's resolv.conf(5). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * resolv.conf parser: Avoid duplicating lengths in option parserIan Jackson2014-10-26
| | | | | | | | | | | | | | | | | | Replace a lot of things like `l>=5 && memcmp(word,"debug",5)' with use of some new macros. No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * API: Reject unknown flagsIan Jackson2014-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for unknown flags in adns_initflags, adns_queryflags, and adns_rrtype. This will allow us to extend the API in the future but still retain backward-ABI-safety: new applications which pass a new flag but are run against old adns will get an error (typically, ENOSYS). In each case we reserve a few of the spare bits for `harmless' extensions: flags which we decide, at the time of introduction, that it is harmless for old implementations to ignore. We simply provide explicit hex values for the flags. This is easier than listing all of the actually-defined flags, and probably no less reliable. Failing to add a new flag to the check as well as to the enum will produce an obvious error (unless the `harmless' flag is used - and those are at the top of the space to reduce that probability). In the case of adns_rrtype, all of the external functions quickly pass the type to adns__findtype, so we can do the check there. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * Make internal function vbuf__append_quoted1035 staticIan Jackson2014-10-26
| | | | | | | | | | | | This does not change the library ABI - the only callers are internal. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * Remove RCSids.Ian Jackson2014-10-24
| | | | | | | | | | | | | | We are using git now and it doesn't do this kind of thing. They are a pain, anyway. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * Build system: Add test case output and common.make to `make [dist]clean'.Ian Jackson2014-10-24
| | | | | | | | | | | | (Cherry-picked from Debian's adns dgit/experimental branch.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * Build system: Bodge regress/Makefile.in's .SECONDARY some moreIan Jackson2014-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The declaration mentioning CLIENTS has an unfortunate side-effect: it `mentions' the file adnshost_c.o, which is not part of the build and is not buildable. According to the rules in `(make)Implicit Rule Search' this causes make to try to build adnshost_playback from adnshost_c.o (rule 5). This is because files whose names are `mentioned' are taken to `ought to exist'. This causes adns to be unbuildable on the make from Debian sid (4.0-8); it is not visible on earlier makes (eg 3.81-8.2) because they don't appear to actually follow the documented algorithm. Bodge this (further) by filtering adnshost out of the client list. It is currently the only client made out of multiple object files. (Cherry-picked from Debian's adns dgit/experimental branch.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * regress: Use new combined hex syntax for adnstest typesIan Jackson2014-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the tests clearer to read. No functional change. Change was made with for f in regress/*.sys; do perl -i~ -p ../t.pl $f; done where t.pl is this script if ($.==1) { $at=m{^(?:\./)?adnstest\b}; } if ($at && $.==2 && m/^:/) { m/^:(\S+)/ or die; $r=$'; #'; $_=$1; s{\b(\d+)\b}{ sprintf "0x%x|%d", ($1 & ~0xffff), ($1 & 0xffff) }ge; $_=":$_$r"; } Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * adnstest: Support typenum being 0xXX|DDDIan Jackson2014-10-24
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * API: Provide adns_qf_cname_strictIan Jackson2014-10-24
| | | | | | | | | | | | | | | | | | | | | | In the medium term we want to make adns tolerate cname chains better. One thing we want to do is to change the default to be adns_qf_cname_loose. So introduce a flag now that allows applications to explicitly request strict. For now this new flag has no effect. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * enums: Add `sizeforce' member valueIan Jackson2014-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C standard helpfully permits enums with a small range of values to be short. This effect is not desirable in an API because it means that adding new values (new flags, say) may cause ABI incompatibility. Add some `sizeforce' members to relevant enums in the API. In none of the three cases do we expect this to actually cause an ABI break on actual practical platforms, because the values we choose are within the same power-of-two bitwidth. Specifically: max value in adns 1.4 new max value adns_initflags 0x0300 0x7fff adns_queryflags 0x0ff00000 0x7fffffff adns_rrtype 0x20000 0x7fffffff adns_status 499 unchanged The small max value of adns_initflags is unfortunate. But we can't change it without actually breaking the ABI on actual existing platforms. We can put off biting that bullet until we run out of initflags - there are still three flags remaining. This patch is not expected to have any practical effect with existing platforms and compilers but it makes the code more correct and less likely to be misoptimised by a future aggressive compiler. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * .gitignore: Ignore GPG signatureIan Jackson2014-10-24
| |
| * Update version numbers to be between releasesIan Jackson2014-10-24
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * RELEASE-CHECKLIST: Say to update versions after doing releaseIan Jackson2014-10-20
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| * RELEASE-CHECKLIST: wip, as used for 1.5.0~rc0Ian Jackson2014-10-20
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* | Note: Not using upstream tarball because it contains some junk.debian/1.5.0_rc0-0_exp1Ian Jackson2014-10-20
| |
* | Build system: Add test case output and common.make to `make [dist]clean'.Ian Jackson2014-10-20
| | | | | | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* | Build system: Bodge regress/Makefile.in's .SECONDARY some moreIan Jackson2014-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The declaration mentioning CLIENTS has an unfortunate side-effect: it `mentions' the file adnshost_c.o, which is not part of the build and is not buildable. According to the rules in `(make)Implicit Rule Search' this causes make to try to build adnshost_playback from adnshost_c.o (rule 5). This is because files whose names are `mentioned' are taken to `ought to exist'. This causes adns to be unbuildable on the make from Debian sid (4.0-8); it is not visible on earlier makes (eg 3.81-8.2) because they don't appear to actually follow the documented algorithm. Bodge this (further) by filtering adnshost out of the client list. It is currently the only client made out of multiple object files. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* | debian/changelog: Finalise 1.5.0~rc0-0~exp1Ian Jackson2014-10-20
| |
* | Fix copyright file for GPL-3 and new datesIan Jackson2014-10-20
| |
* | debian/control: Fix priority of -dbg packageIan Jackson2014-10-20
| |
* | Support dpkg-buildflags (ie, build with hardening).Ian Jackson2014-10-20
| |
* | Add ${misc:Depends} to quieten lintian (no change to the .debs).Ian Jackson2014-10-20
| |
* | Remove values from rcsids, to remove diffs from upstream.Ian Jackson2014-10-20
| |
* | Add -dbg package.Ian Jackson2014-10-20
| |
* | .gitignore: MoreIan Jackson2014-10-20
| |
* | Add dh and debian files to .gitignore.Ian Jackson2014-10-20
| |
* | Symbols: require 1.5.0~ for everythingIan Jackson2014-10-20
| |
* | Update shlibs, symbols, and install for 1.5.0Ian Jackson2014-10-20
| |
* | Remove obsolete emacs local variables stanza from debian/changelog.Ian Jackson2014-10-20
| |
* | In symbols file: ignore all symbols `adns__*' with a regex rule.Ian Jackson2014-10-20
| |
* | Clarify and improve package Descriptions.Ian Jackson2014-10-20
| |