Changeset 62

Show
Ignore:
Timestamp:
12/09/02 19:34:45 (10 years ago)
Author:
ahu
Message:

small fixes

Location:
trunk/pdns
Files:
1 added
1 removed
9 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/ChangeLog

    r57 r62  
    66        - pipebackend back 
    77        - freebsd fixes 
     8        - Solaris fixes (thanks Mark Bakker, Edvard Tuinder) 
     9        - removed silly debugging message ('sd.ttl from cache') 
     10 
    811 
    912Changes since 2.8: 
  • trunk/pdns/Makefile.am

    r57 r62  
    11SUBDIRS=modules pdns 
    2 EXTRA_DIST=TODO WARNING README HACKING INSTALL ChangeLog 
     2EXTRA_DIST=TODO WARNING README HACKING INSTALL ChangeLog debian 
    33 
    44install-exec-local:  
  • trunk/pdns/README

    r44 r62  
    1515$ ./configure --with-modules="mysql mypgsql" 
    1616 
    17 For postgresql, you will probably have to edit modules/mypgsql/Makefile.in - 
    18 see the TODO file 
     17See http://rtfm.powerdns.com/compiling-powerdns.html for more details. 
     18 
     19SOLARIS NOTES 
     20------------- 
     21You need gcc 3.x, preferably 3.2! 
     22If you encounter problems with the Solaris make, gmake is advised 
     23 
     24IPv6 is currently (2.9.1.) broken in Solaris, awaiting patches! 
     25 
     26FREEBSD NOTES 
     27------------- 
     28gcc 2.95.x works. You need to compile using gmake - regular make only appears to 
     29work, but doesn't in fact. 
     30 
     31 
     32LINUX NOTES 
     33----------- 
     34None really. 
    1935 
    2036--- 
  • trunk/pdns/TODO

    r60 r62  
     1bugs: 
     2        bind backend ANY queries don't work 
    13 
    24immediate issues: 
     
    68 
    79Things we will not do but hope other people will: 
    8         - Ports to NetBSD, OpenBSD, Solaris, AIX 
     10        - Ports to NetBSD, OpenBSD, AIX 
    911 
    1012Projects we will be working on, but would like help for: 
     
    1719 
    1820Medium size things: 
     21        - 64 bit cleanliness 
    1922        - Improve bind 'workalike' mode so we are a drop-in replacement for 
    2023          non-resolving bind. We're 90% there. 
     
    3942                modules/pgmysqlbackend, which is not needed 
    4043 
    41         - make sure only Linux gets -D_GNU_SOURCE 
    42                 doesn't hurt other architectures, but its ugly 
    4344        - investigate if the following is better for the spgsql driver: 
    4445int SPgSQL::doQuery(const string &query) 
     
    7475         
    7576Real work: 
    76         - Solaris version 
    7777        - Mac OS X version (has been done, partly) 
    7878        - resurrect W2K version 
  • trunk/pdns/debian/copyright

    r50 r62  
    99 
    1010    This program is free software; you can redistribute it and/or modify 
    11     it under the terms of the GNU General Public License as published by 
    12     the Free Software Foundation; either version 2 of the License, or 
    13     (at your option) any later version. 
     11    it under the terms of version 2 of the GNU General Public License as 
     12    published by the Free Software Foundation. 
    1413 
    1514    Additionally, the license of this program contains a special 
  • trunk/pdns/modules/gmysqlbackend/gmysqlbackend.cc

    r28 r62  
    1 // $Id: gmysqlbackend.cc,v 1.3 2002/11/29 21:16:10 ahu Exp $  
     1// $Id: gmysqlbackend.cc,v 1.4 2002/12/09 18:34:45 ahu Exp $  
    22#include <string> 
    33#include <map> 
     
    356356{ 
    357357  // L << "gMySQLBackend get() was called for "<<qtype.getName() << " record: "; 
    358   SMySQL::row_t row; 
     358  SSql::row_t row; 
    359359  if(d_db->getRow(row)) { 
    360360    r.content=row[0]; 
  • trunk/pdns/modules/gmysqlbackend/gmysqlbackend.hh

    r6 r62  
    11#include <string> 
    22#include <map> 
    3 #include "smysql.hh" 
     3#include "ssql.hh" 
    44 
    55using namespace std; 
  • trunk/pdns/pdns/common_startup.cc

    r57 r62  
    4242  arg().set("local-port","The port on which we listen")="53"; 
    4343  arg().setSwitch("log-failed-updates","If PDNS should log failed update requests")=""; 
    44   arg().setSwitch("log-dns-details","If PDNS should log failed update requests")=""; 
     44  arg().setSwitch("log-dns-details","If PDNS should log DNS non-erroneous details")=""; 
    4545  arg().set("urlredirector","Where we send hosts to that need to be url redirected")="127.0.0.1"; 
    4646  arg().set("smtpredirector","Our smtpredir MX host")="a.misconfigured.powerdns.smtp.server"; 
  • trunk/pdns/pdns/ueberbackend.cc

    r29 r62  
    1717    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
    1818*/ 
    19 // $Id: ueberbackend.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $  
     19// $Id: ueberbackend.cc,v 1.3 2002/12/09 18:34:45 ahu Exp $  
    2020/* (C) Copyright 2002 PowerDNS.COM BV */ 
    2121#include "utility.hh" 
     
    143143    sd.domain_id=d_answer.domain_id; 
    144144    sd.ttl=d_answer.ttl; 
    145     cout<<"from cache: sd.ttl: "<<sd.ttl<<endl; 
     145 
    146146    return true; 
    147147  }