[Lunar-commits] r17902 - moonbase/branches/submissions/reviewed-once/postgis

Dennis Veatch stumbles at lunar-linux.org
Wed Jan 4 15:29:20 UTC 2006


Author: stumbles
Date: 2006-01-04 15:29:18 +0000 (Wed, 04 Jan 2006)
New Revision: 17902

Removed:
   moonbase/branches/submissions/reviewed-once/postgis/PRE_BUILD
Modified:
   moonbase/branches/submissions/reviewed-once/postgis/BUILD
   moonbase/branches/submissions/reviewed-once/postgis/DETAILS
   moonbase/branches/submissions/reviewed-once/postgis/POST_INSTALL
Log:

Should have done this first.



Modified: moonbase/branches/submissions/reviewed-once/postgis/BUILD
===================================================================
--- moonbase/branches/submissions/reviewed-once/postgis/BUILD	2006-01-04 15:25:18 UTC (rev 17901)
+++ moonbase/branches/submissions/reviewed-once/postgis/BUILD	2006-01-04 15:29:18 UTC (rev 17902)
@@ -1,11 +1,9 @@
 (
 
-  cd /usr/src/postgresql-8.1.0 &&
-   
+
   ./configure  --prefix=/usr   \
 	       $OPTS           &&
   
-  cd contrib/$MODULE-$VERSION  &&
   make                         &&
   prepare_install              &&
   make install 

Modified: moonbase/branches/submissions/reviewed-once/postgis/DETAILS
===================================================================
--- moonbase/branches/submissions/reviewed-once/postgis/DETAILS	2006-01-04 15:25:18 UTC (rev 17901)
+++ moonbase/branches/submissions/reviewed-once/postgis/DETAILS	2006-01-04 15:29:18 UTC (rev 17902)
@@ -1,14 +1,11 @@
           MODULE=postgis
-         VERSION=1.0.4
-        VERSION1=8.1.0
+         VERSION=1.1.0
        SOURCE[0]=$MODULE-$VERSION.tar.gz
-         SOURCE1=postgresql-$VERSION1.tar.bz2
-   SOURCE_URL[0]=http://postgis.refractions.net/download
-   SOURCE_URL[1]=ftp://ftp.be.postgresql.org/postgresql/source/v$VERSION1/$SOURCE1/
-   SOURCE_VFY[0]=sha1:1911ae15e695b17199c0cfeefaaa8ccdd3ebbbce
+   SOURCE_URL[0]=http://postgis.refractions.net/download/
+   SOURCE_VFY[0]=sha1:1917652d2aff841f3b2bf7ed96a89b73f9ee4384
         WEB_SITE=http://postgis.refractions.net/
          ENTERED=20050809
-         UPDATED=20050809
+         UPDATED=20060104
            SHORT="adds geographic objects support to PostgreSQL"
 
 cat << EOF

Modified: moonbase/branches/submissions/reviewed-once/postgis/POST_INSTALL
===================================================================
--- moonbase/branches/submissions/reviewed-once/postgis/POST_INSTALL	2006-01-04 15:25:18 UTC (rev 17901)
+++ moonbase/branches/submissions/reviewed-once/postgis/POST_INSTALL	2006-01-04 15:29:18 UTC (rev 17902)
@@ -1,5 +1,8 @@
 
-su - postgres -c "createlang plpgsql template1" 
-# su - postgres -c "psql -d template1 -f /usr/src/postgresql-8.0.3/contrib/postgis-1.0.3/lwpostgis.sql" &&
-#su - postgres -c "psql -d template1 -f /usr/src/postgresql-8.0.3/contrib/postgis-1.0.3/spatial_ref_sys.sql"
+if ! module_installed postgis ; then
 
+su - postgres -c "createlang plpgsql template1" &&
+su - postgres -c "psql -d template1 -f /usr/src/$SOURCE/lwpostgis.sql" &&
+su - postgres -c "psql -d template1 -f /usr/src/$SOURCE/spatial_ref_sys.sql"
+
+fi

Deleted: moonbase/branches/submissions/reviewed-once/postgis/PRE_BUILD



More information about the Lunar-commits mailing list