summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2006-03-29 01:28:46 +0000
committergavan <gavan@pkgsrc.org>2006-03-29 01:28:46 +0000
commit3baccda846a1af6ceb0f93c4fbb267dd9dce7fa8 (patch)
tree63aa3f1f7e64afe9377934ff3b0f4ed536d0c486 /databases
parentcf630aef2ca23e311ca7d8afd4015a504c86cfe7 (diff)
downloadpkgsrc-3baccda846a1af6ceb0f93c4fbb267dd9dce7fa8.tar.gz
Update sqlrelay to 0.37.
There are far too many changes to list here.
Diffstat (limited to 'databases')
-rw-r--r--databases/sqlrelay/Makefile30
-rw-r--r--databases/sqlrelay/PLIST227
-rw-r--r--databases/sqlrelay/distinfo11
-rw-r--r--databases/sqlrelay/patches/patch-aa21
-rw-r--r--databases/sqlrelay/patches/patch-ab21
-rw-r--r--databases/sqlrelay/patches/patch-ac20
6 files changed, 217 insertions, 113 deletions
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index 6c6c300808a..22fb2e186d3 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:37 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2006/03/29 01:28:46 gavan Exp $
-DISTNAME= sqlrelay-0.33.1
-PKGREVISION= 2
+DISTNAME= sqlrelay-0.37
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlrelay/}
@@ -14,7 +13,32 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake
USE_LIBTOOL= YES
+PERL5_PACKLIST= auto/SQLRelay/Connection/.packlist
+PERL5_PACKLIST+= auto/SQLRelay/Cursor/.packlist
+PERL5_PACKLIST+= auto/DBD/SQLRelay/.packlist
+CONFIGURE_ARGS+= --with-perl-site-arch=${PERL5_INSTALLVENDORARCH:Q}
+CONFIGURE_ARGS+= --with-perl-site-lib=${PERL5_INSTALLVENDORLIB:Q}
+CONFIGURE_ARGS+= --with-perl-install-man3-dir=${PERL5_INSTALLVENDORMAN3DIR:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+MAKE_ENV+= EXAMPLESDIR=${EGDIR:Q}
+
+PKG_SYSCONFSUBDIR= sqlrelay
+EGDIR= ${PREFIX}/share/examples/sqlrelay
+
+CONF_FILES+= ${EGDIR}/sqlrelay.conf.example \
+ ${PKG_SYSCONFDIR}/sqlrelay.conf
+CONF_FILES+= ${EGDIR}/sqlrelay.dtd \
+ ${PKG_SYSCONFDIR}/sqlrelay.dtd
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/init/netbsd/rc.d/sqlrelay ${PREFIX}/share/examples/rc.d/sqlrelay
+
+RCD_SCRIPTS+= sqlrelay
+
.include "options.mk"
.include "../../devel/rudiments/buildlink3.mk"
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../lang/perl5/packlist.mk"
+.include "../../lang/perl5/vars.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/sqlrelay/PLIST b/databases/sqlrelay/PLIST
index eadce4a8d19..2e94cf0159e 100644
--- a/databases/sqlrelay/PLIST
+++ b/databases/sqlrelay/PLIST
@@ -1,95 +1,18 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:23 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/03/29 01:28:46 gavan Exp $
bin/backupschema
bin/fields
-bin/fields-debug
bin/query
-bin/query-debug
bin/sqlr-cachemanager
-bin/sqlr-cachemanager-debug
+bin/sqlr-export
+bin/sqlr-import
bin/sqlr-listener
bin/sqlr-listener-debug
bin/sqlr-scaler
-bin/sqlr-scaler-debug
bin/sqlr-start
-bin/sqlr-start-debug
bin/sqlr-stop
bin/sqlrclient-config
bin/sqlrclientwrapper-config
bin/sqlrsh
-bin/sqlrsh-debug
-doc/sqlrelay/api/c++/sqlrclient.h.html
-doc/sqlrelay/api/c/sqlrclientwrapper.h.html
-doc/sqlrelay/api/java/allclasses-frame.html
-doc/sqlrelay/api/java/allclasses-noframe.html
-doc/sqlrelay/api/java/com/firstworks/sqlrelay/SQLRConnection.html
-doc/sqlrelay/api/java/com/firstworks/sqlrelay/SQLRCursor.html
-doc/sqlrelay/api/java/com/firstworks/sqlrelay/package-frame.html
-doc/sqlrelay/api/java/com/firstworks/sqlrelay/package-summary.html
-doc/sqlrelay/api/java/com/firstworks/sqlrelay/package-tree.html
-doc/sqlrelay/api/java/constant-values.html
-doc/sqlrelay/api/java/deprecated-list.html
-doc/sqlrelay/api/java/help-doc.html
-doc/sqlrelay/api/java/index-all.html
-doc/sqlrelay/api/java/index.html
-doc/sqlrelay/api/java/overview-tree.html
-doc/sqlrelay/api/java/package-list
-doc/sqlrelay/api/java/packages.html
-doc/sqlrelay/api/java/stylesheet.css
-doc/sqlrelay/api/perl/SQLRConnection.html
-doc/sqlrelay/api/perl/SQLRCursor.html
-doc/sqlrelay/api/perl/SQLRelay.html
-doc/sqlrelay/api/php/doc.html
-doc/sqlrelay/api/python/PySQLRClient.py.html
-doc/sqlrelay/api/python/PySQLRDB.py.html
-doc/sqlrelay/api/ruby/ruby.html
-doc/sqlrelay/api/ruby/rubydbi.html
-doc/sqlrelay/clientapis.html
-doc/sqlrelay/configuring.html
-doc/sqlrelay/connections.html
-doc/sqlrelay/css/styles.css
-doc/sqlrelay/gettingstarted/db2.html
-doc/sqlrelay/gettingstarted/interbase.html
-doc/sqlrelay/gettingstarted/lago.html
-doc/sqlrelay/gettingstarted/msql.html
-doc/sqlrelay/gettingstarted/mssqlserver.html
-doc/sqlrelay/gettingstarted/mysql.html
-doc/sqlrelay/gettingstarted/oracle.html
-doc/sqlrelay/gettingstarted/oracle/805.html
-doc/sqlrelay/gettingstarted/oracle/817.html
-doc/sqlrelay/gettingstarted/postgresql.html
-doc/sqlrelay/gettingstarted/sqlite.html
-doc/sqlrelay/gettingstarted/sybase.html
-doc/sqlrelay/gettingstarted/sybase/11.0.3.3.html
-doc/sqlrelay/gettingstarted/sybase/11.9.2.html
-doc/sqlrelay/index.html
-doc/sqlrelay/installing.html
-doc/sqlrelay/introduction.html
-doc/sqlrelay/introtowebdb.html
-doc/sqlrelay/invisible.gif
-doc/sqlrelay/oraclentier.html
-doc/sqlrelay/programming/binds.html
-doc/sqlrelay/programming/c++.html
-doc/sqlrelay/programming/c.html
-doc/sqlrelay/programming/java.html
-doc/sqlrelay/programming/perl.html
-doc/sqlrelay/programming/perldbi.html
-doc/sqlrelay/programming/php.html
-doc/sqlrelay/programming/python.html
-doc/sqlrelay/programming/pythondb.html
-doc/sqlrelay/programming/ruby.html
-doc/sqlrelay/programming/rubydbi.html
-doc/sqlrelay/programming/zope.html
-doc/sqlrelay/programming/zope/instance.gif
-doc/sqlrelay/programming/zope/management.gif
-doc/sqlrelay/programming/zope/resultset.gif
-doc/sqlrelay/programming/zope/sqlrelay.gif
-doc/sqlrelay/programming/zope/test.gif
-doc/sqlrelay/programming/zope/testzsqlmethod.gif
-doc/sqlrelay/programming/zope/zsqlmethod.gif
-doc/sqlrelay/programming/zope/zsqlmethodresultset.gif
-doc/sqlrelay/running.html
-etc/sqlrelay.conf.example
-etc/sqlrelay.dtd
include/sqlrelay/private/bindvar.h
include/sqlrelay/private/column.h
include/sqlrelay/private/row.h
@@ -99,14 +22,18 @@ include/sqlrelay/private/sqlrdefines.h
include/sqlrelay/private/sqlrincludes.h
include/sqlrelay/sqlrclient.h
include/sqlrelay/sqlrclientwrapper.h
+lib/libmysql3sqlrelay.la
+lib/libmysql40sqlrelay.la
+lib/libmysql41sqlrelay.la
+lib/libmysql50sqlrelay.la
+lib/libpqsqlrelay.la
lib/libsqlrclient.la
-lib/libsqlrclient_p.la
lib/libsqlrclientwrapper.la
-lib/libsqlrclientwrapper_p.la
lib/libsqlrconnection.la
-lib/libsqlrconnection_p.la
+lib/libsqlrconnection_debug.la
lib/libsqlrutil.la
-lib/libsqlrutil_p.la
+lib/pkgconfig/sqlrelay-c++.pc
+lib/pkgconfig/sqlrelay-c.pc
man/man1/fields.1
man/man1/query.1
man/man1/query.py.1
@@ -119,27 +46,115 @@ man/man8/sqlr-listener.8
man/man8/sqlr-scaler.8
man/man8/sqlr-start.8
man/man8/sqlr-stop.8
-@exec ${MKDIR} %D/var/sqlrelay/cache
-@dirrm var/sqlrelay/cache
-@dirrm var/sqlrelay
-@dirrm var
+share/doc/sqlrelay/api/c++/sqlrclient.h.html
+share/doc/sqlrelay/api/c/sqlrclientwrapper.h.html
+share/doc/sqlrelay/api/java/allclasses-frame.html
+share/doc/sqlrelay/api/java/allclasses-noframe.html
+share/doc/sqlrelay/api/java/com/firstworks/sqlrelay/SQLRConnection.html
+share/doc/sqlrelay/api/java/com/firstworks/sqlrelay/SQLRCursor.html
+share/doc/sqlrelay/api/java/com/firstworks/sqlrelay/package-frame.html
+share/doc/sqlrelay/api/java/com/firstworks/sqlrelay/package-summary.html
+share/doc/sqlrelay/api/java/com/firstworks/sqlrelay/package-tree.html
+share/doc/sqlrelay/api/java/constant-values.html
+share/doc/sqlrelay/api/java/deprecated-list.html
+share/doc/sqlrelay/api/java/help-doc.html
+share/doc/sqlrelay/api/java/index-all.html
+share/doc/sqlrelay/api/java/index.html
+share/doc/sqlrelay/api/java/overview-tree.html
+share/doc/sqlrelay/api/java/package-list
+share/doc/sqlrelay/api/java/resources/inherit.gif
+share/doc/sqlrelay/api/java/stylesheet.css
+share/doc/sqlrelay/api/perl/Connection.html
+share/doc/sqlrelay/api/perl/Cursor.html
+share/doc/sqlrelay/api/perl/SQLRelay.html
+share/doc/sqlrelay/api/perl/perl.html
+share/doc/sqlrelay/api/php/doc.html
+share/doc/sqlrelay/api/python/PySQLRClient.py.html
+share/doc/sqlrelay/api/python/PySQLRDB.py.html
+share/doc/sqlrelay/api/ruby/ruby.html
+share/doc/sqlrelay/api/ruby/rubydbi.html
+share/doc/sqlrelay/configuring.html
+share/doc/sqlrelay/css/styles.css
+share/doc/sqlrelay/dropin/mysql.html
+share/doc/sqlrelay/dropin/postgresql.html
+share/doc/sqlrelay/faq.html
+share/doc/sqlrelay/gettingstarted/db2.html
+share/doc/sqlrelay/gettingstarted/interbase.html
+share/doc/sqlrelay/gettingstarted/msql.html
+share/doc/sqlrelay/gettingstarted/mssqlserver.html
+share/doc/sqlrelay/gettingstarted/mysql.html
+share/doc/sqlrelay/gettingstarted/oracle.html
+share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/5/805.html
+share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/6/8i.html
+share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/7/8i.html
+share/doc/sqlrelay/gettingstarted/oracle/linux/slackware/7/8i.html
+share/doc/sqlrelay/gettingstarted/oracle/linux/slackware/8/8i.html
+share/doc/sqlrelay/gettingstarted/oracle/linux/slackware/8/9i.html
+share/doc/sqlrelay/gettingstarted/postgresql.html
+share/doc/sqlrelay/gettingstarted/sqlite.html
+share/doc/sqlrelay/gettingstarted/sybase.html
+share/doc/sqlrelay/gettingstarted/sybase/11.0.3.3.html
+share/doc/sqlrelay/gettingstarted/sybase/11.9.2.html
+share/doc/sqlrelay/index.html
+share/doc/sqlrelay/installing.html
+share/doc/sqlrelay/introduction.html
+share/doc/sqlrelay/introtowebdb.html
+share/doc/sqlrelay/invisible.gif
+share/doc/sqlrelay/oraclentier.html
+share/doc/sqlrelay/programming/binds.html
+share/doc/sqlrelay/programming/c++.html
+share/doc/sqlrelay/programming/c.html
+share/doc/sqlrelay/programming/java.html
+share/doc/sqlrelay/programming/perl.html
+share/doc/sqlrelay/programming/perldbi.html
+share/doc/sqlrelay/programming/php.html
+share/doc/sqlrelay/programming/python.html
+share/doc/sqlrelay/programming/pythondb.html
+share/doc/sqlrelay/programming/ruby.html
+share/doc/sqlrelay/programming/rubydbi.html
+share/doc/sqlrelay/programming/tcl.html
+share/doc/sqlrelay/programming/zope.html
+share/doc/sqlrelay/programming/zope/instance.gif
+share/doc/sqlrelay/programming/zope/management.gif
+share/doc/sqlrelay/programming/zope/resultset.gif
+share/doc/sqlrelay/programming/zope/sqlrelay.gif
+share/doc/sqlrelay/programming/zope/test.gif
+share/doc/sqlrelay/programming/zope/testzsqlmethod.gif
+share/doc/sqlrelay/programming/zope/zsqlmethod.gif
+share/doc/sqlrelay/programming/zope/zsqlmethodresultset.gif
+share/doc/sqlrelay/running.html
+share/doc/sqlrelay/tuning.html
+share/doc/sqlrelay/windows.html
+@dirrm share/doc/sqlrelay/programming/zope
+@dirrm share/doc/sqlrelay/programming
+@dirrm share/doc/sqlrelay/gettingstarted/sybase
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/slackware/8
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/slackware/7
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/slackware
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/9
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/8
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/7
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/6
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/redhat/5
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux/redhat
+@dirrm share/doc/sqlrelay/gettingstarted/oracle/linux
+@dirrm share/doc/sqlrelay/gettingstarted/oracle
+@dirrm share/doc/sqlrelay/gettingstarted
+@dirrm share/doc/sqlrelay/dropin
+@dirrm share/doc/sqlrelay/css
+@dirrm share/doc/sqlrelay/api/tcl
+@dirrm share/doc/sqlrelay/api/ruby
+@dirrm share/doc/sqlrelay/api/python
+@dirrm share/doc/sqlrelay/api/php
+@dirrm share/doc/sqlrelay/api/perl
+@dirrm share/doc/sqlrelay/api/java/resources
+@dirrm share/doc/sqlrelay/api/java/com/firstworks/sqlrelay
+@dirrm share/doc/sqlrelay/api/java/com/firstworks
+@dirrm share/doc/sqlrelay/api/java/com
+@dirrm share/doc/sqlrelay/api/java
+@dirrm share/doc/sqlrelay/api/c++
+@dirrm share/doc/sqlrelay/api/c
+@dirrm share/doc/sqlrelay/api
+@dirrm share/doc/sqlrelay
@dirrm include/sqlrelay/private
@dirrm include/sqlrelay
-@dirrm doc/sqlrelay/programming/zope
-@dirrm doc/sqlrelay/programming
-@dirrm doc/sqlrelay/gettingstarted/sybase
-@dirrm doc/sqlrelay/gettingstarted/oracle
-@dirrm doc/sqlrelay/gettingstarted
-@dirrm doc/sqlrelay/css
-@dirrm doc/sqlrelay/api/ruby
-@dirrm doc/sqlrelay/api/python
-@dirrm doc/sqlrelay/api/php
-@dirrm doc/sqlrelay/api/perl
-@dirrm doc/sqlrelay/api/java/com/firstworks/sqlrelay
-@dirrm doc/sqlrelay/api/java/com/firstworks
-@dirrm doc/sqlrelay/api/java/com
-@dirrm doc/sqlrelay/api/java
-@dirrm doc/sqlrelay/api/c++
-@dirrm doc/sqlrelay/api/c
-@dirrm doc/sqlrelay/api
-@dirrm doc/sqlrelay
diff --git a/databases/sqlrelay/distinfo b/databases/sqlrelay/distinfo
index ff2a6ac9215..7c88ac2a220 100644
--- a/databases/sqlrelay/distinfo
+++ b/databases/sqlrelay/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 16:33:10 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/03/29 01:28:46 gavan Exp $
-SHA1 (sqlrelay-0.33.1.tar.gz) = 41d169fd4221577a594bde3415eb3c734146b746
-RMD160 (sqlrelay-0.33.1.tar.gz) = 270e56f80bf688fdd34fa58ee9d44c9bf5667745
-Size (sqlrelay-0.33.1.tar.gz) = 1240926 bytes
+SHA1 (sqlrelay-0.37.tar.gz) = cec442357f6644c8ac7f066fe974a25c9f315022
+RMD160 (sqlrelay-0.37.tar.gz) = 2cad89fe72d6700857280e385ab03c69cd584648
+Size (sqlrelay-0.37.tar.gz) = 1668069 bytes
+SHA1 (patch-aa) = 0684b3382e64569ed222cb19df6e5a1a4a143061
+SHA1 (patch-ab) = c05dbc72d1077237efd1d01e48403a7caa38eff9
+SHA1 (patch-ac) = 0e41838c30a460463b72bfed2791ca8045f04aed
diff --git a/databases/sqlrelay/patches/patch-aa b/databases/sqlrelay/patches/patch-aa
new file mode 100644
index 00000000000..a2778cba99c
--- /dev/null
+++ b/databases/sqlrelay/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2006/03/29 01:28:47 gavan Exp $
+
+--- src/api/perl/Connection/Makefile.orig 2005-07-23 06:22:30.000000000 +0100
++++ src/api/perl/Connection/Makefile
+@@ -9,14 +9,14 @@ PERLOPTIMIZE = $(DESTDIR)$(shell eval "`
+ ifeq ($(OVERRIDEPERLSITEARCH),)
+ PERLSITEARCH = $(DESTDIR)$(shell eval "`$(PERL) -V:sitearch`"; export sitearch; echo $$sitearch | sed -e "s|UNKNOWN||g" )
+ else
+-PERLSITEARCH = $(DESTDIR)$(PERLSITEARCH)
++PERLSITEARCH = $(DESTDIR)$(OVERRIDEPERLSITEARCH)
+ endif
+ PERL_INC = $(DESTDIR)$(shell eval "`$(PERL) -V:archlibexp`"; export archlibexp; echo "-I$$archlibexp/CORE" | sed -e "s|UNKNOWN||g" )
+ PERL_LIB = $(DESTDIR)$(shell eval "`$(PERL) -V:privlibexp`"; export privlibexp; echo $$privlibexp | sed -e "s|UNKNOWN||g" )
+ ifeq ($(OVERRIDEPERLINSTALLMAN3DIR),)
+ PERLINSTALLMAN3DIR = $(DESTDIR)$(shell eval "`$(PERL) -V:installman3dir`"; export installman3dir; echo $$installman3dir | sed -e "s|UNKNOWN||g" )
+ else
+-PERLINSTALLMAN3DIR = $(DESTDIR)$(PERLINSTALLMAN3DIR)
++PERLINSTALLMAN3DIR = $(DESTDIR)$(OVERRIDEPERLINSTALLMAN3DIR)
+ endif
+ ifeq ($(OVERRIDEPERLMAN3EXT),)
+ PERLMAN3EXT = $(shell eval "`$(PERL) -V:man3ext`"; export man3ext; echo $$man3ext | sed -e "s|UNKNOWN||g" )
diff --git a/databases/sqlrelay/patches/patch-ab b/databases/sqlrelay/patches/patch-ab
new file mode 100644
index 00000000000..9c65c34615c
--- /dev/null
+++ b/databases/sqlrelay/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2006/03/29 01:28:47 gavan Exp $
+
+--- src/api/perl/Cursor/Makefile.orig 2005-07-23 06:22:30.000000000 +0100
++++ src/api/perl/Cursor/Makefile
+@@ -9,14 +9,14 @@ PERLOPTIMIZE = $(DESTDIR)$(shell eval "`
+ ifeq ($(OVERRIDEPERLSITEARCH),)
+ PERLSITEARCH = $(DESTDIR)$(shell eval "`$(PERL) -V:sitearch`"; export sitearch; echo $$sitearch | sed -e "s|UNKNOWN||g" )
+ else
+-PERLSITEARCH = $(DESTDIR)$(PERLSITEARCH)
++PERLSITEARCH = $(DESTDIR)$(OVERRIDEPERLSITEARCH)
+ endif
+ PERL_INC = $(DESTDIR)$(shell eval "`$(PERL) -V:archlibexp`"; export archlibexp; echo "-I$$archlibexp/CORE" | sed -e "s|UNKNOWN||g" )
+ PERL_LIB = $(DESTDIR)$(shell eval "`$(PERL) -V:privlibexp`"; export privlibexp; echo $$privlibexp | sed -e "s|UNKNOWN||g" )
+ ifeq ($(OVERRIDEPERLINSTALLMAN3DIR),)
+ PERLINSTALLMAN3DIR = $(DESTDIR)$(shell eval "`$(PERL) -V:installman3dir`"; export installman3dir; echo $$installman3dir | sed -e "s|UNKNOWN||g" )
+ else
+-PERLINSTALLMAN3DIR = $(DESTDIR)$(PERLINSTALLMAN3DIR)
++PERLINSTALLMAN3DIR = $(DESTDIR)$(OVERRIDEPERLINSTALLMAN3DIR)
+ endif
+ ifeq ($(OVERRIDEPERLMAN3EXT),)
+ PERLMAN3EXT = $(shell eval "`$(PERL) -V:man3ext`"; export man3ext; echo $$man3ext | sed -e "s|UNKNOWN||g" )
diff --git a/databases/sqlrelay/patches/patch-ac b/databases/sqlrelay/patches/patch-ac
new file mode 100644
index 00000000000..770b9f493a0
--- /dev/null
+++ b/databases/sqlrelay/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 2006/03/29 01:28:47 gavan Exp $
+
+--- etc/Makefile.orig 2005-02-24 02:52:16.000000000 +0000
++++ etc/Makefile
+@@ -5,10 +5,10 @@ include ../config.mk
+ .PHONY: install uninstall
+
+ install:
+- $(MKINSTALLDIRS) $(sysconfdir)
+- $(INSTALL) -m 644 sqlrelay.conf.example $(sysconfdir)
+- $(INSTALL) -m 644 sqlrelay.dtd $(sysconfdir)
++ $(MKINSTALLDIRS) $(EXAMPLESDIR)
++ $(INSTALL) -m 644 sqlrelay.conf.example $(EXAMPLESDIR)
++ $(INSTALL) -m 644 sqlrelay.dtd $(EXAMPLESDIR)
+
+ uninstall:
+- $(RM) $(sysconfdir)/sqlrelay.conf.example
+- $(RM) $(sysconfdir)/sqlrelay.dtd
++ $(RM) $(EXAMPLESDIR)/sqlrelay.conf.example
++ $(RM) $(EXAMPLESDIR)/sqlrelay.dtd