[Opendnssec-develop] Fw: [Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r2731 - in trunk/OpenDNSSEC: . conf signer/tools

Alexd at nominet.org.uk Alexd at nominet.org.uk
Thu Jan 28 10:46:16 CET 2010


Hi - 

Is trunk open for minor fixes? I thought we were freezing all OpenDNSSEC 
changes until 1.0.0 release? Or else committing to a 1.0.0RC4 release?

Thanks,


Alex.

----- Forwarded by Alex Dalitz/Nominet on 28/01/2010 09:45 -----

opendnssec-commits-bounces at lists.opendnssec.org wrote on 28/01/2010 
09:43:12:

> "Matthijs Mekking" <matthijs at nlnetlabs.nl> 
> Sent by: opendnssec-commits-bounces at lists.opendnssec.org
> 
> 28/01/2010 09:43
> 
> To
> 
> undisclosed-recipients: ;
> 
> cc
> 
> Subject
> 
> [Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r2731 - in 
> trunk/OpenDNSSEC: . conf signer/tools
> 
> Author: matthijs
> Date: 2010-01-28 10:43:12 +0100 (Thu, 28 Jan 2010)
> New Revision: 2731
> 
> Modified:
>    trunk/OpenDNSSEC/NEWS
>    trunk/OpenDNSSEC/conf/zonefetch.xml.in
>    trunk/OpenDNSSEC/signer/tools/logging.c
>    trunk/OpenDNSSEC/signer/tools/sorter.c
> Log:
> bug 89
> 
> zonefetch example comment
> 
> 
> 
> Modified: trunk/OpenDNSSEC/NEWS
> ===================================================================
> --- trunk/OpenDNSSEC/NEWS   2010-01-27 15:49:33 UTC (rev 2730)
> +++ trunk/OpenDNSSEC/NEWS   2010-01-28 09:43:12 UTC (rev 2731)
> @@ -2,7 +2,7 @@
> 
>  OpenDNSSEC trunk
> 
> -* ...
> +* Bugreport #89: Signer Engine: bug in logging.c.
> 
> 
>  OpenDNSSEC 1.0.0rc3 - 2010-01-25
> 
> Modified: trunk/OpenDNSSEC/conf/zonefetch.xml.in
> ===================================================================
> --- trunk/OpenDNSSEC/conf/zonefetch.xml.in   2010-01-27 15:49:33 UTC(rev 
2730)
> +++ trunk/OpenDNSSEC/conf/zonefetch.xml.in   2010-01-28 09:43:12 UTC(rev 
2731)
> @@ -7,6 +7,13 @@
>     <!-- DEFAULT: do not listen to notify on specific address -->
>     <NotifyListen><Port>53</Port></NotifyListen>
> 
> +    <!-- To listen on a specific address, use: -->
> +<!--
+    <NotifyListen>
+        <IPv4>192.0.2.100</
> IPv4><Port>53</Port>
+    </NotifyListen>
+-->
> +
>     <!-- default inbound AXFR settings
       (per zone setting not 
> yet implemented) -->
>     <Default>
> 
> Modified: trunk/OpenDNSSEC/signer/tools/logging.c
> ===================================================================
> --- trunk/OpenDNSSEC/signer/tools/logging.c   2010-01-27 15:49:33 
> UTC (rev 2730)
> +++ trunk/OpenDNSSEC/signer/tools/logging.c   2010-01-28 09:43:12 
> UTC (rev 2731)
> @@ -52,12 +52,7 @@
>  static void
>  log_vmsg(int priority, const char* s, va_list args)
>  {
> -    char message[ODD_MAXLEN];
> -
> -    vsnprintf(message, sizeof(message), s, args);
> -
> -    if (logging_to_syslog)
> -        syslog(priority, "%s", message);
> +    vsyslog(priority, s, args);
>  }
> 
>  void
> @@ -97,55 +92,55 @@
>     }
>     strtoupper(dup);
> 
> -    if (strncmp(dup, "USER", 4) && strlen(dup) == 4)
> +    if (strncmp(dup, "USER", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_USER;
>  #ifdef LOG_KERN
> -    else if (strncmp(dup, "KERN", 4) && strlen(dup) == 4)
> +    else if (strncmp(dup, "KERN", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_KERN;
>  #endif
>  #ifdef LOG_MAIL
> -    else if (strncmp(dup, "MAIL", 4) && strlen(dup) == 4)
> +    else if (strncmp(dup, "MAIL", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_MAIL;
>  #endif
>  #ifdef LOG_DAEMON
> -    else if (strncmp(dup, "DAEMON", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "DAEMON", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_DAEMON;
>  #endif
>  #ifdef LOG_AUTH
> -    else if (strncmp(dup, "AUTH", 4) && strlen(dup) == 4)
> +    else if (strncmp(dup, "AUTH", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_AUTH;
>  #endif
>  #ifdef LOG_LPR
> -    else if (strncmp(dup, "LPR", 3) && strlen(dup) == 3)
> +    else if (strncmp(dup, "LPR", 3) == 0 && strlen(dup) == 3)
>          *fac = LOG_LPR;
>  #endif
>  #ifdef LOG_NEWS
> -    else if (strncmp(dup, "NEWS", 4) && strlen(dup) == 4)
> +    else if (strncmp(dup, "NEWS", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_NEWS;
>  #endif
>  #ifdef LOG_UUCP
> -    else if (strncmp(dup, "UUCP", 4) && strlen(dup) == 4)
> +    else if (strncmp(dup, "UUCP", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_UUCP;
>  #endif
>  #ifdef LOG_CRON
> -    else if (strncmp(dup, "CRON", 4) && strlen(dup) == 4)
> +    else if (strncmp(dup, "CRON", 4) == 0 && strlen(dup) == 4)
>          *fac = LOG_CRON;
>  #endif
> -    else if (strncmp(dup, "LOCAL0", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL0", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL0;
> -    else if (strncmp(dup, "LOCAL1", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL1", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL1;
> -    else if (strncmp(dup, "LOCAL2", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL2", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL2;
> -    else if (strncmp(dup, "LOCAL3", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL3", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL3;
> -    else if (strncmp(dup, "LOCAL4", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL4", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL4;
> -    else if (strncmp(dup, "LOCAL5", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL5", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL5;
> -    else if (strncmp(dup, "LOCAL6", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL6", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL6;
> -    else if (strncmp(dup, "LOCAL7", 6) && strlen(dup) == 6)
> +    else if (strncmp(dup, "LOCAL7", 6) == 0 && strlen(dup) == 6)
>          *fac = LOG_LOCAL7;
> 
>      return 0;
> 
> Modified: trunk/OpenDNSSEC/signer/tools/sorter.c
> ===================================================================
> --- trunk/OpenDNSSEC/signer/tools/sorter.c   2010-01-27 15:49:33 UTC(rev 
2730)
> +++ trunk/OpenDNSSEC/signer/tools/sorter.c   2010-01-28 09:43:12 UTC(rev 
2731)
> @@ -433,7 +433,7 @@
>           default_ttl = lookup_minimum(rr_files[file_count]);
>              rewind(rr_files[file_count]);
>           soa_minimum_set = 1;
> -       }
> +      }
> 
>        line_len = read_line(rr_files[file_count], line, 1, 0);
>        if (line_len >= 0 && !line_contains_space_only(line, line_len)) {
> 
> _______________________________________________
> Opendnssec-commits mailing list
> Opendnssec-commits at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20100128/c21a3462/attachment.html>


More information about the Opendnssec-develop mailing list