From: Bert Hubert Date: Fri, 13 Dec 2002 15:22:33 +0000 (+0000) Subject: 2.9.2 X-Git-Tag: pdns-2.9.2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=152b4591aa242f8fe4cfbedc6d44a30a896e4c11;p=thirdparty%2Fpdns.git 2.9.2 git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@74 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/README b/README index 383bb142d1..10baa7d8e8 100644 --- a/README +++ b/README @@ -23,6 +23,7 @@ SOLARIS NOTES ------------- You need gcc 3.x, preferably 3.2! The 'Sunpro' compiler is currently not supported (patches are welcome if not too intrusive). + If you encounter problems with the Solaris make, gmake is advised IPv6 is currently (2.9.1.) broken in Solaris, awaiting patches! @@ -30,7 +31,7 @@ IPv6 is currently (2.9.1.) broken in Solaris, awaiting patches! FREEBSD NOTES ------------- gcc 2.95.x works. You need to compile using gmake - regular make only appears to -work, but doesn't in fact. +work, but doesn't in fact. Use gmake, not make. LINUX NOTES ----------- diff --git a/configure.in b/configure.in index 73ea9b8ecb..ac8e235b1d 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CANONICAL_HOST AM_CONFIG_HEADER(config.h) AC_C_BIGENDIAN AC_PREREQ(2.52) -CXXFLAGS="$CXXFLAGS -Wall" +CXXFLAGS="$CXXFLAGS -Wall -O2" AC_PREFIX_DEFAULT(/usr/local) AC_PROG_CC @@ -184,7 +184,7 @@ AC_ARG_WITH(socketdir, [ --with-socketdir Where the controlsocket lives ], socketdir="$withval" ]) -AC_MSG_CHECKING(whether we to include mysql support in the generic backend) +AC_MSG_CHECKING(whether we to include MySQL support in the generic backend) AC_ARG_ENABLE(mysql, [ --enable-mysql Whether to include MySQL support in generic backend],enable_mysql=$enableval,enable_mysql=yes) AC_MSG_RESULT($enable_mysql) @@ -357,13 +357,13 @@ do pgmysql) echo -n "gmysqlbackend.o " > $srcdir/modules/pgmysqlbackend/OBJECTFILES - if test -n "$domysql" + if test x"$domysql" = xyes then echo -n "smysql.o " >> $srcdir/modules/pgmysqlbackend/OBJECTFILES - echo -n "-lmysql " >> $srcdir/modules/pgmysqlbackend/OBJECTLIBS + echo -n "-lmysqlclient " >> $srcdir/modules/pgmysqlbackend/OBJECTLIBS fi - if test -n "$dopgsql" + if test x"$dopgsql" = xyes then echo -n "spgsql.o " >> $srcdir/modules/pgmysqlbackend/OBJECTFILES echo -n "-lpq++ -lpq -lssl -lcrypt -lcrypto " >> $srcdir/modules/pgmysqlbackend/OBJECTLIBS diff --git a/makerelease b/makerelease index e5b214fed7..e1c0cad51b 100755 --- a/makerelease +++ b/makerelease @@ -1,5 +1,5 @@ #!/bin/sh fakeroot debian/rules clean -rm -r debian/*~ +rm -f debian/*~ ./configure --with-modules="mysql pdns pgmysql oracle db2 xdb odbc xdb pipe" --enable-pgsql make dist diff --git a/modules/gmysqlbackend/gmysqlbackend.cc b/modules/gmysqlbackend/gmysqlbackend.cc index 49c4af835e..c90b8daabf 100644 --- a/modules/gmysqlbackend/gmysqlbackend.cc +++ b/modules/gmysqlbackend/gmysqlbackend.cc @@ -1,4 +1,4 @@ -// $Id: gmysqlbackend.cc,v 1.5 2002/12/13 13:24:34 ahu Exp $ +// $Id: gmysqlbackend.cc,v 1.6 2002/12/13 15:22:33 ahu Exp $ #include #include @@ -122,7 +122,7 @@ void gMySQLBackend::getUnfreshSlaveInfos(vector *unfreshDomains) sdata.serial=0; sdata.refresh=0; getSOA(i->zone,sdata); - if(i->last_check+sdata.refreshlast_check+sdata.refresh) < time(0)) { i->serial=sdata.serial; unfreshDomains->push_back(*i); } diff --git a/modules/odbcbackend/Makefile.in b/modules/odbcbackend/Makefile.in new file mode 100644 index 0000000000..759a685579 --- /dev/null +++ b/modules/odbcbackend/Makefile.in @@ -0,0 +1,25 @@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ +DISTFILES=*.cc *.hh Makefile.in OBJECTFILES OBJECTLIBS + +top_distdir = ../.. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + $(mkinstalldirs) "$(distdir)/$$dir"; \ + fi; \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir) \ + || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + + diff --git a/modules/oraclebackend/OBJECTLIBS b/modules/oraclebackend/OBJECTLIBS index 3c460f05a3..e274f2177c 100644 --- a/modules/oraclebackend/OBJECTLIBS +++ b/modules/oraclebackend/OBJECTLIBS @@ -1 +1 @@ --ldl -L/opt/oracle/lib -ldl -lclient8 -ldl -lclntst8 \ No newline at end of file +-L/opt/oracle/lib -lclient8 -lclntst8 \ No newline at end of file diff --git a/pdns/Makefile.am b/pdns/Makefile.am index e244a47091..4f1dac930c 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -4,7 +4,8 @@ AM_CPPFLAGS=-Ibackends/bind EXTRA_DIST = codedocs/Makefile codedocs/doxygen.conf docs/Makefile \ docs/gslb-operations.sgml docs/powerdns-case.sgml docs/powerdns-install.sgml \ docs/powerdns-overview.sgml docs/powerdns-technical.sgml \ - release-scripts/ docs/pdns.sgml mtasker.cc + release-scripts/ docs/pdns.sgml mtasker.cc \ +docs/pdns_control.8 docs/pdns_server.8 docs/zone2sql.8 noinst_SCRIPTS = pdns sysconf_DATA = pdns.conf-dist @@ -30,7 +31,7 @@ backends/bind/bindparser.cc backends/bind/bindlexer.c \ backends/bind/huffman.cc # -pdns_server_LDFLAGS=@DYNLINKFLAGS@ @LIBDL@ @moduleobjects@ @modulelibs@ +pdns_server_LDFLAGS= @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ pdns_server_INCLUDES= diff --git a/pdns/docs/pdns.sgml b/pdns/docs/pdns.sgml index 23f098ef72..8bb1bc63cf 100644 --- a/pdns/docs/pdns.sgml +++ b/pdns/docs/pdns.sgml @@ -15,7 +15,7 @@ - v2.1 $Date: 2002/12/13 13:24:34 $ + v2.1 $Date: 2002/12/13 15:22:33 $ @@ -87,7 +87,8 @@ Version 2.9.2 - Bugfixes galore. Solaris porting created some issues on all platforms. + Bugfixes galore. Solaris porting created some issues on all platforms. Great news is that PowerDNS is now in Debian 'sid' (unstable). The 2.9.1 + packages in there currently aren't very good but the 2.9.2 ones will be. Many thanks to Wichert Akkerman, our 'downstream' for making this possible. @@ -5417,8 +5418,7 @@ GRANT ALL ON records_id_seq TO pdns; PowerDNS is currently ascertaining if this backend can be distributed in binary form without violating Oracle licensing. In the meantime, - the source code to the Oracle backend is available for runtime linking into dynamic versions of PowerDNS. See - http://downloads.powerdns.com/backends for sources. + the source code to the Oracle backend is available in the pdns distribution. The following configuration settings are available: