Changeset 77
- Timestamp:
- 12/16/02 14:04:27 (10 years ago)
- Location:
- trunk/pdns
- Files:
-
- 1 removed
- 13 modified
-
ChangeLog (modified) (1 diff)
-
README (modified) (2 diffs)
-
TODO (modified) (4 diffs)
-
configure.in (modified) (4 diffs)
-
debian/changelog (modified) (1 diff)
-
debian/control (modified) (2 diffs)
-
debian/rules (modified) (3 diffs)
-
modules/pipebackend/Makefile.am (modified) (1 diff)
-
modules/pipebackend/coprocess.cc (modified) (1 diff)
-
modules/pipebackend/pipebackend.cc (modified) (3 diffs)
-
modules/xdbbackend/Makefile.in (modified) (2 diffs)
-
pdns.spec (modified) (1 diff)
-
pdns/acconfig.h (deleted)
-
rpm-build-instruction (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/ChangeLog
r67 r77 1 Changes since 2.9.2: 2 - windows compilation patches 3 - tiny improvements in win98 error messages 4 1 5 Changes since 2.9.1: 2 6 - removed debugging output from the webserver (found by Paul Wouters) -
trunk/pdns/README
r74 r77 9 9 This generates a PowerDNS binary with no modules, except the bind backend, 10 10 built in. When ./configure is run without --with-modules, the mysql and 11 pgmysql modules isbuilt by default, with the latter only supporting mysql.11 pgmysql modules are built by default, with the latter only supporting mysql. 12 12 13 13 To add multiple modules, try: … … 34 34 work, but doesn't in fact. Use gmake, not make. 35 35 36 pipebackend does not work due to bad interaction between fork and pthreads. 37 Amazingly, running the Linux version under the linuxulator DOES work! 38 36 39 LINUX NOTES 37 40 ----------- -
trunk/pdns/TODO
r67 r77 1 1 bugs: 2 fixed bind backend ANY queries don't work3 fixed records of unknown type are reported as -1?4 fixed pdns/pdns should be +x5 2 pdns.conf-dist contains old descriptions 6 redhat does not find postgresql includes by default7 redhat does not find postgresql libraries by default8 9 10 immediate issues:11 make install installs libraries with a static build which it should12 not13 14 3 15 4 Things we will not do but hope other people will: … … 26 15 Medium size things: 27 16 - 64 bit cleanliness 17 compiles on 64 bit, but does it work? 28 18 - Improve bind 'workalike' mode so we are a drop-in replacement for 29 19 non-resolving bind. We're 90% there. … … 33 23 needs very good RPMS 34 24 need to get Red Hat interested 35 - get PDNS into Debian Sid36 Wichert Akkerman is working on this37 25 - get PDNS into FreeBSD ports 38 26 - and other architectures … … 59 47 return 0; 60 48 } 61 62 63 64 Mostly polish on the build process:65 - add support for building dynamic modules again66 .so files that can be loaded at runtime and distributed67 separately68 69 70 $ export CVSROOT=:pserver:anon@outpost.ds9a.nl:/var/cvsroot71 $ cvs login72 CVS password: [enter 'cvs' (without 's)]73 $ cvs co pdns74 cvs server: Updating pdns75 ...76 77 - In ./modules you will find a number of exciting modules that need to78 be tought to add themselves to the 'distdir', so they appear in79 'make dist', the PowerDNS distribution.80 81 82 Real work:83 - Mac OS X version (has been done, partly)84 - resurrect W2K version -
trunk/pdns/configure.in
r74 r77 55 55 56 56 # pthread_create is in standard libraries (As in BSDI 3.0) 57 AC_MSG_CHECKING( "for pthread_create in -libc");57 AC_MSG_CHECKING([for pthread_create in -libc]); 58 58 AC_TRY_LINK( 59 59 [#include <pthread.h>], … … 63 63 if test "$with_posix_threads" = "no" 64 64 then 65 AC_MSG_CHECKING( "for pthread_create in -lpthread");65 AC_MSG_CHECKING([for pthread_create in -lpthread]); 66 66 ac_save_LIBS="$LIBS" 67 67 LIBS="$LIBS -lpthread" … … 74 74 then 75 75 LIBS=" $ac_save_LIBS -lpthreads" 76 AC_MSG_CHECKING( "for pthread_create in -lpthreads");76 AC_MSG_CHECKING([for pthread_create in -lpthreads]); 77 77 AC_TRY_LINK( 78 78 [#include <pthread.h>], … … 84 84 # This is for FreeBSD 85 85 LIBS="$ac_save_LIBS -pthread" 86 AC_MSG_CHECKING( "for pthread_create in -pthread");86 AC_MSG_CHECKING([for pthread_create in -pthread]); 87 87 AC_TRY_LINK( 88 88 [#include <pthread.h>], -
trunk/pdns/debian/changelog
r67 r77 1 1 pdns (2.9.2-1) unstable; urgency=low 2 2 3 * upstream updates 3 * New upstream release 4 * bind backend fully merged in the main pdns package now 5 * Add new pipe, pgmysql and xdb backends 4 6 5 -- bert hubert <bert@powerdns.com> Wed, 11 Dec 2002 15:04:52+01007 -- Wichert Akkerman <wakkerma@debian.org> Fri, 13 Dec 2002 16:39:29 +0100 6 8 7 9 pdns (2.9-1) unstable; urgency=low -
trunk/pdns/debian/control
r71 r77 4 4 Standards-Version: 3.5.8 5 5 Maintainer: Wichert Akkerman <wakkerma@debian.org> 6 Build-Depends: automake1.5, autoconf, libtool, flex, bison, docbook-utils, libmysqlclient10-dev, postgresql-dev, tdb-dev 6 Build-Depends: automake1.5, autoconf, libtool, flex, bison, docbook-utils, libmysqlclient10-dev, postgresql-dev, tdb-dev, libgdbmg1-dev 7 7 8 8 Package: pdns … … 17 17 18 18 Package: pdns-doc 19 Section: doc 19 20 Architecture: all 20 21 Description: PowerDNS manual -
trunk/pdns/debian/rules
r70 r77 64 64 65 65 rm -f "$(tmpdir)"/usr/bin/binpatch 66 rm -f "$(tmpdir)"/usr/bin/xdb-fill 66 67 rm -rf "$(tmpdir)"/usr/lib 67 68 … … 112 113 113 114 strip --remove-section=.comment --remove-section=.note \ 114 --strip-unneeded "$(tmpdir)"/usr/lib/powerdns/*.so 115 --strip-unneeded "$(tmpdir)"/usr/lib/powerdns/*.so \ 116 "$(tmpdir)"/usr/bin/xdb-fill 115 117 chmod 644 "$(tmpdir)"/usr/lib/powerdns/* 116 118 … … 119 121 rm -rf "$(tmpdir)"-$$be ; \ 120 122 pkg=pdns-backend-$$be ; \ 123 if [ "$$be" = "xdb" ] ; then \ 124 install -d -m 755 -o root -g root "$(tmpdir)"-$$be/usr/bin ; \ 125 mv "$(tmpdir)"/usr/bin/xdb-fill "$(tmpdir)"-$$be/usr/bin/ ; \ 126 fi ; \ 127 \ 121 128 install -d -m 755 -o root -g root "$(tmpdir)"-$$be/usr/lib/powerdns ; \ 122 129 mv "$(tmpdir)"/usr/lib/powerdns/lib$$be* "$(tmpdir)"-$$be/usr/lib/powerdns ; \ -
trunk/pdns/modules/pipebackend/Makefile.am
r67 r77 4 4 #endif 5 5 6 EXTRA_DIST=OBJECTFILES OBJECTLIBS 6 EXTRA_DIST=OBJECTFILES OBJECTLIBS backend.pl 7 7 lib_LTLIBRARIES = libpipebackend.la 8 8 -
trunk/pdns/modules/pipebackend/coprocess.cc
r57 r77 103 103 line.append(1,'\n'); 104 104 105 int sent=0;105 unsigned int sent=0; 106 106 int bytes; 107 107 -
trunk/pdns/modules/pipebackend/pipebackend.cc
r61 r77 1 1 // -*- sateh-c -*- 2 2 // File : pdnsbackend.cc 3 // Version : $Id: pipebackend.cc,v 1. 3 2002/12/09 16:24:17 ahu Exp $3 // Version : $Id: pipebackend.cc,v 1.4 2002/12/16 13:04:27 ahu Exp $ 4 4 // 5 5 … … 183 183 } 184 184 else if(parts[0]=="DATA") { // yay 185 186 185 if(parts.size()<7) { 187 L<<Logger::Error<<kBackendId<<" coprocess returned emtpy line in data section for query for "<<d_qname<<endl;186 L<<Logger::Error<<kBackendId<<" coprocess returned incomplete or empty line in data section for query for "<<d_qname<<endl; 188 187 throw AhuException("Format error communicating with coprocess in data section"); 189 188 // now what? … … 193 192 r.ttl=atoi(parts[4].c_str()); 194 193 r.domain_id=atoi(parts[5].c_str()); 195 r.content=parts[6]; 194 195 if(parts[3]!="MX") 196 r.content=parts[6]; 197 else { 198 if(parts.size()<8) { 199 L<<Logger::Error<<kBackendId<<" coprocess returned incomplete MX line in data section for query for "<<d_qname<<endl; 200 throw AhuException("Format error communicating with coprocess in data section of MX record"); 201 } 202 203 r.priority=atoi(parts[6].c_str()); 204 r.content=parts[7]; 205 } 196 206 break; 197 207 } -
trunk/pdns/modules/xdbbackend/Makefile.in
r67 r77 20 20 top_distdir = ../.. 21 21 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 22 exec_prefix = @exec_prefix@ 22 23 23 24 distdir: $(DISTFILES) … … 50 51 $(mkinstalldirs) $(DESTDIR)@libdir@ 51 52 install -s libxdbbackend.so $(DESTDIR)@libdir@ 53 $(mkinstalldirs) $(DESTDIR)@bindir@ 54 install -s xdb-fill $(DESTDIR)@bindir@ 52 55 -
trunk/pdns/pdns.spec
r62 r77 1 1 Buildroot: /tmp/pdns 2 2 Name: pdns 3 Version: 2.9. 13 Version: 2.9.2 4 4 Release: 1 5 5 Summary: extremely powerful and versatile nameserver -
trunk/pdns/rpm-build-instruction
r63 r77 1 1 #!/bin/sh 2 ./configure --with-modules="mysql pgmysql p dns pipe" \2 ./configure --with-modules="mysql pgmysql pipe pdns" --with-dynmodules="" \ 3 3 --enable-static-binaries --enable-mysql --enable-pgsql \ 4 4 --with-pgsql-lib=/opt/postgresql-with-3.2/lib/ --prefix=/usr \ 5 5 --sysconfdir=/etc/powerdns \ 6 && make && \6 && make clean && make && \ 7 7 sudo /bin/sh -c "rm -rf /tmp/pdns ; DESTDIR=/tmp/pdns make install-strip" && 8 8 sudo mkdir -p /tmp/pdns/etc/init.d &&