Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/database
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv15444

Modified Files:
        libdbi-drivers-mysql.info libdbi-drivers-pgsql.info 
        libdbi-drivers-sqlite.info libdbi.info postgis.info 
        postgis.patch postgresql74-unified.info 
        postgresql80-unified.info postgresql81.info postgresql82.info 
Log Message:
obsolete postgresql74, prep for postgresql83, update postgis and libdbi

Index: postgresql81.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql81.info,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- postgresql81.info   17 Sep 2007 00:27:18 -0000      1.16
+++ postgresql81.info   12 Dec 2007 14:20:13 -0000      1.17
@@ -1,6 +1,6 @@
 Package: postgresql81
 Version: 8.1.10
-Revision: 1021
+Revision: 1022
 Description: PostgreSQL open-source database
 License: BSD
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
@@ -22,6 +22,7 @@
        readline5,
        system-openssl-dev
 <<
+Provides: postgresql-server
 Conflicts: <<
        postgresql (<< %v-%r),
        postgresql-ssl (<< %v-%r)
@@ -343,7 +344,8 @@
                postgresql80-dev,
                postgresql80-ssl-dev,
                postgresql80-unified-dev,
-               postgresql82-dev
+               postgresql82-dev,
+               postgresql83-dev
        <<
        Replaces: <<
                postgresql73-dev,
@@ -356,7 +358,8 @@
                postgresql80-ssl-dev,
                postgresql80-unified-dev,
                %N (<< %v-%r),
-               postgresql82-dev
+               postgresql82-dev,
+               postgresql83-dev
        <<
        BuildDependsOnly: true
        Files: <<

Index: libdbi-drivers-pgsql.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/libdbi-drivers-pgsql.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libdbi-drivers-pgsql.info   31 May 2006 14:26:48 -0000      1.2
+++ libdbi-drivers-pgsql.info   12 Dec 2007 14:20:12 -0000      1.3
@@ -1,17 +1,15 @@
 Package: libdbi-drivers-pgsql
-Version: 0.7.1
-Revision: 2
+Version: 0.8.2
+Revision: 1
 Maintainer: None <[EMAIL PROTECTED]>
-Depends: postgresql74-shlibs | postgresql74-ssl-shlibs, libdbi-shlibs
-BuildDepends:  postgresql74-unified-dev, libdbi-dev
-Source: mirror:sourceforge:libdbi-drivers/libdbi-drivers-%v.tar.gz
-Source-MD5: f11020119ceb7a6dee3969cb0589d4bc
-#UpdateConfigGuess: true
-#Updatelibtool: true
+Depends: postgresql82-shlibs, libdbi-shlibs (>= 0.8-1)
+BuildDepends:  postgresql82-dev, libdbi-dev (>= 0.8-1)
+Source: mirror:sourceforge:libdbi-drivers/libdbi-drivers-%v-1.tar.gz
+Source-MD5: d7535f03fafd321acf37dee96430599f
 Configureparams: --with-pgsql --disable-dependency-tracking 
--with-pgsql-incdir=%p/include/postgresql --with-pgsql-libdir=%p/lib
 Installscript: <<
-  make install DESTDIR=%d
-  mv %i/share/doc/libdbi-drivers-%v %i/share/doc/%n
+       make -j1 install DESTDIR="%d"
+       mv %i/share/doc/libdbi-drivers %i/share/doc/%n
 <<
 DocFiles: README COPYING AUTHORS
 Description: PostgreSQL driver for libdbi

Index: libdbi-drivers-sqlite.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/libdbi-drivers-sqlite.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libdbi-drivers-sqlite.info  31 May 2006 14:26:48 -0000      1.2
+++ libdbi-drivers-sqlite.info  12 Dec 2007 14:20:12 -0000      1.3
@@ -1,16 +1,16 @@
 Package: libdbi-drivers-sqlite
-Version: 0.7.1
+Version: 0.8.2
 Revision: 1
 Maintainer: None <[EMAIL PROTECTED]>
-Depends: sqlite-shlibs, libdbi-shlibs
-BuildDepends: sqlite-dev, libdbi-dev
-Source: mirror:sourceforge:libdbi-drivers/libdbi-drivers-%v.tar.gz
-Source-MD5: f11020119ceb7a6dee3969cb0589d4bc
+Depends: sqlite-shlibs, libdbi-shlibs (>= 0.8-1)
+BuildDepends: sqlite-dev, libdbi-dev (>= 0.8-1)
+Source: mirror:sourceforge:libdbi-drivers/libdbi-drivers-%v-1.tar.gz
+Source-MD5: d7535f03fafd321acf37dee96430599f
 UpdateConfigGuess: true
 Configureparams: --with-sqlite --with-sqlite-dir=%p 
--disable-dependency-tracking
 Installscript: <<
-  make install DESTDIR=%d
-  mv %i/share/doc/libdbi-drivers-%v %i/share/doc/%n
+       make -j1 install DESTDIR="%d"
+       mv %i/share/doc/libdbi-drivers %i/share/doc/%n
 <<
 DocFiles: README COPYING AUTHORS
 Description: SQLite driver for libdbi

Index: postgresql74-unified.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql74-unified.info,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- postgresql74-unified.info   17 Sep 2007 00:27:18 -0000      1.14
+++ postgresql74-unified.info   12 Dec 2007 14:20:12 -0000      1.15
@@ -1,11 +1,12 @@
 Package: postgresql74-unified
 Version: 7.4.18
-Revision: 1021
+Revision: 1022
 Description: PostgreSQL open-source database
 License: BSD
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
 
 Depends: <<
+       fink-obsolete-packages,
        daemonic (>= 20010902-1),
        libxml2-shlibs,
        libxslt-shlibs,
@@ -23,6 +24,7 @@
        readline5,
        system-openssl-dev
 <<
+Provides: postgresql-server
 Conflicts: <<
        postgresql (<< %v-%r),
        postgresql-ssl (<< %v-%r)
@@ -333,7 +335,10 @@
 SplitOff: <<
        Package: %N-dev
        Description: PostgreSQL development headers and libraries
-       Depends: %N (>= %v-%r)
+       Depends: <<
+               %N (>= %v-%r),
+               fink-obsolete-packages
+       <<
        Conflicts: <<
                postgresql73-dev,
                postgresql73-ssl-dev,
@@ -344,7 +349,8 @@
                postgresql80-ssl-dev,
                postgresql80-unified-dev,
                postgresql81-dev,
-               postgresql82-dev
+               postgresql82-dev,
+               postgresql83-dev
        <<
        Replaces: <<
                postgresql73-dev,
@@ -357,7 +363,8 @@
                postgresql80-unified-dev,
                %N (<< %v-%r),
                postgresql81-dev,
-               postgresql82-dev
+               postgresql82-dev,
+               postgresql83-dev
        <<
        BuildDependsOnly: true
        Files: <<

Index: libdbi.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/libdbi.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libdbi.info 31 May 2006 14:26:48 -0000      1.2
+++ libdbi.info 12 Dec 2007 14:20:12 -0000      1.3
@@ -1,28 +1,28 @@
 Package: libdbi
-Version: 0.7.2
-Revision: 2
+Version: 0.8.2
+Revision: 1
 Maintainer: None <[EMAIL PROTECTED]>
 Source: mirror:sourceforge:%n/%n-%v.tar.gz
-Source-MD5: 308e5746a2d0804be1d638319ad7b9c0
+Source-MD5: e5b5aa098ac35e7cb921edcf8b77a865
 Configureparams: --disable-dependency-tracking
 Installscript: <<
-make install DESTDIR=%d
-mv %i/share/doc/%n-%v %i/share/doc/%n
+       make -j1 install DESTDIR="%d"
+       mv %i/share/doc/%n-%v %i/share/doc/%n
 <<
 Splitoff: <<
-  Package: %N-shlibs
-  Files: lib/libdbi.0.0.5.dylib lib/libdbi.0.dylib
-  DocFiles: COPYING
-  Shlibs: %p/lib/libdbi.0.dylib 1.0.0 %n (>= 0.7.0-1)
-  Description: Shared libraries for libdbi
+       Package: %N-shlibs
+       Files: lib/libdbi.0*.dylib
+       DocFiles: COPYING
+       Shlibs: %p/lib/libdbi.0.dylib 1.0.0 %n (>= 0.7.0-1)
+       Description: Shared libraries for libdbi
 <<
 Splitoff2: <<
-  Package: %N-dev
-  BuildDependsOnly: true
-  Depends: %N-shlibs (= %v-%r)
-  Files: include lib/libdbi.dylib lib/libdbi.a lib/libdbi.la
-  Description: Development package for libdbi
-  DocFiles: COPYING
+       Package: %N-dev
+       BuildDependsOnly: true
+       Depends: %N-shlibs (= %v-%r)
+       Files: include lib
+       Description: Development package for libdbi
+       DocFiles: COPYING
 <<
 DocFiles: README COPYING AUTHORS
 Description: Database Independent Abstraction Layer for C

Index: libdbi-drivers-mysql.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/libdbi-drivers-mysql.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- libdbi-drivers-mysql.info   31 May 2006 14:26:48 -0000      1.3
+++ libdbi-drivers-mysql.info   12 Dec 2007 14:20:12 -0000      1.4
@@ -1,16 +1,16 @@
 Package: libdbi-drivers-mysql
