[csw-devel] SF.net SVN: gar:[17595] csw/mgar/pkg/powerdns/trunk

wilbury at users.sourceforge.net wilbury at users.sourceforge.net
Tue Apr 3 22:43:01 CEST 2012


Revision: 17595
          http://gar.svn.sourceforge.net/gar/?rev=17595&view=rev
Author:   wilbury
Date:     2012-04-03 20:43:00 +0000 (Tue, 03 Apr 2012)
Log Message:
-----------
powerdns/trunk: Build for (at the moment) Solaris 10/i386

Modified Paths:
--------------
    csw/mgar/pkg/powerdns/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/powerdns/trunk/files/0003-Make-checking-for-LUA-behave-correctly.patch
    csw/mgar/pkg/powerdns/trunk/files/0004-Use-sys-isa_defs.h-instead-of-endian.h.patch
    csw/mgar/pkg/powerdns/trunk/files/0005-Include-correct-sys-ethernet.h.patch

Removed Paths:
-------------
    csw/mgar/pkg/powerdns/trunk/files/0001-stdint.h-patch.patch

Modified: csw/mgar/pkg/powerdns/trunk/Makefile
===================================================================
--- csw/mgar/pkg/powerdns/trunk/Makefile	2012-04-03 19:46:17 UTC (rev 17594)
+++ csw/mgar/pkg/powerdns/trunk/Makefile	2012-04-03 20:43:00 UTC (rev 17595)
@@ -9,13 +9,20 @@
   backends. Current backends include MySQL, PostgreSQL, bind, etc.
 endef
 
+# XXX: Open Issues:
+# - build recursor
+
 MASTER_SITES = http://downloads.powerdns.com/releases/
 SPKG_SOURCEURL = http://www.powerdns.com/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
 DISTFILES += LICENSE
 DISTFILES += cswpdns
-# PATCHFILES += 0001-stdint.h-patch.patch
+PATCHFILES += 0003-Make-checking-for-LUA-behave-correctly.patch
+PATCHFILES += 0004-Use-sys-isa_defs.h-instead-of-endian.h.patch
+PATCHFILES += 0005-Include-correct-sys-ethernet.h.patch
 
+WORKSRC = $(WORKDIR)/$(NAME)-$(VERSION)
+
 # File name regex to get notifications about upstream software releases
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
 
@@ -27,23 +34,31 @@
 LICENSE = $(FILEDIR)/LICENSE
 
 GARCOMPILER = GNU
-# PACKAGING_PLATFORMS +=  solaris9-sparc solaris9-i386
-PACKAGING_PLATFORMS +=  solaris10-sparc solaris10-i386
+#PACKAGING_PLATFORMS +=  solaris9-sparc solaris9-i386
+#PACKAGING_PLATFORMS +=  solaris10-sparc solaris10-i386
+PACKAGING_PLATFORMS +=  solaris10-i386
+
+# PowerDNS does not have any "test" target
 SKIPTEST = 1
-BUILD64_ONLY = 1
-BUILD64 = 1
 
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --sysconfdir=/etc/$(prefix)/pdns
+CONFIGURE_ARGS += --disable-recursor
+CONFIGURE_ARGS += --with-lua=no
+CONFIGURE_ARGS += --with-boost=/opt/csw/gxx
 CONFIGURE_ARGS += --with-mysql=$(prefix)
-CONFIGURE_ARGS += --with-boost=/opt/csw/gxx
+CONFIGURE_ARGS += --with-mysql-lib=$(prefix)/lib
+CONFIGURE_ARGS += --with-mysql-includes=$(prefix)/include/mysql
+EXTRA_INC = /opt/csw/gxx/include
+LDFLAGS += -L/opt/csw/gxx/lib
 
 RUNTIME_DEP_PKGS_CSWpdns += CSWzlib
 RUNTIME_DEP_PKGS_CSWpdns += CSWlibgcc-s1
 RUNTIME_DEP_PKGS_CSWpdns += CSWlibmysqlclient15
 RUNTIME_DEP_PKGS_CSWpdns += CSWgcc4corert
 RUNTIME_DEP_PKGS_CSWpdns += CSWgcc4g++rt
-RUNTIME_DEP_PKGS_CSWpdns += CSWboostrt
+RUNTIME_DEP_PKGS_CSWpdns += CSWlibboost-prog-opts1-49-0-gxx
+RUNTIME_DEP_PKGS_CSWpdns += CSWlibboost-s13n1-49-0-gxx
 BUILD_DEP_PKGS  = CSWmysql-dev CSWboostdevel
 
 INITSMF = /etc/opt/csw/init.d/cswpdns

Deleted: csw/mgar/pkg/powerdns/trunk/files/0001-stdint.h-patch.patch
===================================================================
--- csw/mgar/pkg/powerdns/trunk/files/0001-stdint.h-patch.patch	2012-04-03 19:46:17 UTC (rev 17594)
+++ csw/mgar/pkg/powerdns/trunk/files/0001-stdint.h-patch.patch	2012-04-03 20:43:00 UTC (rev 17595)
@@ -1,109 +0,0 @@
-From fffc4da5956c09a85d9b2f749c015af973212488 Mon Sep 17 00:00:00 2001
-From: Ihsan Dogan <ihsan at opencsw.org>
-Date: Wed, 14 Jul 2010 10:27:42 +0200
-Subject: [PATCH] stdint.h patch
-
----
- modules/geobackend/ippreftree.hh |    2 +-
- pdns/aes/brg_types.h             |    2 +-
- pdns/dnspbench.cc                |    2 +-
- pdns/dnswriter.hh                |    2 +-
- pdns/misc.hh                     |    2 +-
- pdns/rcpgenerator.hh             |    2 +-
- pdns/rec_channel.hh              |    2 +-
- 7 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/modules/geobackend/ippreftree.hh b/modules/geobackend/ippreftree.hh
-index d1196c1..d4f970a 100644
---- a/modules/geobackend/ippreftree.hh
-+++ b/modules/geobackend/ippreftree.hh
-@@ -8,7 +8,7 @@
- #include <string>
- #include <sys/types.h>
- #include <cstdlib>
--#include <stdint.h>
-+#include <sys/inttypes.h>
- 
- using namespace std;
- 
-diff --git a/pdns/aes/brg_types.h b/pdns/aes/brg_types.h
-index 5911581..755b3e8 100644
---- a/pdns/aes/brg_types.h
-+++ b/pdns/aes/brg_types.h
-@@ -47,7 +47,7 @@ extern "C" {
- #  include <stddef.h>
- #  define ptrint_t intptr_t
- #elif defined( __GNUC__ ) && ( __GNUC__ >= 3 )
--#  include <stdint.h>
-+#include <sys/inttypes.h>
- #  define ptrint_t intptr_t
- #else
- #  define ptrint_t int
-diff --git a/pdns/dnspbench.cc b/pdns/dnspbench.cc
-index ae62fe3..c422c31 100644
---- a/pdns/dnspbench.cc
-+++ b/pdns/dnspbench.cc
-@@ -8,7 +8,7 @@ Logger L("dnspbench");
- #include "dnsrecords.hh"
- 
- #include "statbag.hh"
--#include <stdint.h>
-+#include <sys/inttypes.h>
- #include <set>
- 
- using namespace boost;
-diff --git a/pdns/dnswriter.hh b/pdns/dnswriter.hh
-index e5d418d..a041cea 100644
---- a/pdns/dnswriter.hh
-+++ b/pdns/dnswriter.hh
-@@ -5,7 +5,7 @@
- #include <vector>
- #include <map>
- #if !defined SOLARIS8 && !defined WIN32
--#include <stdint.h>
-+#include <sys/inttypes.h>
- #elif defined WIN32
- #include "utility.hh"
- #endif
-diff --git a/pdns/misc.hh b/pdns/misc.hh
-index f04787a..4f38a4c 100644
---- a/pdns/misc.hh
-+++ b/pdns/misc.hh
-@@ -18,7 +18,7 @@
- */
- #ifndef MISC_HH
- #define MISC_HH
--#include <stdint.h>
-+#include <sys/inttypes.h>
- #include <cstring>
- 
- #if 0
-diff --git a/pdns/rcpgenerator.hh b/pdns/rcpgenerator.hh
-index 3651830..35c5334 100644
---- a/pdns/rcpgenerator.hh
-+++ b/pdns/rcpgenerator.hh
-@@ -23,7 +23,7 @@
- #include <string>
- #include <stdexcept>
- #if !defined SOLARIS8 && !defined WIN32
--# include <stdint.h>
-+#include <sys/inttypes.h>
- #elif defined WIN32
- # include "utility.hh"
- #endif
-diff --git a/pdns/rec_channel.hh b/pdns/rec_channel.hh
-index 4a381a5..7b62082 100644
---- a/pdns/rec_channel.hh
-+++ b/pdns/rec_channel.hh
-@@ -3,7 +3,7 @@
- #include <string>
- #include <map>
- #if !defined SOLARIS8 && !defined WIN32
--#include <stdint.h>
-+#include <sys/inttypes.h>
- #elif defined WIN32
- #include "utility.hh"
- #endif
--- 
-1.7.1
-

Added: csw/mgar/pkg/powerdns/trunk/files/0003-Make-checking-for-LUA-behave-correctly.patch
===================================================================
--- csw/mgar/pkg/powerdns/trunk/files/0003-Make-checking-for-LUA-behave-correctly.patch	                        (rev 0)
+++ csw/mgar/pkg/powerdns/trunk/files/0003-Make-checking-for-LUA-behave-correctly.patch	2012-04-03 20:43:00 UTC (rev 17595)
@@ -0,0 +1,25 @@
+From fa26498bf683e466fcbcf8b21c2bce06d9024423 Mon Sep 17 00:00:00 2001
+From: Juraj Lutter <wilbury at opencsw.org>
+Date: Tue, 3 Apr 2012 22:06:09 +0200
+Subject: [PATCH 3/5] Make checking for LUA behave correctly.
+
+---
+ configure |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure b/configure
+index 1067417..55b5d20 100755
+--- a/configure
++++ b/configure
+@@ -16494,7 +16494,7 @@ $as_echo_n "checking if with lua... " >&6; }
+ 
+ # Check whether --with-lua was given.
+ if test "${with_lua+set}" = set; then :
+-  withval=$with_lua; WITH_LUA=$withval]
++  withval=$with_lua; WITH_LUA=$withval
+ else
+   WITH_LUA=yes
+ fi
+-- 
+1.7.9
+

