-------------
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
-----------
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
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)
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
#!/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
-// $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>
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);
}
--- /dev/null
+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
+
+
--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
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
backends/bind/huffman.cc
#
-pdns_server_LDFLAGS=@DYNLINKFLAGS@ @LIBDL@ @moduleobjects@ @modulelibs@
+pdns_server_LDFLAGS= @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@
pdns_server_INCLUDES=
</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>
</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>
</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: