Update of /cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/database
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9691/10.2-gcc3.3/unstable/main/finkinfo/database

Modified Files:
        postgresql74.info 
Added Files:
        postgresql-perl.info postgresql-python-py.info 
        postgresql-python-py.patch 
Removed Files:
        postgresql-perl-all.info postgresql-python-all.info 
        postgresql-python-all.patch 
Log Message:
validate fixes

--- postgresql-python-all.info DELETED ---

--- postgresql-python-all.patch DELETED ---

Index: postgresql74.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/database/postgresql74.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- postgresql74.info   18 Jul 2004 02:42:46 -0000      1.3
+++ postgresql74.info   19 Jul 2004 20:02:14 -0000      1.4
@@ -1,6 +1,6 @@
 Package: postgresql74
 Version: 7.4.3
-Revision: 15
+Revision: 16
 GCC: 3.3
 CustomMirror: <<
   asi-JP: ftp://ftp.jp.postgresql.org
@@ -312,7 +312,7 @@
 SplitOff: <<
   Description: PostgreSQL development headers and libraries
   Package: %N-dev
-  Depends: %N (>= %v-%r)
+  Depends: %N (>= %v-%r), pkgconfig
   Conflicts: %N-ssl-dev, postgresql73-dev, postgresql73-ssl-dev
   Replaces: postgresql (<< %v-%r), %N-ssl-dev, postgresql73-dev, 
postgresql73-ssl-dev, %N (<< %v-%r)
   BuildDependsOnly: true

--- postgresql-perl-all.info DELETED ---

--- NEW FILE: postgresql-python-py.patch ---
diff -uNr PyGreSQL-3.4/setup.py PyGreSQL-3.4-new/setup.py
--- PyGreSQL-3.4/setup.py       Tue Jan 13 07:29:57 2004
+++ PyGreSQL-3.4-new/setup.py   Thu Jun  3 20:39:08 2004
@@ -30,8 +30,8 @@
        optional_libs=[ 'libpqdll', 'wsock32', 'advapi32' ]
        data_files = [ 'libpq.dll' ]
 else:
-       include_dirs=['/usr/include/pgsql']
-       library_dirs=['/usr/lib/pgsql']
+       include_dirs=['@INSTPREFIX@/include/postgresql','@INSTPREFIX@/include']
+       library_dirs=['@INSTPREFIX@/lib/postgresql-7.4', '@INSTPREFIX@/lib']
        optional_libs=['pq']
        data_files = []
 

--- NEW FILE: postgresql-perl.info ---
Info2: <<
Package: postgresql-perl-%type_pkg[perl]
Type: perl(5.6.0 5.6.1 5.8.0 5.8.1 5.8.4)
Version: 7.4.3
Revision: 11
GCC: 3.3
CustomMirror: <<
  asi-JP: ftp://ftp.jp.postgresql.org
  asi-JP: ftp://ftp6.jp.postgresql.org/postgresql
  asi-KR: ftp://ftp.kr.postgresql.org/mirror/database/postgresql
  asi-TW: ftp://ftp.tw.postgresql.org/pub/postgresql
  asi-TW: ftp://ftp3.tw.postgresql.org/pub/postgresql
  asi-TW: ftp://ftp5.tw.postgresql.org/pub/Unix/Database/PostgreSQL
  aus-AU: ftp://ftp.au.postgresql.org/pub/postgresql
  eur-AT: ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub
  eur-BE: ftp://ftp.be.postgresql.org/postgresql
  eur-CH: ftp://ftp2.ch.postgresql.org/mirror/postgresql
  eur-CZ: ftp://ftp2.cz.postgresql.org/pub/postgresql
  eur-DE: ftp://ftp2.de.postgresql.org/pub/comp/os/unix/database/postgresql
  eur-DE: ftp://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org
  eur-DE: ftp://ftp4.de.postgresql.org/pub/postgresql
  eur-DK: ftp://ftp.dk.postgresql.org/mirrors/postgresql
  eur-DK: ftp://ftp2.dk.postgresql.org/pub/PostgreSQL
  eur-EE: ftp://ftp.ee.postgresql.org/mirrors/postgresql
  eur-ES: ftp://ftp5.es.postgresql.org/mirror/postgresql
  eur-FR: ftp://ftp.fr.postgresql.org
  eur-FR: ftp://ftp2.fr.postgresql.org/postgresql
  eur-IE: ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub
  eur-IE: ftp://ftp2.ie.postgresql.org/mirrors/ftp.postgresql.org
  eur-IS: ftp://ftp2.is.postgresql.org/pub/postgresql
  eur-IT: ftp://ftp2.it.postgresql.org/mirrors/postgres
  eur-IT: ftp://ftp3.it.postgresql.org/postgresql
  eur-NL: ftp://ftp.nl.postgresql.org:21/pub/mirror/postgresql
  eur-NL: ftp://ftp2.nl.postgresql.org/mirror/postgresql
  eur-NL: ftp://ftp4.nl.postgresql.org/postgresql.zeelandnet.nl
  eur-NO: ftp://ftp.no.postgresql.org/pub/databases/postgresql
  eur-PL: ftp://ftp7.pl.postgresql.org/pub/mirror/ftp.postgresql.org
  eur-RO: ftp://ftp6.ro.postgresql.org/pub/mirrors/ftp.postgresql.org
  eur-RU: ftp://ftp3.ru.postgresql.org/pub/mirror/postgresql/pub
  eur-SE: ftp://ftp.se.postgresql.org/pub/database/relational/postgresql
  eur-TR: ftp://ftp.tr.postgresql.org/pub/SQL/postgresql
  nam-CA: ftp://ftp3.ca.postgresql.org/pub
  nam-US: ftp://ftp10.us.postgresql.org/pub/postgresql
  nam-US: ftp://ftp15.us.postgresql.org
  nam-US: ftp://ftp5.us.postgresql.org/pub/PostgreSQL
  nam-US: ftp://ftp8.us.postgresql.org/pub/pgsql
  nam-US: ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql
  sam-BR: ftp://ftp.br.postgresql.org/pub/PostgreSQL
  sam-CR: ftp://ftp2.cr.postgresql.org/pub/Unix/postgres