Added: csw/mgar/pkg/powerdns/trunk/files/0004-Use-sys-isa_defs.h-instead-of-endian.h.patch
===================================================================
--- csw/mgar/pkg/powerdns/trunk/files/0004-Use-sys-isa_defs.h-instead-of-endian.h.patch	                        (rev 0)
+++ csw/mgar/pkg/powerdns/trunk/files/0004-Use-sys-isa_defs.h-instead-of-endian.h.patch	2012-04-03 20:43:00 UTC (rev 17595)
@@ -0,0 +1,269 @@
+From abd2e92b705c96a9422cdaff295ac9a3fbee4793 Mon Sep 17 00:00:00 2001
+From: Juraj Lutter <wilbury at opencsw.org>
+Date: Tue, 3 Apr 2012 22:12:41 +0200
+Subject: [PATCH 4/5] Use sys/isa_defs.h instead of endian.h
+
+---
+ codedocs/Makefile               |  160 +++++++++++++++++++-------------------
+ pdns/ext/polarssl/library/net.c |    2 +
+ 2 files changed, 82 insertions(+), 80 deletions(-)
+
+diff --git a/codedocs/Makefile b/codedocs/Makefile
+index a8dc049..279bc07 100644
+--- a/codedocs/Makefile
++++ b/codedocs/Makefile
+@@ -31,8 +31,8 @@ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-build_triplet = x86_64-unknown-linux-gnu
+-host_triplet = x86_64-unknown-linux-gnu
++build_triplet = i386-pc-solaris2.10
++host_triplet = i386-pc-solaris2.10
+ subdir = codedocs
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -47,70 +47,70 @@ CONFIG_CLEAN_VPATH_FILES =
+ SOURCES =
+ DIST_SOURCES =
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-ACLOCAL = ${SHELL} /home/vagrant/pdns-auth-3.0/missing --run aclocal-1.11
+-AMTAR = ${SHELL} /home/vagrant/pdns-auth-3.0/missing --run tar
++ACLOCAL = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/missing --run aclocal-1.11
++AMTAR = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/missing --run tar
+ AR = ar
+-AUTOCONF = ${SHELL} /home/vagrant/pdns-auth-3.0/missing --run autoconf
+-AUTOHEADER = ${SHELL} /home/vagrant/pdns-auth-3.0/missing --run autoheader
+-AUTOMAKE = ${SHELL} /home/vagrant/pdns-auth-3.0/missing --run automake-1.11
+-AWK = mawk
+-BOOST_CPPFLAGS = 
+-BOOST_PROGRAM_OPTIONS_LDFLAGS = -L/usr/local/lib -R/usr/local/lib
+-BOOST_PROGRAM_OPTIONS_LIBS = -lboost_program_options-mt
++AUTOCONF = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/missing --run autoconf
++AUTOHEADER = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/missing --run autoheader
++AUTOMAKE = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/missing --run automake-1.11
++AWK = gawk
++BOOST_CPPFLAGS = -I/opt/csw/gxx/include
++BOOST_PROGRAM_OPTIONS_LDFLAGS = -L/opt/csw/gxx/lib -R/opt/csw/gxx/lib
++BOOST_PROGRAM_OPTIONS_LIBS = -lboost_program_options
+ BOOST_ROOT = 
+-BOOST_SERIALIZATION_LDFLAGS = -L/usr/local/lib -R/usr/local/lib
+-BOOST_SERIALIZATION_LIBS = -lboost_serialization-mt
+-CC = gcc
++BOOST_SERIALIZATION_LDFLAGS = -L/opt/csw/gxx/lib -R/opt/csw/gxx/lib
++BOOST_SERIALIZATION_LIBS = -lboost_serialization
++CC = /opt/csw/bin/gcc-4.6
+ CCDEPMODE = depmode=gcc3
+-CFLAGS = -g -O2
+-CPP = gcc -E
+-CPPFLAGS = 
+-CXX = g++
+-CXXCPP = g++ -E
++CFLAGS = -O2 -pipe -m32 -march=pentiumpro
++CPP = /opt/csw/bin/gcc-4.6 -E
++CPPFLAGS = -I/opt/csw/gxx/include -I/opt/csw/include
++CXX = /opt/csw/bin/g++-4.6
++CXXCPP = /opt/csw/bin/g++-4.6 -E
+ CXXDEPMODE = depmode=gcc3
+-CXXFLAGS = -D_GNU_SOURCE  -Wall -O2
++CXXFLAGS = -D_REENTRANT -O2 -pipe -m32 -march=pentiumpro -Wall -O2
+ CYGPATH_W = echo
+ DEFS = -DHAVE_CONFIG_H
+ DEPDIR = .deps
+-DISTCHECK_CONFIGURE_FLAGS =  '--with-boost='
++DISTCHECK_CONFIGURE_FLAGS =  '--with-boost=/opt/csw/gxx'
+ DSYMUTIL = 
+ DUMPBIN = 
+-DYNLINKFLAGS = -rdynamic
++DYNLINKFLAGS = 
+ ECHO_C = 
+ ECHO_N = -n
+ ECHO_T = 
+-EGREP = /bin/grep -E
++EGREP = /opt/csw/bin/ggrep -E
+ EXEEXT = 
+-FGREP = /bin/grep -F
+-GREP = /bin/grep
+-INSTALL = /usr/bin/install -c
++FGREP = /opt/csw/bin/ggrep -F
++GREP = /opt/csw/bin/ggrep
++INSTALL = /opt/csw/bin/ginstall -c
+ INSTALL_DATA = ${INSTALL} -m 644
+ INSTALL_PROGRAM = ${INSTALL}
+ INSTALL_SCRIPT = ${INSTALL}
+ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+-LD = /usr/bin/ld -m elf_x86_64
+-LDFLAGS = -L/opt/postgresql/lib -Wl,-rpath,/opt/postgresql/lib 
++LD = /usr/ccs/bin/ld
++LDFLAGS = -L/opt/csw/lib -L/opt/csw/gxx/lib
+ LEX = flex
+ LEXLIB = -lfl
+ LEX_OUTPUT_ROOT = lex.yy
+ LIBDL = -ldl 
+-LIBLDAP = ldap_r
++LIBLDAP = 
+ LIBOBJS = 
+-LIBOPENDBX = opendbx
+-LIBS =  -lz
++LIBOPENDBX = 
++LIBS = -lposix4 -lresolv -lnsl -lsocket -lpthread -lrt  -lz
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
+ LIPO = 
+ LN_S = ln -s
+ LTLIBOBJS = 
+-LUA_CFLAGS = -I/usr/include/lua5.1  
+-LUA_LIBS = -llua5.1  
+-MAKEINFO = ${SHELL} /home/vagrant/pdns-auth-3.0/missing --run makeinfo
+-MKDIR_P = /bin/mkdir -p
+-MYSQL_incdir = /usr/include/mysql
+-MYSQL_lib = 
+-NM = /usr/bin/nm -B
++LUA_CFLAGS = 
++LUA_LIBS = 
++MAKEINFO = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/missing --run makeinfo
++MKDIR_P = /opt/csw/bin/gmkdir -p
++MYSQL_incdir = /opt/csw/include/mysql
++MYSQL_lib = -L/opt/csw/lib
++NM = /usr/ccs/bin/nm -p
+ NMEDIT = 
+-OBJDUMP = objdump
++OBJDUMP = false
+ OBJEXT = o
+ OTOOL = 
+ OTOOL64 = 
+@@ -122,78 +122,78 @@ PACKAGE_TARNAME =
+ PACKAGE_URL = 
+ PACKAGE_VERSION = 
+ PATH_SEPARATOR = :
+-PGSQL_incdir = /opt/postgresql/include
+-PGSQL_lib = -L/opt/postgresql/lib -Wl,-rpath,/opt/postgresql/lib
+-PKG_CONFIG = /usr/bin/pkg-config
++PGSQL_incdir = 
++PGSQL_lib = 
++PKG_CONFIG = 
+ RANLIB = ranlib
+-SED = /bin/sed
++SED = /opt/csw/bin/gsed
+ SET_MAKE = 
+ SHELL = /bin/bash
+-SQLITE3_CFLAGS =  
+-SQLITE3_LIBS = -lsqlite3  
+-SQLITE_incdir = /usr/include/
++SQLITE3_CFLAGS = 
++SQLITE3_LIBS = 
++SQLITE_incdir = 
+ SQLITE_lib = 
+ STRIP = strip
+-THREADFLAGS = -pthread
+-UNIXODBC_incdir = /usr/include/
++THREADFLAGS = 
++UNIXODBC_incdir = 
+ UNIXODBC_lib = 
+ VERSION = 3.0.1
+ YACC = bison -y
+ YFLAGS = 
+-abs_builddir = /home/vagrant/pdns-auth-3.0/codedocs
+-abs_srcdir = /home/vagrant/pdns-auth-3.0/codedocs
+-abs_top_builddir = /home/vagrant/pdns-auth-3.0
+-abs_top_srcdir = /home/vagrant/pdns-auth-3.0
+-ac_ct_CC = gcc
+-ac_ct_CXX = g++
++abs_builddir = /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/codedocs
++abs_srcdir = /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/codedocs
++abs_top_builddir = /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1
++abs_top_srcdir = /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1
++ac_ct_CC = /opt/csw/bin/gcc-4.6
++ac_ct_CXX = 
+ ac_ct_DUMPBIN = 
+ am__include = include
+ am__leading_dot = .
+ am__quote = 
+ am__tar = ${AMTAR} chof - "$$tardir"
+ am__untar = ${AMTAR} xf -
+-bindir = ${exec_prefix}/bin
+-build = x86_64-unknown-linux-gnu
++bindir = /opt/csw/bin
++build = i386-pc-solaris2.10
+ build_alias = 
+-build_cpu = x86_64
+-build_os = linux-gnu
+-build_vendor = unknown
++build_cpu = i386
++build_os = solaris2.10
++build_vendor = pc
+ builddir = .
+-datadir = ${datarootdir}
++datadir = /opt/csw/share
+ datarootdir = ${prefix}/share
+ docdir = ${datarootdir}/doc/${PACKAGE}
+ dvidir = ${docdir}
+-exec_prefix = ${prefix}
+-host = x86_64-unknown-linux-gnu
++exec_prefix = /opt/csw
++host = i386-pc-solaris2.10
+ host_alias = 
+-host_cpu = x86_64
+-host_os = linux-gnu
+-host_vendor = unknown
++host_cpu = i386
++host_os = solaris2.10
++host_vendor = pc
+ htmldir = ${docdir}
+-includedir = ${prefix}/include
+-infodir = ${datarootdir}/info
+-install_sh = ${SHELL} /home/vagrant/pdns-auth-3.0/install-sh
+-libdir = ${exec_prefix}/lib
+-libexecdir = ${exec_prefix}/libexec
++includedir = /opt/csw/include
++infodir = /opt/csw/share/info
++install_sh = ${SHELL} /home/wilbury/b/powerdns/trunk/work/solaris10-i386/build-isa-pentium_pro/pdns-3.0.1/install-sh
++libdir = /opt/csw/lib
++libexecdir = /opt/csw/libexec
+ localedir = ${datarootdir}/locale
+-localstatedir = ${prefix}/var
++localstatedir = /var/opt/csw
+ lt_ECHO = echo
+-mandir = ${datarootdir}/man
+-mkdir_p = /bin/mkdir -p
+-moduledirs =  mysqlbackend mydnsbackend gmysqlbackend mongodbbackend luabackend gpgsqlbackend xdbbackend pipebackend oraclebackend pipebackend pdnsbackend db2backend odbcbackend ldapbackend gsqlitebackend gsqlite3backend geobackend goraclebackend opendbxbackend godbcbackend
+-modulelibs =  -lmysqlclient -lz -lmysqlclient -lz -lmysqlclient -L/opt/mongo/lib64/ -lmongoclient -lboost_thread -lboost_filesystem -lboost_system -llua5.1 -lpq -lssl -lcrypto  -lcrypt   -lresolv -lnsl -ltdb  -L$(ORACLE_HOME)/lib -lclntsh  -lmysqlclient   -lldap_r -lsqlite -lsqlite3  -L$(ORACLE_HOME)/lib -lclient9  -lclntst9 -lopendbx 
+-moduleobjects =  ../modules/mysqlbackend/mysqlcbackend.o ../modules/mydnsbackend/mydnsbackend.o ../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o ../modules/mongodbbackend/mongodbbackend.o ../modules/mongodbbackend/minimal.o ../modules/mongodbbackend/slave.o ../modules/mongodbbackend/master.o ../modules/mongodbbackend/reload.o ../modules/mongodbbackend/private.o ../modules/mongodbbackend/dnssec.o ../modules/mongodbbackend/supermaster.o ../modules/mongodbbackend/crc32.o ../modules/luabackend/luabackend.o ../modules/luabackend/minimal.o ../modules/luabackend/reload.o ../modules/luabackend/lua_functions.o ../modules/luabackend/master.o ../modules/luabackend/private.o ../modules/luabackend/slave.o ../modules/luabackend/supermaster.o ../modules/luabackend/dnssec.o ../modules/gpgsqlbackend/gpgsqlbackend.o ../modules/gpgsqlbackend/spgsql.o ../modules/xdbbackend/xdbbackend.o ../modules/xdbbackend/xtdb.o ../modules/pipebackend/coprocess.o ../modules/pipeback
 end/pipebackend.o ../modules/oraclebackend/oraclebackend.o ../modules/pipebackend/coprocess.o ../modules/pipebackend/pipebackend.o ../modules/pdnsbackend/pdnsbackend.o ../modules/db2backend/DB2Backend.o ../modules/ldapbackend/ldapbackend.o ../modules/ldapbackend/powerldap.o ../modules/gsqlitebackend/gsqlitebackend.o ../modules/gsqlitebackend/ssqlite.o ../modules/gsqlite3backend/gsqlite3backend.o ../modules/gsqlite3backend/ssqlite3.o ../modules/geobackend/geobackend.o ../modules/geobackend/ippreftree.o ../modules/goraclebackend/goraclebackend.o ../modules/goraclebackend/soracle.o ../modules/opendbxbackend/odbxbackend.o ../modules/opendbxbackend/odbxprivate.o