-Version: 0.7.1
-Revision: 1001
+Version: 0.8.2
+Revision: 1
 Maintainer: None <[EMAIL PROTECTED]>
-Depends: mysql12-shlibs (>= 4.0.22-1012), libdbi-shlibs
-BuildDepends: mysql12-dev (>= 4.0.22-1012), libdbi-dev
-Source: mirror:sourceforge:libdbi-drivers/libdbi-drivers-%v.tar.gz
-Source-MD5: f11020119ceb7a6dee3969cb0589d4bc
-UpdateConfigGuess: true
+# would use mysql15, but unclear what to do with ssl/non-ssl
+Depends: mysql14-shlibs, libdbi-shlibs (>= 0.8-1)
+BuildDepends: mysql14-dev, libdbi-dev (>= 0.8-1)
+Source: mirror:sourceforge:libdbi-drivers/libdbi-drivers-%v-1.tar.gz
+Source-MD5: d7535f03fafd321acf37dee96430599f
 Configureparams: --with-mysql --disable-dependency-tracking --with-mysql-dir=%p
 Installscript: <<
-  make install DESTDIR=%d
-  mv %i/share/doc/libdbi-drivers-%v %i/share/doc/%n
+       make -j1 install DESTDIR="%d"
+       mv %i/share/doc/libdbi-drivers %i/share/doc/%n
 <<
 DocFiles: README COPYING AUTHORS
 Description: MySQL driver for libdbi

Index: postgresql82.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql82.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- postgresql82.info   17 Sep 2007 00:27:18 -0000      1.6
+++ postgresql82.info   12 Dec 2007 14:20:13 -0000      1.7
@@ -1,6 +1,6 @@
 Package: postgresql82
 Version: 8.2.5
-Revision: 1021
+Revision: 1022
 Description: PostgreSQL open-source database
 License: BSD
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
@@ -22,6 +22,7 @@
        readline5,
        system-openssl-dev
 <<
+Provides: postgresql-server
 Conflicts: <<
        postgresql (<< %v-%r),
        postgresql-ssl (<< %v-%r)
@@ -340,7 +341,8 @@
                postgresql80-dev,
                postgresql80-ssl-dev,
                postgresql80-unified-dev,
-               postgresql81-dev
+               postgresql81-dev,
+               postgresql83-dev
        <<
        Replaces: <<
                postgresql73-dev,
@@ -352,7 +354,8 @@
                postgresql80-dev,
                postgresql80-ssl-dev,
                postgresql80-unified-dev,
-               postgresql81-dev
+               postgresql81-dev,
+               postgresql83-dev
        <<
        BuildDependsOnly: true
        Files: <<

Index: postgresql80-unified.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgresql80-unified.info,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- postgresql80-unified.info   17 Sep 2007 00:27:18 -0000      1.19
+++ postgresql80-unified.info   12 Dec 2007 14:20:13 -0000      1.20
@@ -1,6 +1,6 @@
 Package: postgresql80-unified
 Version: 8.0.14
-Revision: 1021
+Revision: 1022
 Description: PostgreSQL open-source database
 License: BSD
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
@@ -23,6 +23,7 @@
        readline5,
        system-openssl-dev
 <<
+Provides: postgresql-server
 Conflicts: <<
        postgresql (<< %v-%r),
        postgresql-ssl (<< %v-%r),
@@ -357,7 +358,8 @@
                postgresql80-dev (<< %v-%r),
                postgresql80-ssl-dev (<< %v-%r),
                postgresql81-dev,
-               postgresql82-dev
+               postgresql82-dev,
+               postgresql83-dev
        <<
        Replaces: <<
                postgresql-dev,
@@ -375,7 +377,8 @@
                postgresql74-ssl-shlibs,
                postgresql74-unified-shlibs,
                postgresql81-dev,
-               postgresql82-dev
+               postgresql82-dev,
+               postgresql83-dev
        <<
        BuildDependsOnly: true
        Files: <<

Index: postgis.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgis.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- postgis.patch       18 Sep 2007 15:00:39 -0000      1.4
+++ postgis.patch       12 Dec 2007 14:20:12 -0000      1.5
@@ -1,99 +1,87 @@
 
---- postgis-1.3.1/extras/template_gis/Makefile 2007-03-01 03:31:44.000000000 
-0500
-+++ postgis-1.3.1-new/extras/template_gis/Makefile     2007-09-18 
10:46:24.000000000 -0400
-@@ -19,8 +19,7 @@
- SCRIPT_INSTALL=$(INSTALL_BIN) $(SCRIPT) $(SCRIPT_TARGET)
- SCRIPT_LINKDIR=$(DESTDIR)$(prefix)/bin
- SCRIPT_LINK=$(SCRIPT_LINKDIR)/$(SCRIPT)
--SCRIPT_DOLINK=rm -f $(SCRIPT_LINK); \
--              $(LN_S) $(SCRIPT_TARGET) $(SCRIPT_LINKDIR)
-+SCRIPT_DOLINK= install -c -m 755 $(SCRIPT_LINK) $(SCRIPT_TARGETDIR)
- SCRIPT_UNINSTALL=rm -f $(SCRIPT_TARGET)
- SCRIPT_UNLINK=rm -f $(SCRIPT_LINK)
+--- postgis-1.3.2/README.postgis       2007-12-02 15:37:13.000000000 -0500
++++ postgis-1.3.2-new/README.postgis   2007-12-12 08:50:57.000000000 -0500
+@@ -143,8 +143,8 @@
  
-@@ -42,7 +41,6 @@
-       @mkdir -p $(SCRIPT_TARGETDIR)
-       @mkdir -p $(SCRIPT_LINKDIR)
-       $(foreach SCRIPT, $(SCRIPTS), $(SCRIPT_INSTALL);)
--      $(foreach SCRIPT, $(PUBLIC_SCRIPTS), $(SCRIPT_DOLINK);)
-       @mkdir -p $(DEFAULTS_DIR)
-       cp profile $(SCRIPT_DEFAULTS)
-       rm -f $(SCRIPT_TARGETDIR)/profile
---- postgis-1.3.1/extras/template_gis/createdb.postgis.1       2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/createdb.postgis.1   2007-09-18 
10:46:24.000000000 -0400
+ So, as postgres run:
+ 
+-  createlang plpgsql yourdatabase
+-  psql -f lwpostgis.sql -d your_database
++  [EMAIL PROTECTED]@ plpgsql yourdatabase
++  [EMAIL PROTECTED]@ -f lwpostgis.sql -d your_database
+ 
+ Your database should now be spatially enabled.
+ 
+@@ -166,7 +166,7 @@
+ Soft upgrade consists of sourcing the lwpostgis_upgrade.sql
+ script in your spatial database:
+ 
+-  psql -f lwpostgis_upgrade.sql -d your_spatial_database
++  [EMAIL PROTECTED]@ -f lwpostgis_upgrade.sql -d your_spatial_database
+ 
+ If a soft upgrade is not possible the script will abort and 
+ you will be warned about HARD UPGRADE being required,
+@@ -187,7 +187,7 @@
+ 
+       # Create a "custom-format" dump of the database you want
+       # to upgrade (let's call it "olddb")
+-      $ pg_dump -Fc olddb olddb.dump
++      $ [EMAIL PROTECTED]@ -Fc olddb olddb.dump
+ 
+       # Restore the dump while upgrading postgis into
+       # a new database. 
+@@ -204,9 +204,9 @@
+       # drop the attrelid, varattnum and stats columns in the geometry_columns
+       # table, which are no-more needed. Keeping them won't hurt.
+       # !!! DROPPING THEM WHEN REALLY NEEDED WILL DO HARM !!!!
+-      $ psql newdb -c "ALTER TABLE geometry_columns DROP attrelid"
+-      $ psql newdb -c "ALTER TABLE geometry_columns DROP varattnum"
+-      $ psql newdb -c "ALTER TABLE geometry_columns DROP stats"
++      $ [EMAIL PROTECTED]@ newdb -c "ALTER TABLE geometry_columns DROP 
attrelid"
++      $ [EMAIL PROTECTED]@ newdb -c "ALTER TABLE geometry_columns DROP 
varattnum"
++      $ [EMAIL PROTECTED]@ newdb -c "ALTER TABLE geometry_columns DROP stats"
+ 
+       # The spatial_ref_sys table is restored from the dump, to 
+         # ensure your custom additions are kept, but the distributed 
+@@ -214,7 +214,7 @@
+         # entries, drop the table and source the new one.
+       # If you did make additions we assume you know how to backup them before
+       # upgrading the table. Replace it with the new like this:
+-      $ psql newdb
++      $ [EMAIL PROTECTED]@ newdb
+       newdb=> DELETE FROM spatial_ref_sys;
+       DROP
+       newdb=> \i spatial_ref_sys.sql
+--- postgis-1.3.2/extras/template_gis/createdb.postgis.1       2006-05-31 
02:43:12.000000000 -0400
++++ postgis-1.3.2-new/extras/template_gis/createdb.postgis.1   2007-12-12 
08:46:50.000000000 -0500
 @@ -43,7 +43,7 @@
  .LP
  The environment variables for template_gis creation, removal and usage may be 
stored in files, as follows:
  .TP
 -.B /etc/default/postgis
-+.B @FINKPREFIX@/etc/postgis
++.B @FINKPREFIX@/etc/default/postgis
  will designate default values for the whole system.
  .TP
  .B $HOME/.postgis/profile
---- postgis-1.3.1/extras/template_gis/createdb.postgis.in      2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/createdb.postgis.in  2007-09-18 
10:46:24.000000000 -0400
-@@ -5,7 +5,7 @@
- # but the specified owner will not have 
- # extra privileges on objects in the template. see createdb.postgis(1)
- 
--source @bindir@/postgis_env.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- for ARGVN in $1 $2 ; do
-     if [ `expr substr $ARGVN 1 11` = "--template=" ]; then
---- postgis-1.3.1/extras/template_gis/mktemplate_gis.1 2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/mktemplate_gis.1     2007-09-18 
10:46:24.000000000 -0400
+--- postgis-1.3.2/extras/template_gis/mktemplate_gis.1 2006-05-31 
02:43:12.000000000 -0400
++++ postgis-1.3.2-new/extras/template_gis/mktemplate_gis.1     2007-12-12 
08:46:43.000000000 -0500
 @@ -89,7 +89,7 @@
  .LP
  The environment variables for template_gis creation, removal and usage may be 
stored in files, as follows:
  .TP
 -.B /etc/default/postgis
-+.B @FINKPREFIX@/etc/postgis
++.B @FINKPREFIX@/etc/default/postgis
  will designate default values for the whole system.
  .TP
  .B $HOME/.postgis/profile
---- postgis-1.3.1/extras/template_gis/mktemplate_gis.in        2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/mktemplate_gis.in    2007-09-18 
10:46:24.000000000 -0400
-@@ -3,7 +3,7 @@
- #create a template database, named template_gis by default,
- #and grant ownership or full privileges to the postgis tables to a user, 
postgres by default
- 
--source @bindir@/postgis_env.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- for ARGVN in $1 $2 $3 $4 $5 $6 ; do
-     if [ `expr substr $ARGVN 1 7` = "--user=" ]; then
-@@ -59,9 +59,9 @@
-     SCRIPTS="${SCRIPTS} ${TMPTOPO}"
- fi
- 
--source @bindir@/postgres_lib.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- sudo_dba DBAUSER
- 
- export SCRIPTS GRTABLES GRSCHEMAS GRUSER DBAUSER TDB
--$SUDO -c "@bindir@/mktemplate_gis.sh"
-+$SUDO -c "@bindir@/[EMAIL PROTECTED]@"
---- postgis-1.3.1/extras/template_gis/mktemplate_gis.sh.in     2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/mktemplate_gis.sh.in 2007-09-18 
10:46:24.000000000 -0400
-@@ -6,7 +6,7 @@
- 
- cd /tmp
- 
--source @bindir@/postgres_lib.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- check_dba $DBAUSER
- template_rm $TDB
---- postgis-1.3.1/extras/template_gis/postgis_env.sh.in        2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/postgis_env.sh.in    2007-09-18 
10:46:24.000000000 -0400
+--- postgis-1.3.2/extras/template_gis/postgis_env.sh.in        2006-05-31 
02:43:12.000000000 -0400
++++ postgis-1.3.2-new/extras/template_gis/postgis_env.sh.in    2007-12-12 
08:46:32.000000000 -0500
 @@ -3,7 +3,7 @@
  # environment variables for postgis
  
  #read optional configuration files. last prevails
 -for file in "/etc/default/postgis" "$HOME/.postgis/profile" ; do
-+for file in "@FINKPREFIX@/etc/[EMAIL PROTECTED]@" "@FINKPREFIX@/etc/postgis" 
"$HOME/.postgis/profile" ; do
++for file in "@FINKPREFIX@/etc/default/postgis" "$HOME/.postgis/profile" ; do
        if [ -f "$file" ]; then
                tmpval=`grep "^TEMPLATEDB=" $file | cut -d= -f2`
                if [ -n "$tmpval" ]; then
@@ -112,8 +100,8 @@
        fi
  fi
  
---- postgis-1.3.1/extras/template_gis/postgres_lib.sh.in       2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/postgres_lib.sh.in   2007-09-18 
10:46:24.000000000 -0400
+--- postgis-1.3.2/extras/template_gis/postgres_lib.sh.in       2006-05-31 
02:43:12.000000000 -0400
++++ postgis-1.3.2-new/extras/template_gis/postgres_lib.sh.in   2007-12-12 
08:51:30.000000000 -0500
 @@ -39,9 +39,9 @@
                echo "you may be not allowed to do so (maybe wrong password)."
                exit 1
@@ -208,77 +196,32 @@
        else
                echo "$db_create"
        fi
---- postgis-1.3.1/extras/template_gis/profile  2006-06-09 02:03:59.000000000 
-0400
-+++ postgis-1.3.1-new/extras/template_gis/profile      2007-09-18 
10:46:24.000000000 -0400
+--- postgis-1.3.2/extras/template_gis/profile  2006-06-09 02:03:59.000000000 
-0400
++++ postgis-1.3.2-new/extras/template_gis/profile      2007-12-12 
08:43:29.000000000 -0500
 @@ -1,6 +1,6 @@
  
  #those are the default variables for postgresql-postgis.
 -#this file will be scanned from /etc/default/postgis,
-+#this file will be scanned from @FINKPREFIX@/etc/postgis,
++#this file will be scanned from @FINKPREFIX@/etc/default/postgis,
  #and then from $HOME/postgis/profile
  
  #values should NOT be in quotes
---- postgis-1.3.1/extras/template_gis/rmtemplate_gis.1 2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/rmtemplate_gis.1     2007-09-18 
10:46:24.000000000 -0400
+--- postgis-1.3.2/extras/template_gis/rmtemplate_gis.1 2006-05-31 
02:43:12.000000000 -0400
++++ postgis-1.3.2-new/extras/template_gis/rmtemplate_gis.1     2007-12-12 
08:43:15.000000000 -0500
 @@ -45,7 +45,7 @@
  .LP
  The environment variables for template_gis creation, removal and usage may be 
stored in files, as follows:
  .TP
 -.B /etc/default/postgis
-+.B @FINKPREFIX@/etc/postgis
++.B @FINKPREFIX@/etc/default/postgis
  will designate default values for the whole system.
  .TP
  .B $HOME/.postgis/profile
---- postgis-1.3.1/extras/template_gis/rmtemplate_gis.in        2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/rmtemplate_gis.in    2007-09-18 
10:46:24.000000000 -0400
-@@ -3,7 +3,7 @@
- #drop template_gis
- #it may be used to drop any postgresql template, by supplying argument
- 
--source @bindir@/postgis_env.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- for ARGVN in $1 $2 $3 $4 ; do
-     if [ `expr substr $ARGVN 1 11` = "--template=" ]; then
-@@ -21,9 +21,9 @@
-     fi
- done
- 
--source @bindir@/postgres_lib.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- sudo_dba $DBAUSER
- 
- export DBAUSER TDB
--$SUDO -c "@bindir@/rmtemplate_gis.sh"
-+$SUDO -c "@bindir@/[EMAIL PROTECTED]@"
---- postgis-1.3.1/extras/template_gis/rmtemplate_gis.sh.in     2006-05-31 
02:43:12.000000000 -0400
-+++ postgis-1.3.1-new/extras/template_gis/rmtemplate_gis.sh.in 2007-09-18 
10:46:24.000000000 -0400
-@@ -6,7 +6,7 @@
- 
- cd /tmp
- 
--source @bindir@/postgres_lib.sh
-+source @bindir@/[EMAIL PROTECTED]@
- 
- check_dba $DBAUSER
- template_rm $TDB
---- postgis-1.3.1/java/jdbc/Makefile   2007-01-18 13:51:15.000000000 -0500
-+++ postgis-1.3.1-new/java/jdbc/Makefile       2007-09-18 10:46:24.000000000 
-0400
-@@ -27,7 +27,7 @@
- 
- # Configure the helper executables used during build.
- 
--JAVAC?=javac -target 1.2 -source 1.2
-+JAVAC?=javac -target 1.4 -source 1.2
- JAVA?=java
- JAR?=jar
- MKDIR?=mkdir -p
---- postgis-1.3.1/lwgeom/lwgeom_gml.c  2007-06-08 06:28:52.000000000 -0400
-+++ postgis-1.3.1-new/lwgeom/lwgeom_gml.c      2007-09-18 10:46:24.000000000 
-0400
-@@ -38,10 +38,10 @@
+--- postgis-1.3.2/lwgeom/lwgeom_gml.c  2007-10-10 17:27:51.000000000 -0400
++++ postgis-1.3.2-new/lwgeom/lwgeom_gml.c      2007-12-12 09:15:30.000000000 
-0500
+@@ -51,10 +51,10 @@
+ static char *getSRSbySRID(int SRID);
  
- #define DEF_PRECISION 15
  /* Add dot, sign, exponent sign, 'e', exponent digits */
 -#define SHOW_DIGS (precision + 8)
 +#define SHOW_DIGS (gml_precision + 8)
@@ -289,28 +232,18 @@
  
  
  /**
-@@ -58,7 +58,7 @@
-       char *srs;
-       int SRID;
- 
--      precision = DEF_PRECISION;
-+      gml_precision = DEF_PRECISION;
- 
-       if ( PG_ARGISNULL(0) ) PG_RETURN_NULL();
- 
-@@ -66,9 +66,9 @@
+@@ -85,8 +85,8 @@
+       geom = (PG_LWGEOM *)PG_DETOAST_DATUM(PG_GETARG_DATUM(1));
  
-       /* Get precision (if provided)  */
-       if ( PG_NARGS() > 1 && ! PG_ARGISNULL(1) )
--                      precision = PG_GETARG_INT32(1);
-+                      gml_precision = PG_GETARG_INT32(1);
-       
+       /* Get precision  */
+-      precision = PG_GETARG_INT32(2);
 -      if ( precision < 1 || precision > 15 )
++      gml_precision = PG_GETARG_INT32(2);
 +      if ( gml_precision < 1 || gml_precision > 15 )
        {
                elog(ERROR, "Precision out of range 1..15");
                PG_RETURN_NULL();
-@@ -424,8 +424,8 @@
+@@ -440,8 +440,8 @@
                        getPoint2d_p(pa, i, &pt);
                        if ( i ) ptr += sprintf(ptr, " ");
                        ptr += sprintf(ptr, "%.*g,%.*g",
@@ -321,7 +254,7 @@
                }
        }
        else 
-@@ -436,9 +436,9 @@
+@@ -452,9 +452,9 @@
                        getPoint4d_p(pa, i, &pt);
                        if ( i ) ptr += sprintf(ptr, " ");
                        ptr += sprintf(ptr, "%.*g,%.*g,%.*g",
@@ -334,9 +267,33 @@
                }
        }
  
---- postgis-1.3.1/lwgeom/lwgeom_kml.c  2007-06-08 06:28:52.000000000 -0400
-+++ postgis-1.3.1-new/lwgeom/lwgeom_kml.c      2007-09-18 10:46:24.000000000 
-0400
-@@ -38,10 +38,10 @@
+@@ -798,8 +798,8 @@
+                       getPoint2d_p(pa, i, &pt);
+                       if ( i ) ptr += sprintf(ptr, " ");
+                       ptr += sprintf(ptr, "%.*g %.*g",
+-                              precision, pt.x,
+-                              precision, pt.y);
++                              gml_precision, pt.x,
++                              gml_precision, pt.y);
+               }
+       }
+       else 
+@@ -810,9 +810,9 @@
+                       getPoint4d_p(pa, i, &pt);
+                       if ( i ) ptr += sprintf(ptr, " ");
+                       ptr += sprintf(ptr, "%.*g %.*g,%.*g",
+-                              precision, pt.x,
+-                              precision, pt.y,
+-                              precision, pt.z);
++                              gml_precision, pt.x,
++                              gml_precision, pt.y,
++                              gml_precision, pt.z);
+               }
+       }
+ 
+--- postgis-1.3.2/lwgeom/lwgeom_kml.c  2007-10-22 20:19:54.000000000 -0400
++++ postgis-1.3.2-new/lwgeom/lwgeom_kml.c      2007-12-12 09:14:49.000000000 
-0500
+@@ -40,10 +40,10 @@
  
  #define DEF_PRECISION 15
  /* Add dot, sign, exponent sign, 'e', exponent digits */
@@ -349,7 +306,7 @@
  
  
  /**
-@@ -58,7 +58,7 @@
+@@ -60,7 +60,7 @@
        char *srs;
        int SRID;
  
@@ -358,7 +315,7 @@
  
        if ( PG_ARGISNULL(0) ) PG_RETURN_NULL();
  
-@@ -66,9 +66,9 @@
+@@ -68,9 +68,9 @@
  
        /* Get precision (if provided)  */
        if ( PG_NARGS() > 1 && ! PG_ARGISNULL(1) )
@@ -370,7 +327,7 @@
        {
                elog(ERROR, "Precision out of range 1..15");
                PG_RETURN_NULL();
-@@ -409,8 +409,8 @@
+@@ -411,8 +411,8 @@
                        getPoint2d_p(pa, i, &pt);
                        if ( i ) ptr += sprintf(ptr, " ");
                        ptr += sprintf(ptr, "%.*g,%.*g,0",
@@ -381,7 +338,7 @@
                }
        }
        else 
-@@ -421,9 +421,9 @@
+@@ -423,9 +423,9 @@
                        getPoint4d_p(pa, i, &pt);
                        if ( i ) ptr += sprintf(ptr, " ");
                        ptr += sprintf(ptr, "%.*g,%.*g,%.*g",
@@ -394,9 +351,46 @@
                }
        }
  
---- postgis-1.3.1/utils/postgis_restore.pl     2006-11-20 07:59:55.000000000 
-0500
-+++ postgis-1.3.1-new/utils/postgis_restore.pl 2007-09-18 10:49:49.000000000 
-0400
-@@ -690,7 +690,7 @@
+--- postgis-1.3.2/utils/postgis_restore.pl     2006-11-20 07:59:55.000000000 
-0500
++++ postgis-1.3.2-new/utils/postgis_restore.pl 2007-12-12 08:48:53.000000000 
-0500
+@@ -375,7 +375,7 @@
+ #
+ print "Scanning $dump list\n"; 
+ open( OUTPUT, ">$dumplist") || die "Can't write to ".$dump.".list\n";
+-open( INPUT, "pg_restore -l $dump |") || die "Couldn't run pg_restore -l 
$dump\n";
++open( INPUT, "[EMAIL PROTECTED]@ -l $dump |") || die "Couldn't run [EMAIL 
PROTECTED]@ -l $dump\n";
+ while( my $line = <INPUT> )
+ {
+       next if $line =~ /^;/;
+@@ -613,7 +613,7 @@
+ close(OUTPUT);
+ 
+ print "Producing ascii dump $dumpascii\n"; 
+-open( INPUT, "pg_restore -L $dumplist $dump |") || die "Can't run 
pg_restore\n";
++open( INPUT, "[EMAIL PROTECTED]@ -L $dumplist $dump |") || die "Can't run 
pg_restore\n";
+ open( OUTPUT, ">$dumpascii") || die "Can't write to $dumpascii\n";
+ while( my $line = <INPUT> )
+ {
+@@ -673,7 +673,7 @@
+       #  when implemented operators skip must be disabled
+       #  in the first scan of ToC
+ }
+-close(INPUT) || die "pg_restore call failed\n";
++close(INPUT) || die "[EMAIL PROTECTED]@ call failed\n";
+ close(OUTPUT);
+ 
+ #exit(1);
+@@ -682,15 +682,15 @@
+ # Create the new db and install plpgsql language
+ #
+ print "Creating db ($dbname)\n";
+-`createdb $createdb_opt $dbname`;
[EMAIL PROTECTED]@ $createdb_opt $dbname`;
+ die "Database creation failed\n" if ($?);
+ print "Adding plpgsql\n";
+-`createlang plpgsql $dbname`;
[EMAIL PROTECTED]@ plpgsql $dbname`;
+ 
  #
  # Open a pipe to the SQL monitor
  #

Index: postgis.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/database/postgis.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- postgis.info        18 Sep 2007 15:00:39 -0000      1.7
+++ postgis.info        12 Dec 2007 14:20:12 -0000      1.8
@@ -1,7 +1,7 @@
 Info2: <<
 Package: postgis%type_pkg[postgresql]
-Version: 1.3.1
-Revision: 1021
+Version: 1.3.2
+Revision: 1
 Description: PostgreSQL geographic object support
 Type: postgresql (7.4 8.0 8.1 8.2)
 License: BSD
@@ -23,7 +23,7 @@
        (%type_raw[postgresql] = 8.0) 
postgresql%type_pkg[postgresql]-unified-dev,
        (%type_raw[postgresql] = 8.1) postgresql%type_pkg[postgresql]-dev,
        (%type_raw[postgresql] = 8.2) postgresql%type_pkg[postgresql]-dev,
-       postgresql-java (>= %type_raw[postgresql]-1021),
+       postgresql-java (>= %type_raw[postgresql]-1),
        proj,
        system-openssl-dev,
        system-java (>= 1.4-1)
@@ -32,7 +32,7 @@
 GCC: 4.0
 
 Source: http://postgis.refractions.net/download/postgis-%v.tar.gz
-Source-MD5: dd90f80072fc3e32d3a3eb580542bda1
+Source-MD5: b0d52c2c23c316fc9884632a80b380a5
 PatchScript: sed -e 's,@FINKPREFIX@,%p,g; 
s,@FINKPGRAWVERSION@,%type_raw[postgresql],g; 
s,@FINKPGVERSION@,%type_pkg[postgresql],g' %a/%{Ni}.patch | patch -p1
 
 SetCPPFLAGS: -I%p/include/postgresql -I%p/include -fno-common
@@ -66,7 +66,7 @@
        Package: %N-java
        Depends: <<
                jts,
-               postgresql-java (>= %type_raw[postgresql]-1021)
+               postgresql-java (>= %type_raw[postgresql]-1)
        <<
        JarFiles: java/jdbc/postgis.jar java/pljava/postgis_pljava.jar
 <<


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to