<<
Source: mirror:custom:source/v%v/postgresql-%v.tar.bz2
Source-MD5: 204d8ab0c51d9691da2bd986ddbdc477
Source2: ftp://gborg.postgresql.org/pub/pgperl/stable/Pg-2.1.1.tar.gz
Source2-MD5: c11c0abd99b8e1f50ba5dbdb922c2e61
BuildDepends: postgresql74-dev (>= %v-%r), perl%type_pkg[perl]-core
Depends: postgresql74-shlibs (>= %v-%r), postgresql74 (>= %v-1)
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lpq
Conflicts: postgresql-ssl-perl-%type_pkg[perl]
Replaces: postgresql-ssl-perl-%type_pkg[perl], postgresql (<< %v-%r), 
postgresql-ssl-perl (<< %v), postgresql-perl (<< %v)
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man 
--enable-multibyte --enable-recode --with-CXX --with-perl --without-python 
--without-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl 
--without-java --enable-odbc --with-pam --with-rendezvous
CompileScript: <<
#!/bin/sh -e

  export ac_cv_path_PERL=`which perl%type_raw[perl]`
  sed -e 's,@INSTPREFIX@,%p,g' -e 's,perl5.6.0,perl%type_raw[perl],g' < 
%a/postgresql74.patch | patch -p1
  ./configure %c

  # pl/perl
  pushd src/pl/plperl
  make BE_DLLLIBS="-bundle_loader %p/bin/postgres"
  popd

  # Pg perl module
  pushd ../Pg-2.1.1
  POSTGRES_INCLUDE=%p/include/postgresql POSTGRES_LIB=%p/lib 
INC="-I%i/include/postgresql -I%i/include -I%p/include/postgresql -I%p/include" 
LIBS="-L%p/lib" perl%type_raw[perl] Makefile.PL PREFIX=%p 
INSTALLPRIVLIB=%p/lib/perl5/%type_raw[perl] 
INSTALLARCHLIB=%p/lib/perl5/%type_raw[perl]/darwin 
INSTALLSITELIB=%p/lib/perl5/%type_raw[perl] 
INSTALLSITEARCH=%p/lib/perl5/%type_raw[perl]/darwin INSTALLMAN1DIR=%p/share/man/man1 
INSTALLMAN3DIR=%p/share/man/man3 INSTALLSITEMAN1DIR=%p/share/man/man1 
INSTALLVENDORMAN1DIR=%p/share/man/man1 MAN1EXT=1 INSTALLMAN3DIR=%p/share/man/man3 
INSTALLSITEMAN3DIR=%p/share/man/man3 INSTALLVENDORMAN3DIR=%p/share/man/man3 MAN3EXT=3 

  make BE_DLLLIBS="-bundle_loader %p/bin/postgres"
  popd

<<
InstallScript: <<
#!/bin/sh -e

  # pl/perl
  (cd src/pl/plperl; make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3)

  # Pg perl module
  pushd ../Pg-2.1.1
  make install PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/%type_raw[perl] 