++mandir = /opt/csw/share/man
++mkdir_p = /opt/csw/bin/gmkdir -p
++moduledirs =  gmysqlbackend geobackend pipebackend
++modulelibs =  -lmysqlclient 
++moduleobjects =  ../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o ../modules/geobackend/geobackend.o ../modules/geobackend/ippreftree.o
+ oldincludedir = /usr/include
+ pdfdir = ${docdir}
+-prefix = /usr/local
++prefix = /opt/csw
+ program_transform_name = s,x,x,
+ programdescend = pdns
+ psdir = ${docdir}
+-sbindir = ${exec_prefix}/sbin
+-sharedstatedir = ${prefix}/com
++sbindir = /opt/csw/sbin
++sharedstatedir = /opt/csw/share
+ socketdir = /var/run
+ srcdir = .
+-sysconfdir = ${prefix}/etc
++sysconfdir = /etc//opt/csw/pdns
+ target_alias = 
+ top_build_prefix = ../
+ top_builddir = ..
+diff --git a/pdns/ext/polarssl/library/net.c b/pdns/ext/polarssl/library/net.c
+index 67b52a7..8106b74 100644
+--- a/pdns/ext/polarssl/library/net.c
++++ b/pdns/ext/polarssl/library/net.c
+@@ -59,6 +59,8 @@ static int wsa_init_done = 0;
+ #include <sys/endian.h>
+ #elif defined(__APPLE__)
+ #include <machine/endian.h>
++#elif defined(sun)
++#include <sys/isa_defs.h>
+ #else
+ #include <endian.h>
+ #endif
+-- 
+1.7.9
+

