OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 23-Feb-2005 16:22:16 Branch: HEAD Handle: 2005022315221600 Modified files: openpkg-src/nsd nsd.patch nsd.spec Log: fix building under Solaris Summary: Revision Changes Path 1.6 +23 -0 openpkg-src/nsd/nsd.patch 1.47 +1 -1 openpkg-src/nsd/nsd.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/nsd/nsd.patch ============================================================================ $ cvs diff -u -r1.5 -r1.6 nsd.patch --- openpkg-src/nsd/nsd.patch 18 Jan 2005 19:02:54 -0000 1.5 +++ openpkg-src/nsd/nsd.patch 23 Feb 2005 15:22:16 -0000 1.6 @@ -25,3 +25,26 @@ log_msg(LOG_ERR, "checking %s", axfr_daemon); if (!hosts_access(&request)) { #endif /* AXFR_DAEMON_PREFIX */ +Index: tsig.c +--- tsig.c.orig 2005-01-17 16:35:54.000000000 +0100 ++++ tsig.c 2005-02-23 16:19:36.487025139 +0100 +@@ -249,11 +249,19 @@ + time_t clock; + + clock = (time_t) current_time; ++#ifdef __sun__ ++ ctime_r(&clock, current_time_text, sizeof(current_time_text)); ++#else + ctime_r(&clock, current_time_text); ++#endif + current_time_text[24] = '\0'; + + clock = (time_t) signed_time; ++#ifdef __sun__ ++ ctime_r(&clock, signed_time_text, sizeof(signed_time_text)); ++#else + ctime_r(&clock, signed_time_text); ++#endif + signed_time_text[24] = '\0'; + + #if 0 /* XXX */ @@ . patch -p0 <<'@@ .' Index: openpkg-src/nsd/nsd.spec ============================================================================ $ cvs diff -u -r1.46 -r1.47 nsd.spec --- openpkg-src/nsd/nsd.spec 21 Feb 2005 19:03:29 -0000 1.46 +++ openpkg-src/nsd/nsd.spec 23 Feb 2005 15:22:16 -0000 1.47 @@ -36,7 +36,7 @@ Group: DNS License: GPL Version: 2.2.1 -Release: 20050221 +Release: 20050223 # package option %option with_fsl yes @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org