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: 03-Oct-2005 13:32:24
Branch: HEAD Handle: 2005100312322300
Modified files:
openpkg-src/pdnsd pdnsd.patch pdnsd.spec
Log:
increase portability
Summary:
Revision Changes Path
1.5 +27 -17 openpkg-src/pdnsd/pdnsd.patch
1.17 +1 -1 openpkg-src/pdnsd/pdnsd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pdnsd/pdnsd.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 pdnsd.patch
--- openpkg-src/pdnsd/pdnsd.patch 8 Apr 2005 15:37:55 -0000 1.4
+++ openpkg-src/pdnsd/pdnsd.patch 3 Oct 2005 11:32:23 -0000 1.5
@@ -1,6 +1,6 @@
Index: config.h.in
---- config.h.in.orig 2005-04-03 18:05:55 +0200
-+++ config.h.in 2005-04-08 17:35:08 +0200
+--- config.h.in.orig 2005-07-11 11:37:36 +0200
++++ config.h.in 2005-10-03 13:00:37 +0200
@@ -183,6 +183,7 @@
#define TARGET_LINUX 0
#define TARGET_BSD 1
@@ -10,11 +10,11 @@
/* Allow _ in domain names? (This option is obsolete and will be ignored.)
*/
#undef UNDERSCORE
Index: configure
---- configure.orig 2005-04-03 18:05:58 +0200
-+++ configure 2005-04-08 17:34:38 +0200
-@@ -1116,6 +1116,14 @@
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
-
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+--- configure.orig 2005-07-11 11:37:42 +0200
++++ configure 2005-10-03 13:04:46 +0200
+@@ -1149,6 +1149,14 @@
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
;;
+ SunOS)
+ echo "$ac_t"""${uname_sys}"" 1>&6
@@ -26,8 +26,18 @@
+ ;;
*)
sed -n \
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
-@@ -6034,7 +6042,7 @@
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+@@ -5829,6 +5837,9 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ $ac_includes_default
++#ifdef HAVE_SYS_SOCKET_H
++#include <sys/socket.h>
++#endif
+ int
+ main ()
+ {
+@@ -7232,7 +7243,7 @@
@@ -37,8 +47,8 @@
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
Index: src/conff.h
---- src/conff.h.orig 2005-02-20 23:18:53 +0100
-+++ src/conff.h 2005-04-08 17:35:45 +0200
+--- src/conff.h.orig 2005-06-27 21:57:22 +0200
++++ src/conff.h 2005-10-03 13:00:37 +0200
@@ -33,6 +33,8 @@
#include <stdio.h>
#include <pthread.h>
@@ -49,8 +59,8 @@
#include "ipvers.h"
#include "list.h"
Index: src/dns.h
---- src/dns.h.orig 2005-02-20 23:34:13 +0100
-+++ src/dns.h 2005-04-08 17:36:12 +0200
+--- src/dns.h.orig 2005-07-01 14:33:35 +0200
++++ src/dns.h 2005-10-03 13:00:37 +0200
@@ -27,9 +27,9 @@
#include <config.h>
@@ -63,9 +73,9 @@
#include "rr_types.h"
#include "list.h"
Index: src/thread.h
---- src/thread.h.orig 2005-03-15 17:31:28 +0100
-+++ src/thread.h 2005-04-08 17:34:38 +0200
-@@ -94,10 +94,16 @@
+--- src/thread.h.orig 2005-07-08 20:16:36 +0200
++++ src/thread.h 2005-10-03 13:00:37 +0200
+@@ -111,10 +111,16 @@
*/
inline static int usleep_r(unsigned long useconds)
{
@@ -82,7 +92,7 @@
}
/* This is a thread-safe sleep().
-@@ -106,9 +112,14 @@
+@@ -123,9 +129,14 @@
*/
inline static int sleep_r (unsigned int seconds)
{
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/pdnsd/pdnsd.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 pdnsd.spec
--- openpkg-src/pdnsd/pdnsd.spec 15 Jul 2005 16:39:04 -0000 1.16
+++ openpkg-src/pdnsd/pdnsd.spec 3 Oct 2005 11:32:23 -0000 1.17
@@ -33,7 +33,7 @@
Group: DNS
License: GPL
Version: 1.2.3
-Release: 20050715
+Release: 20051003
# list of sources
Source0:
http://www.phys.uu.nl/~rombouts/pdnsd/releases/pdnsd-%{version}-par.tar.gz
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]