Added: csw/mgar/pkg/powerdns/trunk/files/0005-Include-correct-sys-ethernet.h.patch
===================================================================
--- csw/mgar/pkg/powerdns/trunk/files/0005-Include-correct-sys-ethernet.h.patch	                        (rev 0)
+++ csw/mgar/pkg/powerdns/trunk/files/0005-Include-correct-sys-ethernet.h.patch	2012-04-03 20:43:00 UTC (rev 17595)
@@ -0,0 +1,28 @@
+From c20fa0d61171f461fc5c13be4303815e88d4892c Mon Sep 17 00:00:00 2001
+From: Juraj Lutter <wilbury at opencsw.org>
+Date: Tue, 3 Apr 2012 22:27:38 +0200
+Subject: [PATCH 5/5] Include correct sys/ethernet.h
+
+---
+ pdns/dnspcap.hh |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/pdns/dnspcap.hh b/pdns/dnspcap.hh
+index 66e07b9..60596ff 100644
+--- a/pdns/dnspcap.hh
++++ b/pdns/dnspcap.hh
+@@ -10,7 +10,11 @@
+ #include <netinet/in_systm.h>
+ #include <netinet/ip.h>
+ #include <netinet/udp.h>
++#ifdef sun
++#include <sys/ethernet.h>
++#else
+ #include <net/ethernet.h>
++#endif
+ #include <vector>
+ #include <boost/format.hpp>
+ #include "namespaces.hh"
+-- 
+1.7.9
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list