update to v2.1.0

This commit is contained in:
jakob 2004-05-14 18:43:54 +00:00
parent f5c265fc84
commit 6fe059a3c6
3 changed files with 6 additions and 24 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.17 2004/02/18 19:25:38 jakob Exp $
# $OpenBSD: Makefile,v 1.18 2004/05/14 18:43:54 jakob Exp $
COMMENT= "authoritative-only name server daemon"
VERSION= 2.0.0
VERSION= 2.1.0
DISTNAME= nsd-${VERSION}
PKGNAME= nsd-${VERSION}p0
PKGNAME= nsd-${VERSION}
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/

View File

@ -1,3 +1,3 @@
MD5 (nsd-2.0.0.tar.gz) = a09542645b91ff60564b0f4db436af01
RMD160 (nsd-2.0.0.tar.gz) = deef29d95ee8eb8ae17a7d8816343b6284185ae7
SHA1 (nsd-2.0.0.tar.gz) = e46837413a8644de5bc0900e4f3547748f4bbb59
MD5 (nsd-2.1.0.tar.gz) = d2b6246c1b639ca23894f95b4203f016
RMD160 (nsd-2.1.0.tar.gz) = 81f46d972244c4b34f166fc2890cf5afb7764b65
SHA1 (nsd-2.1.0.tar.gz) = 70ddaaae9d6e3b843162e2e86bf16c5a04390f8b

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-zlexer_lex,v 1.1 2004/02/18 19:25:38 jakob Exp $
--- zlexer.lex.orig 2004-02-11 01:01:31.000000000 -0800
+++ zlexer.lex 2004-02-18 07:28:51.000000000 -0800
@@ -144,9 +144,11 @@ Q \"
BEGIN(INITIAL);
}
<<EOF>> { /* end of file is reached - check if we were including */
- if ( --include_stack_ptr < 0 )
- yyterminate();
- else {
+ if (include_stack_ptr == 0) {
+ yyterminate();
+ } else {
+ --include_stack_ptr;
+
/* pop (once you pop, you can not stop) */
current_parser->filename =
zparser_stack[include_stack_ptr].filename;