[Lunar-commits] r17901 - in moonbase/trunk/science: . postgis

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


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

Added:
   moonbase/trunk/science/postgis/
   moonbase/trunk/science/postgis/BUILD
   moonbase/trunk/science/postgis/DEPENDS
   moonbase/trunk/science/postgis/DETAILS
   moonbase/trunk/science/postgis/POST_INSTALL
   moonbase/trunk/science/postgis/PRE_BUILD
Removed:
   moonbase/trunk/science/postgis/BUILD
   moonbase/trunk/science/postgis/DEPENDS
   moonbase/trunk/science/postgis/DETAILS
   moonbase/trunk/science/postgis/POST_INSTALL
   moonbase/trunk/science/postgis/PRE_BUILD
Log:

Initial import from submissions. 

A couple of notes. 

1. POST_INSTALL does what they refer to as a soft install which should not be a
problem for now during the current series of postgresql. When a major revision 
of postgresql is done this soft install may fail, that is the createlang may
not alter the appropriate tables. Right now this is not of any concern. I will
cross that bridge when it arrives.

2. If you have passworded the user "postgis" the install will halt waiting
for you to supply that password. I do not know of a way around this.

Compiled with gcc-3.4.5, glibc-2.3.6 and 2.6.15-rc7



Copied: moonbase/trunk/science/postgis (from rev 17424, moonbase/branches/submissions/reviewed-once/postgis)

Deleted: moonbase/trunk/science/postgis/BUILD

Copied: moonbase/trunk/science/postgis/BUILD (from rev 17900, moonbase/branches/submissions/reviewed-once/postgis/BUILD)
===================================================================
--- moonbase/branches/submissions/reviewed-once/postgis/BUILD	2006-01-04 14:13:20 UTC (rev 17900)
+++ moonbase/trunk/science/postgis/BUILD	2006-01-04 15:25:18 UTC (rev 17901)
@@ -0,0 +1,11 @@
+(
+
+
+  ./configure  --prefix=/usr   \
+	       $OPTS           &&
+  
+  make                         &&
+  prepare_install              &&
+  make install 
+
+) > $C_FIFO 2>&1

Deleted: moonbase/trunk/science/postgis/DEPENDS

Copied: moonbase/trunk/science/postgis/DEPENDS (from rev 17900, moonbase/branches/submissions/reviewed-once/postgis/DEPENDS)

Deleted: moonbase/trunk/science/postgis/DETAILS

Copied: moonbase/trunk/science/postgis/DETAILS (from rev 17900, moonbase/branches/submissions/reviewed-once/postgis/DETAILS)
===================================================================
--- moonbase/branches/submissions/reviewed-once/postgis/DETAILS	2006-01-04 14:13:20 UTC (rev 17900)
+++ moonbase/trunk/science/postgis/DETAILS	2006-01-04 15:25:18 UTC (rev 17901)
@@ -0,0 +1,19 @@
+          MODULE=postgis
+         VERSION=1.1.0
+       SOURCE[0]=$MODULE-$VERSION.tar.gz
+   SOURCE_URL[0]=http://postgis.refractions.net/download/
+   SOURCE_VFY[0]=sha1:1917652d2aff841f3b2bf7ed96a89b73f9ee4384
+        WEB_SITE=http://postgis.refractions.net/
+         ENTERED=20050809
+         UPDATED=20060104
+           SHORT="adds geographic objects support to PostgreSQL"
+
+cat << EOF
+PostGIS adds support for geographic objects to the PostgreSQL
+object-relational database. In effect, PostGIS "spatially enables"
+the PostgreSQL server, allowing it to be used as a backend spatial
+database for geographic information systems (GIS), much like ESRI's
+SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS
+"Simple Features Specification for SQL" and will be submitted for
+conformance testing at version 1.0.
+EOF

Deleted: moonbase/trunk/science/postgis/POST_INSTALL

Copied: moonbase/trunk/science/postgis/POST_INSTALL (from rev 17900, moonbase/branches/submissions/reviewed-once/postgis/POST_INSTALL)
===================================================================
--- moonbase/branches/submissions/reviewed-once/postgis/POST_INSTALL	2006-01-04 14:13:20 UTC (rev 17900)
+++ moonbase/trunk/science/postgis/POST_INSTALL	2006-01-04 15:25:18 UTC (rev 17901)
@@ -0,0 +1,8 @@
+
+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/trunk/science/postgis/PRE_BUILD

Copied: moonbase/trunk/science/postgis/PRE_BUILD (from rev 17900, moonbase/branches/submissions/reviewed-once/postgis/PRE_BUILD)



More information about the Lunar-commits mailing list