Changeset 13
- Timestamp:
- 11/28/02 13:30:45 (10 years ago)
- Location:
- trunk/pdns
- Files:
-
- 16 added
- 3 removed
- 15 modified
-
GOALS (modified) (1 diff)
-
modules/Makefile.am (added)
-
modules/gmysqlbackend/OBJECTFILES (added)
-
modules/gmysqlbackend/OBJECTLIBS (added)
-
modules/mysqlbackend/OBJECTFILES (added)
-
modules/mysqlbackend/OBJECTLIBS (added)
-
modules/mysqlbackend/mysqlcbackend.cc (modified) (2 diffs)
-
modules/mysqlbackend/mysqlcbackend.hh (modified) (1 diff)
-
modules/pdnsbackend/OBJECTFILES (added)
-
modules/pdnsbackend/OBJECTLIBS (added)
-
modules/pdnsbackend/pdnsbackend.cc (modified) (2 diffs)
-
modules/pdnsbackend/pdnsbackend.hh (modified) (2 diffs)
-
modules/xdbbackend (added)
-
modules/xdbbackend/Makefile (added)
-
modules/xdbbackend/xdb-fill.cc (added)
-
modules/xdbbackend/xdb.hh (added)
-
modules/xdbbackend/xdbbackend.cc (added)
-
modules/xdbbackend/xgdbm.cc (added)
-
modules/xdbbackend/xgdbm.hh (added)
-
modules/xdbbackend/xtdb.cc (added)
-
modules/xdbbackend/xtdb.hh (added)
-
pdns/Makefile.am (modified) (4 diffs)
-
pdns/Makefile.in (modified) (17 diffs)
-
pdns/backends/Makefile.in (modified) (6 diffs)
-
pdns/backends/bind/Makefile.am (modified) (1 diff)
-
pdns/backends/bind/Makefile.in (modified) (7 diffs)
-
pdns/backends/bind/bindlexer.c (modified) (1 diff)
-
pdns/codedocs/Makefile (modified) (7 diffs)
-
pdns/codedocs/Makefile.in (modified) (6 diffs)
-
pdns/configure.in (deleted)
-
pdns/installer (deleted)
-
pdns/pdns.conf-dist (modified) (1 diff)
-
pdns/pdns.conf-dist.in (deleted)
-
pdns/pdns.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/GOALS
r11 r13 12 12 - one big module 13 13 14 suggested mechanism: 15 -
trunk/pdns/modules/mysqlbackend/mysqlcbackend.cc
r7 r13 1 // $Id: mysqlcbackend.cc,v 1. 1 2002/11/27 15:29:50ahu Exp $1 // $Id: mysqlcbackend.cc,v 1.2 2002/11/28 12:30:45 ahu Exp $ 2 2 #include <string> 3 3 #include <map> … … 8 8 using namespace std; 9 9 10 #include < dns.hh>11 #include < dnsbackend.hh>12 #include <mysqlcbackend.hh>13 #include < dnspacket.hh>14 #include < ueberbackend.hh>15 #include < ahuexception.hh>16 #include < logger.hh>17 #include < arguments.hh>10 #include <pdns/dns.hh> 11 #include <pdns/dnsbackend.hh> 12 #include "mysqlcbackend.hh" 13 #include <pdns/dnspacket.hh> 14 #include <pdns/ueberbackend.hh> 15 #include <pdns/ahuexception.hh> 16 #include <pdns/logger.hh> 17 #include <pdns/arguments.hh> 18 18 19 19 static string backendName="[MySQLbackend]"; -
trunk/pdns/modules/mysqlbackend/mysqlcbackend.hh
r7 r13 7 7 using namespace std; 8 8 9 #include <mysql.h> 10 9 #include <mysql/mysql.h> 11 10 12 11 -
trunk/pdns/modules/pdnsbackend/pdnsbackend.cc
r9 r13 1 // $Id: pdnsbackend.cc,v 1. 1 2002/11/27 15:34:15 ahu Exp $1 // $Id: pdnsbackend.cc,v 1.2 2002/11/28 12:30:45 ahu Exp $ 2 2 3 3 #include <string> … … 9 9 using namespace std; 10 10 11 #include < dns.hh>12 #include < dnsbackend.hh>13 #include < dnspacket.hh>14 #include < ueberbackend.hh>15 #include < ahuexception.hh>16 #include < logger.hh>17 #include < arguments.hh>11 #include <pdns/dns.hh> 12 #include <pdns/dnsbackend.hh> 13 #include <pdns/dnspacket.hh> 14 #include <pdns/ueberbackend.hh> 15 #include <pdns/ahuexception.hh> 16 #include <pdns/logger.hh> 17 #include <pdns/arguments.hh> 18 18 19 19 #include "pdnsbackend.hh" -
trunk/pdns/modules/pdnsbackend/pdnsbackend.hh
r9 r13 1 // $Id: pdnsbackend.hh,v 1. 1 2002/11/27 15:34:15 ahu Exp $1 // $Id: pdnsbackend.hh,v 1.2 2002/11/28 12:30:45 ahu Exp $ 2 2 3 3 #ifndef PDNSBACKEND_HH … … 9 9 using namespace std; 10 10 11 #include <mysql .h>11 #include <mysql/mysql.h> 12 12 13 13 class PdnsBackend : public DNSBackend -
trunk/pdns/pdns/Makefile.am
r2 r13 1 AM_CXXFLAGS=-D_GNU_SOURCE -DSYSCONFDIR=\"@sysconfdir@\" -DBINDIR=\"@bindir@\" -DLOCALSTATEDIR=\"@ localstatedir@\" -Ibackends/bind1 AM_CXXFLAGS=-D_GNU_SOURCE -DSYSCONFDIR=\"@sysconfdir@\" -DBINDIR=\"@bindir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind 2 2 AM_CPPFLAGS=-Ibackends/bind 3 3 … … 12 12 13 13 bin_SCRIPTS = pdns 14 sysconf_DATA = pdns.conf-dist smtpredir.conf-dist14 sysconf_DATA = pdns.conf-dist 15 15 16 bin_PROGRAMS = pdns_server pdns_control binpatch # syncres # resolver syncres # smtpredir16 bin_PROGRAMS = pdns_server pdns_control binpatch # syncres # resolver syncres 17 17 18 pdns.conf-dist: pdns_server 19 -./pdns_server --config > $@ 18 20 19 21 pdns_server_SOURCES=dnspacket.cc nameserver.cc tcpreceiver.hh \ … … 33 35 34 36 # 35 pdns_server_LDFLAGS=-rdynamic @LIBDL@ extra/*.o `cat extra/ld` -ldl37 pdns_server_LDFLAGS=-rdynamic @LIBDL@ @moduleobjects@ @modulelibs@ 36 38 pdns_server_INCLUDES= 37 39 … … 52 54 SUBDIRS= codedocs backends extra . 53 55 54 deb: ../ahudns_1.1-1_i386.deb55 56 ../ahudns_1.1-1_i386.deb:57 ./debian/rules binary-arch -
trunk/pdns/pdns/Makefile.in
r2 r13 37 37 pkglibdir = $(libdir)/@PACKAGE@ 38 38 pkgincludedir = $(includedir)/@PACKAGE@ 39 top_builddir = . 39 top_builddir = .. 40 40 41 41 ACLOCAL = @ACLOCAL@ … … 56 56 PRE_UNINSTALL = : 57 57 POST_UNINSTALL = : 58 build_alias = @build_alias@59 build_triplet = @build@60 58 host_alias = @host_alias@ 61 59 host_triplet = @host@ 62 target_alias = @target_alias@63 target_triplet = @target@64 60 AMTAR = @AMTAR@ 65 61 AS = @AS@ … … 74 70 LEX = @LEX@ 75 71 LIBDL = @LIBDL@ 76 LIBRESOLV = @LIBRESOLV@77 72 LIBTOOL = @LIBTOOL@ 78 73 LN_S = @LN_S@ … … 87 82 am__quote = @am__quote@ 88 83 install_sh = @install_sh@ 89 90 AM_CXXFLAGS = -D_GNU_SOURCE -DSYSCONFDIR=\"@sysconfdir@\" -DBINDIR=\"@bindir@\" -DLOCALSTATEDIR=\"@localstatedir@\" -Ibackends/bind 84 moduledirs = @moduledirs@ 85 modulelibs = @modulelibs@ 86 moduleobjects = @moduleobjects@ 87 socketdir = @socketdir@ 88 89 AM_CXXFLAGS = -D_GNU_SOURCE -DSYSCONFDIR=\"@sysconfdir@\" -DBINDIR=\"@bindir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind 91 90 AM_CPPFLAGS = -Ibackends/bind 92 91 … … 102 101 103 102 bin_SCRIPTS = pdns 104 sysconf_DATA = pdns.conf-dist smtpredir.conf-dist105 106 bin_PROGRAMS = pdns_server pdns_control binpatch # syncres # resolver syncres # smtpredir103 sysconf_DATA = pdns.conf-dist 104 105 bin_PROGRAMS = pdns_server pdns_control binpatch # syncres # resolver syncres 107 106 108 107 pdns_server_SOURCES = dnspacket.cc nameserver.cc tcpreceiver.hh \ … … 123 122 124 123 # 125 pdns_server_LDFLAGS = -rdynamic @LIBDL@ extra/*.o `cat extra/ld` -ldl124 pdns_server_LDFLAGS = -rdynamic @LIBDL@ @moduleobjects@ @modulelibs@ 126 125 pdns_server_INCLUDES = 127 126 … … 140 139 141 140 SUBDIRS = codedocs backends extra . 142 subdir = . 143 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 141 subdir = pdns 144 142 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 145 CONFIG_HEADER = config.h146 CONFIG_CLEAN_FILES = pdns .conf-dist buildroot.sh showvar pdns mkbindist143 CONFIG_HEADER = $(top_builddir)/config.h 144 CONFIG_CLEAN_FILES = pdns 147 145 bin_PROGRAMS = pdns_server$(EXEEXT) pdns_control$(EXEEXT) \ 148 146 binpatch$(EXEEXT) … … 179 177 180 178 DEFS = @DEFS@ 181 DEFAULT_INCLUDES = -I. -I$(srcdir) -I .179 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 182 180 CPPFLAGS = @CPPFLAGS@ 183 181 LDFLAGS = @LDFLAGS@ … … 226 224 install-exec-recursive installdirs-recursive install-recursive \ 227 225 uninstall-recursive check-recursive installcheck-recursive 228 DIST_COMMON = README ./stamp-h.in COPYING ChangeLog INSTALL Makefile.am \ 229 Makefile.in TODO acconfig.h aclocal.m4 buildroot.sh.in \ 230 config.guess config.h.in config.sub configure configure.in \ 231 depcomp install-sh ltmain.sh missing mkbindist.in mkinstalldirs \ 232 pdns.conf-dist.in pdns.in showvar.in ylwrap 226 DIST_COMMON = README COPYING ChangeLog INSTALL Makefile.am Makefile.in \ 227 TODO config.guess config.sub configure depcomp install-sh \ 228 ltmain.sh missing mkinstalldirs pdns.in ylwrap 233 229 DIST_SUBDIRS = $(SUBDIRS) 234 230 SOURCES = $(binpatch_SOURCES) $(pdns_control_SOURCES) $(pdns_server_SOURCES) 235 231 236 all: config.h 237 $(MAKE) $(AM_MAKEFLAGS) all-recursive 232 all: all-recursive 238 233 239 234 .SUFFIXES: … … 250 245 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 251 246 cd $(top_srcdir) && \ 252 $(AUTOMAKE) --foreign Makefile247 $(AUTOMAKE) --foreign pdns/Makefile 253 248 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 254 249 cd $(top_builddir) && \ 255 250 CONFIG_HEADERS= CONFIG_LINKS= \ 256 CONFIG_FILES=$@ $(SHELL) ./config.status 257 258 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 259 $(SHELL) ./config.status --recheck 260 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 261 cd $(srcdir) && $(AUTOCONF) 262 263 $(ACLOCAL_M4): configure.in 264 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 265 config.h: stamp-h 266 @if test ! -f $@; then \ 267 rm -f stamp-h; \ 268 $(MAKE) stamp-h; \ 269 else :; fi 270 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 271 @rm -f stamp-h stamp-hT 272 @echo timestamp > stamp-hT 2> /dev/null 273 cd $(top_builddir) \ 274 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 275 $(SHELL) ./config.status 276 @mv stamp-hT stamp-h 277 $(srcdir)/config.h.in: $(srcdir)/./stamp-h.in 278 @if test ! -f $@; then \ 279 rm -f $(srcdir)/./stamp-h.in; \ 280 $(MAKE) $(srcdir)/./stamp-h.in; \ 281 else :; fi 282 $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h 283 @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT 284 @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null 285 cd $(top_srcdir) && $(AUTOHEADER) 286 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in 287 288 distclean-hdr: 289 -rm -f config.h 290 pdns.conf-dist: $(top_builddir)/config.status pdns.conf-dist.in 291 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status 292 buildroot.sh: $(top_builddir)/config.status buildroot.sh.in 293 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status 294 showvar: $(top_builddir)/config.status showvar.in 295 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status 251 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status 296 252 pdns: $(top_builddir)/config.status pdns.in 297 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status 298 mkbindist: $(top_builddir)/config.status mkbindist.in 299 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status 253 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status 300 254 install-binPROGRAMS: $(bin_PROGRAMS) 301 255 @$(NORMAL_INSTALL) … … 612 566 mkid -fID $$unique $(LISP) 613 567 614 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in$(TAGS_DEPENDENCIES) \568 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 615 569 $(TAGS_FILES) $(LISP) 616 570 tags=; \ … … 627 581 $(AWK) ' { files[$$0] = 1; } \ 628 582 END { for (i in files) print i; }'`; \ 629 test -z "$(ETAGS_ARGS) config.h.in$$unique$(LISP)$$tags" \630 || etags $(ETAGS_ARGS) $$tags config.h.in$$unique $(LISP)583 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 584 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) 631 585 632 586 GTAGS: … … 640 594 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 641 595 642 top_distdir = . 643 # Avoid unsightly `./'. 644 distdir = $(PACKAGE)-$(VERSION) 645 646 GZIP_ENV = --best 596 top_distdir = .. 597 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 647 598 648 599 distdir: $(DISTFILES) 649 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) 650 mkdir $(distdir) 651 $(mkinstalldirs) $(distdir)/. $(distdir)/codedocs $(distdir)/debian $(distdir)/docs $(distdir)/extra 600 $(mkinstalldirs) $(distdir)/codedocs $(distdir)/debian $(distdir)/docs $(distdir)/extra 652 601 @for file in $(DISTFILES); do \ 653 602 if test -f $$file; then d=.; else d=$(srcdir); fi; \ … … 678 627 fi; \ 679 628 done 680 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \681 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \682 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \683 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \684 || chmod -R a+r $(distdir)685 dist: distdir686 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz687 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)688 689 # This target untars the dist file and tries a VPATH configuration. Then690 # it guarantees that the distribution is self-contained by making another691 # tarfile.692 distcheck: dist693 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)694 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -695 chmod -R a-w $(distdir); chmod a+w $(distdir)696 mkdir $(distdir)/=build697 mkdir $(distdir)/=inst698 chmod a-w $(distdir)699 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \700 && cd $(distdir)/=build \701 && ../configure --srcdir=.. --prefix=$$dc_install_base \702 && $(MAKE) $(AM_MAKEFLAGS) \703 && $(MAKE) $(AM_MAKEFLAGS) dvi \704 && $(MAKE) $(AM_MAKEFLAGS) check \705 && $(MAKE) $(AM_MAKEFLAGS) install \706 && $(MAKE) $(AM_MAKEFLAGS) installcheck \707 && $(MAKE) $(AM_MAKEFLAGS) uninstall \708 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \709 || (echo "Error: files left after uninstall" 1>&2; \710 exit 1) ) \711 && $(MAKE) $(AM_MAKEFLAGS) dist \712 && $(MAKE) $(AM_MAKEFLAGS) distclean \713 && rm -f $(distdir).tar.gz \714 && (test `find . -type f -print | wc -l` -eq 0 \715 || (echo "Error: files left after distclean" 1>&2; \716 exit 1) )717 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)718 @echo "$(distdir).tar.gz is ready for distribution" | \719 sed 'h;s/./=/g;p;x;p;x'720 629 check-am: all-am 721 630 check: check-recursive 722 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) config.h631 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) 723 632 installdirs: installdirs-recursive 724 633 installdirs-am: … … 752 661 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am 753 662 754 dist-all: distdir755 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz756 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)757 663 distclean: distclean-recursive 758 -rm -f config.status config.cache config.log 664 759 665 distclean-am: clean-am distclean-compile distclean-depend \ 760 distclean-generic distclean-hdr distclean-libtool \ 761 distclean-tags 666 distclean-generic distclean-libtool distclean-tags 762 667 763 668 dvi: dvi-recursive … … 796 701 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ 797 702 clean-binPROGRAMS clean-generic clean-libtool clean-recursive \ 798 dist dist-all distcheck distclean distclean-compile \ 799 distclean-depend distclean-generic distclean-hdr \ 703 distclean distclean-compile distclean-depend distclean-generic \ 800 704 distclean-libtool distclean-recursive distclean-tags distdir \ 801 705 dvi dvi-am dvi-recursive info info-am info-recursive install \ … … 815 719 816 720 817 deb: ../ahudns_1.1-1_i386.deb 818 819 ../ahudns_1.1-1_i386.deb: 820 ./debian/rules binary-arch 721 pdns.conf-dist: pdns_server 722 -./pdns_server --config > $@ 821 723 # Tell versions [3.59,3.63) of GNU make to not export all variables. 822 724 # Otherwise a system limit (for SysV at least) may be exceeded. -
trunk/pdns/pdns/backends/Makefile.in
r2 r13 37 37 pkglibdir = $(libdir)/@PACKAGE@ 38 38 pkgincludedir = $(includedir)/@PACKAGE@ 39 top_builddir = .. 39 top_builddir = ../.. 40 40 41 41 ACLOCAL = @ACLOCAL@ … … 56 56 PRE_UNINSTALL = : 57 57 POST_UNINSTALL = : 58 build_alias = @build_alias@59 build_triplet = @build@60 58 host_alias = @host_alias@ 61 59 host_triplet = @host@ 62 target_alias = @target_alias@63 target_triplet = @target@64 60 AMTAR = @AMTAR@ 65 61 AS = @AS@ … … 74 70 LEX = @LEX@ 75 71 LIBDL = @LIBDL@ 76 LIBRESOLV = @LIBRESOLV@77 72 LIBTOOL = @LIBTOOL@ 78 73 LN_S = @LN_S@ … … 87 82 am__quote = @am__quote@ 88 83 install_sh = @install_sh@ 84 moduledirs = @moduledirs@ 85 modulelibs = @modulelibs@ 86 moduleobjects = @moduleobjects@ 87 socketdir = @socketdir@ 89 88 90 89 SUBDIRS = bind 91 subdir = backends90 subdir = pdns/backends 92 91 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 93 92 CONFIG_HEADER = $(top_builddir)/config.h … … 115 114 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 116 115 cd $(top_srcdir) && \ 117 $(AUTOMAKE) --foreign backends/Makefile116 $(AUTOMAKE) --foreign pdns/backends/Makefile 118 117 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 119 118 cd $(top_builddir) && \ … … 216 215 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 217 216 218 top_distdir = .. 217 top_distdir = ../.. 219 218 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 220 219 -
trunk/pdns/pdns/backends/bind/Makefile.am
r2 r13 1 AM_CXXFLAGS=-D_GNU_SOURCE 1 AM_CXXFLAGS=-D_GNU_SOURCE -I../.. 2 2 lib_LTLIBRARIES = libbindbackend.la 3 3 -
trunk/pdns/pdns/backends/bind/Makefile.in
r2 r13 37 37 pkglibdir = $(libdir)/@PACKAGE@ 38 38 pkgincludedir = $(includedir)/@PACKAGE@ 39 top_builddir = ../.. 39 top_builddir = ../../.. 40 40 41 41 ACLOCAL = @ACLOCAL@ … … 56 56 PRE_UNINSTALL = : 57 57 POST_UNINSTALL = : 58 build_alias = @build_alias@59 build_triplet = @build@60 58 host_alias = @host_alias@ 61 59 host_triplet = @host@ 62 target_alias = @target_alias@63 target_triplet = @target@64 60 AMTAR = @AMTAR@ 65 61 AS = @AS@ … … 74 70 LEX = @LEX@ 75 71 LIBDL = @LIBDL@ 76 LIBRESOLV = @LIBRESOLV@77 72 LIBTOOL = @LIBTOOL@ 78 73 LN_S = @LN_S@ … … 87 82 am__quote = @am__quote@ 88 83 install_sh = @install_sh@ 89 90 AM_CXXFLAGS = -D_GNU_SOURCE 84 moduledirs = @moduledirs@ 85 modulelibs = @modulelibs@ 86 moduleobjects = @moduleobjects@ 87 socketdir = @socketdir@ 88 89 AM_CXXFLAGS = -D_GNU_SOURCE -I../.. 91 90 lib_LTLIBRARIES = libbindbackend.la 92 91 … … 107 106 LFLAGS = -s -i 108 107 YFLAGS = -d --verbose --debug 109 subdir = backends/bind108 subdir = pdns/backends/bind 110 109 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 111 110 CONFIG_HEADER = $(top_builddir)/config.h … … 185 184 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 186 185 cd $(top_srcdir) && \ 187 $(AUTOMAKE) --foreign backends/bind/Makefile186 $(AUTOMAKE) --foreign pdns/backends/bind/Makefile 188 187 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 189 188 cd $(top_builddir) && \ … … 446 445 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 447 446 448 top_distdir = ../.. 447 top_distdir = ../../.. 449 448 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 450 449 -
trunk/pdns/pdns/backends/bind/bindlexer.c
r2 r13 2 2 3 3 /* Scanner skeleton version: 4 * $Header: /home/ahu/tmp/cvs2svn/pdns/pdns/backends/bind/bindlexer.c,v 1. 1 2002/11/27 15:18:38ahu Exp $4 * $Header: /home/ahu/tmp/cvs2svn/pdns/pdns/backends/bind/bindlexer.c,v 1.2 2002/11/28 12:30:45 ahu Exp $ 5 5 */ 6 6 -
trunk/pdns/pdns/codedocs/Makefile
r2 r13 18 18 19 19 srcdir = . 20 top_srcdir = .. 21 prefix = / opt/pdns20 top_srcdir = ../.. 21 prefix = /usr/local 22 22 exec_prefix = ${prefix} 23 23 … … 37 37 pkglibdir = $(libdir)/pdns 38 38 pkgincludedir = $(includedir)/pdns 39 top_builddir = .. 40 41 ACLOCAL = ${SHELL} /home/ahu/programming/ ahudns/missing --run aclocal42 AUTOCONF = ${SHELL} /home/ahu/programming/ ahudns/missing --run autoconf43 AUTOMAKE = ${SHELL} /home/ahu/programming/ ahudns/missing --run automake44 AUTOHEADER = ${SHELL} /home/ahu/programming/ ahudns/missing --run autoheader39 top_builddir = ../.. 40 41 ACLOCAL = ${SHELL} /home/ahu/programming/pdns/missing --run aclocal 42 AUTOCONF = ${SHELL} /home/ahu/programming/pdns/missing --run autoconf 43 AUTOMAKE = ${SHELL} /home/ahu/programming/pdns/missing --run automake 44 AUTOHEADER = ${SHELL} /home/ahu/programming/pdns/missing --run autoheader 45 45 46 46 INSTALL = /usr/bin/install -c … … 56 56 PRE_UNINSTALL = : 57 57 POST_UNINSTALL = : 58 build_alias = i686-pc-linux-gnu59 build_triplet = i686-pc-linux-gnu60 58 host_alias = i686-pc-linux-gnu 61 59 host_triplet = i686-pc-linux-gnu 62 target_alias = i686-pc-linux-gnu 63 target_triplet = i686-pc-linux-gnu 64 AMTAR = ${SHELL} /home/ahu/programming/ahudns/missing --run tar 60 AMTAR = ${SHELL} /home/ahu/programming/pdns/missing --run tar 65 61 AS = @AS@ 66 62 AWK = mawk … … 74 70 LEX = flex 75 71 LIBDL = -ldl 76 LIBRESOLV = -lresolv77 72 LIBTOOL = $(SHELL) $(top_builddir)/libtool 78 73 LN_S = ln -s … … 86 81 am__include = include 87 82 am__quote = 88 install_sh = /home/ahu/programming/ahudns/install-sh 89 subdir = codedocs 83 install_sh = /home/ahu/programming/pdns/install-sh 84 moduledirs = mysqlbackend pdnsbackend pgmysqlbackend 85 modulelibs = -lmysqlclient -lmysqlclient -Wl,-rpath -Wl,/opt/postgresql-with-3.2/lib -L/opt/postgresql-with-3.2/lib -L./ -lmysqlclient -Wl,-Bstatic -lpq++ -lpq -Wl,-Bdynamic -lssl -lcrypt -lcrypto 86 moduleobjects = ../modules/mysqlbackend/mysqlcbackend.o ../modules/pdnsbackend/pdnsbackend.o ../modules/pgmysqlbackend/gmysqlbackend.o ../modules/pgmysqlbackend/smysql.o ../modules/pgmysqlbackend/spgsql.o 87 socketdir = /var/run 88 subdir = pdns/codedocs 90 89 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 91 90 CONFIG_HEADER = $(top_builddir)/config.h … … 107 106 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 108 107 cd $(top_srcdir) && \ 109 $(AUTOMAKE) --foreign codedocs/Makefile108 $(AUTOMAKE) --foreign pdns/codedocs/Makefile 110 109 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 111 110 cd $(top_builddir) && \ … … 119 118 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 120 119 121 top_distdir = .. 120 top_distdir = ../.. 122 121 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 123 122 -
trunk/pdns/pdns/codedocs/Makefile.in
r2 r13 37 37 pkglibdir = $(libdir)/@PACKAGE@ 38 38 pkgincludedir = $(includedir)/@PACKAGE@ 39 top_builddir = .. 39 top_builddir = ../.. 40 40 41 41 ACLOCAL = @ACLOCAL@ … … 56 56 PRE_UNINSTALL = : 57 57 POST_UNINSTALL = : 58 build_alias = @build_alias@59 build_triplet = @build@60 58 host_alias = @host_alias@ 61 59 host_triplet = @host@ 62 target_alias = @target_alias@63 target_triplet = @target@64 60 AMTAR = @AMTAR@ 65 61 AS = @AS@ … … 74 70 LEX = @LEX@ 75 71 LIBDL = @LIBDL@ 76 LIBRESOLV = @LIBRESOLV@77 72 LIBTOOL = @LIBTOOL@ 78 73 LN_S = @LN_S@ … … 87 82 am__quote = @am__quote@ 88 83 install_sh = @install_sh@ 89 subdir = codedocs 84 moduledirs = @moduledirs@ 85 modulelibs = @modulelibs@ 86 moduleobjects = @moduleobjects@ 87 socketdir = @socketdir@ 88 subdir = pdns/codedocs 90 89 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 91 90 CONFIG_HEADER = $(top_builddir)/config.h … … 107 106 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 108 107 cd $(top_srcdir) && \ 109 $(AUTOMAKE) --foreign codedocs/Makefile108 $(AUTOMAKE) --foreign pdns/codedocs/Makefile 110 109 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 111 110 cd $(top_builddir) && \ … … 119 118 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 120 119 121 top_distdir = .. 120 top_distdir = ../.. 122 121 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 123 122 -
trunk/pdns/pdns/pdns.conf-dist
r2 r13 1 # Generated automatically from pdns.conf-dist.in by configure. 2 3 # cache-ttl=... 4 # Seconds to store packets in the PacketCache 5 # default-soa-name=... 6 # name to insert in the SOA record if none set in the backend 7 # distributor-threads=... 8 # Default number of Distributor (backend) threads to start 9 # fancy-records=... 10 # Process URL and MBOXFW records 11 # help=... 12 # Provide a helpful message 13 # localaddress=... 14 # Local IP address to which we bind 15 # localport=... 16 # The port on which we listen 17 # loglevel=... 18 # Amount of logging. Higher is more. Do not set below 3 19 # out-of-zone-additional-processing | out-of-zone-additional-processing=yes | out-of-zone-additional-processing=no 20 # Do out of zone additional processing 21 # smtpredirector=... 22 # Our smtpredir MX host 23 # urlredirector=... 24 # Where we send hosts to that need to be url redirected 25 # wildcards=... 26 # Honor wildcards in the database 1 # Autogenerated configuration file template 2 ################################# 3 # allow-axfr-ips If disabled, DO allow zonetransfers from these IP addresses 4 # 5 # allow-axfr-ips= 6 7 ################################# 8 # allow-recursion List of netmasks that are allowed to recurse 9 # 10 # allow-recursion= 11 12 ################################# 13 # cache-ttl Seconds to store packets in the PacketCache 14 # 15 # cache-ttl=20 16 17 ################################# 18 # chroot If set, chroot to this directory for more security 19 # 20 # chroot= 21 22 ################################# 23 # config-dir Location of configuration directory (pdns.conf) 24 # 25 # config-dir=/usr/local/etc 26 27 ################################# 28 # config-name Name of this virtual configuration - will rename the binary image 29 # 30 # config-name= 31 32 ################################# 33 # control-console Debugging switch - don't use 34 # 35 # control-console=no 36 37 ################################# 38 # daemon Operate as a daemon 39 # 40 # daemon=no 41 42 ################################# 43 # default-soa-name name to insert in the SOA record if none set in the backend 44 # 45 # default-soa-name=a.misconfigured.powerdns.server 46 47 ################################# 48 # disable-axfr Disable zonetransfers but do allow TCP queries 49 # 50 # disable-axfr=no 51 52 ################################# 53 # disable-tcp Do not listen to TCP queries 54 # 55 # disable-tcp=no 56 57 ################################# 58 # distributor-threads Default number of Distributor (backend) threads to start 59 # 60 # distributor-threads=3 61 62 ################################# 63 # fancy-records Process URL and MBOXFW records 64 # 65 # fancy-records=no 66 67 ################################# 68 # guardian Run within a guardian process 69 # 70 # guardian=no 71 72 ################################# 73 # launch Which backends to launch and order to query them in 74 # 75 # launch= 76 77 ################################# 78 # lazy-recursion Only recurse if question cannot be answered locally 79 # 80 # lazy-recursion=yes 81 82 ################################# 83 # load-modules Load this module - supply absolute or relative path 84 # 85 # load-modules= 86 87 ################################# 88 # local-address Local IP address to which we bind 89 # 90 # local-address=0.0.0.0 91 92 ################################# 93 # local-ipv6 Local IP address to which we bind 94 # 95 # local-ipv6= 96 97 ################################# 98 # local-port The port on which we listen 99 # 100 # local-port=53 101 102 ################################# 103 # log-dns-details If PDNS should log failed update requests 104 # 105 # log-dns-details= 106 107 ################################# 108 # log-failed-updates If PDNS should log failed update requests 109 # 110 # log-failed-updates= 111 112 ################################# 113 # logfile Logfile to use 114 # 115 # logfile=pdns.log 116 117 ################################# 118 # logging-facility Log under a specific facility 119 # 120 # logging-facility= 121 122 ################################# 123 # loglevel Amount of logging. Higher is more. Do not set below 3 124 # 125 # loglevel=4 126 127 ################################# 128 # master Act as a master 129 # 130 # master=no 131 132 ################################# 133 # max-queue-length Maximum queuelength before considering situation lost 134 # 135 # max-queue-length=5000 136 137 ################################# 138 # max-tcp-connections Maximum number of TCP connections 139 # 140 # max-tcp-connections=10 141 142 ################################# 143 # module-dir Default directory for modules 144 # 145 # module-dir=/usr/local/bin/../lib 146 147 ################################# 148 # negquery-cache-ttl Seconds to store packets in the PacketCache 149 # 150 # negquery-cache-ttl=60 151 152 ################################# 153 # only-soa Make sure that no SOA serial is less than this number 154 # 155 # only-soa=org 156 157 ################################# 158 # out-of-zone-additional-processing Do out of zone additional processing 159 # 160 # out-of-zone-additional-processing=no 161 162 ################################# 163 # query-cache-ttl Seconds to store packets in the PacketCache 164 # 165 # query-cache-ttl=20 166 167 ################################# 168 # query-logging Hint backends that queries should be logged 169 # 170 # query-logging=no 171 172 ################################# 173 # queue-limit Maximum number of milliseconds to queue a query 174 # 175 # queue-limit=1500 176 177 ################################# 178 # receiver-threads Number of receiver threads to launch 179 # 180 # receiver-threads=1 181 182 ################################# 183 # recursive-cache-ttl Seconds to store packets in the PacketCache 184 # 185 # recursive-cache-ttl=10 186 187 ################################# 188 # recursor If recursion is desired, IP address of a recursing nameserver 189 # 190 # recursor=no 191 192 ################################# 193 # setgid If set, change group id to this gid for more security 194 # 195 # setgid= 196 197 ################################# 198 # setuid If set, change user id to this uid for more security 199 # 200 # setuid= 201 202 ################################# 203 # skip-cname Do not perform CNAME indirection for each query 204 # 205 # skip-cname=no 206 207 ################################# 208 # slave Act as a slave 209 # 210 # slave=no 211 212 ################################# 213 # slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds 214 # 215 # slave-cycle-interval=60 216 217 ################################# 218 # smtpredirector Our smtpredir MX host 219 # 220 # smtpredirector=a.misconfigured.powerdns.smtp.server 221 222 ################################# 223 # soa-minimum-ttl Default SOA mininum ttl 224 # 225 # soa-minimum-ttl=3600 226 227 ################################# 228 # soa-serial-offset Make sure that no SOA serial is less than this number 229 # 230 # soa-serial-offset=0 231 232 ################################# 233 # socket-dir Where the controlsocket will live 234 # 235 # socket-dir=/var/run 236 237 ################################# 238 # strict-rfc-axfrs Perform strictly rfc compliant axfrs (very slow) 239 # 240 # strict-rfc-axfrs=no 241 242 ################################# 243 # urlredirector Where we send hosts to that need to be url redirected 244 # 245 # urlredirector=127.0.0.1 246 247 ################################# 248 # use-logfile Use a log file 249 # 250 # use-logfile=no 251 252 ################################# 253 # webserver Start a webserver for monitoring 254 # 255 # webserver=no 256 257 ################################# 258 # webserver-address IP Address of webserver to listen on 259 # 260 # webserver-address=127.0.0.1 261 262 ################################# 263 # webserver-password Password required for accessing the webserver 264 # 265 # webserver-password= 266 267 ################################# 268 # webserver-port Port of webserver to listen on 269 # 270 # webserver-port=8081 271 272 ################################# 273 # webserver-print-arguments If the webserver should print arguments 274 # 275 # webserver-print-arguments=no 276 277 ################################# 278 # wildcard-url Process URL and MBOXFW records 279 # 280 # wildcard-url=no 281 282 ################################# 283 # wildcards Honor wildcards in the database 284 # 285 # wildcards= 286 287 -
trunk/pdns/pdns/pdns.in
r2 r13 1 #!/bin/sh 1 2 # chkconfig: - 80 75 2 3 # description: PDNS is a versatile high performance authoritative nameserver 4 5 prefix=@prefix@ 6 exec_prefix=@exec_prefix@ 7 BINARYPATH=@bindir@ 8 SOCKETPATH=@socketdir@ 3 9 4 10 cd $SOCKETPATH … … 160 166 161 167 *) 162 echo pdns [start\|stop\|restart\|status\|dump\|show\|mrtg ]168 echo pdns [start\|stop\|restart\|status\|dump\|show\|mrtg\|cricket\|monitor] 163 169 164 170 ;;