Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2007 17:25:26 +0100 (CET)
From:      Ralf van der Enden <tremere@cainites.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108182: dns/powerdns: fix building issues with gpgsql backend and remove sqlite3 backend (added it a bit too soon)
Message-ID:  <20070121162526.95DA8E4@mail.cainites.net>
Resent-Message-ID: <200701211630.l0LGUM11024990@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108182
>Category:       ports
>Synopsis:       dns/powerdns: fix building issues with gpgsql backend and remove sqlite3 backend (added it a bit too soon)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 21 16:30:22 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ralf van der Enden
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 15 16:52:24 CET 2007 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386


	
>Description:
Remove SQLite 3 backend from OPTIONs (will be added in 2.9.21). Added a bit prematurely.
Fix building of the pgsql backend.

Additional information:
In the last update I moved the configuration file from /usr/local/etc to /usr/local/etc/pdns
I did this to match the location of the configfile of the dns/powerdns-recursor port.
Could this be mentioned in the /usr/ports/UPDATING file ?
>How-To-Repeat:
	
>Fix:

	

--- pdns-2.9.20_3.diff begins here ---
diff -ruN powerdns/Makefile powerdns.new/Makefile
--- powerdns/Makefile	Sat Jan 13 00:49:04 2007
+++ powerdns.new/Makefile	Sun Jan 21 17:17:49 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	powerdns
 PORTVERSION=	2.9.20
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/ \
 		http://mirrors.evolva.ro/powerdns.com/releases/
@@ -41,7 +41,6 @@
 OPTIONS=	PGSQL           "PostgreSQL backend" on \
 		MYSQL           "MySQL backend" off \
 		SQLITE          "SQLite 2 backend" off \
-		SQLITE3         "SQLite 3 backend" off \
 		OPENDBX         "OpenDBX backend" off \
 		OPENLDAP        "OpenLDAP backend" off \
 		GEO             "Geo backend" off
@@ -96,14 +95,6 @@
 PLIST_SUB+=		WITHSQLITE=""
 .else
 PLIST_SUB+=		WITHSQLITE="@comment "
-.endif
-
-.if defined(WITH_SQLITE3)
-USE_SQLITE?=		3
-CONFIGURE_MODULES+=	"gsqlite"
-PLIST_SUB+=		WITHSQLITE3=""
-.else
-PLIST_SUB+=		WITHSQLITE3="@comment "
 .endif
 
 .if defined(WITH_OPENDBX)
diff -ruN powerdns/files/patch-modules_gpgsqlbackend_Makefile_in powerdns.new/files/patch-modules_gpgsqlbackend_Makefile_in
--- powerdns/files/patch-modules_gpgsqlbackend_Makefile_in	Mon Jul 18 14:59:51 2005
+++ powerdns.new/files/patch-modules_gpgsqlbackend_Makefile_in	Sun Jan 21 17:17:18 2007
@@ -17,12 +17,3 @@
  all: all-am
  
  .SUFFIXES:
-@@ -272,7 +272,7 @@
- 	  rm -f "$${dir}/so_locations"; \
- 	done
- libgpgsqlbackend.la: $(libgpgsqlbackend_la_OBJECTS) $(libgpgsqlbackend_la_DEPENDENCIES) 
--	$(CXXLINK) -rpath $(libdir) $(libgpgsqlbackend_la_LDFLAGS) $(libgpgsqlbackend_la_OBJECTS) $(libgpgsqlbackend_la_LIBADD) $(LIBS)
-+#	$(CXXLINK) -rpath $(libdir) $(libgpgsqlbackend_la_LDFLAGS) $(libgpgsqlbackend_la_OBJECTS) $(libgpgsqlbackend_la_LIBADD) $(LIBS)
- 
- mostlyclean-compile:
- 	-rm -f *.$(OBJEXT)
diff -ruN powerdns/pkg-plist powerdns.new/pkg-plist
--- powerdns/pkg-plist	Sat Jan 13 00:49:04 2007
+++ powerdns.new/pkg-plist	Sun Jan 21 17:18:03 2007
@@ -10,10 +10,6 @@
 %%WITHSQLITE%%lib/libgsqlitebackend.la
 %%WITHSQLITE%%lib/libgsqlitebackend.so
 %%WITHSQLITE%%lib/libgsqlitebackend.so.0
-%%WITHSQLITE3%%lib/libgsqlitebackend.a
-%%WITHSQLITE3%%lib/libgsqlitebackend.la
-%%WITHSQLITE3%%lib/libgsqlitebackend.so
-%%WITHSQLITE3%%lib/libgsqlitebackend.so.0
 %%WITHOPENLDAP%%lib/libldapbackend.a
 %%WITHOPENLDAP%%lib/libldapbackend.la
 %%WITHOPENLDAP%%lib/libldapbackend.so
--- pdns-2.9.20_3.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070121162526.95DA8E4>