Update of /cvsroot/fink/experimental/crypto/rangerrick/finkinfo
In directory sc8-pr-cvs1:/tmp/cvs-serv10646
Modified Files:
bundle-kde-ssl.info
Added Files:
postgresql-ssl-7.3.3-1.info postgresql-ssl-7.3.3-1.patch
postgresql-ssl-java-7.3.3-1.info
postgresql-ssl-libpgeasy-7.3.3-1.patch
postgresql-ssl-libpqpp-7.3.3-1.patch
postgresql-ssl-perl-560-7.3.3-1.info
postgresql-ssl-perl-561-7.3.3-1.info
postgresql-ssl-perl-580-7.3.3-1.info
postgresql-ssl-perl-581-7.3.3-1.info
postgresql-ssl-perl-7.3.3-1.info
postgresql-ssl-python-7.3.3-1.info
postgresql-ssl-python-py21-7.3.3-1.info
postgresql-ssl-python-py22-7.3.3-1.info
postgresql-ssl-python-py23-7.3.3-1.info
postgresql-ssl-tcl-7.3.3-1.info
Removed Files:
postgresql-ssl-7.3.2-7.info postgresql-ssl-7.3.2-7.patch
postgresql-ssl-java-7.3.2-7.info
postgresql-ssl-libpgeasy-7.3.2-7.patch
postgresql-ssl-libpqpp-7.3.2-7.patch
postgresql-ssl-perl-7.3.2-7.info
postgresql-ssl-python-7.3.2-7.info
postgresql-ssl-tcl-7.3.2-7.info
Log Message:
postgresql 7.3.3 -- LOTS of fixes
- Fixed postinstall to remove the old entries for "pgsql" (now that the
user is "postgres" instead).
- Totally reworked the packages to get rid of "postgresql73" (it should
safely upgrade over). postgresql73-shlibs and postgresql73-dev (and
their SSL counterparts) still exist for compatibility and upgrade
reasons, but there's no longer 2 different "PostgreSQL database server"
entries for you to decide from.
- Perl and Python support has no been properly implemented to do packages
for all currently supported versions of each.
- Python modules were fixed to build properly as bundles again. This still
needs testing from someone with more python-fu.
- The SSL packages were re-written by copying the non-SSL ones, so they
should be identical except for SSL dependencies and descriptions now.
All in all, it's just *much* cleaner. Yay! Now it's time for some deep
testing, then release to unstable.
--- NEW FILE: postgresql-ssl-7.3.3-1.info ---
Package: postgresql-ssl
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp10.us.postgresql.org/pub/postgresql/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
Source2:
ftp://ftp10.us.postgresql.org/pub/postgresql/odbc/versions/src/psqlodbc-07.03.0100.tar.gz
Source2-MD5: 8967ea8ca49397f97d016e4db8a047a7
Source3: ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-4.0.tar.gz
Source3-MD5: da71cb79ef45cef55f4bc97a33a0857d
Source4: ftp://gborg.postgresql.org/pub/libpqxx/stable/libpqxx-1.5.1.tar.gz
Source4-MD5: 3c0f2b5a89ece20e7a84808c594dd7aa
Source5: ftp://gborg.postgresql.org/pub/pgeasy/stable/pgeasy-3.0.1.tar.gz
Source5-MD5: 6a50fac1231aad1a32215664ca186552
BuildDepends: readline, autoconf25, libgnugetopt, openssl097-dev
Conflicts: postgresql, postgresql-ssl (<< %v)
Replaces: postgresql-ssl (<< %v), postgresql-shlibs, postgresql-ssl-shlibs,
postgresql, postgresql-python (<< 7.3), postgresql-ssl-python (<< 7.3),
postgresql-perl (<< 7.3), postgresql-ssl-perl (<< 7.3), postgresql73, postgresql73-ssl
Depends: readline-shlibs (>= 4.3-5), passwd (>= 20030330-1), daemonic (>= 20010902-1),
openssl097-shlibs, postgresql73-ssl-shlibs (>= %v-%r)
Description: PostgreSQL open-source database (with SSL)
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%f.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --without-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
#!/bin/sh
export CPPFLAGS="-I%p/include/gnugetopt -I%i/include/postgresql -I%i/include
-I%p/include"
export LDFLAGS="-L%i/lib -L%p/lib"
# postgresql
autoconf && \
./configure %c && \
make includedir=%p/include/postgresql
includedir_internal=%p/include/postgresql/internal
includedir_server=%p/include/postgresql && \
make install install-all-headers includedir=%p/include/postgresql
includedir_internal=%p/include/postgresql/internal
includedir_server=%p/include/postgresql DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3 || exit 1
# libpq++
pushd ../libpq++-4.0
sed 's|@PREFIX@|%p|g' %a/%N-libpqpp-%v-%r.patch | patch -p1
make DESTDIR=%d || exit 2
popd
# libpqxx
pushd ../libpqxx-1.5.1
./configure --prefix=%p --with-postgres-include=%i/include/postgresql
--with-postgres-lib=%p/lib && \
make includedir=%p/include/postgresql/pqxx || exit 3
popd
# pgeasy
pushd ../pgeasy-3.0.1
sed 's|@PREFIX@|%p|g' %a/%N-libpgeasy-%v-%r.patch | patch -p1
make DESTDIR=%d || exit 4
popd
# odbc
pushd ../psqlodbc-07.03.0100
./configure --enable-pthreads --prefix=%p --with-pic && \
make || exit 5
popd
<<
InstallScript: <<
#!/bin/sh
# postgresql
make install install-all-headers includedir=%p/include/postgresql
includedir_internal=%p/include/postgresql/internal
includedir_server=%p/include/postgresql DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3 || exit 10
mv %i/share/doc/postgresql %i/share/doc/%N >/dev/null 2>&1
# libpq++
pushd ../libpq++-4.0
make install DESTDIR=%d || exit 11
popd
# libpqxx
pushd ../libpqxx-1.5.1
make install DESTDIR=%d includedir=%p/include/postgresql/pqxx || exit 12
popd
# pgeasy
pushd ../pgeasy-3.0.1
make install DESTDIR=%d || exit 13
popd
# odbc
pushd ../psqlodbc-07.03.0100
make install DESTDIR=%d || exit 14
popd
ranlib %i/lib/*.a
install -d -m 755 %i/share/doc/%n
cp -R contrib %i/share/doc/%n/contrib
install -d -m 755 %i/bin
install -c -m 755 pgsql.sh %i/bin/
install -d -m 755 %i/var/postgresql
echo "be sure to back up this database before any upgrades!" >>
%i/var/postgresql/README
<<
SplitOff: <<
Description: PostgreSQL development headers and libraries (with SSL)
Package: postgresql73-ssl-dev
Depends: postgresql-ssl (>= %v-%r)
Conflicts: postgresql73-dev
Replaces: postgresql-ssl (<< %v), postgresql73-dev
BuildDependsOnly: true
Files: bin/pg_config include lib/*.a lib/libecpg.dylib lib/libpgeasy.dylib
lib/libpq.dylib lib/libpq++.dylib lib/libpqxx.dylib lib/*.la
<<
SplitOff2: <<
Description: PostgreSQL shared libraries (with SSL)
Package: postgresql73-ssl-shlibs
Conflicts: postgresql73-shlibs
Depends: libgnugetopt-shlibs
Replaces: postgresql-ssl (<< %v), postgresql-shlibs, postgresql-ssl-shlibs,
postgresql73-shlibs
BuildDependsOnly: true
Files: lib/*.dylib
<<
DaemonicFile: <<
<service>
<description>PostgreSQL database server</description>
<message> PostgreSQL database server</message>
<daemon name="postgresql-ssl">
<executable background="no">/usr/bin/sudo</executable>
<parameters>-u postgres %p/bin/pgsql.sh</parameters>
</daemon>
</service>
<<
PreInstScript: <<
rm -rf /tmp/postgresql-status
die () {
echo "failed" > /tmp/postgresql-status
echo "failed"
echo ""
echo "*** bailing because an error ocurred:"
echo ""
echo "$*"
exit 1
}
# dump the database for upgrade
if [ "$1" = "upgrade" ] && [ -d "%p/var/postgresql/data" ]; then
echo -e "- creating %p/var/tmp if necessary: \c"
mkdir -p '%p/var/tmp' || die "couldn't create temp directory %p/var/tmp"
chmod 1777 '%p/var/tmp'
echo "ok"
echo ""
if test `ls -ln /sw/var/ | awk '{ print $3 }' | grep -c '^252$'` -ge 1; then
echo -e "- starting postgresql (just to be sure): \c"
sudo -u pgsql %p/bin/pg_ctl start -D %p/var/postgresql/data >/dev/null 2>&1 || true
echo "ok"
echo -e "- creating postgres user in database (if needed): \c"
%p/bin/createuser -U pgsql -a -d -e -i 2 postgres >/dev/null 2>&1 || true
echo "ok"
chown -R postgres %p/var/postgresql %p/var/log/postgresql
fi
OLDMAJOR=`cat '%p/var/postgresql/data/PG_VERSION' 2>/dev/null | cut -d. -f1`
OLDMINOR=`cat '%p/var/postgresql/data/PG_VERSION' 2>/dev/null | cut -d. -f2`
OLDVERSION="${OLDMAJOR}.${OLDMINOR}"
CURMAJOR=`echo %v | cut -d. -f1`
CURMINOR=`echo %v | cut -d. -f2`
CURVERSION="${OLDMAJOR}.${OLDMINOR}"
if [ "$OLDVERSION" != "$CURVERSION" ]; then
cat <<END
It appears you already have an initialized database.
PostgreSQL changes their on-disk format between major releases
and we will need to perform a dump and restore of your database
to upgrade. Backups of your old database will be in the
%p/var/tmp directory. In the interest of being ultra-paranoid
both a database dump, and a tarball of your postgresql
directory will be in there.
YOU WILL NEED TO RE-CREATE YOUR DATABASE USING THE DUMP UPON
UPGRADE OF THIS PACKAGE!
If you have important data in the database, be sure that you
also have access to the old (7.2.x) postgresql deb files in
case you need to revert.
END
read -p 'Should I continue? [Y/n] ' -s -n 1 PG_CONTINUE
if [ "$PG_CONTINUE" = "y" ] || [ "$PG_CONTINUE" = "Y" ] || [ "$PG_CONTINUE" = ""
]; then
PG_CONTINUE="Y"
else
PG_CONTINUE="N"
fi
echo "$PG_CONTINUE"
echo ""
if [ "$PG_CONTINUE" = "N" ]; then
echo "*** BAILING OUT ***"
echo ""
echo "manual" > "%p/var/tmp/pg_upgradetype"
exit 0
fi
echo "automatic" > "%p/var/tmp/pg_upgradetype"
echo -e "- starting postgresql (just to be sure): \c"
sudo -u postgres %p/bin/pg_ctl start -D %p/var/postgresql/data >/dev/null 2>&1 ||
true
echo "ok"
echo -e "- vacuuming tables (to be sure logs have been played out): \c"
%p/bin/vacuumdb -U postgres -a >/dev/null 2>&1 || die "vacuumdb failed!"
echo -e "ok"
echo -e "- dumping the database for upgrade: \c"
sudo -u postgres %p/bin/pg_dumpall -c -d > "%p/var/tmp/pgdb-${OLDVERSION}.pgsql"
2>&1 || die "couldn't dump database"
echo "pgdb-${OLDVERSION}.pgsql"
echo -e "- stopping postgresql: \c"
sudo -u postgres %p/bin/pg_ctl stop -D %p/var/postgresql/data >/dev/null 2>&1 ||
true
echo "ok"
echo -e "- backing up the %p/var/postgresql directory: \c"
pushd "%p/var" >/dev/null 2>&1
sudo -u postgres tar -czf "%p/var/tmp/pgdb-${OLDVERSION}.tar.gz" postgresql
>/dev/null 2>&1 || die "couldn't tar up postgresql directory"
popd >/dev/null 2>&1
echo "pgdb-${OLDVERSION}.tar.gz"
echo ""
fi
fi
<<
PostInstScript: <<
INSTALL_PHASE="$1"
# remove the old "pgsql" entries from netinfo; the username was switched to
# "postgres" but the old ones hang around because of the way niload works
niutil -destroy . /users/pgsql
niutil -destroy . /groups/pgsql
die () {
echo "failed"
echo ""
echo "*** bailing because an error ocurred:"
echo ""
echo "$*"
exit 1
}
pg_createdb () {
# initdb quietly creates a bad database with the wrong locale otherwise :P
export LANG=C
echo -e "- making postgresql directories: \c"
mkdir -p %p/var/postgresql/data %p/var/log/postgresql
chown -R postgres %p/var/postgresql %p/var/log/postgresql
chmod 700 %p/var/postgresql
echo "ok"
echo -e "- initializing database in %p/var/postgresql/data: \c"
sudo -u postgres %p/bin/initdb -D %p/var/postgresql/data >/dev/null 2>&1 || die
"couldn't initialize database"
echo "ok"
}
if [ -d %p/var/postgresql/data ]; then
chown -R postgres %p/var/postgresql %p/var/log/postgresql
OLDMAJOR=`cat '%p/var/postgresql/data/PG_VERSION' 2>/dev/null | cut -d. -f1`
OLDMINOR=`cat '%p/var/postgresql/data/PG_VERSION' 2>/dev/null | cut -d. -f2`
OLDVERSION="${OLDMAJOR}.${OLDMINOR}"
CURMAJOR=`echo %v | cut -d. -f1`
CURMINOR=`echo %v | cut -d. -f2`
CURVERSION="${OLDMAJOR}.${OLDMINOR}"
if [ "$OLDVERSION" = "7.2" ]; then
cat <<END
Warning: you have a database that was created with PostgreSQL 7.2.x.
Database dumps from versions prior to 7.3 can be missing some
dependency information on certain types of constraints.
It is recommended that when you have completed this postgresql
install, you install the dbd-pg-pm or dbd-pg-pm-ssl package and then
run the script in %p/share/doc/%N/contrib/adddepend/ on each
of your databases.
END
fi
else
pg_createdb
fi
# update daemonic init script if necessary
daemonic install postgresql-ssl
<<
PreRmScript: <<
# clean up
if [ $1 = "upgrade" ]; then
daemonic remove postgresql73-ssl || true
else
daemonic remove postgresql-ssl
fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL README register.txt
DescUsage: <<
The package runs initdb on installation as the user 'postgres'.
You can start the PostgreSQL server manually using 'postmaster' as
postgres (since postgres has a shell of /dev/null by default, you must
run it as sudo -u postgres postmaster) or you can run
'daemonic enable postgresql' as root to create a StartupItem for it.
Also note that installation of this package is interactive, because
upgrades can make irrevocable changes to your database.
<<
DescPackaging: <<
IMPORTANT: The location of the data files has changed from early
revisions of this package. If you're upgrading from an earlier
revision, note that this one expects the data files to be installed
at <prefix>/var/postgresql/data.
When run from the startup script, logs output to
<prefix>/var/log/postgresql/logfile
<<
DescPort: <<
Rearranged a lot of the PostgreSQL build to be more "correct" on
Darwin, including making proper dylibs (instead of bundles, which
ended up creating static binaries).
Also had to write a bunch of pre/post-install logic for dumping
databases from 7.2.x (or, in theory, older) schemas.
<<
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-7.3.3-1.patch ---
diff -uNbr postgresql-7.3.3/configure postgresql-7.3.3-new/configure
--- postgresql-7.3.3/configure Thu May 22 16:17:22 2003
+++ postgresql-7.3.3-new/configure Sat Jun 14 16:15:55 2003
@@ -4155,7 +4155,7 @@
# Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
+set dummy perl; ac_word=perl5.6.0
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PERL+set}" = set; then
@@ -4222,7 +4222,7 @@
if test "$with_python" = yes; then
# Extract the first word of "python", so it can be a program name with args.
-set dummy python; ac_word=$2
+set dummy python; ac_word=python2.1
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PYTHON+set}" = set; then
@@ -8330,8 +8330,8 @@
if test "$with_pam" = yes ; then
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
- echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
-echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6
+ echo "$as_me:$LINENO: checking for pam/pam_appl.h" >&5
+echo $ECHO_N "checking for pam/pam_appl.h... $ECHO_C" >&6
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
@@ -8339,13 +8339,13 @@
echo "${ECHO_T}$ac_cv_header_security_pam_appl_h" >&6
else
# Is the header compilable?
-echo "$as_me:$LINENO: checking security/pam_appl.h usability" >&5
-echo $ECHO_N "checking security/pam_appl.h usability... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking pam/pam_appl.h usability" >&5
+echo $ECHO_N "checking pam/pam_appl.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
$ac_includes_default
-#include <security/pam_appl.h>
+#include <pam/pam_appl.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
@@ -8370,12 +8370,12 @@
echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present?
-echo "$as_me:$LINENO: checking security/pam_appl.h presence" >&5
-echo $ECHO_N "checking security/pam_appl.h presence... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking pam/pam_appl.h presence" >&5
+echo $ECHO_N "checking pam/pam_appl.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
-#include <security/pam_appl.h>
+#include <pam/pam_appl.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
@@ -8407,20 +8407,20 @@
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc in
yes:no )
- { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: accepted by the compiler,
rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: security/pam_appl.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the
preprocessor's result" >&5
-echo "$as_me: WARNING: security/pam_appl.h: proceeding with the preprocessor's
result" >&2;};;
+ { echo "$as_me:$LINENO: WARNING: pam/pam_appl.h: accepted by the compiler,
rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: pam/pam_appl.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pam/pam_appl.h: proceeding with the
preprocessor's result" >&5
+echo "$as_me: WARNING: pam/pam_appl.h: proceeding with the preprocessor's result"
>&2;};;
no:yes )
- { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: present but cannot be
compiled" >&5
-echo "$as_me: WARNING: security/pam_appl.h: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: check for missing
prerequisite headers?" >&5
-echo "$as_me: WARNING: security/pam_appl.h: check for missing prerequisite headers?"
>&2;}
- { echo "$as_me:$LINENO: WARNING: security/pam_appl.h: proceeding with the
preprocessor's result" >&5
-echo "$as_me: WARNING: security/pam_appl.h: proceeding with the preprocessor's
result" >&2;};;
+ { echo "$as_me:$LINENO: WARNING: pam/pam_appl.h: present but cannot be compiled"
>&5
+echo "$as_me: WARNING: pam/pam_appl.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pam/pam_appl.h: check for missing prerequisite
headers?" >&5
+echo "$as_me: WARNING: pam/pam_appl.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pam/pam_appl.h: proceeding with the
preprocessor's result" >&5
+echo "$as_me: WARNING: pam/pam_appl.h: proceeding with the preprocessor's result"
>&2;};;
esac
-echo "$as_me:$LINENO: checking for security/pam_appl.h" >&5
-echo $ECHO_N "checking for security/pam_appl.h... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for pam/pam_appl.h" >&5
+echo $ECHO_N "checking for pam/pam_appl.h... $ECHO_C" >&6
if test "${ac_cv_header_security_pam_appl_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -8433,8 +8433,8 @@
if test $ac_cv_header_security_pam_appl_h = yes; then
:
else
- { { echo "$as_me:$LINENO: error: header file <security/pam_appl.h> is required for
PAM" >&5
-echo "$as_me: error: header file <security/pam_appl.h> is required for PAM" >&2;}
+ { { echo "$as_me:$LINENO: error: header file <pam/pam_appl.h> is required for PAM"
>&5
+echo "$as_me: error: header file <pam/pam_appl.h> is required for PAM" >&2;}
{ (exit 1); exit 1; }; }
fi
diff -uNbr postgresql-7.3.3/configure.in postgresql-7.3.3-new/configure.in
--- postgresql-7.3.3/configure.in Thu May 22 16:17:23 2003
+++ postgresql-7.3.3-new/configure.in Sat Jun 14 12:43:12 2003
@@ -724,7 +724,12 @@
fi
if test "$with_pam" = yes ; then
- AC_CHECK_HEADER([security/pam_appl.h], [], [AC_MSG_ERROR([header file
<security/pam_appl.h> is required for PAM])])
+ AC_CHECK_HEADERS([security/pam_appl.h], [], [
+ AC_CHECK_HEADERS([pam/pam_appl.h], [
+ AC_DEFINE([HAVE_PAM_PAM_APPL_H], 1, [Define if pam_appl.h is in pam/ instead of
security/])
+ ], [AC_MSG_ERROR([header file <security/pam_appl.h> or <pam/pam_appl.h> is
required for PAM])]
+ )
+ ])
fi
diff -uNbr postgresql-7.3.3/pgsql.sh postgresql-7.3.3-new/pgsql.sh
--- postgresql-7.3.3/pgsql.sh Wed Dec 31 19:00:00 1969
+++ postgresql-7.3.3-new/pgsql.sh Sat Jun 14 12:43:12 2003
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PREFIX="@PREFIX@"
+DATADIR="${PREFIX}/var/postgresql/data"
+LOGFILE="${DATADIR}/pgsql.log"
+
+case "$1" in
+ start)
+ sudo -u postgres -c "${PREFIX}/bin/pg_ctl start -D $DATADIR -l
$LOGFILE"
+ ;;
+ restart)
+ sudo -u postgres -c "${PREFIX}/bin/pg_ctl restart -D $DATADIR -m fast"
+ ;;
+ stop)
+ sudo -u postgres -c "${PREFIX}/bin/pg_ctl stop -D $DATADIR -m fast"
+ ;;
+esac
diff -uNbr postgresql-7.3.3/src/Makefile.shlib postgresql-7.3.3-new/src/Makefile.shlib
--- postgresql-7.3.3/src/Makefile.shlib Sat Jan 11 12:22:34 2003
+++ postgresql-7.3.3-new/src/Makefile.shlib Sat Jun 14 12:54:00 2003
@@ -81,8 +81,24 @@
endif
ifeq ($(PORTNAME), darwin)
- shlib :=
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
- LINK.shared = $(COMPILER) $(DARWIN_NAMESPACE_SPEC) -bundle -undefined
suppress
+ ifeq (,$(filter $(host_os), darwin1.0 darwin1.1 darwin1.2))
+ MULTIPLY_DEFINED =
+ else
+ MULTIPLY_DEFINED = -multiply_defined suppress
+ endif
+
+ shlib :=
lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
+ ifneq ($(SO_MAJOR_VERSION), 0)
+ version_link := -compatibility_version $(SO_MAJOR_VERSION) -current_version
$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+ endif
+ ifeq ($(DLTYPE), bundle)
+ DLSUFFIX := .so
+ LINK.shared = $(COMPILER) $(DARWIN_NAMESPACE_SPEC) -bundle
-undefined suppress -flat_namespace
+ else
+ DLSUFFIX := .dylib
+ LINK.shared = $(COMPILER) $(DARWIN_NAMESPACE_SPEC) -install_name
$(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) $(version_link) -dynamiclib
$(MULTIPLY_DEFINED)
+ endif
+ SHLIB_LINK := -L$(libpq_builddir) $(SHLIB_LINK)
endif
ifeq ($(PORTNAME), openbsd)
@@ -246,6 +262,7 @@
ifneq ($(PORTNAME), beos)
ifneq ($(PORTNAME), win)
ifneq ($(PORTNAME), aix)
+ifneq ($(PORTNAME), darwin)
# Normal case
$(shlib): $(OBJS)
@@ -261,6 +278,25 @@
$(LN_S) $(shlib) lib$(NAME)$(DLSUFFIX)
endif
+else # PORTNAME == darwin
+
+# Darwin case
+# (same as normal case, but libfoo.version.suffix)
+
+$(shlib): $(OBJS)
+ $(LINK.shared) $(OBJS) $(SHLIB_LINK) -o $@
+ifneq ($(shlib), lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX))
+ rm -f lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
+ $(LN_S) $(shlib) lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
+endif
+
+ifneq ($(shlib), lib$(NAME)$(DLSUFFIX))
+ rm -f lib$(NAME)$(DLSUFFIX)
+ $(LN_S) $(shlib) lib$(NAME)$(DLSUFFIX)
+endif
+
+endif # PORTNAME == darwin
+
else # PORTNAME == aix
# AIX case
@@ -308,7 +344,10 @@
ifeq ($(enable_shared), yes)
install-lib-shared: $(shlib)
$(INSTALL_SHLIB) $< $(DESTDIR)$(libdir)/$(shlib)
+
ifneq ($(PORTNAME), win)
+ifneq ($(PORTNAME), darwin)
+
ifneq ($(shlib), lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION))
cd $(DESTDIR)$(libdir) && \
rm -f lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) && \
@@ -320,7 +359,23 @@
$(LN_S) $(shlib) lib$(NAME)$(DLSUFFIX)
endif
-endif # not win
+else # PORTNAME == darwin
+
+ifneq ($(shlib), lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX))
+ cd $(DESTDIR)$(libdir) && \
+ rm -f lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) && \
+ $(LN_S) $(shlib) lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
+endif
+ifneq ($(shlib), lib$(NAME)$(DLSUFFIX))
+ cd $(DESTDIR)$(libdir) && \
+ rm -f lib$(NAME)$(DLSUFFIX) && \
+ $(LN_S) $(shlib) lib$(NAME)$(DLSUFFIX)
+endif
+
+endif # PORTNAME == darwin
+
+endif # PORTNAME == win
+
endif # enable_shared
@@ -334,7 +389,9 @@
ifeq ($(enable_shared), yes)
rm -f $(DESTDIR)$(libdir)/lib$(NAME)$(DLSUFFIX) \
$(DESTDIR)$(libdir)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) \
-
$(DESTDIR)$(libdir)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+
$(DESTDIR)$(libdir)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) \
+ $(DESTDIR)$(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) \
+
$(DESTDIR)$(libdir)/lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
endif # enable_shared
@@ -346,7 +403,7 @@
clean-lib:
rm -f lib$(NAME).a
ifeq ($(enable_shared), yes)
- rm -f lib$(NAME)$(DLSUFFIX) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+ rm -f lib$(NAME)$(DLSUFFIX) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX)
lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
ifdef EXPSUFF
rm -f lib$(NAME)$(EXPSUFF)
endif
diff -uNbr postgresql-7.3.3/src/backend/libpq/auth.c
postgresql-7.3.3-new/src/backend/libpq/auth.c
--- postgresql-7.3.3/src/backend/libpq/auth.c Wed Sep 4 19:31:34 2002
+++ postgresql-7.3.3-new/src/backend/libpq/auth.c Sat Jun 14 12:43:12 2003
@@ -42,7 +42,12 @@
char *pg_krb_server_keyfile;
#ifdef USE_PAM
+
+#ifdef HAVE_PAM_PAM_APPL_H
+#include <pam/pam_appl.h>
+#else
#include <security/pam_appl.h>
+#endif
#define PGSQL_PAM_SERVICE "postgresql" /* Service name passed to PAM */
diff -uNbr postgresql-7.3.3/src/backend/postmaster/postmaster.c
postgresql-7.3.3-new/src/backend/postmaster/postmaster.c
--- postgresql-7.3.3/src/backend/postmaster/postmaster.c Sat Feb 22 23:48:38
2003
+++ postgresql-7.3.3-new/src/backend/postmaster/postmaster.c Sat Jun 14 12:43:12
2003
@@ -85,6 +85,10 @@
#include <getopt.h>
#endif
+#ifdef HAVE_RENDEZVOUS
+#include <DNSServiceDiscovery/DNSServiceDiscovery.h>
+#endif
+
#include "catalog/pg_database.h"
#include "commands/async.h"
#include "lib/dllist.h"
@@ -203,6 +207,10 @@
bool Log_connections = false;
bool Db_user_namespace = false;
+#ifdef HAVE_RENDEZVOUS
+/* service name */
+char *service_name = NULL;
+#endif
/* Startup/shutdown state */
static pid_t StartupPID = 0,
@@ -354,6 +362,17 @@
}
+#ifdef HAVE_RENDEZVOUS
+
+/* reg_reply -- empty callback function for DNSServiceRegistrationCreate() */
+static void
+reg_reply(DNSServiceRegistrationReplyErrorType errorCode, void *context)
+{
+
+}
+
+#endif
+
int
PostmasterMain(int argc, char *argv[])
{
@@ -684,6 +703,21 @@
{
postmaster_error("cannot create INET stream port");
ExitPostmaster(1);
+ } else {
+#ifdef HAVE_RENDEZVOUS
+ /* Rendezvous, baby! */
+
+ if (service_name != NULL)
+ {
+ DNSServiceRegistrationCreate(service_name,
+ "_pgsql._tcp.",
+ "",
+ htonl(PostPortNumber),
+ "",
+ (DNSServiceRegistrationReply)reg_reply,
+ NULL);
+ }
+#endif
}
}
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile
Wed Aug 21 22:18:45 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile
Sat Jun 14 13:08:00 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.3 2002/08/22 02:18:45 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/ascii_and_mic
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/cyrillic_and_mic/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/cyrillic_and_mic/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/cyrillic_and_mic/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/cyrillic_and_mic/Makefile
Sat Jun 14 13:08:08 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/cyrillic_and_mic
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_cn_and_mic/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_cn_and_mic/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_cn_and_mic/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_cn_and_mic/Makefile
Sat Jun 14 13:08:15 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/euc_cn_and_mic
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/Makefile
Sat Jun 14 13:08:22 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/euc_jp_and_sjis
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_kr_and_mic/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_kr_and_mic/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_kr_and_mic/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_kr_and_mic/Makefile
Sat Jun 14 13:08:27 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/euc_kr_and_mic
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/Makefile
Sat Jun 14 13:08:34 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/euc_tw_and_big5
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/latin2_and_win1250/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/latin2_and_win1250/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/latin2_and_win1250/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/latin2_and_win1250/Makefile
Sat Jun 14 13:08:40 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/latin2_and_win1250
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/latin_and_mic/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/latin_and_mic/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/latin_and_mic/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/latin_and_mic/Makefile
Sat Jun 14 13:08:45 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/latin_and_mic
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr postgresql-7.3.3/src/backend/utils/mb/conversion_procs/proc.mk
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/proc.mk
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/proc.mk Thu Sep 5
14:28:46 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/proc.mk Sat Jun 14
12:43:12 2003
@@ -1,6 +1,7 @@
SRCS += $(NAME).c
OBJS += $(NAME).o
+DLTYPE = bundle
SHLIB_LINK := $(BE_DLLLIBS)
SO_MAJOR_VERSION := 0
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_ascii/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_ascii/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_ascii/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_ascii/Makefile
Sat Jun 14 13:08:54 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_ascii
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_big5/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_big5/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_big5/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_big5/Makefile
Sat Jun 14 13:08:59 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_big5
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/Makefile
Sat Jun 14 13:09:03 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_cyrillic
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/Makefile
Sat Jun 14 13:10:53 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_euc_cn
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/Makefile
Sat Jun 14 13:09:30 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_euc_jp
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/Makefile
Sat Jun 14 13:09:35 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_euc_kr
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/Makefile
Sat Jun 14 13:09:40 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_euc_tw
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_gb18030/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_gb18030/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_gb18030/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_gb18030/Makefile
Sat Jun 14 13:09:44 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_gb18030
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_gbk/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_gbk/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_gbk/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_gbk/Makefile
Sat Jun 14 13:09:49 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_gbk
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/Makefile
Sat Jun 14 13:09:54 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_iso8859
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/Makefile
Sat Jun 14 13:09:58 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_johab/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_johab/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_johab/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_johab/Makefile
Sat Jun 14 13:10:02 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_johab
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_sjis/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_sjis/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_sjis/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_sjis/Makefile
Sat Jun 14 13:10:08 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_sjis
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_tcvn/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_tcvn/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_tcvn/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_tcvn/Makefile
Sat Jun 14 13:10:13 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_tcvn
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_uhc/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_uhc/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_uhc/Makefile
Wed Aug 21 17:33:55 2002
+++ postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_uhc/Makefile
Sat Jun 14 13:10:16 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_uhc
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_win1250/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_win1250/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_win1250/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_win1250/Makefile
Sat Jun 14 13:10:20 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_win1250
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_win1256/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_win1256/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_win1256/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_win1256/Makefile
Sat Jun 14 13:10:25 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_win1256
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr
postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_win874/Makefile
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_win874/Makefile
--- postgresql-7.3.3/src/backend/utils/mb/conversion_procs/utf8_and_win874/Makefile
Wed Aug 21 17:33:55 2002
+++
postgresql-7.3.3-new/src/backend/utils/mb/conversion_procs/utf8_and_win874/Makefile
Sat Jun 14 13:10:29 2003
@@ -3,6 +3,9 @@
# $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $
#
#-------------------------------------------------------------------------
+
+DLTYPE = bundle
+
subdir = src/backend/utils/mb/conversion_procs/utf8_and_win874
top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr postgresql-7.3.3/src/backend/utils/misc/guc.c
postgresql-7.3.3-new/src/backend/utils/misc/guc.c
--- postgresql-7.3.3/src/backend/utils/misc/guc.c Thu Apr 3 19:32:57 2003
+++ postgresql-7.3.3-new/src/backend/utils/misc/guc.c Sat Jun 14 12:43:12 2003
@@ -798,6 +798,13 @@
"$user,public", assign_search_path, NULL
},
+#ifdef HAVE_RENDEZVOUS
+ {
+ {"service_name", PGC_POSTMASTER}, &service_name,
+ NULL, NULL, NULL
+ },
+#endif
+
{
{"server_encoding", PGC_USERSET}, &server_encoding_string,
"SQL_ASCII", assign_server_encoding, show_server_encoding
@@ -838,12 +845,12 @@
{
{"unix_socket_group", PGC_POSTMASTER}, &Unix_socket_group,
- "", NULL, NULL
+ "pgsql", NULL, NULL
},
{
{"unix_socket_directory", PGC_POSTMASTER}, &UnixSocketDir,
- "", NULL, NULL
+ "/tmp", NULL, NULL
},
{
diff -uNbr postgresql-7.3.3/src/backend/utils/misc/postgresql.conf.sample
postgresql-7.3.3-new/src/backend/utils/misc/postgresql.conf.sample
--- postgresql-7.3.3/src/backend/utils/misc/postgresql.conf.sample Sun Mar 30
16:38:13 2003
+++ postgresql-7.3.3-new/src/backend/utils/misc/postgresql.conf.sample Sat Jun 14
12:43:12 2003
@@ -27,10 +27,10 @@
#
# Connection Parameters
#
-#tcpip_socket = false
-#ssl = false
+tcpip_socket = true
+ssl = false
-#max_connections = 32
+max_connections = 96
#superuser_reserved_connections = 2
#port = 5432
@@ -49,7 +49,7 @@
#
# Shared Memory Size
#
-#shared_buffers = 64 # min max_connections*2 or 16, 8KB each
+shared_buffers = 192 # min max_connections*2 or 16, 8KB each
#max_fsm_relations = 1000 # min 10, fsm is free space map, ~40 bytes
#max_fsm_pages = 10000 # min 1000, fsm is free space map, ~6 bytes
#max_locks_per_transaction = 64 # min 10
diff -uNbr postgresql-7.3.3/src/bin/initdb/initdb.sh
postgresql-7.3.3-new/src/bin/initdb/initdb.sh
--- postgresql-7.3.3/src/bin/initdb/initdb.sh Mon Nov 25 16:42:11 2002
+++ postgresql-7.3.3-new/src/bin/initdb/initdb.sh Sat Jun 14 12:43:12 2003
@@ -1091,11 +1091,8 @@
echo
echo "Success. You can now start the database server using:"
echo ""
-echo " $PGPATH/postmaster -D $PGDATA"
-echo "or"
-# (Advertise -l option here, otherwise we have a background
-# process writing to the terminal.)
-echo " $PGPATH/pg_ctl -D $PGDATA -l logfile start"
-echo
+echo " sudo -u root sudo -u pgsql $PGPATH/pg_ctl \\"
+echo " -D $PGDATA -l /sw/var/log/postgresql/logfile start"
+echo ""
exit 0
diff -uNbr postgresql-7.3.3/src/bin/pg_ctl/pg_ctl.sh
postgresql-7.3.3-new/src/bin/pg_ctl/pg_ctl.sh
--- postgresql-7.3.3/src/bin/pg_ctl/pg_ctl.sh Fri Oct 18 18:05:35 2002
+++ postgresql-7.3.3-new/src/bin/pg_ctl/pg_ctl.sh Sat Jun 14 12:43:12 2003
@@ -14,6 +14,10 @@
CMDNAME=`basename $0`
+ulimit -d 24000 >/dev/null 2>&1
+ulimit -n 512 >/dev/null 2>&1
+ulimit -s 4096 >/dev/null 2>&1
+
help="\
$CMDNAME is a utility to start, stop, restart, reload configuration files,
or report the status of a PostgreSQL server.
diff -uNbr postgresql-7.3.3/src/include/miscadmin.h
postgresql-7.3.3-new/src/include/miscadmin.h
--- postgresql-7.3.3/src/include/miscadmin.h Thu Oct 3 13:07:53 2002
+++ postgresql-7.3.3-new/src/include/miscadmin.h Sat Jun 14 12:43:12 2003
@@ -182,6 +182,7 @@
extern char *Unix_socket_group;
extern char *UnixSocketDir;
extern char *VirtualHost;
+extern char *service_name;
/*****************************************************************************
diff -uNbr postgresql-7.3.3/src/include/pg_config.h.in
postgresql-7.3.3-new/src/include/pg_config.h.in
--- postgresql-7.3.3/src/include/pg_config.h.in Fri Nov 8 00:23:09 2002
+++ postgresql-7.3.3-new/src/include/pg_config.h.in Sat Jun 14 12:43:12 2003
@@ -57,6 +57,9 @@
/* Define to build with PAM Support */
#undef USE_PAM
+/* Define if pam_appl.h is in pam/ instead of security/ */
+#undef HAVE_PAM_PAM_APPL_H
+
/*
* DEF_PGPORT is the TCP port number on which the Postmaster listens and
* which clients will try to connect to. This is just a default value;
diff -uNbr postgresql-7.3.3/src/include/port/darwin.h
postgresql-7.3.3-new/src/include/port/darwin.h
--- postgresql-7.3.3/src/include/port/darwin.h Sun Oct 28 01:26:08 2001
+++ postgresql-7.3.3-new/src/include/port/darwin.h Sat Jun 14 12:43:12 2003
@@ -1,5 +1,7 @@
#define __darwin__ 1
+#define HAVE_RENDEZVOUS
+
#if defined(__ppc__)
#define HAS_TEST_AND_SET
#endif
diff -uNbr postgresql-7.3.3/src/interfaces/libpgtcl/Makefile
postgresql-7.3.3-new/src/interfaces/libpgtcl/Makefile
--- postgresql-7.3.3/src/interfaces/libpgtcl/Makefile Tue Dec 10 23:08:05 2002
+++ postgresql-7.3.3-new/src/interfaces/libpgtcl/Makefile Sat Jun 14 12:43:12
2003
@@ -20,7 +20,7 @@
OBJS= pgtcl.o pgtclCmds.o pgtclId.o
-SHLIB_LINK = $(libpq)
+SHLIB_LINK = $(libpq) $(TCL_LIB_SPEC)
# If crypt is a separate library, rather than part of libc, it may need
# to be referenced separately to keep (broken) linkers happy. (This is
diff -uNbr postgresql-7.3.3/src/interfaces/python/GNUmakefile
postgresql-7.3.3-new/src/interfaces/python/GNUmakefile
--- postgresql-7.3.3/src/interfaces/python/GNUmakefile Thu Dec 13 13:39:04 2001
+++ postgresql-7.3.3-new/src/interfaces/python/GNUmakefile Sat Jun 14 16:28:34
2003
@@ -1,5 +1,7 @@
# $Header: /cvsroot/pgsql-server/src/interfaces/python/GNUmakefile,v 1.13 2001/12/13
18:39:04 petere Exp $
+DLTYPE = bundle
+
subdir = src/interfaces/python
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
@@ -13,7 +15,9 @@
override CPPFLAGS += -DUSE_DL_IMPORT
SHLIB_LINK += $(python_libspec)
endif
-
+ifeq ($(PORTNAME), darwin)
+SHLIB_LINK += -bundle_loader @PREFIX@/bin/python2.1
+endif
include $(top_srcdir)/src/Makefile.shlib
diff -uNbr postgresql-7.3.3/src/makefiles/Makefile.darwin
postgresql-7.3.3-new/src/makefiles/Makefile.darwin
--- postgresql-7.3.3/src/makefiles/Makefile.darwin Fri Oct 5 17:15:38 2001
+++ postgresql-7.3.3-new/src/makefiles/Makefile.darwin Sat Jun 14 12:54:25 2003
@@ -1,13 +1,23 @@
AROPT = cr
AWK= awk
-DLSUFFIX = .so
+ifeq ($(DLTYPE), bundle)
+ DLSUFFIX := .so
+else
+ DLSUFFIX := .dylib
+endif
+
CFLAGS_SL =
+CFLAGS += -fno-common
ifeq (,$(filter $(host_os), darwin1.0 darwin1.1 darwin1.2))
-DARWIN_NAMESPACE_SPEC = -flat_namespace
+ MULTIPLY_DEFINED=
+else
+ MULTIPLY_DEFINED=-multiply_defined suppress
endif
%.so: %.o
- $(CC) $(DARWIN_NAMESPACE_SPEC) -bundle -undefined suppress -o $@ $<
+ $(CC) -bundle $(MULTIPLY_DEFINED) -o $@ $<
+%.dylib: %.o
+ $(CC) -dynamiclib $(MULTIPLY_DEFINED) -o $@ $<
sqlmansect = 7
diff -uNbr postgresql-7.3.3/src/pl/plperl/GNUmakefile
postgresql-7.3.3-new/src/pl/plperl/GNUmakefile
--- postgresql-7.3.3/src/pl/plperl/GNUmakefile Tue May 28 12:57:53 2002
+++ postgresql-7.3.3-new/src/pl/plperl/GNUmakefile Sat Jun 14 12:43:12 2003
@@ -20,10 +20,10 @@
override CPPFLAGS := -I$(srcdir) -I$(perl_archlibexp)/CORE $(CPPFLAGS)
-
NAME = plperl
SO_MAJOR_VERSION = 0
SO_MINOR_VERSION = 0
+DLTYPE = bundle
OBJS = plperl.o eloglvl.o SPI.o
SHLIB_LINK = $(perl_embed_ldflags) $(BE_DLLLIBS)
diff -uNbr postgresql-7.3.3/src/pl/plpgsql/src/Makefile
postgresql-7.3.3-new/src/pl/plpgsql/src/Makefile
--- postgresql-7.3.3/src/pl/plpgsql/src/Makefile Fri Nov 1 17:52:34 2002
+++ postgresql-7.3.3-new/src/pl/plpgsql/src/Makefile Sat Jun 14 13:12:28 2003
@@ -6,6 +6,8 @@
#
#-------------------------------------------------------------------------
+DLTYPE = bundle
+
subdir = src/pl/plpgsql/src
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
diff -uNbr postgresql-7.3.3/src/pl/plpython/Makefile
postgresql-7.3.3-new/src/pl/plpython/Makefile
--- postgresql-7.3.3/src/pl/plpython/Makefile Thu Sep 5 14:28:46 2002
+++ postgresql-7.3.3-new/src/pl/plpython/Makefile Sat Jun 14 16:31:54 2003
@@ -1,5 +1,7 @@
# $Header: /cvsroot/pgsql-server/src/pl/plpython/Makefile,v 1.11 2002/09/05 18:28:46
petere Exp $
+DLTYPE = bundle
+
subdir = src/pl/plpython
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
@@ -8,7 +10,7 @@
# On some platforms we can only build PL/Python if libpython is a
# shared library. Since there is no official way to determine this,
# we see if there is a file that is named like a shared library.
-ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
+ifneq (,$(wildcard $(python_configdir)/libpython*.a*))
shared_libpython = yes
endif
@@ -24,7 +26,7 @@
SO_MINOR_VERSION = 0
OBJS = plpython.o
-SHLIB_LINK = $(BE_DLLLIBS) $(python_libspec)
+SHLIB_LINK = $(BE_DLLLIBS) -bundle_loader @PREFIX@/bin/python2.1
include $(top_srcdir)/src/Makefile.shlib
diff -uNbr postgresql-7.3.3/src/pl/tcl/Makefile
postgresql-7.3.3-new/src/pl/tcl/Makefile
--- postgresql-7.3.3/src/pl/tcl/Makefile Fri May 24 14:10:17 2002
+++ postgresql-7.3.3-new/src/pl/tcl/Makefile Sat Jun 14 12:43:12 2003
@@ -25,7 +25,6 @@
endif
endif
-
# The following attempts to figure out what libraries need to be
# linked with pltcl. The information comes from the tclConfig.sh
# file, but it's mostly bogus. This just might work.
@@ -48,6 +47,7 @@
NAME = pltcl
SO_MAJOR_VERSION = 2
SO_MINOR_VERSION = 0
+DLTYPE = bundle
OBJS = pltcl.o
include $(top_srcdir)/src/Makefile.shlib
--- NEW FILE: postgresql-ssl-java-7.3.3-1.info ---
Package: postgresql-ssl-java
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
BuildDepends: ant, postgresql73-ssl-dev (>= %v)
Depends: postgresql73-ssl-shlibs (>= %v)
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
Conflicts: postgresql-ssl (<< 7.3), postgresql (<< 7.3), postgresql-java
Replaces: postgresql-ssl (<< 7.3), postgresql (<< 7.3), postgresql-java
PatchScript: sed 's|@PREFIX@|%p|g' < %a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --without-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--with-java
CompileScript: <<
./configure %c
(cd src/interfaces/jdbc; make)
<<
InstallScript: <<
(cd src/interfaces/jdbc; make install DESTDIR=%d)
install -d -m 755 %i/lib/postgresql
mv %i/share/postgresql/java %i/lib/postgresql/java
rmdir %i/share/postgresql
rmdir %i/share
<<
DocFiles: COPYRIGHT HISTORY INSTALL README register.txt
Description: PostgreSQL Java library (with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-libpgeasy-7.3.3-1.patch ---
diff -uNbr pgeasy-3.0.1/Makefile pgeasy-3.0.1-patched/Makefile
--- pgeasy-3.0.1/Makefile Tue Nov 26 23:40:19 2002
+++ pgeasy-3.0.1-patched/Makefile Mon Dec 30 21:28:41 2002
@@ -9,29 +9,32 @@
SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 0
-POSTGRES_HOME=/usr/local/pgsql
[EMAIL PROTECTED]@
TARGET= libpgeasy
-CFLAGS= -O -Wall
+CFLAGS= -O -Wall -Wmissing-prototypes -Wmissing-declarations -fno-common
-traditional-cpp
LIBS=pq
OBJS= libpgeasy.o halt.o
-SHARED= -fpic -shared -Wl,-x,-soname,$(TARGET).so.$(SO_MAJOR_VERSION)
-Wl,-rpath,$(POSTGRES_HOME)/lib
-soname=$(TARGET).so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+SHARED= -install_name $(POSTGRES_HOME)/lib/$(TARGET).$(SO_MAJOR_VERSION).dylib
-compatibility_version $(SO_MAJOR_VERSION) -current_version
$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) -dynamiclib -multiply_defined suppress
+
+soname=$(TARGET).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).dylib
all: $(soname)
$(soname) : $(OBJS)
- $(CC) $(OBJS) -L$(POSTGRES_HOME)/lib -l$(LIBS) $(SHARED) -o $(soname)
+ $(CC) $(OBJS) -L$(DESTDIR)$(POSTGRES_HOME)/lib -L$(POSTGRES_HOME)/lib
-l$(LIBS) $(SHARED) -o $(soname)
%.o : %.c
- $(CC) -c $(CFLAGS) -I$(POSTGRES_HOME)/include $<
+ $(CC) -c $(CFLAGS) -I$(DESTDIR)$(POSTGRES_HOME)/include/postgresql
-I$(DESTDIR)$(POSTGRES_HOME)/include -I$(POSTGRES_HOME)/include $<
clean:
rm -f $(OBJS) $(soname)
install:
- install $(soname) $(POSTGRES_HOME)/lib
- rm -f $(POSTGRES_HOME)/lib/$(TARGET).so
- ln -s $(POSTGRES_HOME)/lib/$(soname) $(POSTGRES_HOME)/lib/$(TARGET).so
- install -c $(TARGET).h $(POSTGRES_HOME)/include
+ install -d -m 755 $(DESTDIR)$(POSTGRES_HOME)/lib
+ install -c -m 755 $(soname) $(DESTDIR)$(POSTGRES_HOME)/lib
+ rm -f $(DESTDIR)$(POSTGRES_HOME)/lib/$(TARGET).dylib
+ ln -sf $(soname) $(DESTDIR)$(POSTGRES_HOME)/lib/$(TARGET).dylib
+ ln -sf $(soname)
$(DESTDIR)$(POSTGRES_HOME)/lib/$(TARGET).$(SO_MAJOR_VERSION).dylib
+ install -c $(TARGET).h $(DESTDIR)$(POSTGRES_HOME)/include/postgresql
--- NEW FILE: postgresql-ssl-libpqpp-7.3.3-1.patch ---
diff -uNbr libpq++-4.0/Makefile libpq++-4.0-patched/Makefile
--- libpq++-4.0/Makefile Tue Nov 26 23:46:08 2002
+++ libpq++-4.0-patched/Makefile Mon Dec 30 21:29:40 2002
@@ -11,33 +11,35 @@
SO_MAJOR_VERSION= 4
SO_MINOR_VERSION= 0
-POSTGRES_HOME=/usr/local/pgsql
-CXXOPTS= -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=""
[EMAIL PROTECTED]@
+CXXOPTS= -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -Wall
-Wmissing-prototypes -Wmissing-declarations -fno-common -traditional-cpp
TARGET= libpq++
-CFLAGS= -O -Wall
+CFLAGS= -Os -Wall
LIBS=pq
OBJS= pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o
LIBPGXXHEADERS = pgconnection.h pgdatabase.h pgtransdb.h pgcursordb.h pglobject.h
-SHARED= -fpic -shared -Wl,-x,-soname,$(TARGET).so.$(SO_MAJOR_VERSION)
-Wl,-rpath,$(POSTGRES_HOME)/lib
-soname=$(TARGET).so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+SHARED= -install_name $(POSTGRES_HOME)/lib/$(TARGET).$(SO_MAJOR_VERSION).dylib
-compatibility_version $(SO_MAJOR_VERSION) -current_version
$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) -dynamiclib -multiply_defined suppress
+
+soname=$(TARGET).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).dylib
all: $(soname)
$(soname) : $(OBJS)
- $(CXX) $(CXXFLAGS) $(OBJS) -L$(POSTGRES_HOME)/lib -l$(LIBS) $(SHARED) -o
$(soname)
+ $(CXX) $(CXXFLAGS) $(OBJS) -L$(DESTDIR)$(POSTGRES_HOME)/lib
-L$(POSTGRES_HOME)/lib -l$(LIBS) $(SHARED) -o $(soname)
%.o : %.cc
- $(CXX) -c $(CXXFLAGS) $(CXXOPTS) -I$(POSTGRES_HOME)/include $<
+ $(CXX) -c $(CXXFLAGS) $(CXXOPTS)
-I$(DESTDIR)$(POSTGRES_HOME)/include/postgresql -I$(POSTGRES_HOME)/include/postgresql
$<
clean:
rm -f $(OBJS) $(soname)
install:
- install $(soname) $(POSTGRES_HOME)/lib
- rm -f $(POSTGRES_HOME)/lib/$(TARGET).so
- ln -s $(POSTGRES_HOME)/lib/$(soname) $(POSTGRES_HOME)/lib/$(TARGET).so
- install -c $(TARGET).h $(POSTGRES_HOME)/include
- -mkdir $(POSTGRES_HOME)/include/libpq++
- for i in $(LIBPGXXHEADERS); do install -c $$i $(POSTGRES_HOME)/include/libpq++
|| exit 1; done
+ install $(soname) $(DESTDIR)$(POSTGRES_HOME)/lib
+ rm -f $(DESTDIR)$(POSTGRES_HOME)/lib/$(TARGET).dylib
+ ln -sf $(soname) $(DESTDIR)$(POSTGRES_HOME)/lib/$(TARGET).dylib
+ ln -sf $(soname)
$(DESTDIR)$(POSTGRES_HOME)/lib/$(TARGET).$(SO_MAJOR_VERSION).dylib
+ install -c -m 644 $(TARGET).h $(DESTDIR)$(POSTGRES_HOME)/include/postgresql
+ install -d -m 755 $(DESTDIR)$(POSTGRES_HOME)/include/postgresql/libpq++
+ for i in $(LIBPGXXHEADERS); do install -c $$i
$(DESTDIR)$(POSTGRES_HOME)/include/postgresql/libpq++ || exit 1; done
--- NEW FILE: postgresql-ssl-perl-560-7.3.3-1.info ---
Package: postgresql-ssl-perl-560
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
Source2: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-2.0.2.tar.gz
Source2-MD5: 0813c5ab151dd37ad8938634550e6c1a
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), perl560-core
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), postgresql-ssl (>= %v)
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lpq
Conflicts: postgresql-perl-560
Replaces: postgresql-perl-560, postgresql-ssl (<< %v), postgresql-ssl-perl (<< %v),
postgresql-perl (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|perl5.6.0|perl5.6.0|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --with-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
#!/bin/sh
./configure %c
# pl/perl
pushd src/pl/plperl
make
popd
# Pg perl module
pushd ../Pg-2.0.2
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" perl5.6.0 Makefile.PL PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/5.6.0
INSTALLARCHLIB=%p/lib/perl5/5.6.0/darwin INSTALLSITELIB=%p/lib/perl5/5.6.0
INSTALLSITEARCH=%p/lib/perl5/5.6.0/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
popd
<<
InstallScript: <<
#!/bin/sh
# pl/perl
(cd src/pl/plperl; make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3)
# Pg perl module
pushd ../Pg-2.0.2
make install PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/5.6.0
INSTALLARCHLIB=%i/lib/perl5/5.6.0/darwin INSTALLSITELIB=%i/lib/perl5/5.6.0
INSTALLSITEARCH=%i/lib/perl5/5.6.0/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/5.6.0/darwin/perllocal.pod | sed -e
s,%i/lib/perl5/5.6.0,%p/lib/perl5/5.6.0,g > %i/share/podfiles/perllocal.%n.pod
rm -rf %i/lib/perl5/5.6.0/darwin/perllocal.pod
popd
mv %i/lib/postgresql/plperl.so %i/lib/postgresql/plperl-560.so
mv %i/share/man/man3/Pg.3 %p/share/man/man3/Pg-560.3
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plperl.so postgresql-perl-plperl.so
%p/lib/postgresql/plperl-560.so 560
update-alternatives --install %p/share/man/man3/Pg.3 postgresql-perl-Pg.3
%p/share/man/man3/Pg-560.3 560
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
update-alternatives --remove postgresql-perl-plperl.so
%p/lib/postgresql/plperl-560.so
update-alternatives --remove postgresql-perl-Pg.3 %p/share/man/man3/Pg-560.3
fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL src/pl/plperl/README register.txt
Description: PostgreSQL Perl tools (for Perl 5.6.0, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-perl-561-7.3.3-1.info ---
Package: postgresql-ssl-perl-561
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
Source2: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-2.0.2.tar.gz
Source2-MD5: 0813c5ab151dd37ad8938634550e6c1a
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), perl561-core
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), postgresql-ssl (>= %v)
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lpq
Conflicts: postgresql-perl-561
Replaces: postgresql-perl-561, postgresql-ssl (<< %v), postgresql-ssl-perl (<< %v),
postgresql-perl (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|perl5.6.0|perl5.6.1|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --with-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
#!/bin/sh
./configure %c
# pl/perl
pushd src/pl/plperl
make
popd
# Pg perl module
pushd ../Pg-2.0.2
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" perl5.6.1 Makefile.PL PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/5.6.1
INSTALLARCHLIB=%p/lib/perl5/5.6.1/darwin INSTALLSITELIB=%p/lib/perl5/5.6.1
INSTALLSITEARCH=%p/lib/perl5/5.6.1/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
popd
<<
InstallScript: <<
#!/bin/sh
# pl/perl
(cd src/pl/plperl; make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3)
# Pg perl module
pushd ../Pg-2.0.2
make install PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/5.6.1
INSTALLARCHLIB=%i/lib/perl5/5.6.1/darwin INSTALLSITELIB=%i/lib/perl5/5.6.1
INSTALLSITEARCH=%i/lib/perl5/5.6.1/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/5.6.1/darwin/perllocal.pod | sed -e
s,%i/lib/perl5/5.6.1,%p/lib/perl5/5.6.1,g > %i/share/podfiles/perllocal.%n.pod
rm -rf %i/lib/perl5/5.6.1/darwin/perllocal.pod
popd
mv %i/lib/postgresql/plperl.so %i/lib/postgresql/plperl-561.so
mv %i/share/man/man3/Pg.3 %p/share/man/man3/Pg-561.3
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plperl.so postgresql-perl-plperl.so
%p/lib/postgresql/plperl-561.so 561
update-alternatives --install %p/share/man/man3/Pg.3 postgresql-perl-Pg.3
%p/share/man/man3/Pg-561.3 561
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
update-alternatives --remove postgresql-perl-plperl.so
%p/lib/postgresql/plperl-561.so
update-alternatives --remove postgresql-perl-Pg.3 %p/share/man/man3/Pg-561.3
fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL src/pl/plperl/README register.txt
Description: PostgreSQL Perl tools (for Perl 5.6.1, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-perl-580-7.3.3-1.info ---
Package: postgresql-ssl-perl-580
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
Source2: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-2.0.2.tar.gz
Source2-MD5: 0813c5ab151dd37ad8938634550e6c1a
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), perl580-core
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), postgresql-ssl (>= %v)
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lpq
Conflicts: postgresql-perl-580
Replaces: postgresql-perl-580, postgresql-ssl (<< %v), postgresql-ssl-perl (<< %v),
postgresql-perl (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|perl5.6.0|perl5.8.0|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --with-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
#!/bin/sh
./configure %c
# pl/perl
pushd src/pl/plperl
make
popd
# Pg perl module
pushd ../Pg-2.0.2
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" perl5.8.0 Makefile.PL PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/5.8.0
INSTALLARCHLIB=%p/lib/perl5/5.8.0/darwin INSTALLSITELIB=%p/lib/perl5/5.8.0
INSTALLSITEARCH=%p/lib/perl5/5.8.0/darwin INSTALLMAN1DIR=%p/share/man/man1
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
popd
<<
InstallScript: <<
#!/bin/sh
# pl/perl
(cd src/pl/plperl; make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3)
# Pg perl module
pushd ../Pg-2.0.2
make install PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/5.8.0
INSTALLARCHLIB=%i/lib/perl5/5.8.0/darwin INSTALLSITELIB=%i/lib/perl5/5.8.0
INSTALLSITEARCH=%i/lib/perl5/5.8.0/darwin INSTALLMAN1DIR=%i/share/man/man1
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/5.8.0/darwin/perllocal.pod | sed -e
s,%i/lib/perl5/5.8.0,%p/lib/perl5/5.8.0,g > %i/share/podfiles/perllocal.%n.pod
rm -rf %i/lib/perl5/5.8.0/darwin/perllocal.pod
popd
mv %i/lib/postgresql/plperl.so %i/lib/postgresql/plperl-580.so
mv %i/share/man/man3/Pg.3 %i/share/man/man3/Pg-580.3
perl -pi -e 's,%p/man/man3pm/Pg.3,%p/share/man/man3/Pg-580.3,g'
%i/lib/perl5/5.8.0/darwin/auto/Pg/.packlist
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plperl.so postgresql-perl-plperl.so
%p/lib/postgresql/plperl-580.so 580
update-alternatives --install %p/share/man/man3/Pg.3 postgresql-perl-Pg.3
%p/share/man/man3/Pg-580.3 580
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
update-alternatives --remove postgresql-perl-plperl.so
%p/lib/postgresql/plperl-580.so
update-alternatives --remove postgresql-perl-Pg.3 %p/share/man/man3/Pg-580.3
fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL src/pl/plperl/README register.txt
Description: PostgreSQL Perl tools (for Perl 5.8.0, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-perl-581-7.3.3-1.info ---
Package: postgresql-ssl-perl-581
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
Source2: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-2.0.2.tar.gz
Source2-MD5: 0813c5ab151dd37ad8938634550e6c1a
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), perl581-core
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), postgresql-ssl (>= %v)
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lpq
Conflicts: postgresql-perl-581
Replaces: postgresql-perl-581, postgresql-ssl (<< %v), postgresql-ssl-perl (<< %v),
postgresql-perl (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|perl5.6.0|perl5.8.1|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --with-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
#!/bin/sh
./configure %c
# pl/perl
pushd src/pl/plperl
make
popd
# Pg perl module
pushd ../Pg-2.0.2
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" perl5.8.1 Makefile.PL PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/5.8.1
INSTALLARCHLIB=%p/lib/perl5/5.8.1/darwin INSTALLSITELIB=%p/lib/perl5/5.8.1
INSTALLSITEARCH=%p/lib/perl5/5.8.1/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
popd
<<
InstallScript: <<
#!/bin/sh
# pl/perl
(cd src/pl/plperl; make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3)
# Pg perl module
pushd ../Pg-2.0.2
make install PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/5.8.1
INSTALLARCHLIB=%i/lib/perl5/5.8.1/darwin INSTALLSITELIB=%i/lib/perl5/5.8.1
INSTALLSITEARCH=%i/lib/perl5/5.8.1/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/5.8.1/darwin/perllocal.pod | sed -e
s,%i/lib/perl5/5.8.1,%p/lib/perl5/5.8.1,g > %i/share/podfiles/perllocal.%n.pod
rm -rf %i/lib/perl5/5.8.1/darwin/perllocal.pod
popd
mv %i/lib/postgresql/plperl.so %i/lib/postgresql/plperl-581.so
mv %i/share/man/man3/Pg.3 %p/share/man/man3/Pg-581.3
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plperl.so postgresql-perl-plperl.so
%p/lib/postgresql/plperl-581.so 581
update-alternatives --install %p/share/man/man3/Pg.3 postgresql-perl-Pg.3
%p/share/man/man3/Pg-581.3 581
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
update-alternatives --remove postgresql-perl-plperl.so
%p/lib/postgresql/plperl-581.so
update-alternatives --remove postgresql-perl-Pg.3 %p/share/man/man3/Pg-581.3
fi
<<
DocFiles: COPYRIGHT HISTORY INSTALL src/pl/plperl/README register.txt
Description: PostgreSQL Perl tools (for Perl 5.8.1, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-perl-7.3.3-1.info ---
Package: postgresql-ssl-perl
Version: 7.3.3
Revision: 1
Depends: postgresql-ssl-perl-560 | postgresql-ssl-perl-561 | postgresql-ssl-perl-580 |
postgresql-ssl-perl-581
Type: bundle
Description: Placeholder for versioned PostgreSQL Perl packages (with SSL)
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-python-7.3.3-1.info ---
Package: postgresql-ssl-python
Version: 7.3.3
Revision: 1
Depends: postgresql-ssl-python-py21 | postgresql-ssl-python-py22 |
postgresql-ssl-python-py23
Type: bundle
Description: Placeholder for versioned PostgreSQL Python packages (with SSL)
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-python-py21-7.3.3-1.info ---
Package: postgresql-ssl-python-py21
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), python21, libgnugetopt
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), python21,
libgnugetopt-shlibs
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
Conflicts: postgresql-python, postgresql-ssl-python (<< %v)
Replaces: postgresql-python, postgresql-ssl-python (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|python2.1|python2.1|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --without-perl --with-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
./configure %c
(cd src/interfaces/python; make)
(cd src/pl/plpython; make)
<<
InstallScript: <<
(cd src/interfaces/python; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
(cd src/pl/plpython; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
mv %i/lib/postgresql/plpython.so %i/lib/postgresql/plpython-21.so
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plpython.so
postgresql-python-plpython.so %p/lib/postgresql/plpython-21.so 21
<<
PostRmScript: <<
update-alternatives --remove postgresql-python-plpython.so
%p/lib/postgresql/plpython-21.so
<<
DocFiles: COPYRIGHT HISTORY INSTALL README register.txt
Description: PostgreSQL Python tools (for Python 2.1.x, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-python-py22-7.3.3-1.info ---
Package: postgresql-ssl-python-py22
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), python22 | python22-nox,
libgnugetopt
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), python22 | python22-nox,
libgnugetopt-shlibs
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
Conflicts: postgresql-python, postgresql-ssl-python (<< %v)
Replaces: postgresql-python, postgresql-ssl-python (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|python2.1|python2.2|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --without-perl --with-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
./configure %c
(cd src/interfaces/python; make)
(cd src/pl/plpython; make)
<<
InstallScript: <<
(cd src/interfaces/python; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
(cd src/pl/plpython; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
mv %i/lib/postgresql/plpython.so %i/lib/postgresql/plpython-22.so
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plpython.so
postgresql-python-plpython.so %p/lib/postgresql/plpython-22.so 22
<<
PostRmScript: <<
update-alternatives --remove postgresql-python-plpython.so
%p/lib/postgresql/plpython-22.so
<<
DocFiles: COPYRIGHT HISTORY INSTALL README register.txt
Description: PostgreSQL Python tools (for Python 2.2.x, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-python-py23-7.3.3-1.info ---
Package: postgresql-ssl-python-py23
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
BuildDepends: openssl097-dev, postgresql73-ssl-dev (>= %v), python23 | python23-nox,
libgnugetopt
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), python23 | python23-nox,
libgnugetopt-shlibs
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
Conflicts: postgresql-python, postgresql-ssl-python (<< %v)
Replaces: postgresql-python, postgresql-ssl-python (<< %v)
PatchScript: sed -e 's|@PREFIX@|%p|g' -e 's|python2.1|python2.3|g' <
%a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --without-perl --with-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl
--without-java --enable-odbc --with-pam
CompileScript: <<
./configure %c
(cd src/interfaces/python; make)
(cd src/pl/plpython; make)
<<
InstallScript: <<
(cd src/interfaces/python; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
(cd src/pl/plpython; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
mv %i/lib/postgresql/plpython.so %i/lib/postgresql/plpython-23.so
<<
PostInstScript: <<
update-alternatives --install %p/lib/postgresql/plpython.so
postgresql-python-plpython.so %p/lib/postgresql/plpython-23.so 23
<<
PostRmScript: <<
update-alternatives --remove postgresql-python-plpython.so
%p/lib/postgresql/plpython-23.so
<<
DocFiles: COPYRIGHT HISTORY INSTALL README register.txt
Description: PostgreSQL Python tools (for Python 2.3.x, with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
--- NEW FILE: postgresql-ssl-tcl-7.3.3-1.info ---
Package: postgresql-ssl-tcl
Version: 7.3.3
Revision: 1
GCC: 3.1
Source: ftp://ftp.postgresql.org/pub/source/v%v/postgresql-%v.tar.gz
Source-MD5: 60e1efa3a0f34dae06e017f72cd2dcc9
Source2: ftp://gborg.postgresql.org/pub/pgtcl/stable/libpgtcl-1.4b1.tar.gz
Source2-MD5: 13c52e546cdd80907d4d2c283034bf0d
Source2ExtractDir: postgresql-%v/src/interfaces
BuildDepends: openssl097-dev, tcltk, tcltk-dev, postgresql73-ssl-dev (>= %v),
libgnugetopt
Depends: openssl097-shlibs, postgresql73-ssl-shlibs (>= %v), tcltk, libgnugetopt-shlibs
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lpq
Conflicts: postgresql-tcl
Replaces: postgresql-tcl
PatchScript: sed 's|@PREFIX@|%p|g' < %a/postgresql-ssl-%v-%r.patch | patch -p1
ConfigureParams: --prefix=%p --docdir=%p/share/doc --mandir=%p/share/man
--enable-multibyte --enable-recode --with-CXX --without-perl --without-python
--with-openssl --with-libraries=%p/lib --with-includes=%p/include --with-tcl
--with-tclconfig=%p/lib --with-tkconfig=%p/lib --without-java --enable-odbc --with-pam
CompileScript: <<
./configure %c
(cd src/interfaces/libpgtcl; make)
(cd src/pl/tcl; make)
<<
InstallScript: <<
(cd src/bin/pgtclsh; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
(cd src/pl/tcl; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
(cd src/interfaces/libpgtcl; make install DESTDIR=%d
INSTALLSITEMAN3DIR=%i/share/man/man3)
ranlib %i/lib/*.a
<<
DocFiles: COPYRIGHT HISTORY INSTALL src/interfaces/libpgtcl/README*
src/interfaces/libpgtcl/TODO register.txt
Description: PostgreSQL TCL tools (with SSL)
License: BSD
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Homepage: http://www.postgresql.org/
Index: bundle-kde-ssl.info
===================================================================
RCS file: /cvsroot/fink/experimental/crypto/rangerrick/finkinfo/bundle-kde-ssl.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bundle-kde-ssl.info 24 May 2003 00:26:57 -0000 1.1
+++ bundle-kde-ssl.info 14 Jun 2003 23:19:30 -0000 1.2
@@ -1,7 +1,7 @@
Package: bundle-kde-ssl
Version: 3.1.2
Revision: 2
-Description: KDE convenience package: KDE 3.1 (SSL support)
+Description: KDE - convenience package: KDE 3.1 (SSL support)
Type: bundle
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
--- postgresql-ssl-7.3.2-7.info DELETED ---
--- postgresql-ssl-7.3.2-7.patch DELETED ---
--- postgresql-ssl-java-7.3.2-7.info DELETED ---
--- postgresql-ssl-libpgeasy-7.3.2-7.patch DELETED ---
--- postgresql-ssl-libpqpp-7.3.2-7.patch DELETED ---
--- postgresql-ssl-perl-7.3.2-7.info DELETED ---
--- postgresql-ssl-python-7.3.2-7.info DELETED ---
--- postgresql-ssl-tcl-7.3.2-7.info DELETED ---
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits