Just testing this on amd64 (I did sparc64 a while ago) and noticed
that building the html docs tries to download a dtd, which systrace
blocks.

cd /usr/ports/mystuff/geo/postgis/w-postgis-1.3.1/postgis-1.3.1/doc && gmake 
html
cat postgis.xml | sed "s/@@LAST_RELEASE_VERSION@@/1.3.1/g" > postgis-out.xml
/usr/local/bin/xsltproc --param section.autolabel 1 --param 
section.label.includes.component.label 1 --param chunk.section.depth 0  
--stringparam html.stylesheet style.css  \
        --output html/postgis.html \
        /usr/local/share/xsl/docbook/html/docbook.xsl  \
        postgis-out.xml
systrace: deny user: sthen, prog: /usr/local/bin/xsltproc, pid: 4268(0)[20483], 
policy: /usr/bin/make, filters: 193, syscall: native-connect(98), sockaddr: 
inet-[127.0.0.1]:53
systrace: deny user: sthen, prog: /usr/local/bin/xsltproc, pid: 4268(0)[20483], 
policy: /usr/bin/make, filters: 193, syscall: native-connect(98), sockaddr: 
inet-[127.0.0.1]:53
systrace: deny user: sthen, prog: /usr/local/bin/xsltproc, pid: 4268(0)[20483], 
policy: /usr/bin/make, filters: 193, syscall: native-connect(98), sockaddr: 
inet-[66.151.234.59]:80
error : Operation not permitted
postgis-out.xml:5: warning: failed to load external entity 
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";
]>



On 2007/09/22 00:02, Eric Faurot wrote:
> On Sat, 15 Sep 2007 01:04:25 +0200
> Eric Faurot <[EMAIL PROTECTED]> wrote:
>
> > 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 has been certified as
> > compliant with the "Types and Functions" profile.
> >
> > regress passes (37 tests) on macppc.
> >
> > note: to run the regression test, you must have a running server with
> > a "postgres" admin.  Also, you probably want to use the default trust
> > auth to run all the tests. If needed, use a temporary database for that.
>
> Resend with Makefile cleanups.
>
> Tested on macppc with latest (8.2.5p{0,3}) pg client/server.
> For those who are not sure how to run the regression test:
>
> - make sure you do not have a postgresql server currently running
> - as _postgresql, in another terminal, run:
>   > mkdir /tmp/pg; initdb -D /tmp/pg -U postgres; postgres -D /tmp/pg
> - run make regress
>
> Eric.


Attachment: postgis.tgz
Description: Unix tar archive

Reply via email to