INSTALLARCHLIB=%i/lib/perl5/%type_raw[perl]/darwin 
INSTALLSITELIB=%i/lib/perl5/%type_raw[perl] 
INSTALLSITEARCH=%i/lib/perl5/%type_raw[perl]/darwin INSTALLMAN1DIR=%i/share/man/man1 
INSTALLMAN3DIR=%i/share/man/man3 INSTALLSITEMAN1DIR=%i/share/man/man1 
INSTALLVENDORMAN1DIR=%i/share/man/man1 MAN1EXT=1 INSTALLMAN3DIR=%i/share/man/man3 
INSTALLSITEMAN3DIR=%i/share/man/man3 INSTALLVENDORMAN3DIR=%i/share/man/man3 MAN3EXT=3 
  mkdir -p %i/share/podfiles
  cat %i/lib/perl5/%type_raw[perl]/darwin/perllocal.pod | sed -e 
s,%i/lib/perl5/%type_raw[perl],%p/lib/perl5/%type_raw[perl],g > 
%i/share/podfiles/perllocal.%n.pod
  rm -rf %i/lib/perl5/%type_raw[perl]/darwin/perllocal.pod
  popd

  mv %i/lib/postgresql-7.4/plperl.so %i/lib/postgresql-7.4/plperl-%type_pkg[perl].so
  mv %i/share/man/man3/Pg.3 %p/share/man/man3/Pg-%type_pkg[perl].3

<<
PostInstScript: <<
  update-alternatives --install %p/lib/postgresql-7.4/plperl.so 
postgresql-perl-plperl.so %p/lib/postgresql-7.4/plperl-%type_pkg[perl].so 
%type_pkg[perl]
  update-alternatives --install %p/share/man/man3/Pg.3 postgresql-perl-Pg.3 
%p/share/man/man3/Pg-%type_pkg[perl].3 %type_pkg[perl]
  cat <<END
*** WARNING ***

To be able to use this (plperl) in PostgreSQL, you will need to
start your database, and then run:

  sudo -u postgres %p/bin/createlang plperl template1

*** WARNING ***
END
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
  update-alternatives --remove postgresql-perl-plperl.so 
%p/lib/postgresql-7.4/plperl-%type_pkg[perl].so
  update-alternatives --remove postgresql-perl-Pg.3 
%p/share/man/man3/Pg-%type_pkg[perl].3
  if [ ! -f %p/lib/postgresql-7.4/plperl.so ]; then
    sudo -u postgres %p/bin/droplang plperl template1 >/dev/null 2>&1 || :
  fi
fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL src/pl/plperl/README
Description: PostgreSQL Perl tools
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
<<

--- NEW FILE: postgresql-python-py.info ---
Info2: <<
Package: postgresql-python-py%type_pkg[python]
Version: 7.4.3
Revision: 12
Type: python(2.1 2.2 2.3)
GCC: 3.3
CustomMirror: <<
  asi-JP: ftp://ftp.jp.postgresql.org
  asi-JP: ftp://ftp6.jp.postgresql.org/postgresql
  asi-KR: ftp://ftp.kr.postgresql.org/mirror/database/postgresql
  asi-TW: ftp://ftp.tw.postgresql.org/pub/postgresql
  asi-TW: ftp://ftp3.tw.postgresql.org/pub/postgresql
  asi-TW: ftp://ftp5.tw.postgresql.org/pub/Unix/Database/PostgreSQL
  aus-AU: ftp://ftp.au.postgresql.org/pub/postgresql
  eur-AT: ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub
  eur-BE: ftp://ftp.be.postgresql.org/postgresql
  eur-CH: ftp://ftp2.ch.postgresql.org/mirror/postgresql
  eur-CZ: ftp://ftp2.cz.postgresql.org/pub/postgresql
  eur-DE: ftp://ftp2.de.postgresql.org/pub/comp/os/unix/database/postgresql
  eur-DE: ftp://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org
  eur-DE: ftp://ftp4.de.postgresql.org/pub/postgresql
  eur-DK: ftp://ftp.dk.postgresql.org/mirrors/postgresql
  eur-DK: ftp://ftp2.dk.postgresql.org/pub/PostgreSQL
  eur-EE: ftp://ftp.ee.postgresql.org/mirrors/postgresql
  eur-ES: ftp://ftp5.es.postgresql.org/mirror/postgresql
  eur-FR: ftp://ftp.fr.postgresql.org
  eur-FR: ftp://ftp2.fr.postgresql.org/postgresql
  eur-IE: ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub
  eur-IE: ftp://ftp2.ie.postgresql.org/mirrors/ftp.postgresql.org
  eur-IS: ftp://ftp2.is.postgresql.org/pub/postgresql
  eur-IT: ftp://ftp2.it.postgresql.org/mirrors/postgres
  eur-IT: ftp://ftp3.it.postgresql.org/postgresql
  eur-NL: ftp://ftp.nl.postgresql.org:21/pub/mirror/postgresql
  eur-NL: ftp://ftp2.nl.postgresql.org/mirror/postgresql
  eur-NL: ftp://ftp4.nl.postgresql.org/postgresql.zeelandnet.nl
  eur-NO: ftp://ftp.no.postgresql.org/pub/databases/postgresql
  eur-PL: ftp://ftp7.pl.postgresql.org/pub/mirror/ftp.postgresql.org
  eur-RO: ftp://ftp6.ro.postgresql.org/pub/mirrors/ftp.postgresql.org
  eur-RU: ftp://ftp3.ru.postgresql.org/pub/mirror/postgresql/pub
  eur-SE: ftp://ftp.se.postgresql.org/pub/database/relational/postgresql
  eur-TR: ftp://ftp.tr.postgresql.org/pub/SQL/postgresql
  nam-CA: ftp://ftp3.ca.postgresql.org/pub
  nam-US: ftp://ftp10.us.postgresql.org/pub/postgresql
  nam-US: ftp://ftp15.us.postgresql.org
  nam-US: ftp://ftp5.us.postgresql.org/pub/PostgreSQL
  nam-US: ftp://ftp8.us.postgresql.org/pub/pgsql
  nam-US: ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql
  sam-BR: ftp://ftp.br.postgresql.org/pub/PostgreSQL
  sam-CR: ftp://ftp2.cr.postgresql.org/pub/Unix/postgres
