Skip to content

Commit

Permalink
2.9.2
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@74 d19b8d6e-7fed-0310-83ef-9ca221ded41b
  • Loading branch information
ahupowerdns committed Dec 13, 2002
1 parent d022a07 commit 152b459
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 16 deletions.
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ 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!

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
-----------
Expand Down
10 changes: 5 additions & 5 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion makerelease
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions modules/gmysqlbackend/gmysqlbackend.cc
Original file line number Diff line number Diff line change
@@ -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 <string>
#include <map>

Expand Down Expand Up @@ -122,7 +122,7 @@ void gMySQLBackend::getUnfreshSlaveInfos(vector<DomainInfo> *unfreshDomains)
sdata.serial=0;
sdata.refresh=0;
getSOA(i->zone,sdata);
if(i->last_check+sdata.refresh<time(0)) {
if((time_t)(i->last_check+sdata.refresh) < time(0)) {
i->serial=sdata.serial;
unfreshDomains->push_back(*i);
}
Expand Down
25 changes: 25 additions & 0 deletions modules/odbcbackend/Makefile.in
Original file line number Diff line number Diff line change
@@ -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


2 changes: 1 addition & 1 deletion modules/oraclebackend/OBJECTLIBS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-ldl -L/opt/oracle/lib -ldl -lclient8 -ldl -lclntst8
-L/opt/oracle/lib -lclient8 -lclntst8
5 changes: 3 additions & 2 deletions pdns/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=


Expand Down
8 changes: 4 additions & 4 deletions pdns/docs/pdns.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</affiliation>
</author>

<PubDate>v2.1 $Date: 2002/12/13 13:24:34 $</PubDate>
<PubDate>v2.1 $Date: 2002/12/13 15:22:33 $</PubDate>

<Abstract>
<para>
Expand Down Expand Up @@ -87,7 +87,8 @@
</para>
<sect2 id="changelog-2-9-2"><title>Version 2.9.2</title>
<para>
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.
</para>
<warning>
<para>
Expand Down Expand Up @@ -5417,8 +5418,7 @@ GRANT ALL ON records_id_seq TO pdns;
</para>
<para>
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
<ulink url="http://downloads.powerdns.com/backends">http://downloads.powerdns.com/backends</ulink> for sources.
the source code to the Oracle backend is available in the pdns distribution.
</para>
<para>
The following configuration settings are available:
Expand Down

0 comments on commit 152b459

Please sign in to comment.