Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
On Wed, Oct 24, 2007, Christoph Schug wrote: OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Christoph Schug Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 24-Oct-2007 19:51:58 Branch: HEAD Handle: 2007102418515800 Modified files: openpkg-src/postgresql postgresql.spec Log: postgresql-8.2.5.tar.bz2 has been re-rolled in place by the vendor (fixes Linux build issues) Hello List! If anyone still has an old version of postgresql-8.2.5.tar.bz2 in its development environment, please dump it and fetch a new one (just to avoid that the bad tarball is being packaged once again). The bad tarball causes the build of postgresql to fail on Linux with following error: [...] | /openpkg-dev/bin/cc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -DFRONTEND -I. -I../../../src/interfaces/libpq -I../../../src/bin/pg_dump -I../../../src/include -I/openpkg-dev/include -I/openpkg-dev/include/readline -D_GNU_SOURCE -c -o psqlscan.o psqlscan.c | In file included from ../../../src/include/port.h:17, | from ../../../src/include/c.h:826, | from ../../../src/include/postgres_fe.h:21, | from psqlscan.l:40: | /usr/include/netdb.h:560: error: expected identifier or '(' before '[' token | make[3]: *** [psqlscan.o] Error 1 | make[2]: *** [all] Error 2 | make[1]: *** [all] Error 2 | make: *** [all] Error 2 | error: Bad exit status from /openpkg-dev/RPM/TMP/rpm-tmp.17869 (%build) | | | RPM build errors: | Bad exit status from /openpkg-dev/RPM/TMP/rpm-tmp.17869 (%build) I just rolled the postgresql package with a freshly fetched tarball. Size and MD5 sum of the correct tarball are ... | $ ls -l postgresql-8.2.5.tar.bz2 | -rw-r--r-- 1 cs cs 12510411 Oct 24 2007 postgresql-8.2.5.tar.bz2 | $ openssl md5 postgresql-8.2.5.tar.bz2 | MD5(postgresql-8.2.5.tar.bz2)= bb1cd309ea72f070cb964736f5755847 The bad one (in my case) looked like this ... | $ ls -l postgresql-8.2.5_bad.tar.bz2 | -rw-r--r-- 1 cs cs 12510211 Oct 24 2007 postgresql-8.2.5_bad.tar.bz2 | $ openssl md5 postgresql-8.2.5_bad.tar.bz2 | MD5(postgresql-8.2.5_bad.tar.bz2)= 4df392cdd20dac3cea4ab80251661c4a Thanks! -cs __ OpenPKG http://openpkg.org Developer Communication List openpkg-dev@openpkg.org
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 19-Mar-2004 08:16:37 Branch: HEAD Handle: 2004031907163700 Modified files: openpkg-src/postgresql postgresql.spec Log: modifying package: postgresql-7.4.2 20040309 - 20040319 Summary: RevisionChanges Path 1.93+2 -2 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.92 -r1.93 postgresql.spec --- openpkg-src/postgresql/postgresql.spec9 Mar 2004 10:38:03 - 1.92 +++ openpkg-src/postgresql/postgresql.spec19 Mar 2004 07:16:37 - 1.93 @@ -26,7 +26,7 @@ # package versions %define V_postgresql 7.4.2 %define V_libpqpp 4.0 -%define V_libpqxx 2.2.0 +%define V_libpqxx 2.2.1 %define V_pgperl 2.0.2 %define V_psqlodbc07.03.0200 @@ -41,7 +41,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20040309 +Release: 20040319 # package options %option with_cxx no @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 09-Mar-2004 11:38:04 Branch: HEAD Handle: 2004030910380300 Modified files: openpkg-src/postgresql postgresql.spec Log: upgrading package: postgresql 7.4.1 - 7.4.2 Summary: RevisionChanges Path 1.92+4 -4 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.91 -r1.92 postgresql.spec --- openpkg-src/postgresql/postgresql.spec21 Feb 2004 15:29:33 - 1.91 +++ openpkg-src/postgresql/postgresql.spec9 Mar 2004 10:38:03 - 1.92 @@ -24,7 +24,7 @@ ## # package versions -%define V_postgresql 7.4.1 +%define V_postgresql 7.4.2 %define V_libpqpp 4.0 %define V_libpqxx 2.2.0 %define V_pgperl 2.0.2 @@ -41,7 +41,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20040221 +Release: 20040309 # package options %option with_cxx no @@ -51,7 +51,7 @@ %option with_tcl no # list of sources -Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz +Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.bz2 Source1: ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-%{V_libpqpp}.tar.gz Source2: ftp://gborg.postgresql.org/pub/libpqxx/stable/libpqxx-%{V_libpqxx}.tar.gz Source3: ftp://gborg.postgresql.org/pub/pgperl/stable/pgperl-%{V_pgperl}.tar.gz @@ -94,7 +94,7 @@ url = ftp://ftp.postgresql.org/pub/source/ regex = v(\d+\.\d+(\.\d+)*)(?!beta) url = ftp://ftp.postgresql.org/pub/source/v__NEWVER__/ -regex = postgresql-(\d+\.\d+(\.\d+)*)\.tar\.gz +regex = postgresql-(\d+\.\d+(\.\d+)*)\.tar\.(?:gz|bz2) } prog postgresql:libpq++ = { version = %{V_libpqpp} @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 20-Feb-2004 13:56:37 Branch: HEAD Handle: 2004022012563700 Modified files: openpkg-src/postgresql postgresql.spec Log: modifying package: postgresql-7.4.1 20040207 - 20040220 Summary: RevisionChanges Path 1.90+10 -4 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.89 -r1.90 postgresql.spec --- openpkg-src/postgresql/postgresql.spec7 Feb 2004 17:58:05 - 1.89 +++ openpkg-src/postgresql/postgresql.spec20 Feb 2004 12:56:37 - 1.90 @@ -26,7 +26,7 @@ # package versions %define V_postgresql 7.4.1 %define V_libpqpp 4.0 -%define V_libpqxx 2.1.3 +%define V_libpqxx 2.2.0 %define V_pgperl 2.0.2 %define V_psqlodbc07.03.0200 @@ -41,7 +41,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20040207 +Release: 20040220 # package options %option with_cxx no @@ -195,6 +195,14 @@ ) || exit $? ln -s `pwd`/src/interfaces/libpq/*.h src/include/ ( cd libpqxx-%{V_libpqxx} + ( echo #!/bin/sh +echo case \\$1\ in +echo--includedir ) echo \`pwd`/../src/include\ ;; +echo--libdir ) echo \`pwd`/../src/interfaces/libpq\ ;; +echo esac + ) pg_config + chmod a+x pg_config + export PG_CONFIG=`pwd`/pg_config export CC=%{l_cc} export CXX=%{l_cxx} export CFLAGS=%{l_cflags -O} @@ -203,8 +211,6 @@ export LDFLAGS=%{l_ldflags} export LIBS=-lssl -lcrypto -lcrypt ./configure \ - --with-postgres-lib=`pwd`/../src/interfaces/libpq \ - --with-postgres-include=`pwd`/../src/include \ --disable-shared %{l_make} %{l_mflags -O} ) || exit $? @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 17-Nov-2003 10:33:19 Branch: HEAD Handle: 2003111709331900 Modified files: openpkg-src/postgresql postgresql.spec Log: fix typo Summary: RevisionChanges Path 1.81+1 -1 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.80 -r1.81 postgresql.spec --- openpkg-src/postgresql/postgresql.spec17 Nov 2003 09:06:58 - 1.80 +++ openpkg-src/postgresql/postgresql.spec17 Nov 2003 09:33:19 - 1.81 @@ -417,7 +417,7 @@ echo which is a major version upgrade. We expect a database incompatibility, echo so we strongly recommend you to recreate the existing database under echo $RPM_INSTALL_PREFIX/var/postgresql/db/ by running the following command: - echo \$ $RPM_INSTALL_PREFIX/bin/pg_dump restore + echo \$ $RPM_INSTALL_PREFIX/bin/pg_migrate restore echo If this fails for some reasons, try to restore your data manually: echo \$ $RPM_INSTALL_PREFIX/lib/openpkg/bzip2 -d -c \\ echo $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 | \\ @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Michael Schloh Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 03-Sep-2003 16:17:37 Branch: HEAD Handle: 2003090315173600 Modified files: openpkg-src/postgresql postgresql.spec Log: Minor english grammar correction. No package was rolled to reflect this change. Summary: RevisionChanges Path 1.74+1 -1 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.73 -r1.74 postgresql.spec --- openpkg-src/postgresql/postgresql.spec25 Jul 2003 18:48:28 - 1.73 +++ openpkg-src/postgresql/postgresql.spec3 Sep 2003 14:17:36 - 1.74 @@ -382,7 +382,7 @@ ( echo An initial PostgreSQL DB was created with the two standard echo databases 'template0' and 'template1'. The owner of both echo is the DB user '$l_pguser'. Its initial password is '$l_pgpass'. - echo After starting PostgreSQL you should change this as quick as + echo After starting PostgreSQL you should change this as soon as echo possible with the following command: echo \$ $RPM_INSTALL_PREFIX/bin/psql -U $l_pguser -d template1 \\ echo -c \ALTER USER $l_pguser WITH PASSWORD 'new-password'\ @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec rc.postgresql o...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Thomas Lotterer Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 23-Jul-2003 22:41:49 Branch: HEAD Handle: 2003072321414702 Modified files: openpkg-src/postgresql postgresql.spec rc.postgresql openpkg-web news.txt Log: PR#202 run-time check and related issues Summary: RevisionChanges Path 1.72+38 -38 openpkg-src/postgresql/postgresql.spec 1.13+10 -4 openpkg-src/postgresql/rc.postgresql 1.5773 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.71 -r1.72 postgresql.spec --- openpkg-src/postgresql/postgresql.spec22 Jul 2003 08:11:02 - 1.71 +++ openpkg-src/postgresql/postgresql.spec23 Jul 2003 20:41:49 - 1.72 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030722 +Release: 20030723 # package options %option with_cxx no @@ -319,38 +319,33 @@ rm -rf $RPM_BUILD_ROOT %pre -if [ $1 -gt 1 ]; then -# upgrading of installation -if [ -f $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION -a \ - -f $RPM_INSTALL_PREFIX/bin/pg_migrate ]; then -# database migration dumping hint -v_old_all=`cat $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION` -v_old_maj=`echo $v_old_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` -v_new_all=%{V_postgresql} -v_new_maj=`echo $v_new_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` -if [ .$v_old_maj != .$v_new_maj ]; then - if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 -a .$PG_MIGRATE != .ignore ]; then -( echo You are upgrading from PostgreSQL $v_old_all to PostgresSQL $v_new_all, - echo which is a major version change. We expect a database incompatibility, - echo so we strongly recommend that you backup your existing database - echo ($RPM_INSTALL_PREFIX/var/postgresql/db/) first by running: - echo \$ $RPM_INSTALL_PREFIX/bin/pg_migrate dump - echo Alternatively, if you want force this package to be installed without - echo performing a database dump, run the following command before upgrading: - echo \$ PG_MIGRATE=ignore; export PG_MIGRATE -) | %{l_rpmtool} msg -b -t error -exit 1 -fi +# before upgrade, check migration dump, save status and stop service +[ $1 -eq 2 ] || exit 0 +if [ -f $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION -a \ + -f $RPM_INSTALL_PREFIX/bin/pg_migrate ]; then +# database migration dumping hint +v_old_all=`cat $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION` +v_old_maj=`echo $v_old_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` +v_new_all=%{V_postgresql} +v_new_maj=`echo $v_new_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` +if [ .$v_old_maj != .$v_new_maj ]; then + if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 -a .$PG_MIGRATE != .ignore ]; then +( echo You are upgrading from PostgreSQL $v_old_all to PostgresSQL $v_new_all, + echo which is a major version change. We expect a database incompatibility, + echo so we strongly recommend that you backup your existing database + echo ($RPM_INSTALL_PREFIX/var/postgresql/db/) first by running: + echo \$ $RPM_INSTALL_PREFIX/bin/pg_migrate dump + echo Alternatively, if you want force this package to be installed without + echo performing a database dump, run the following command before upgrading: + echo \$ PG_MIGRATE=ignore; export PG_MIGRATE +) | %{l_rpmtool} msg -b -t error +exit 1 fi fi -rm -f $RPM_INSTALL_PREFIX/var/posgresql/RESTART /dev/null 21 || true -if [ .`$l_prefix/etc/rc postgresql status 21 | grep 'is running'` != . ]; then -echo Shutting down currently running database engine. | %{l_rpmtool} msg -b -t notice -$RPM_INSTALL_PREFIX/etc/rc postgresql stop -touch
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Michael van Elst Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 19-Jul-2003 11:25:27 Branch: HEAD Handle: 2003071910252502 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: add optional TCL support Summary: RevisionChanges Path 1.67+24 -9 openpkg-src/postgresql/postgresql.spec 1.5662 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.66 -r1.67 postgresql.spec --- openpkg-src/postgresql/postgresql.spec18 Jul 2003 11:42:37 - 1.66 +++ openpkg-src/postgresql/postgresql.spec19 Jul 2003 09:25:27 - 1.67 @@ -40,13 +40,14 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030718 +Release: 20030719 # package options %option with_cxx no %option with_perl no %option with_odbc no %option with_compat no +%option with_tcl no # list of sources Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz @@ -73,6 +74,10 @@ BuildPreReq: unixodbc PreReq: unixodbc %endif +%if %{with_tcl} == yes +BuildPreReq: tcl, tcl::with_x11 = yes, X11 +PreReq: tcl, tcl::with_x11 = yes, X11 +%endif AutoReq: no AutoReqProv: no @@ -114,8 +119,13 @@ # configure package CC=%{l_cc} \ CFLAGS=%{l_cflags -O} \ +%if %{with_tcl} == yes +CPPFLAGS=%{l_cppflags tcl} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \ +LDFLAGS=%{l_ldflags} -L`%{l_prefix}/etc/rc --query x11_libdir` \ +%else CPPFLAGS=%{l_cppflags} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \ LDFLAGS=%{l_ldflags} \ +%endif TAR=%{l_tar} \ ./configure \ --cache-file=./config.cache \ @@ -124,6 +134,11 @@ --with-openssl=%{l_prefix} \ --with-readline \ --with-zlib \ +%if %{with_tcl} == yes +--with-tcl \ +--with-tclconfig=%{l_prefix}/lib \ +--with-tkconfig=%{l_prefix}/lib \ +%endif --disable-syslog \ --disable-shared @@ -145,7 +160,7 @@ done rm -f libpq++.a ar rc libpq++.a $OBJS -) +) || exit $? ( cd libpqxx-%{V_libpqxx} export CC=%{l_cc} export CXX=%{l_cxx} @@ -159,7 +174,7 @@ --with-postgres-include=`pwd`/../src/interfaces/libpq \ --disable-shared %{l_make} %{l_mflags -O} -) +) || exit $? %endif # build Perl bindings @@ -176,7 +191,7 @@ Makefile.PL %{l_prefix}/bin/perl-openpkg install %{l_prefix}/bin/perl-openpkg epilog -) +) || exit $? %endif # build ODBC driver @@ -195,7 +210,7 @@ --with-unixodbc \ --with-odbcinst=%{l_prefix}/etc/unixodbc %{l_make} %{l_mflags -O} -) +) || exit $? %endif %install @@ -232,7 +247,7 @@ for man in *.7; do mv $man pg_$man done -) +) || exit $? # create additional directories %{l_shtool} mkdir -f -p -m 755 \ @@ -264,7 +279,7 @@ %{l_shtool} install -c -m 644 \ libpq++.a \ $RPM_BUILD_ROOT%{l_prefix}/lib/ -) +) || exit $? ( cd libpqxx-%{V_libpqxx} %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/include/pqxx @@ -274,14 +289,14 @@ %{l_shtool} install -c -m 644 \ src/.libs/libpqxx.a \ $RPM_BUILD_ROOT%{l_prefix}/lib/ -) +) || exit $? %endif # build ODBC driver %if %{with_odbc} == yes ( cd psqlodbc-%{V_psqlodbc} %{l_make} %{l_mflags} install AM_MAKEFLAGS=DESTDIR=$RPM_BUILD_ROOT -) +) || exit $? %endif # install run-command script @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.5661 -r1.5662 news.txt --- openpkg-web/news.txt 19 Jul 2003 09:16:32 - 1.5661 +++ openpkg-web/news.txt 19 Jul 2003 09:25:25 - 1.5662 @@ -1,3 +1,4 @@ +19-Jul-2003: Upgraded package: Ppostgresql-7.3.3-20030719 19-Jul-2003: Upgraded package: Ptcl-8.4.3-20030719 19-Jul-2003: Upgraded package: Popenpkg-tool-20030719-20030719
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003 at 11:50:50AM +0200, Ralf S. Engelschall wrote: ... Ah, a lot better than my quick attempt. Thanks. The question just remains: do we really want Tk stuff here, too? I mean, wouldn't it be better under with_tcl to just provide the libpgtcl.so stuff only? And, is there still any Tk/X11 stuff distributed with PostgreSQL which we also install? I think the Tk stuff should be incorporated (it's the only reason I ever do anything with tcl). There's also perl::Tk, my primary GUI scripting tool. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``I don't make jokes, I just watch the Government and report the facts...'' Will Rogers __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003, Ralf S. Engelschall wrote: Ah, a lot better than my quick attempt. Thanks. The question just remains: do we really want Tk stuff here, too? I mean, wouldn't it be better under with_tcl to just provide the libpgtcl.so stuff only? And, is there still any Tk/X11 stuff distributed with PostgreSQL which we also install? The only application of pgtcl I am aware of is pgaccess which requires Tk. I also haven't seen anybody who installs Tcl but drops Tk. -- ,eM=.a-. Michael van Elst dWWMWM - :GM==;[EMAIL PROTECTED] :WWMWMw=--. W=' cable wireless 9WWMm==-. -Wmw- CABLE WIRELESS __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
On Sat, Jul 19, 2003, Michael van Elst wrote: Ah, a lot better than my quick attempt. Thanks. The question just remains: do we really want Tk stuff here, too? I mean, wouldn't it be better under with_tcl to just provide the libpgtcl.so stuff only? And, is there still any Tk/X11 stuff distributed with PostgreSQL which we also install? The only application of pgtcl I am aware of is pgaccess which requires Tk. Wait, I think we talk of different things here. Sure, Tcl with Tk is cool. What I mean is: AFAIK pgaccess is _NOT_ distributed with PostgreSQL anymore. There is only the glue library libpgtcl and a possible pgtclsh. Neither one requires Tk, only plain Tcl. So I'm wondering why our postgresql package should require tcl, tcl::with_x11 = yes, X11 and not just tcl. AFAIK it only needs plain Tcl under both build-time and run-time. That another (to be made) pgaccess package then has to require both postgresql, postgresql::with_tcl and tcl, tcl::with_x11, X11 is clear. But this is a different thing IMHO. I also haven't seen anybody who installs Tcl but drops Tk. Expect users do ;-) But the point I made above is just about minimum required dependencies and not about usually existing relationships. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org Developer Communication List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec rc.postgresql o...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Michael van Elst Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 18-Jul-2003 13:42:38 Branch: HEAD Handle: 2003071812423601 Modified files: openpkg-src/postgresql postgresql.spec rc.postgresql openpkg-web news.txt Log: %status Summary: RevisionChanges Path 1.66+1 -1 openpkg-src/postgresql/postgresql.spec 1.9 +9 -0 openpkg-src/postgresql/rc.postgresql 1.5639 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.65 -r1.66 postgresql.spec --- openpkg-src/postgresql/postgresql.spec17 Jul 2003 15:33:06 - 1.65 +++ openpkg-src/postgresql/postgresql.spec18 Jul 2003 11:42:37 - 1.66 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030717 +Release: 20030718 # package options %option with_cxx no @@ . patch -p0 '@@ .' Index: openpkg-src/postgresql/rc.postgresql $ cvs diff -u -r1.8 -r1.9 rc.postgresql --- openpkg-src/postgresql/rc.postgresql 17 Jul 2003 21:35:00 - 1.8 +++ openpkg-src/postgresql/rc.postgresql 18 Jul 2003 11:42:37 - 1.9 @@ -21,6 +21,15 @@ postgresql_opts=-i -h $postgresql_socket_inet -k $postgresql_socket_unix postgresql_opts=$postgresql_opts $postgresql_flags +%status -p 200 -u @l_rusr@ -o +postgresql_usable=unknown +postgresql_active=no +opService postgresql enable yes \ +@l_prefix@/bin/pg_ctl status -D $postgresql_datadir /dev/null postgresql_active=yes +echo postgresql_enable=\$postgresql_enable\ +echo postgresql_usable=\$postgresql_usable\ +echo postgresql_active=\$postgresql_active\ + %start -p 200 -u @l_rusr@ opService postgresql enable yes || exit 0 @l_prefix@/bin/pg_ctl start -l $postgresql_log_file -D $postgresql_datadir -o $postgresql_opts @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.5638 -r1.5639 news.txt --- openpkg-web/news.txt 18 Jul 2003 11:24:33 - 1.5638 +++ openpkg-web/news.txt 18 Jul 2003 11:42:36 - 1.5639 @@ -1,3 +1,4 @@ +18-Jul-2003: Upgraded package: Ppostgresql-7.3.3-20030718 18-Jul-2003: Upgraded package: Popenldap-2.1.22-20030718 18-Jul-2003: Upgraded package: Pportsentry-1.1-20030718 18-Jul-2003: Upgraded package: Pircd-2.10.3p3-20030718 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec rc.postgresql o...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 16-Jul-2003 13:42:28 Branch: HEAD Handle: 2003071612422402 Modified files: openpkg-src/postgresql postgresql.spec rc.postgresql openpkg-web news.txt Log: remove %status already in advance because it is required later for something different Summary: RevisionChanges Path 1.64+1 -1 openpkg-src/postgresql/postgresql.spec 1.7 +0 -4 openpkg-src/postgresql/rc.postgresql 1.5592 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.63 -r1.64 postgresql.spec --- openpkg-src/postgresql/postgresql.spec15 Jul 2003 10:08:30 - 1.63 +++ openpkg-src/postgresql/postgresql.spec16 Jul 2003 11:42:26 - 1.64 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030715 +Release: 20030716 # package options %option with_cxx no @@ . patch -p0 '@@ .' Index: openpkg-src/postgresql/rc.postgresql $ cvs diff -u -r1.6 -r1.7 rc.postgresql --- openpkg-src/postgresql/rc.postgresql 10 Jul 2003 07:50:55 - 1.6 +++ openpkg-src/postgresql/rc.postgresql 16 Jul 2003 11:42:26 - 1.7 @@ -21,10 +21,6 @@ postgresql_opts=-i -h $postgresql_socket_inet -k $postgresql_socket_unix postgresql_opts=$postgresql_opts $postgresql_flags -%status -u @l_rusr@ -opServiceEnabled postgresql || exit 0 -@l_prefix@/bin/pg_ctl status -D $postgresql_datadir - %start -p 200 -u @l_rusr@ opServiceEnabled postgresql || exit 0 @l_prefix@/bin/pg_ctl start -l $postgresql_log_file -D $postgresql_datadir -o $postgresql_opts @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.5591 -r1.5592 news.txt --- openpkg-web/news.txt 16 Jul 2003 10:58:54 - 1.5591 +++ openpkg-web/news.txt 16 Jul 2003 11:42:24 - 1.5592 @@ -1,3 +1,4 @@ +16-Jul-2003: Upgraded package: Ppostgresql-7.3.3-20030716 16-Jul-2003: New package: Pyodl-1.31.18-20030716 16-Jul-2003: Upgraded package: Ppython-2.2.3-20030716 16-Jul-2003: New package: Pzoem-03.188-20030716 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Michael van Elst Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 07-Jul-2003 15:02:53 Branch: HEAD Handle: 2003070714025003 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: add libraries to PreReq Summary: RevisionChanges Path 1.60+4 -2 openpkg-src/postgresql/postgresql.spec 1.5398 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.59 -r1.60 postgresql.spec --- openpkg-src/postgresql/postgresql.spec1 Jul 2003 15:36:59 - 1.59 +++ openpkg-src/postgresql/postgresql.spec7 Jul 2003 13:02:53 - 1.60 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030701 +Release: 20030707 # package options %option with_cxx no @@ -61,8 +61,10 @@ # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} -BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, readline, flex, bison, zlib, openssl, getopt +BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, flex, bison PreReq: OpenPKG, openpkg = 20030103 +BuildPreReq: readline, zlib, openssl, getopt +PreReq: readline, zlib, openssl, getopt %if %{with_perl} == yes BuildPreReq: perl, perl-openpkg PreReq: perl, perl-openpkg @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.5397 -r1.5398 news.txt --- openpkg-web/news.txt 7 Jul 2003 12:55:18 - 1.5397 +++ openpkg-web/news.txt 7 Jul 2003 13:02:50 - 1.5398 @@ -1,3 +1,4 @@ +07-Jul-2003: Upgraded package: Ppostgresql-7.3.3-20030707 07-Jul-2003: Upgraded package: Ppostfix-2.0.13-20030707 07-Jul-2003: Upgraded package: Ppopt-1.7-20030707 07-Jul-2003: Upgraded package: Porbit-0.5.17-20030707 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 07-Jun-2003 17:05:51 Branch: HEAD Handle: 2003060716054901 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: provide all C headers required for server-side extensions; do not display the register screen during build; move clusterdb to pg_clusterdb, too. Summary: RevisionChanges Path 1.57+5 -3 openpkg-src/postgresql/postgresql.spec 1.4761 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.56 -r1.57 postgresql.spec --- openpkg-src/postgresql/postgresql.spec25 May 2003 10:16:23 - 1.56 +++ openpkg-src/postgresql/postgresql.spec7 Jun 2003 15:05:50 - 1.57 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030525 +Release: 20030607 # package options %option with_cxx no @@ -116,6 +116,7 @@ ./configure \ --cache-file=./config.cache \ --prefix=%{l_prefix} \ +--includedir=%{l_prefix}/include/postgresql \ --with-openssl=%{l_prefix} \ --with-readline \ --with-zlib \ @@ -199,7 +200,8 @@ %endif # perform standard installation procedure -%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT +cp /dev/null register.txt +%{l_make} %{l_mflags} install install-all-headers DESTDIR=$RPM_BUILD_ROOT # strip down installation rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc @@ -210,7 +212,7 @@ # namespace adjustments to installation for prog in \ -createdb createlang createuser dropdb droplang \ +createdb createlang createuser dropdb droplang clusterdb \ dropuser initdb initlocation ipcclean vacuumdb; do %if %{with_compat} == yes cmd=ln @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.4760 -r1.4761 news.txt --- openpkg-web/news.txt 7 Jun 2003 06:48:19 - 1.4760 +++ openpkg-web/news.txt 7 Jun 2003 15:05:49 - 1.4761 @@ -1,3 +1,4 @@ +07-Jun-2003: Upgraded package: Ppostgresql-7.3.3-20030607 07-Jun-2003: Upgraded package: Pimagemagick-5.5.7.9-20030607 07-Jun-2003: Upgraded package: Pperl-net-20030607-20030607 07-Jun-2003: Upgraded package: Pdsh-0.23.9-20030607 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Michael van Elst Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 30-Mar-2003 13:21:38 Branch: HEAD Handle: 2003033012213701 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: hardwire tar path Summary: RevisionChanges Path 1.54+2 -1 openpkg-src/postgresql/postgresql.spec 1.3889 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.53 -r1.54 postgresql.spec --- openpkg-src/postgresql/postgresql.spec7 Mar 2003 11:35:32 - 1.53 +++ openpkg-src/postgresql/postgresql.spec30 Mar 2003 11:21:38 - 1.54 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030307 +Release: 20030330 # package options %option with_cxx no @@ -109,6 +109,7 @@ CFLAGS=%{l_cflags -O} \ CPPFLAGS=%{l_cppflags} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \ LDFLAGS=%{l_ldflags} \ +TAR=%{l_tar} \ ./configure \ --cache-file=./config.cache \ --prefix=%{l_prefix} \ @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3888 -r1.3889 news.txt --- openpkg-web/news.txt 30 Mar 2003 10:42:25 - 1.3888 +++ openpkg-web/news.txt 30 Mar 2003 11:21:37 - 1.3889 @@ -1,3 +1,4 @@ +30-Mar-2003: Upgraded package: Ppostgresql-7.3.2-20030330 30-Mar-2003: Upgraded package: Psendmail-8.12.9-20030330 30-Mar-2003: Upgraded package: Popenpkg-tool-20030330-20030330 29-Mar-2003: Upgraded package: Psendmail-8.12.9-20030329 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 07-Mar-2003 12:35:33 Branch: HEAD Handle: 2003030711352705 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: Ok, now we have GNU getopt officially, so let it be used all the time Summary: RevisionChanges Path 1.53+2 -8 openpkg-src/postgresql/postgresql.spec 1.3600 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.52 -r1.53 postgresql.spec --- openpkg-src/postgresql/postgresql.spec6 Mar 2003 06:06:05 - 1.52 +++ openpkg-src/postgresql/postgresql.spec7 Mar 2003 11:35:32 - 1.53 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030306 +Release: 20030307 # package options %option with_cxx no @@ -60,7 +60,7 @@ # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} -BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, readline, flex, bison, zlib, openssl +BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, readline, flex, bison, zlib, openssl, getopt PreReq: OpenPKG, openpkg = 20030103 %if %{with_perl} == yes BuildPreReq: perl, perl-openpkg @@ -104,12 +104,6 @@ src/backend/utils/mb/conversion_procs/proc.mk %build -# avoid nonstandard system getopt -( echo ac_cv_func_getopt_long=no - echo ac_cv_header_getopt_h=no - echo ac_cv_search_getopt_long= -) config.cache - # configure package CC=%{l_cc} \ CFLAGS=%{l_cflags -O} \ @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3599 -r1.3600 news.txt --- openpkg-web/news.txt 7 Mar 2003 11:07:21 - 1.3599 +++ openpkg-web/news.txt 7 Mar 2003 11:35:27 - 1.3600 @@ -1,3 +1,4 @@ +07-Mar-2003: Upgraded package: Ppostgresql-7.3.2-20030307 07-Mar-2003: New package: Pnetrik-1.5.0-20030307 07-Mar-2003: New package: Pgetopt-20030307-20030307 07-Mar-2003: Upgraded package: Pperl-util-20030307-20030307 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 06-Mar-2003 07:06:07 Branch: HEAD Handle: 2003030606060401 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: remove superfluous semicolons; style fixes; add ./ to make sure it is correctly sourced on all /bin/sh Summary: RevisionChanges Path 1.52+5 -5 openpkg-src/postgresql/postgresql.spec 1.3583 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.51 -r1.52 postgresql.spec --- openpkg-src/postgresql/postgresql.spec5 Mar 2003 23:02:20 - 1.51 +++ openpkg-src/postgresql/postgresql.spec6 Mar 2003 06:06:05 - 1.52 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030305 +Release: 20030306 # package options %option with_cxx no @@ -105,9 +105,9 @@ %build # avoid nonstandard system getopt -( echo ac_cv_func_getopt_long=no ; - echo ac_cv_header_getopt_h=no ; - echo ac_cv_search_getopt_long= +( echo ac_cv_func_getopt_long=no + echo ac_cv_header_getopt_h=no + echo ac_cv_search_getopt_long= ) config.cache # configure package @@ -116,7 +116,7 @@ CPPFLAGS=%{l_cppflags} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \ LDFLAGS=%{l_ldflags} \ ./configure \ ---cache-file=config.cache \ +--cache-file=./config.cache \ --prefix=%{l_prefix} \ --with-openssl=%{l_prefix} \ --with-readline \ @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3582 -r1.3583 news.txt --- openpkg-web/news.txt 5 Mar 2003 23:02:17 - 1.3582 +++ openpkg-web/news.txt 6 Mar 2003 06:06:04 - 1.3583 @@ -1,3 +1,4 @@ +06-Mar-2003: Upgraded package: Ppostgresql-7.3.2-20030306 06-Mar-2003: Upgraded package: Ppostgresql-7.3.2-20030305 05-Mar-2003: Upgraded package: Prdiff-backup-0.11.3-20030305 05-Mar-2003: Upgraded package: Pas-gui-0.6.23-20030305 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Michael Schloh Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 27-Feb-2003 13:36:33 Branch: HEAD Handle: 2003022712363300 Modified files: openpkg-src/postgresql postgresql.spec Log: Updating to postgresql:V_libpqxx version 1.4.5 Summary: RevisionChanges Path 1.49+2 -2 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.48 -r1.49 postgresql.spec --- openpkg-src/postgresql/postgresql.spec22 Feb 2003 10:20:28 - 1.48 +++ openpkg-src/postgresql/postgresql.spec27 Feb 2003 12:36:33 - 1.49 @@ -26,7 +26,7 @@ # package versions %define V_postgresql 7.3.2 %define V_libpqpp 4.0 -%define V_libpqxx 1.4.2 +%define V_libpqxx 1.4.5 %define V_pgperl 2.0.2 %define V_psqlodbc7.2.5 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030222 +Release: 20030227 # package options %option with_cxx no @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 16-Feb-2003 17:22:05 Branch: HEAD Handle: 2003021616220301 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: Fix building under Solaris by disabling the old DES support in OpenSSL (which conflicts with the vendor stuff in /usr/include/crypt.h) Submitted by: Martin Andrews [EMAIL PROTECTED] Summary: RevisionChanges Path 1.47+2 -2 openpkg-src/postgresql/postgresql.spec 1.3320 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.46 -r1.47 postgresql.spec --- openpkg-src/postgresql/postgresql.spec14 Feb 2003 08:09:52 - 1.46 +++ openpkg-src/postgresql/postgresql.spec16 Feb 2003 16:22:04 - 1.47 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030214 +Release: 20030216 # package options %option with_cxx no @@ -107,7 +107,7 @@ # configure package CC=%{l_cc} \ CFLAGS=%{l_cflags -O} \ -CPPFLAGS=%{l_cppflags} \ +CPPFLAGS=%{l_cppflags} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \ LDFLAGS=%{l_ldflags} \ ./configure \ --prefix=%{l_prefix} \ @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3319 -r1.3320 news.txt --- openpkg-web/news.txt 16 Feb 2003 15:48:32 - 1.3319 +++ openpkg-web/news.txt 16 Feb 2003 16:22:03 - 1.3320 @@ -1,3 +1,4 @@ +16-Feb-2003: Upgraded package: Ppostgresql-7.3.2-20030216 16-Feb-2003: Upgraded package: Pless-381-20030216 16-Feb-2003: Upgraded package: Ptetex-2.0.1-20030216 16-Feb-2003: Upgraded package: Pncurses-5.3.20030215-20030216 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 14-Feb-2003 09:09:53 Branch: HEAD Handle: 2003021408095101 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: this line should have gone at all Summary: RevisionChanges Path 1.46+1 -2 openpkg-src/postgresql/postgresql.spec 1.3299 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.45 -r1.46 postgresql.spec --- openpkg-src/postgresql/postgresql.spec13 Feb 2003 19:56:58 - 1.45 +++ openpkg-src/postgresql/postgresql.spec14 Feb 2003 08:09:52 - 1.46 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030213 +Release: 20030214 # package options %option with_cxx no @@ -202,7 +202,6 @@ rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgaccess.1 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgtclsh.1 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgtksh.1 -#rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.so* # namespace adjustments to installation for prog in \ @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3298 -r1.3299 news.txt --- openpkg-web/news.txt 13 Feb 2003 19:56:57 - 1.3298 +++ openpkg-web/news.txt 14 Feb 2003 08:09:51 - 1.3299 @@ -1,3 +1,4 @@ +14-Feb-2003: Upgraded package: Ppostgresql-7.3.2-20030214 13-Feb-2003: Upgraded package: Ppostgresql-7.3.2-20030213 13-Feb-2003: Upgraded package: Pcurl-7.10.3-20030213 13-Feb-2003: Upgraded package: Pfsl-1.0.8-20030213 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Peter Smej Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 04-Feb-2003 17:46:42 Branch: HEAD Handle: 2003020416463902 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: upgrading package: postgresql 7.3.1 - 7.3.2 Summary: RevisionChanges Path 1.39+4 -3 openpkg-src/postgresql/postgresql.spec 1.3191 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.38 -r1.39 postgresql.spec --- openpkg-src/postgresql/postgresql.spec1 Feb 2003 11:49:19 - 1.38 +++ openpkg-src/postgresql/postgresql.spec4 Feb 2003 16:46:41 - 1.39 @@ -24,7 +24,7 @@ ## # package versions -%define V_postgresql 7.3.1 +%define V_postgresql 7.3.2 %define V_libpqpp 4.0 %define V_libpqxx 1.3.6 %define V_pgperl 2.0.2 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030201 +Release: 20030204 # package options %option with_cxx no @@ -147,7 +147,8 @@ --with-postgres-lib=`pwd`/../src/interfaces/libpq \ --with-postgres-include=`pwd`/../src/interfaces/libpq \ --disable-shared - %{l_make} %{l_mflags -O} + #%{l_make} %{l_mflags -O} + /cw/bin/gmake %{l_mflags -O} ) %endif @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3190 -r1.3191 news.txt --- openpkg-web/news.txt 4 Feb 2003 15:15:40 - 1.3190 +++ openpkg-web/news.txt 4 Feb 2003 16:46:39 - 1.3191 @@ -1,3 +1,4 @@ +04-Feb-2003: Upgraded package: Ppostgresql-7.3.2-20030204 04-Feb-2003: Upgraded package: Plmtp2nntp-1.2a7-20030204 04-Feb-2003: Upgraded package: Pas-gui-0.6.10-20030204 04-Feb-2003: Upgraded package: Pvim-6.1.318-20030204 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 04-Feb-2003 18:27:40 Branch: HEAD Handle: 2003020417274000 Modified files: openpkg-src/postgresql postgresql.spec Log: flag config files as such Summary: RevisionChanges Path 1.40+2 -1 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.39 -r1.40 postgresql.spec --- openpkg-src/postgresql/postgresql.spec4 Feb 2003 16:46:41 - 1.39 +++ openpkg-src/postgresql/postgresql.spec4 Feb 2003 17:27:40 - 1.40 @@ -277,7 +277,8 @@ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%attr(700,%{l_rusr},%{l_rgrp}) %dir %{l_prefix}/var/postgresql/db' \ -'%attr(755,%{l_rusr},%{l_rgrp}) %dir %{l_prefix}/var/postgresql/run' +'%attr(755,%{l_rusr},%{l_rgrp}) %dir %{l_prefix}/var/postgresql/run' \ +'%config %{l_prefix}/var/postgresql/db/*.conf' %files -f files @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 30-Jan-2003 17:36:00 Branch: HEAD Handle: 2003013016355801 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: try to fix Pg loading problems Summary: RevisionChanges Path 1.37+2 -1 openpkg-src/postgresql/postgresql.spec 1.3107 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.36 -r1.37 postgresql.spec --- openpkg-src/postgresql/postgresql.spec28 Jan 2003 15:46:04 - 1.36 +++ openpkg-src/postgresql/postgresql.spec30 Jan 2003 16:35:59 - 1.37 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030128 +Release: 20030130 # package options %option with_cxx no @@ -161,6 +161,7 @@ %{l_shtool} subst \ -e 's;-I$POSTGRES_INCLUDE;-I../src/interfaces/libpq -I../src/include;' \ -e 's;-L$POSTGRES_LIB;-L../src/interfaces/libpq;' \ + -e 's;-lpq;-lpq %{l_ldflags} -lssl -lcrypto -lcrypt;' \ Makefile.PL %{l_prefix}/bin/perl-openpkg install %{l_prefix}/bin/perl-openpkg epilog @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3106 -r1.3107 news.txt --- openpkg-web/news.txt 30 Jan 2003 16:10:16 - 1.3106 +++ openpkg-web/news.txt 30 Jan 2003 16:35:58 - 1.3107 @@ -1,3 +1,4 @@ +30-Jan-2003: Upgraded package: Ppostgresql-7.3.1-20030130 30-Jan-2003: Upgraded package: Pperl-comp-20030130-20030130 30-Jan-2003: Upgraded package: Pmtr-0.52-20030130 30-Jan-2003: New package: Pmtr-0.52-20030130 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 28-Jan-2003 16:46:05 Branch: HEAD Handle: 2003012815460301 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: requires perl-openpkg now Summary: RevisionChanges Path 1.36+3 -3 openpkg-src/postgresql/postgresql.spec 1.3080 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.35 -r1.36 postgresql.spec --- openpkg-src/postgresql/postgresql.spec24 Jan 2003 19:30:09 - 1.35 +++ openpkg-src/postgresql/postgresql.spec28 Jan 2003 15:46:04 - 1.36 @@ -40,7 +40,7 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20030124 +Release: 20030128 # package options %option with_cxx no @@ -62,8 +62,8 @@ BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, readline, flex, bison, zlib, openssl PreReq: OpenPKG, openpkg = 20030103 %if %{with_perl} == yes -BuildPreReq: perl -PreReq: perl +BuildPreReq: perl, perl-openpkg +PreReq: perl, perl-openpkg %endif %if %{with_odbc} == yes BuildPreReq: unixodbc @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.3079 -r1.3080 news.txt --- openpkg-web/news.txt 28 Jan 2003 14:03:57 - 1.3079 +++ openpkg-web/news.txt 28 Jan 2003 15:46:03 - 1.3080 @@ -1,3 +1,4 @@ +28-Jan-2003: Upgraded package: Ppostgresql-7.3.1-20030128 28-Jan-2003: Upgraded package: Psa-1.0.4-20030128 28-Jan-2003: Upgraded package: Plesstif-0.93.36-20030128 28-Jan-2003: New package: Plesstif-0.93.36-20030128 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 24-Jan-2003 17:17:44 Branch: HEAD Handle: 2003012416174300 Modified files: openpkg-src/postgresql postgresql.spec Log: fix updating scripts Summary: RevisionChanges Path 1.34+5 -6 openpkg-src/postgresql/postgresql.spec patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.33 -r1.34 postgresql.spec --- openpkg-src/postgresql/postgresql.spec24 Jan 2003 14:34:39 - 1.33 +++ openpkg-src/postgresql/postgresql.spec24 Jan 2003 16:17:43 - 1.34 @@ -282,15 +282,15 @@ rm -rf $RPM_BUILD_ROOT %pre -if [ $1 -eq 1 ]; then -# initial installation +if [ $1 -gt 1 ]; then +# upgrading of installation if [ -f $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION -a \ -f $RPM_INSTALL_PREFIX/bin/pg_migrate ]; then # database migration dumping hint v_old_all=`cat $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION` v_old_maj=`echo $v_old_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` v_new_all=%{V_postgresql} -v_new_maj=`echo $v_new_maj | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` +v_new_maj=`echo $v_new_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` if [ .$v_old_maj != .$v_new_maj ]; then if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 -a .$PG_MIGRATE != .ignore ]; then ( echo You are upgrading from PostgreSQL $v_old_all to PostgresSQL $v_new_all, @@ -306,8 +306,6 @@ fi fi fi -elif [ $1 -gt 1 ]; then -# upgrading of installation rm -f $RPM_INSTALL_PREFIX/var/posgresql/RESTART /dev/null 21 || true if [ .`$l_prefix/etc/rc postgresql status 21 | grep 'is running'` != . ]; then echo Shutting down currently running database engine. | %{l_rpmtool} msg -b -t notice @@ -360,6 +358,7 @@ ) $RPM_INSTALL_PREFIX/bin/odbcinst -i -d -r %endif elif [ $1 -gt 1 ]; then +# upgrading of installation if [ -f $RPM_INSTALL_PREFIX/var/posgresql/RESTART ]; then echo Starting database engine again. | %{l_rpmtool} msg -b -t notice $RPM_INSTALL_PREFIX/etc/rc postgresql start @@ -371,7 +370,7 @@ v_old_all=`cat $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION` v_old_maj=`echo $v_old_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` v_new_all=%{V_postgresql} -v_new_maj=`echo $v_new_maj | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` +v_new_maj=`echo $v_new_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` if [ .$v_old_maj != .$v_new_maj ]; then ( echo You upgraded from PostgreSQL $v_old_all to PostgresSQL $v_new_all, echo which is a major version upgrade. We expect a database incompatibility, @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec openpkg-web/ ne...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 03-Jan-2003 12:35:27 Branch: HEAD Handle: 2003010311352601 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: upgrade to new %option world order Summary: RevisionChanges Path 1.31+9 -11 openpkg-src/postgresql/postgresql.spec 1.2529 +1 -0 openpkg-web/news.txt patch -p0 '@@ .' Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.30 -r1.31 postgresql.spec --- openpkg-src/postgresql/postgresql.spec1 Jan 2003 11:00:31 - 1.30 +++ openpkg-src/postgresql/postgresql.spec3 Jan 2003 11:35:27 - 1.31 @@ -27,12 +27,6 @@ %define V_postgresql 7.3.1 %define V_libpqxx 4.0 -# package options -%option with_openssl no -%option with_odbc no -%option with_perl no -%option with_tcl no - # package information Name: postgresql Summary: PostgreSQL Database @@ -43,7 +37,13 @@ Group:Database License: GPL Version: %{V_postgresql} -Release: 20021230 +Release: 20030103 + +# package options +%option with_openssl no +%option with_odbc no +%option with_perl no +%option with_tcl no # list of sources Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz @@ -54,8 +54,8 @@ # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} -BuildPreReq: OpenPKG, openpkg = 20021230, make, gcc, readline, flex, bison, zlib -PreReq: OpenPKG, openpkg = 20021230 +BuildPreReq: OpenPKG, openpkg = 20030103, make, gcc, readline, flex, bison, zlib +PreReq: OpenPKG, openpkg = 20030103 %if %{with_openssl} == yes BuildPreReq: openssl %endif @@ -79,8 +79,6 @@ almost all SQL constructs, including subselects, transactions, and user-defined types and functions. It is the most advanced open-source database available anywhere. - -%options -p12 %prep %setup0 -q @@ . patch -p0 '@@ .' Index: openpkg-web/news.txt $ cvs diff -u -r1.2528 -r1.2529 news.txt --- openpkg-web/news.txt 3 Jan 2003 11:34:13 - 1.2528 +++ openpkg-web/news.txt 3 Jan 2003 11:35:26 - 1.2529 @@ -1,3 +1,4 @@ +03-Jan-2003: New package: Ppostgresql-7.3.1-20030103 03-Jan-2003: New package: Ppostfix-2.0.0.2-20030103 03-Jan-2003: New package: Pperl-xml-20030103-20030103 03-Jan-2003: New package: Pperl-dbi-20030103-20030103 @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 19-Dec-2002 13:54:08 Branch: HEAD Handle: 2002121912540700 Modified files: openpkg-src/postgresql postgresql.spec Log: added support for libpq++ Summary: RevisionChanges Path 1.23+42 -6 openpkg-src/postgresql/postgresql.spec Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.22 -r1.23 postgresql.spec --- openpkg-src/postgresql/postgresql.spec18 Dec 2002 16:09:40 - 1.22 +++ openpkg-src/postgresql/postgresql.spec19 Dec 2002 12:54:07 - 1.23 @@ -37,6 +37,9 @@ %define with_tcl no %endif +# package component versions +%define V_libpqxx 4.0 + # package information Name: postgresql Summary: PostgreSQL Database @@ -47,12 +50,13 @@ Group:Database License: GPL Version: 7.3 -Release: 20021218 +Release: 20021219 # list of sources Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz -Source1: rc.postgresql -Source2: pg_migrate +Source1: ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-%{V_libpqxx}.tar.gz +Source2: rc.postgresql +Source3: pg_migrate # build information Prefix: %{l_prefix} @@ -90,13 +94,14 @@ --define 'with_tcl %{with_tcl}' %prep -%setup -q +%setup0 -q +%setup1 -q -T -D -a 1 %{l_shtool} subst \ -e 's;\(#define.*DEFAULT_PGSOCKET_DIR[^]*\)/tmp\(\);\1%{l_prefix}/var/postgresql/run\2;' \ src/include/pg_config.h.in %build -#configure package +# configure package CC=%{l_cc}; export CC CFLAGS=%{l_cflags -O}; export CFLAGS CPPFLAGS=%{l_cppflags}; export CPPFLAGS @@ -126,9 +131,22 @@ --without-CXX \ --disable-syslog -#build package +# build package %{l_make} %{l_mflags -O} +# build libpq++ (C++ bindings) +( cd libpq++-%{V_libpqxx} + CXX=%{l_cxx} + CFLAGS=%{l_cflags -O} + CPPFLAGS=-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT= -I. -I../src/interfaces -I../src/interfaces/libpq %{l_cppflags} + LDFLAGS=%{l_ldflags} + OBJS=pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o + for o in $OBJS; do + $CXX $CFLAGS $CPPFLAGS $LDFLAGS -c -o $o `basename $o .o`.cc + done + ar r libpq++.a $OBJS +) + %install rm -rf $RPM_BUILD_ROOT @@ -178,6 +196,24 @@ -e 's;@l_rgrp@;%{l_rgrp};g' \ %{SOURCE pg_migrate} \ $RPM_BUILD_ROOT%{l_prefix}/bin/ + +# install libpq++ (C++ bindings) +( cd libpq++-%{V_libpqxx} + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/include/libpq++ + %{l_shtool} install -c -m 644 \ + libpq++.h \ + pgconnection.h \ + pgdatabase.h \ + pgtransdb.h \ + pgcursordb.h \ + pglobject.h \ + $RPM_BUILD_ROOT%{l_prefix}/include/libpq++/ + %{l_shtool} install -c -m 644 \ + libpq++.a \ + $RPM_BUILD_ROOT%{l_prefix}/lib/ + +) # install run-command script %{l_shtool} mkdir -f -p -m 755 \ __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec openpkg-web news...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src, openpkg-web Date: 19-Dec-2002 14:37:55 Branch: HEAD Handle: 2002121913375401 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: - be consistent with other packages: if we have V_xxx, then for all parts - be consistent with (most) other packages: first versions, then options - split over-sized CPPLINE line - make build loop even more portable by using sed(1) instead of basename(1) - be more portable and use ar commands rc plus an rm before - remove extra blank line Summary: RevisionChanges Path 1.24+15 -17 openpkg-src/postgresql/postgresql.spec 1.2340 +1 -0 openpkg-web/news.txt Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.23 -r1.24 postgresql.spec --- openpkg-src/postgresql/postgresql.spec19 Dec 2002 12:54:07 - 1.23 +++ openpkg-src/postgresql/postgresql.spec19 Dec 2002 13:37:55 - 1.24 @@ -23,6 +23,10 @@ ## SUCH DAMAGE. ## +# package versions +%define V_postgresql 7.3 +%define V_libpqxx 4.0 + # package options %ifndef with_openssl %define with_openssl no @@ -37,9 +41,6 @@ %define with_tcl no %endif -# package component versions -%define V_libpqxx 4.0 - # package information Name: postgresql Summary: PostgreSQL Database @@ -49,11 +50,11 @@ Distribution: OpenPKG [BASE] Group:Database License: GPL -Version: 7.3 +Version: %{V_postgresql} Release: 20021219 # list of sources -Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz +Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz Source1: ftp://gborg.postgresql.org/pub/libpqpp/stable/libpq++-%{V_libpqxx}.tar.gz Source2: rc.postgresql Source3: pg_migrate @@ -138,13 +139,16 @@ ( cd libpq++-%{V_libpqxx} CXX=%{l_cxx} CFLAGS=%{l_cflags -O} - CPPFLAGS=-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT= -I. -I../src/interfaces -I../src/interfaces/libpq %{l_cppflags} + CPPFLAGS=-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT= + CPPFLAGS=$CPPFLAGS -I. -I../src/interfaces -I../src/interfaces/libpq + CPPFLAGS=$CPPFLAGS %{l_cppflags} LDFLAGS=%{l_ldflags} OBJS=pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o for o in $OBJS; do - $CXX $CFLAGS $CPPFLAGS $LDFLAGS -c -o $o `basename $o .o`.cc + $CXX $CFLAGS $CPPFLAGS $LDFLAGS -c -o $o `echo $o | sed -e 's;\.o$;.cc;'` done - ar r libpq++.a $OBJS + rm -f libpq++.a + ar rc libpq++.a $OBJS ) %install @@ -202,17 +206,11 @@ %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/include/libpq++ %{l_shtool} install -c -m 644 \ - libpq++.h \ - pgconnection.h \ - pgdatabase.h \ - pgtransdb.h \ - pgcursordb.h \ - pglobject.h \ + libpq++.h pgconnection.h pgdatabase.h pgtransdb.h pgcursordb.h pglobject.h \ $RPM_BUILD_ROOT%{l_prefix}/include/libpq++/ %{l_shtool} install -c -m 644 \ libpq++.a \ $RPM_BUILD_ROOT%{l_prefix}/lib/ - ) # install run-command script @@ -244,7 +242,7 @@ # database migration dumping hint v_old_all=`cat $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION` v_old_maj=`echo $v_old_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` -v_new_all=%{version} +v_new_all=%{V_postgresql} v_new_maj=`echo $v_new_maj | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` if [ .$v_old_maj != .$v_new_maj ]; then if [ ! -f $RPM_INSTALL_PREFIX/var/postgresql/db.dump.sql.bz2 -a .$PG_MIGRATE != .ignore ]; then @@ -326,7 +324,7 @@ # database migration restoring hint v_old_all=`cat $RPM_INSTALL_PREFIX/var/postgresql/db/PG_VERSION` v_old_maj=`echo $v_old_all | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` -v_new_all=%{version} +v_new_all=%{V_postgresql} v_new_maj=`echo $v_new_maj | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'` if [ .$v_old_maj !=
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 19-Dec-2002 15:36:36 Branch: HEAD Handle: 2002121914363600 Modified files: openpkg-src/postgresql postgresql.spec Log: - mind the dependencies Summary: RevisionChanges Path 1.25+1 -1 openpkg-src/postgresql/postgresql.spec Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.24 -r1.25 postgresql.spec --- openpkg-src/postgresql/postgresql.spec19 Dec 2002 13:37:55 - 1.24 +++ openpkg-src/postgresql/postgresql.spec19 Dec 2002 14:36:36 - 1.25 @@ -62,7 +62,7 @@ # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} -BuildPreReq: OpenPKG, openpkg = 20020416, make, gcc, readline, flex, bison +BuildPreReq: OpenPKG, openpkg = 20020416, make, gcc, readline, flex, bison, zlib PreReq: OpenPKG, openpkg = 20020416 %if %{with_openssl} == yes BuildPreReq: openssl __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 19-Dec-2002 16:51:54 Branch: HEAD Handle: 2002121915515300 Modified files: openpkg-src/postgresql postgresql.spec Log: - be consistent over all platforms: fixed man page installation - libpq++ now build on Solaris and FreeBSD (build environment seems to be a little different on each platform) Summary: RevisionChanges Path 1.26+8 -1 openpkg-src/postgresql/postgresql.spec Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.25 -r1.26 postgresql.spec --- openpkg-src/postgresql/postgresql.spec19 Dec 2002 14:36:36 - 1.25 +++ openpkg-src/postgresql/postgresql.spec19 Dec 2002 15:51:53 - 1.26 @@ -100,6 +100,13 @@ %{l_shtool} subst \ -e 's;\(#define.*DEFAULT_PGSOCKET_DIR[^]*\)/tmp\(\);\1%{l_prefix}/var/postgresql/run\2;' \ src/include/pg_config.h.in +case %{l_target} in +*-solaris* ) +%{l_shtool} subst \ +-e 's;^\(sqlmansect *=\).*$;\1 7;' \ +src/makefiles/Makefile.solaris +;; +esac %build # configure package @@ -141,7 +148,7 @@ CFLAGS=%{l_cflags -O} CPPFLAGS=-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT= CPPFLAGS=$CPPFLAGS -I. -I../src/interfaces -I../src/interfaces/libpq - CPPFLAGS=$CPPFLAGS %{l_cppflags} + CPPFLAGS=$CPPFLAGS -I../src/include %{l_cppflags} LDFLAGS=%{l_ldflags} OBJS=pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o for o in $OBJS; do __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec openpkg-web news...
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-web, openpkg-src Date: 18-Dec-2002 17:09:40 Branch: HEAD Handle: 2002121816093901 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: remove library DSOs, but keep other DSOs Summary: RevisionChanges Path 1.22+2 -1 openpkg-src/postgresql/postgresql.spec 1.2322 +1 -0 openpkg-web/news.txt Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.21 -r1.22 postgresql.spec --- openpkg-src/postgresql/postgresql.spec7 Dec 2002 15:51:04 - 1.21 +++ openpkg-src/postgresql/postgresql.spec18 Dec 2002 16:09:40 - 1.22 @@ -47,7 +47,7 @@ Group:Database License: GPL Version: 7.3 -Release: 20021207 +Release: 20021218 # list of sources Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz @@ -141,6 +141,7 @@ rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgaccess.1 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgtclsh.1 rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgtksh.1 +rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.so* # namespace adjustments to installation for prog in \ Index: openpkg-web/news.txt $ cvs diff -u -r1.2321 -r1.2322 news.txt --- openpkg-web/news.txt 18 Dec 2002 15:55:16 - 1.2321 +++ openpkg-web/news.txt 18 Dec 2002 16:09:39 - 1.2322 @@ -1,3 +1,4 @@ +18-Dec-2002: Upgraded package: Ppostgresql-7.3-20021218 18-Dec-2002: Upgraded package: Pas-gui-0.5.8-20021218 18-Dec-2002: Upgraded package: Popenldap-2.1.9-20021218 18-Dec-2002: Upgraded package: Pas-gui-0.5.7-20021218 __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec
OpenPKG CVS Repository http://cvs.openpkg.org/ Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 07-Dec-2002 16:51:05 Branch: HEAD Handle: 2002120715510400 Modified files: openpkg-src/postgresql postgresql.spec Log: 7.3 changed the syntax: another 'user' field is required Summary: RevisionChanges Path 1.21+2 -2 openpkg-src/postgresql/postgresql.spec Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.20 -r1.21 postgresql.spec --- openpkg-src/postgresql/postgresql.spec7 Dec 2002 11:44:39 - 1.20 +++ openpkg-src/postgresql/postgresql.spec7 Dec 2002 15:51:04 - 1.21 @@ -253,8 +253,8 @@ sed -e 's;^\([^#]\);# \1;' -e 's;^$;#;' echo echo # OpenPKG PostgreSQL default access policy - echo local all md5 - echo host all 127.0.0.1 255.255.255.255 md5 + echo local all all md5 + echo host all all 127.0.0.1 255.255.255.255 md5 echo ) $RPM_INSTALL_PREFIX/var/postgresql/db/pg_hba.conf rm -f $RPM_INSTALL_PREFIX/var/postgresql/db/pg_hba.conf.old __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]
[CVS] OpenPKG: openpkg-src/postgresql postgresql.spec openpkg-web news...
OpenPKG CVS Repository http://www.openpkg.org/cvsweb/cvsweb.cgi Server: cvs.openpkg.org Name: Thomas Lotterer Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-web, openpkg-src Date: 21-Aug-2002 11:13:17 Branch: HEAD Handle: 2002082110131601 Modified files: openpkg-src/postgresql postgresql.spec openpkg-web news.txt Log: requires flex and bison Summary: RevisionChanges Path 1.12+2 -2 openpkg-src/postgresql/postgresql.spec 1.1285 +1 -0 openpkg-web/news.txt Index: openpkg-src/postgresql/postgresql.spec $ cvs diff -u -r1.11 -r1.12 postgresql.spec --- openpkg-src/postgresql/postgresql.spec13 Aug 2002 12:49:32 - 1.11 +++ openpkg-src/postgresql/postgresql.spec21 Aug 2002 09:13:17 - 1.12 @@ -33,7 +33,7 @@ Group:Database License: GPL Version: 7.2.1 -Release: 20020509 +Release: 20020821 # list of sources Source0: ftp://ftp.de.postgresql.org/mirror/postgresql/source/v7.2/postgresql-%{version}.tar.gz @@ -42,7 +42,7 @@ # build information Prefix: %{l_prefix} BuildRoot:%{l_buildroot} -BuildPreReq: OpenPKG, openpkg = 20020416, make, gcc, readline, openssl +BuildPreReq: OpenPKG, openpkg = 20020416, make, gcc, readline, openssl, flex, bison PreReq: OpenPKG, openpkg = 20020416 AutoReq: no AutoReqProv: no Index: openpkg-web/news.txt $ cvs diff -u -r1.1284 -r1.1285 news.txt --- openpkg-web/news.txt 21 Aug 2002 09:08:25 - 1.1284 +++ openpkg-web/news.txt 21 Aug 2002 09:13:16 - 1.1285 @@ -1,3 +1,4 @@ +21-Aug-2002: Upgraded package: Ppostgresql-7.2.1-20020821 21-Aug-2002: Upgraded package: Pnn-6.6.4-20020821 21-Aug-2002: Upgraded package: Pgroff-1.18-20020821 21-Aug-2002: Upgraded package: Pgrep-2.5-20020821 __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]