[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec

2006-01-06 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Jan-2006 09:18:21
  Branch: HEAD Handle: 2006010608182100

  Modified files:
openpkg-src/postgresql  postgresql.spec

  Log:
upgrading package: postgresql 8.1.1 - 8.1.2

  Summary:
RevisionChanges Path
1.179   +43 -13 openpkg-src/postgresql/postgresql.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/postgresql/postgresql.spec
  
  $ cvs diff -u -r1.178 -r1.179 postgresql.spec
  --- openpkg-src/postgresql/postgresql.spec4 Jan 2006 16:15:42 -   
1.178
  +++ openpkg-src/postgresql/postgresql.spec6 Jan 2006 08:18:21 -   
1.179
  @@ -25,7 +25,7 @@
   #   FIXME: rse: pgcluster no longer applies after PostgreSQL 8.1 upgrade
   
   #   package versions
  -%define   V_postgresql  8.1.1
  +%define   V_postgresql  8.1.2
   %define   V_libpqpp 4.0
   %define   V_libpqxx 2.5.5
   %define   V_pgperl  2.0.2
  @@ -44,7 +44,7 @@
   Group:Database
   License:  GPL
   Version:  %{V_postgresql}
  -Release:  20060104
  +Release:  20060106
   
   #   package options
   %option   with_serveryes
  @@ -55,6 +55,7 @@
   %option   with_tcl   no
   %option   with_slony1no
   %option   with_pgcluster no
  +%option   with_kerberos  no
   
   #   list of sources
   Source0:  
ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz
  @@ -87,6 +88,10 @@
   BuildPreReq:  tcl, tcl::with_x11 = yes, X11
   PreReq:   tcl, tcl::with_x11 = yes, X11
   %endif
  +%if %{with_kerberos} == yes
  +BuildPreReq:  kerberos
  +PreReq:   kerberos
  +%endif
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -177,6 +182,11 @@
   -e '/preproc\.c/,/Makefile\.aix/d' | \
   %{l_patch} -p1
   %endif
  +%if %{with_kerberos} == yes
  +%{l_shtool} subst \
  +-e 's;krb5 -ldes -lasn1 -lroken;krb5 -lk5crypto -lkrb5support 
-lcom_err;g' \
  +configure
  +%endif
   
   #   adjust source tree
   %{l_shtool} subst \
  @@ -198,21 +208,23 @@
   #   configure package
   ( echo ac_cv_func_isinf=no
   ) config.cache
  -CC=%{l_cc} \
  +export CC=%{l_cc}
  +export CFLAGS=%{l_cflags -O}
  +export CPPFLAGS=%{l_cppflags readline} 
-DOPENSSL_DISABLE_OLD_DES_SUPPORT
  +export LDFLAGS=%{l_ldflags}
   %if %{with_slony1} == yes
  -CFLAGS=%{l_cflags -O} -pthread \
  -%else
  -CFLAGS=%{l_cflags -O} \
  +CFLAGS=$CFLAGS -pthread
   %endif
   %if %{with_tcl} == yes
  -CPPFLAGS=%{l_cppflags readline tcl} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \
  -LDFLAGS=%{l_ldflags} -L`%{l_rc} --query x11_libdir` \
  -%else
  -CPPFLAGS=%{l_cppflags readline} -DOPENSSL_DISABLE_OLD_DES_SUPPORT \
  -LDFLAGS=%{l_ldflags} \
  +CPPFLAGS=$CPPFLAGS %{l_cppflags tcl}
  +LDFLAGS=$LDFLAGS -L`%{l_rc} --query x11_libdir`
  +%endif
  +%if %{with_kerberos} == yes
  +CPPFLAGS=$CPPFLAGS %{l_cppflags kerberos}
  +LDFLAGS=$LDFLAGS %{l_ldflags kerberos}
   %endif
  -TAR=%{l_tar} \
  -YACC=bison -y \
  +export TAR=%{l_tar}
  +export YACC=bison -y
   ./configure \
   --cache-file=./config.cache \
   --prefix=%{l_prefix} \
  @@ -229,6 +241,10 @@
   %if %{with_slony1} == yes
   --enable-thread-safety \
   %endif
  +%if %{with_kerberos} == yes
  +--with-krb5 \
  +--with-krb-srvnam=postgresql \
  +%endif
   --disable-syslog \
   --disable-shared
   
  @@ -601,6 +617,20 @@
 echo you should immediately change this 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'\
  +  echo Then you usually create a database for a user user with
  +  echo password password under path /u/user/rdbms with the 
commands:
  +  echo \$ mkdir /u/user/rdbms
  +  echo \$ chmod 700 /u/user/rdbms
  +  echo \$ chown %{l_rusr}:%{l_rgrp} /u/user/rdbms
  +  echo \$ $RPM_INSTALL_PREFIX/bin/psql -U $l_pguser -d 
template1
  +  echo template1= CREATE USER user
  +  echo ENCRYPTED PASSWORD 'password'
  +  echo NOCREATEDB NOCREATEUSER;
  +  echo template1= CREATE TABLESPACE dss OWNER dss
  +  echo LOCATION '/u/user/rdbms';
  +  echo template1= CREATE DATABASE user

[CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec

2006-01-06 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Jan-2006 15:27:11
  Branch: HEAD Handle: 2006010614271000

  Modified files:
openpkg-src/postgresql  postgresql.spec

  Log:
add optional MySQL compatibility layer

  Summary:
RevisionChanges Path
1.180   +35 -13 openpkg-src/postgresql/postgresql.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/postgresql/postgresql.spec
  
  $ cvs diff -u -r1.179 -r1.180 postgresql.spec
  --- openpkg-src/postgresql/postgresql.spec6 Jan 2006 08:18:21 -   
1.179
  +++ openpkg-src/postgresql/postgresql.spec6 Jan 2006 14:27:10 -   
1.180
  @@ -32,6 +32,7 @@
   %define   V_psqlodbc08.01.0102
   %define   V_slony1  1.1.2
   %define   V_pgcluster   1.3.0c
  +%define   V_mysqlcompat 1.0b3
   
   #   package information
   Name: postgresql
  @@ -47,15 +48,16 @@
   Release:  20060106
   
   #   package options
  -%option   with_serveryes
  -%option   with_cxx   no
  -%option   with_perl  no
  -%option   with_odbc  no
  -%option   with_compatno
  -%option   with_tcl   no
  -%option   with_slony1no
  -%option   with_pgcluster no
  -%option   with_kerberos  no
  +%option   with_server   yes
  +%option   with_cxx  no
  +%option   with_perl no
  +%option   with_odbc no
  +%option   with_compat   no
  +%option   with_tcl  no
  +%option   with_slony1   no
  +%option   with_pgclusterno
  +%option   with_kerberos no
  +%option   with_mysqlcompat  no
   
   #   list of sources
   Source0:  
ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz
  @@ -65,8 +67,9 @@
   Source4:  
ftp://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-%{V_psqlodbc}.tar.gz
   Source5:  
http://developer.postgresql.org/~wieck/slony1/download/slony1-%{V_slony1}.tar.bz2
   Source6:  
http://pgfoundry.org/frs/download.php/219/pgcluster-%{V_pgcluster}-patch.tar.gz
  -Source7:  rc.postgresql
  -Source8:  pg_migrate
  +Source7:  
http://pgfoundry.org/frs/download.php/548/mysqlcompat-%{V_pgcluster}.tar.gz
  +Source8:  rc.postgresql
  +Source9:  pg_migrate
   Patch0:   postgresql.patch
   
   #   build information
  @@ -141,11 +144,17 @@
   regex = slony1-(\d+\.\d+\.\d+)\.tar\.bz2
   }
   prog postgresql:pgcluster = {
  -comment   = steve: beside the filename also the url hat to be 
changed to download the current version
  +comment   = rse: beside the filename also the path changes for new 
versions
   version   = %{V_pgcluster}
   url   = http://pgfoundry.org/frs/?group_id=172release_id=168
   regex = pgcluster-(__VER__)-patch\.tar\.gz
   }
  +prog postgresql:mysqlcompat = {
  +comment   = rse: beside the filename also the path changes for new 
versions
  +version   = %{V_mysqlcompat}
  +url   = http://pgfoundry.org/frs/?group_id=1000154release_id=379
  +regex = mysqlcompat-(__VER__)\.tar\.gz
  +}
   
   %prep
   %setup -q
  @@ -182,6 +191,9 @@
   -e '/preproc\.c/,/Makefile\.aix/d' | \
   %{l_patch} -p1
   %endif
  +%if %{with_mysqlcompat} == yes
  +%setup -q -T -D -a 7
  +%endif
   %if %{with_kerberos} == yes
   %{l_shtool} subst \
   -e 's;krb5 -ldes -lasn1 -lroken;krb5 -lk5crypto -lkrb5support 
-lcom_err;g' \
  @@ -488,14 +500,24 @@
   ) || exit $?
   %endif
   
  -%if %{with_pgcluster} == yes
   #   post-adjust pgcluster configuration filenames
  +%if %{with_pgcluster} == yes
   mv $RPM_BUILD_ROOT%{l_prefix}/etc/postgresql/pglb.conf.sample \
  $RPM_BUILD_ROOT%{l_prefix}/etc/postgresql/pglb.conf
   mv $RPM_BUILD_ROOT%{l_prefix}/etc/postgresql/pgreplicate.conf.sample \
  $RPM_BUILD_ROOT%{l_prefix}/etc/postgresql/pgreplicate.conf
   %endif
   
  +#   install MySQL compatibility layer
  +%if %{with_mysqlcompat} == yes
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/share/postgresql/mysqlcompat
  +%{l_shtool} install -c -m 644 \
  +mysqlcompat-%{V_mysqlcompat}/README \
  +mysqlcompat-%{V_mysqlcompat}/*.sql \
  +$RPM_BUILD_ROOT%{l_prefix}/share/postgresql/mysqlcompat/
  +%endif
  +
   #   install run-command script
   %{l_shtool} mkdir -f -p -m 755 \
   $RPM_BUILD_ROOT%{l_prefix}/etc

[CVS] OpenPKG: openpkg-src/radiator/ radiator.spec

2006-01-06 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Jan-2006 21:02:39
  Branch: HEAD Handle: 2006010620023900

  Modified files:
openpkg-src/radiatorradiator.spec

  Log:
upgrading package: radiator 3.11 - 3.13

  Summary:
RevisionChanges Path
1.15+2  -2  openpkg-src/radiator/radiator.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/radiator/radiator.spec
  
  $ cvs diff -u -r1.14 -r1.15 radiator.spec
  --- openpkg-src/radiator/radiator.spec1 Jan 2006 13:21:07 -   
1.14
  +++ openpkg-src/radiator/radiator.spec6 Jan 2006 20:02:39 -   
1.15
  @@ -32,8 +32,8 @@
   Class:EVAL
   Group:Network
   License:  Commercial
  -Version:  3.11
  -Release:  20041207
  +Version:  3.13
  +Release:  20060106
   
   #   list of sources
   Source0:  
http://www.open.com.au/radiator/downloads/dl.cgi/Radiator-%{version}.tgz
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/ragel/ ragel.spec

2006-01-06 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Jan-2006 21:05:41
  Branch: HEAD Handle: 2006010620054000

  Modified files:
openpkg-src/ragel   ragel.spec

  Log:
upgrading package: ragel 5.1 - 5.2

  Summary:
RevisionChanges Path
1.44+2  -2  openpkg-src/ragel/ragel.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/ragel/ragel.spec
  
  $ cvs diff -u -r1.43 -r1.44 ragel.spec
  --- openpkg-src/ragel/ragel.spec  1 Jan 2006 13:21:08 -   1.43
  +++ openpkg-src/ragel/ragel.spec  6 Jan 2006 20:05:40 -   1.44
  @@ -32,8 +32,8 @@
   Class:PLUS
   Group:Compiler
   License:  GPL
  -Version:  5.1
  -Release:  20051227
  +Version:  5.2
  +Release:  20060106
   
   #   list of sources
   Source0:  http://www.elude.ca/ragel/ragel-%{version}.tar.gz
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/xchat/ xchat.spec

2006-01-06 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   06-Jan-2006 21:06:22
  Branch: HEAD Handle: 2006010620062100

  Modified files:
openpkg-src/xchat   xchat.spec

  Log:
upgrading package: xchat 2.6.0 - 2.6.1

  Summary:
RevisionChanges Path
1.20+2  -2  openpkg-src/xchat/xchat.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/xchat/xchat.spec
  
  $ cvs diff -u -r1.19 -r1.20 xchat.spec
  --- openpkg-src/xchat/xchat.spec  1 Jan 2006 13:24:17 -   1.19
  +++ openpkg-src/xchat/xchat.spec  6 Jan 2006 20:06:21 -   1.20
  @@ -24,7 +24,7 @@
   
   #   package version
   %define   V_major 2.6
  -%define   V_minor 0
  +%define   V_minor 1
   
   #   package information
   Name: xchat
  @@ -37,7 +37,7 @@
   Group:Network
   License:  GPL
   Version:  %{V_major}.%{V_minor}
  -Release:  20051103
  +Release:  20060106
   
   #   list of sources
   Source0:  
http://www.xchat.org/files/source/%{V_major}/xchat-%{version}.tar.bz2
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org