<<
Source: mirror:custom:source/v%v/postgresql-%v.tar.bz2
Source-MD5: 204d8ab0c51d9691da2bd986ddbdc477
Source2: ftp://ftp.pygresql.org/pub/distrib/PyGreSQL-3.4.tgz
Source2-MD5: 3cd6e4b689a339748261fa714a8fcd6c
BuildDepends: postgresql74-dev (>= %v-%r), python%type_pkg[python], libgnugetopt
Depends: postgresql74-shlibs (>= %v-%r), python%type_pkg[python], libgnugetopt-shlibs, 
python-mx-py%type_pkg[python]
NoSetCPPFLAGS: true
SetCPPFLAGS: -DHAVE_OPTRESET -I%p/include/postgresql -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
Conflicts: postgresql-ssl-python, postgresql-python (<< %v-%r)
Replaces: postgresql-ssl-python, postgresql-python (<< %v-%r)
PatchScript: sed -e 's|@INSTPREFIX@|%p|g' -e 's|python2.1|python%type_raw[python]|g' < 
%a/postgresql74.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man 
--enable-multibyte --enable-recode --with-CXX --without-perl --with-python 
--without-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl 
--without-java --enable-odbc --with-pam --with-rendezvous
CompileScript: <<
#!/bin/sh -e

  export ac_cv_path_PYTHON=%p/bin/python%type_raw[python]
  ./configure %c

  pushd src/pl/plpython
  make BE_DLLLIBS="-bundle_loader %p/bin/postgres"
  popd

  pushd ../PyGreSQL-3.4
  sed -e 's|@INSTPREFIX@|%p|g' %a/postgresql-python-py.patch | patch -p1
  python%type_raw[python] setup.py build
  popd
<<
InstallScript: <<
#!/bin/sh -e

  pushd src/pl/plpython
  make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3
  popd

  pushd ../PyGreSQL-3.4
  python%type_raw[python] setup.py install --prefix=%i
  install -d -m 755 %i/share/doc/%N
  install -c -m 755 tutorial/*.py Announce ChangeLog %i/share/doc/%N/
  popd

  mv %i/lib/postgresql-7.4/plpython.so 
%i/lib/postgresql-7.4/plpython-%type_pkg[python].so
<<
PostInstScript: <<
  update-alternatives --install %p/lib/postgresql-7.4/plpython.so 
postgresql-python-plpython.so %p/lib/postgresql-7.4/plpython-%type_pkg[python].so 
%type_pkg[python]
  cat <<END
*** WARNING ***

To be able to use this (plpython) in PostgreSQL, you will need to
start your database, and then run:

  sudo -u postgres %p/bin/createlang plpython template1

*** WARNING ***
END
<<
PostRmScript: <<
  update-alternatives --remove postgresql-python-plpython.so 
%p/lib/postgresql-7.4/plpython-%type_pkg[python].so
  if [ ! -f %p/lib/postgresql-7.4/plpython.so ]; then
    sudo -u postgres %p/bin/droplang plpython template1 >/dev/null 2>&1 || :
  fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL README
Description: PostgreSQL Python tools
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
<<



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to