[CVS] OpenPKG: openpkg-src/pdfsam/ pdfsam.sh pdfsam.spec

2008-09-22 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:   22-Sep-2008 08:05:05
  Branch: HEAD Handle: 2008092207050500

  Added files:
openpkg-src/pdfsam  pdfsam.sh pdfsam.spec

  Log:
new package: pdfsam 1.0.2 (PDF Split And Merge)

  Summary:
RevisionChanges Path
1.1 +16 -0  openpkg-src/pdfsam/pdfsam.sh
1.1 +85 -0  openpkg-src/pdfsam/pdfsam.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/pdfsam/pdfsam.sh
  
  $ cvs diff -u -r0 -r1.1 pdfsam.sh
  --- /dev/null 2008-09-22 08:01:09 +0200
  +++ pdfsam.sh 2008-09-22 08:05:05 +0200
  @@ -0,0 +1,16 @@
  +#!/bin/sh
  +
  +classpath=
  +for jar in @l_prefix@/lib/pdfsam/*.jar; do
  +if [ .$classpath != . ]; then
  +classpath=${classpath}:
  +fi
  +classpath=${classpath}${jar}
  +done
  +
  +exec @l_prefix@/bin/java \
  +-Vsun-jdk \
  +-classpath $classpath \
  +org.pdfsam.console.ConsoleClient \
  +${1+$@}
  +
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/pdfsam/pdfsam.spec
  
  $ cvs diff -u -r0 -r1.1 pdfsam.spec
  --- /dev/null 2008-09-22 08:01:09 +0200
  +++ pdfsam.spec   2008-09-22 08:05:05 +0200
  @@ -0,0 +1,85 @@
  +##
  +##  pdfsam.spec -- OpenPKG RPM Package Specification
  +##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. http://openpkg.net/
  +##
  +##  Permission to use, copy, modify, and distribute this software for
  +##  any purpose with or without fee is hereby granted, provided that
  +##  the above copyright notice and this permission notice appear in all
  +##  copies.
  +##
  +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +##  SUCH DAMAGE.
  +##
  +
  +#   package information
  +Name: pdfsam
  +Summary:  PDF Split And Merge
  +URL:  http://www.pdfsam.org/
  +Vendor:   Andrea Vacondio
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Postscript
  +License:  GPL
  +Version:  1.0.2
  +Release:  20080922
  +
  +#   list of sources
  +Source0:  
http://switch.dl.sourceforge.net/pdfsam/pdfsam-%{version}-out.zip
  +Source1:  pdfsam.sh
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg = 20060823, infozip
  +PreReq:   OpenPKG, openpkg = 20060823, java, JAVA-JDK
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +PDFSAM is a tool designed to split and merge PDF files. With its
  +simple and intuitive interface you can split your PDF documents
  +(into chapters, single pages, etc.); merge many PDF documents or
  +subsections of them; extract sections of your document into a single
  +PDF document and save and load your environment to automatize your
  +recurrent jobs.
  +
  +%track
  +prog pdfsam = {
  +version   = %{version}
  +url   = http://prdownloads.sourceforge.net/pdfsam/
  +regex = pdfsam-(__VER__)-out\.zip
  +}
  +
  +%prep
  +%setup -q -T -c
  +unzip -q -x %{SOURCE0}
  +
  +%build
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/bin \
  +$RPM_BUILD_ROOT%{l_prefix}/lib/pdfsam
  +%{l_shtool} install -c -m 644 \
  +*.jar lib/*.jar $RPM_BUILD_ROOT%{l_prefix}/lib/pdfsam/
  +%{l_shtool} install -c -m 755 %{l_value -s -a} \
  +%{SOURCE pdfsam.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/pdfsam
  +%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +rm -rf $RPM_BUILD_ROOT
  +
  @@ .
__
OpenPKG

[CVS] OpenPKG: openpkg-src/seed7/ seed7.patch seed7.spec

2008-09-22 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:   22-Sep-2008 08:50:31
  Branch: HEAD Handle: 2008092207503100

  Added files:
openpkg-src/seed7   seed7.patch seed7.spec

  Log:
new package: seed7 05.20080921 (Seed7 Programming Language)

  Summary:
RevisionChanges Path
1.1 +25 -0  openpkg-src/seed7/seed7.patch
1.1 +97 -0  openpkg-src/seed7/seed7.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/seed7/seed7.patch
  
  $ cvs diff -u -r0 -r1.1 seed7.patch
  --- /dev/null 2008-09-22 08:50:17 +0200
  +++ seed7.patch   2008-09-22 08:50:31 +0200
  @@ -0,0 +1,25 @@
  +Index: src/makefile
  +--- src/makefile.orig2008-09-21 22:36:27 +0200
   src/makefile 2008-09-22 08:47:22 +0200
  +@@ -4,10 +4,10 @@
  + #   make
  + # If you are under windows you should use MinGW with mk_mingw.mak, 
mk_nmake.mak or mk_msys.mak instead.
  + 
  +-# CFLAGS =
  ++CFLAGS =
  + # CFLAGS = -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow 
-Wpointer-arith
  + # CFLAGS = -O2 -fomit-frame-pointer -Wall -Wstrict-prototypes -Winline 
-Wconversion -Wshadow -Wpointer-arith
  +-CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow 
-Wpointer-arith
  ++# CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow 
-Wpointer-arith
  + # CFLAGS = -O2 -g -pg -Wall -Wstrict-prototypes -Winline -Wconversion 
-Wshadow -Wpointer-arith
  + # CFLAGS = -O2 -fomit-frame-pointer -funroll-loops -Wall
  + # CFLAGS = -O2 -funroll-loops -Wall -pg
  +@@ -179,7 +179,7 @@
  + echo #define SEED7_LIB \`pwd`/$(SEED7_LIB)\  version.h
  + echo #define COMP_DATA_LIB \`pwd`/$(COMP_DATA_LIB)\  version.h
  + echo #define COMPILER_LIB \`pwd`/$(COMPILER_LIB)\  version.h
  +-cd ../lib; echo #define SEED7_LIBRARY \`pwd`\  ../src/version.h; 
cd ../src
  ++cd ../lib; echo #define SEED7_LIBRARY \$(SEED7_LIBRARY)\  
../src/version.h; cd ../src
  + 
  + hi.o: hi.c
  + $(CC) $(CFLAGS) -c hi.c
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/seed7/seed7.spec
  
  $ cvs diff -u -r0 -r1.1 seed7.spec
  --- /dev/null 2008-09-22 08:50:17 +0200
  +++ seed7.spec2008-09-22 08:50:31 +0200
  @@ -0,0 +1,97 @@
  +##
  +##  seed7.spec -- OpenPKG RPM Package Specification
  +##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. http://openpkg.net/
  +##
  +##  Permission to use, copy, modify, and distribute this software for
  +##  any purpose with or without fee is hereby granted, provided that
  +##  the above copyright notice and this permission notice appear in all
  +##  copies.
  +##
  +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +##  SUCH DAMAGE.
  +##
  +
  +#   package version
  +%define   V_opkg 05.20080921
  +%define   V_dist 05_20080921
  +
  +#   package information
  +Name: seed7
  +Summary:  Seed7 Programming Language
  +URL:  http://www.seed7.org/
  +Vendor:   Thomas Mertes
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Language
  +License:  LGPL
  +Version:  %{V_opkg}
  +Release:  20080922
  +
  +#   list of sources
  +Source0:  http://switch.dl.sourceforge.net/seed7/seed7_%{V_dist}.tgz
  +Patch0:   seed7.patch
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg = 20060823, gcc, make
  +PreReq:   OpenPKG, openpkg = 20060823
  +BuildPreReq:  X11, ncurses
  +PreReq:   X11, ncurses
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +Seed7 is an extensible general purpose programming language. It is
  +a higher level language compared to Ada, C/C++ and Java. Its major

[CVS] OpenPKG: openpkg-src/csync/ csync.patch csync.spec

2008-09-22 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:   22-Sep-2008 08:55:51
  Branch: HEAD Handle: 2008092207555100

  Modified files:
openpkg-src/csync   csync.patch csync.spec

  Log:
upgrading package: csync 0.41.92 - 0.41.93

  Summary:
RevisionChanges Path
1.2 +19 -18 openpkg-src/csync/csync.patch
1.2 +2  -2  openpkg-src/csync/csync.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/csync/csync.patch
  
  $ cvs diff -u -r1.1 -r1.2 csync.patch
  --- openpkg-src/csync/csync.patch 21 Sep 2008 17:41:53 -  1.1
  +++ openpkg-src/csync/csync.patch 22 Sep 2008 06:55:51 -  1.2
  @@ -1,6 +1,6 @@
   Index: client/CMakeLists.txt
   client/CMakeLists.txt.orig   2008-06-16 14:20:06 +0200
  -+++ client/CMakeLists.txt2008-09-21 19:40:13 +0200
  +--- client/CMakeLists.txt.orig   2008-06-25 14:51:27 +0200
   client/CMakeLists.txt2008-09-22 08:51:40 +0200
   @@ -19,6 +19,7 @@
set(CLIENT_LINK_LIBRARIES
  ${CLIENT_EXECUTABLE}
  @@ -10,8 +10,8 @@

set(client_SRCS
   Index: cmake/Modules/DefineCompilerFlags.cmake
   cmake/Modules/DefineCompilerFlags.cmake.orig 2008-06-16 14:20:06 
+0200
  -+++ cmake/Modules/DefineCompilerFlags.cmake  2008-09-21 19:40:13 +0200
  +--- cmake/Modules/DefineCompilerFlags.cmake.orig 2008-06-25 14:51:27 
+0200
   cmake/Modules/DefineCompilerFlags.cmake  2008-09-22 08:51:40 +0200
   @@ -31,15 +31,9 @@
)
  endif (CMAKE_SIZEOF_VOID_P MATCHES 8)
  @@ -30,8 +30,8 @@
  check_c_compiler_flag(-D_FORTIFY_SOURCE=2 WITH_FORTIFY_SOURCE)
  if (WITH_FORTIFY_SOURCE)
   Index: cmake/Modules/FindDlfcn.cmake
   cmake/Modules/FindDlfcn.cmake.orig   2008-06-16 14:20:06 +0200
  -+++ cmake/Modules/FindDlfcn.cmake2008-09-21 19:40:13 +0200
  +--- cmake/Modules/FindDlfcn.cmake.orig   2008-06-25 14:51:27 +0200
   cmake/Modules/FindDlfcn.cmake2008-09-22 08:51:40 +0200
   @@ -53,9 +53,9 @@
)
  endif (DL_FOUND)
  @@ -45,8 +45,8 @@
  if (DLFCN_FOUND)
if (NOT Dlfcn_FIND_QUIETLY)
   Index: cmake/Modules/FindRT.cmake
   cmake/Modules/FindRT.cmake.orig  2008-06-16 14:20:06 +0200
  -+++ cmake/Modules/FindRT.cmake   2008-09-21 19:40:13 +0200
  +--- cmake/Modules/FindRT.cmake.orig  2008-06-25 14:51:27 +0200
   cmake/Modules/FindRT.cmake   2008-09-22 08:51:40 +0200
   @@ -53,9 +53,9 @@
)
  endif (RT_FOUND)
  @@ -60,23 +60,24 @@
  if (RT_FOUND)
if (NOT RT_FIND_QUIETLY)
   Index: src/csync_propagate.c
   src/csync_propagate.c.orig   2008-06-16 14:20:06 +0200
  -+++ src/csync_propagate.c2008-09-21 19:40:13 +0200
  -@@ -100,7 +100,11 @@
  - 
  +--- src/csync_propagate.c.orig   2008-06-25 14:51:27 +0200
   src/csync_propagate.c2008-09-22 08:52:33 +0200
  +@@ -102,10 +102,12 @@
  /* Open the source file */
  ctx-replica = srep;
  +   flags = O_RDONLY|O_NOFOLLOW;
   +#if defined(O_NOATIME)
  -   sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW|O_NOATIME, 0);
  -+#else
  -+  sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW, 0);
  +   /* O_NOATIME can only be set by the owner of the file or the superuser */
  +   if (st-uid == getuid() || geteuid() == 0) {
  + flags |= O_NOATIME;
  +   }
   +#endif
  +   sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW, 0);
  if (sfp == NULL) {
if (errno == ENOMEM) {
  -   rc = -1;
   Index: src/std/c_file.c
   src/std/c_file.c.orig2008-06-16 14:20:06 +0200
  -+++ src/std/c_file.c 2008-09-21 19:40:13 +0200
  +--- src/std/c_file.c.orig2008-06-25 14:51:27 +0200
   src/std/c_file.c 2008-09-22 08:51:40 +0200
   @@ -93,14 +93,22 @@
  /* done */
  break;
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/csync/csync.spec
  
  $ cvs diff -u -r1.1 -r1.2 csync.spec
  --- openpkg-src/csync/csync.spec  21 Sep 2008 17:41:53 -  1.1
  +++ openpkg-src/csync/csync.spec  22 Sep 2008 06:55:51 -  1.2
  @@ -31,8 +31,8 @@
   Class:EVAL
   Group:Filesystem
   License:  GPL
  -Version:  0.41.92
  -Release:  20080921
  +Version:  0.41.93
  +Release:  20080922
   
   #   list of sources
   Source0:  http://www.csync.org/files/csync-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List

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

2008-09-22 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:   22-Sep-2008 08:55:53
  Branch: HEAD Handle: 2008092207555300

  Modified files:
openpkg-src/adobeflex   adobeflex.spec

  Log:
upgrading package: adobeflex 3.2.0.3244 - 3.2.0.3266

  Summary:
RevisionChanges Path
1.12+2  -2  openpkg-src/adobeflex/adobeflex.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/adobeflex/adobeflex.spec
  
  $ cvs diff -u -r1.11 -r1.12 adobeflex.spec
  --- openpkg-src/adobeflex/adobeflex.spec  18 Sep 2008 17:59:22 -  
1.11
  +++ openpkg-src/adobeflex/adobeflex.spec  22 Sep 2008 06:55:53 -  
1.12
  @@ -31,8 +31,8 @@
   Class:EVAL
   Group:Flash
   License:  MPL
  -Version:  3.2.0.3244
  -Release:  20080918
  +Version:  3.2.0.3266
  +Release:  20080922
   
   #   list of sources
   Source0:  
http://flexorg.wip3.adobe.com/flexsdk/%{version}/flex_sdk_%{version}_mpl.zip
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 08:57:06
  Branch: HEAD Handle: 2008092207570500

  Modified files:
openpkg-src/magicpoint  magicpoint.spec

  Log:
upgrading package: magicpoint 20080915 - 20080922

  Summary:
RevisionChanges Path
1.144   +2  -2  openpkg-src/magicpoint/magicpoint.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/magicpoint/magicpoint.spec
  
  $ cvs diff -u -r1.143 -r1.144 magicpoint.spec
  --- openpkg-src/magicpoint/magicpoint.spec15 Sep 2008 09:17:59 -  
1.143
  +++ openpkg-src/magicpoint/magicpoint.spec22 Sep 2008 06:57:05 -  
1.144
  @@ -31,8 +31,8 @@
   Class:EVAL
   Group:Graphics
   License:  GPL
  -Version:  20080915
  -Release:  20080915
  +Version:  20080922
  +Release:  20080922
   
   #   list of sources
   Source0:  
ftp://sh.wide.ad.jp/WIDE/free-ware/mgp-snap/mgp-snap-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 08:58:03
  Branch: HEAD Handle: 2008092207580200

  Modified files:
openpkg-src/drupal  drupal.spec

  Log:
modifying package: drupal-6.4 20080921 - 20080922

  Summary:
RevisionChanges Path
1.350   +2  -2  openpkg-src/drupal/drupal.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/drupal/drupal.spec
  
  $ cvs diff -u -r1.349 -r1.350 drupal.spec
  --- openpkg-src/drupal/drupal.spec21 Sep 2008 14:50:42 -  1.349
  +++ openpkg-src/drupal/drupal.spec22 Sep 2008 06:58:02 -  1.350
  @@ -114,7 +114,7 @@
   %define   V_module_jq_maphilight   6.x-1.0-beta1
   %define   V_module_jump6.x-1.0
   %define   V_module_lightbox2   6.x-1.8
  -%define   V_module_link6.x-2.3.1
  +%define   V_module_link6.x-2.5
   %define   V_module_local_menu  6.x-1.5
   %define   V_module_logging_alerts  6.x-1.2
   %define   V_module_login_destination   6.x-2.1
  @@ -231,7 +231,7 @@
   Group:CMS
   License:  GPL
   Version:  %{V_drupal}
  -Release:  20080921
  +Release:  20080922
   
   #   package options
   %option   with_mysql   yes
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 09:01:55
  Branch: HEAD Handle: 2008092208015500

  Modified files:
openpkg-src/magicpoint  magicpoint.spec

  Log:
explicitly use xft now

  Summary:
RevisionChanges Path
1.145   +3  -2  openpkg-src/magicpoint/magicpoint.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/magicpoint/magicpoint.spec
  
  $ cvs diff -u -r1.144 -r1.145 magicpoint.spec
  --- openpkg-src/magicpoint/magicpoint.spec22 Sep 2008 06:57:05 -  
1.144
  +++ openpkg-src/magicpoint/magicpoint.spec22 Sep 2008 07:01:55 -  
1.145
  @@ -45,8 +45,8 @@
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg = 20040130, flex, bison, make, gcc
   PreReq:   OpenPKG, openpkg = 20040130, perl
  -BuildPreReq:  X11, zlib, giflib
  -PreReq:   X11, zlib, giflib
  +BuildPreReq:  X11, zlib, giflib, xft, fontconfig
  +PreReq:   X11, zlib, giflib, xft, fontconfig
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -90,6 +90,7 @@
   --disable-imlib \
   --disable-vflib \
   --disable-nls \
  +--enable-xft2 \
   --with-x \
   --x-includes=`%{l_rc} --query x11_incdir` \
   --x-libraries=`%{l_rc} --query x11_libdir`
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 09:02:33
  Branch: HEAD Handle: 2008092208023200

  Modified files:
openpkg-src/git git.spec

  Log:
modifying package: git-1.6.0.2 20080916 - 20080922

  Summary:
RevisionChanges Path
1.119   +2  -2  openpkg-src/git/git.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/git/git.spec
  
  $ cvs diff -u -r1.118 -r1.119 git.spec
  --- openpkg-src/git/git.spec  16 Sep 2008 18:23:52 -  1.118
  +++ openpkg-src/git/git.spec  22 Sep 2008 07:02:32 -  1.119
  @@ -25,7 +25,7 @@
   %define   V_git   1.6.0.2
   %define   V_cogito0.18.2
   %define   V_stgit 0.14.3
  -%define   V_guilt 0.31.1
  +%define   V_guilt 0.31.2
   %define   V_tig   0.12
   %define   V_gcutils   0.2.3
   
  @@ -40,7 +40,7 @@
   Group:SCM
   License:  GPL
   Version:  %{V_git}
  -Release:  20080916
  +Release:  20080922
   
   #   package options
   %option   with_cogito  yes
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 09:02:33
  Branch: HEAD Handle: 2008092208023300

  Modified files:
openpkg-src/imagemagick imagemagick.spec

  Log:
upgrading package: imagemagick 6.4.3.6 - 6.4.3.7

  Summary:
RevisionChanges Path
1.476   +2  -2  openpkg-src/imagemagick/imagemagick.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/imagemagick/imagemagick.spec
  
  $ cvs diff -u -r1.475 -r1.476 imagemagick.spec
  --- openpkg-src/imagemagick/imagemagick.spec  30 Aug 2008 21:13:18 -  
1.475
  +++ openpkg-src/imagemagick/imagemagick.spec  22 Sep 2008 07:02:33 -  
1.476
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_major 6.4.3
  -%define   V_minor 6
  +%define   V_minor 7
   %define   V_dist  %{V_major}-%{V_minor}
   %define   V_opkg  %{V_major}.%{V_minor}
   
  @@ -38,7 +38,7 @@
   Group:Graphics
   License:  GPL
   Version:  %{V_opkg}
  -Release:  20080830
  +Release:  20080922
   
   #   package options
   %option   with_perl   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 09:03:02
  Branch: HEAD Handle: 2008092208030100

  Modified files:
openpkg-src/magicpoint  magicpoint.spec

  Log:
PNG is picked up, too

  Summary:
RevisionChanges Path
1.146   +2  -2  openpkg-src/magicpoint/magicpoint.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/magicpoint/magicpoint.spec
  
  $ cvs diff -u -r1.145 -r1.146 magicpoint.spec
  --- openpkg-src/magicpoint/magicpoint.spec22 Sep 2008 07:01:55 -  
1.145
  +++ openpkg-src/magicpoint/magicpoint.spec22 Sep 2008 07:03:01 -  
1.146
  @@ -45,8 +45,8 @@
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg = 20040130, flex, bison, make, gcc
   PreReq:   OpenPKG, openpkg = 20040130, perl
  -BuildPreReq:  X11, zlib, giflib, xft, fontconfig
  -PreReq:   X11, zlib, giflib, xft, fontconfig
  +BuildPreReq:  X11, zlib, giflib, png, xft, fontconfig
  +PreReq:   X11, zlib, giflib, png, xft, fontconfig
   AutoReq:  no
   AutoReqProv:  no
   
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 13:45:27
  Branch: HEAD Handle: 2008092212452700

  Modified files:
openpkg-src/js  js.spec

  Log:
modifying package: js-1.6.20070208 20080916 - 20080922

  Summary:
RevisionChanges Path
1.84+2  -2  openpkg-src/js/js.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/js/js.spec
  
  $ cvs diff -u -r1.83 -r1.84 js.spec
  --- openpkg-src/js/js.spec16 Sep 2008 18:30:25 -  1.83
  +++ openpkg-src/js/js.spec22 Sep 2008 11:45:27 -  1.84
  @@ -28,7 +28,7 @@
   %define   V_javascript_squish   0.07
   %define   V_javascript_code 0.08
   %define   V_javascript_jslint   0.06
  -%define   V_javascript_engine   0.025
  +%define   V_javascript_engine   0.026
   %define   V_jsmin   20080803
   %define   V_jsapigen0.2.0
   
  @@ -43,7 +43,7 @@
   Group:Language
   License:  MPL/GPL/LGPL
   Version:  %{V_js}
  -Release:  20080916
  +Release:  20080922
   
   #   package options
   %option   with_fileyes
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 16:54:15
  Branch: HEAD Handle: 2008092215541500

  Modified files:
openpkg-src/libksba libksba.spec

  Log:
upgrading package: libksba 1.0.3 - 1.0.4

  Summary:
RevisionChanges Path
1.11+2  -2  openpkg-src/libksba/libksba.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/libksba/libksba.spec
  
  $ cvs diff -u -r1.10 -r1.11 libksba.spec
  --- openpkg-src/libksba/libksba.spec  13 Feb 2008 18:32:21 -  1.10
  +++ openpkg-src/libksba/libksba.spec  22 Sep 2008 14:54:15 -  1.11
  @@ -31,8 +31,8 @@
   Class:PLUS
   Group:Cryptography
   License:  GPL/LGPL
  -Version:  1.0.3
  -Release:  20080213
  +Version:  1.0.4
  +Release:  20080922
   
   #   list of sources
   Source0:  ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 16:55:14
  Branch: HEAD Handle: 2008092215551300

  Modified files:
openpkg-src/libgnomeprint
libgnomeprint.spec

  Log:
upgrading package: libgnomeprint 2.18.4 - 2.18.5

  Summary:
RevisionChanges Path
1.22+2  -2  openpkg-src/libgnomeprint/libgnomeprint.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/libgnomeprint/libgnomeprint.spec
  
  $ cvs diff -u -r1.21 -r1.22 libgnomeprint.spec
  --- openpkg-src/libgnomeprint/libgnomeprint.spec  13 Feb 2008 18:42:21 
-  1.21
  +++ openpkg-src/libgnomeprint/libgnomeprint.spec  22 Sep 2008 14:55:13 
-  1.22
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_major 2.18
  -%define   V_minor 4
  +%define   V_minor 5
   
   #   package information
   Name: libgnomeprint
  @@ -36,7 +36,7 @@
   Group:Typesetting
   License:  GPL
   Version:  %{V_major}.%{V_minor}
  -Release:  20080213
  +Release:  20080922
   
   #   list of sources
   Source0:  
http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/%{V_major}/libgnomeprint-%{version}.tar.bz2
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/python-setup/ python-setup.spec

2008-09-22 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:   22-Sep-2008 21:20:03
  Branch: HEAD Handle: 2008092220200300

  Added files:
openpkg-src/python-setup
python-setup.spec

  Log:
new package: python-setup 0.6c8 (Python Setup Tools)

  Summary:
RevisionChanges Path
1.1 +80 -0  openpkg-src/python-setup/python-setup.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/python-setup/python-setup.spec
  
  $ cvs diff -u -r0 -r1.1 python-setup.spec
  --- /dev/null 2008-09-22 21:16:07 +0200
  +++ python-setup.spec 2008-09-22 21:20:03 +0200
  @@ -0,0 +1,80 @@
  +##
  +##  python-setup.spec -- OpenPKG RPM Package Specification
  +##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. http://openpkg.net/
  +##
  +##  Permission to use, copy, modify, and distribute this software for
  +##  any purpose with or without fee is hereby granted, provided that
  +##  the above copyright notice and this permission notice appear in all
  +##  copies.
  +##
  +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +##  SUCH DAMAGE.
  +##
  +
  +#   package version
  +%define   V_python 2.5
  +%define   V_setuptools 0.6c8
  +
  +#   package information
  +Name: python-setup
  +Summary:  Python Setup Tools
  +URL:  http://pypi.python.org/pypi/setuptools/
  +Vendor:   Phillip J. Eby
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Language
  +License:  PSF/ZPL
  +Version:  %{V_setuptools}
  +Release:  20080922
  +
  +#   list of sources
  +Source0:  
http://pypi.python.org/packages/source/s/setuptools/setuptools-%{V_setuptools}.tar.gz
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg = 20060823, python = %{V_python}
  +PreReq:   OpenPKG, openpkg = 20060823, python = %{V_python}
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +This packages provides the Python setup tools.
  +
  +%track
  +prog python-setup = {
  +version   = %{V_setuptools}
  +url   = http://pypi.python.org/pypi/setuptools/
  +regex = setuptools-(__VER__)\.tar\.gz
  +}
  +
  +%prep
  +%setup -q -n setuptools-%{version}
  +
  +%build
  +%{l_prefix}/bin/python setup.py build
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +%{l_prefix}/bin/python setup.py install \
  +--skip-build \
  +--root=$RPM_BUILD_ROOT \
  +--prefix=%{l_prefix}
  +%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +rm -rf $RPM_BUILD_ROOT
  +
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/python-db/ python-db.patch python-db.spec

2008-09-22 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:   22-Sep-2008 21:21:40
  Branch: HEAD Handle: 2008092220214000

  Modified files:
openpkg-src/python-db   python-db.patch python-db.spec

  Log:
fix patch and add SQLObject

  Summary:
RevisionChanges Path
1.14+6  -6  openpkg-src/python-db/python-db.patch
1.42+18 -1  openpkg-src/python-db/python-db.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/python-db/python-db.patch
  
  $ cvs diff -u -r1.13 -r1.14 python-db.patch
  --- openpkg-src/python-db/python-db.patch 7 Jun 2008 08:07:23 -   
1.13
  +++ openpkg-src/python-db/python-db.patch 22 Sep 2008 19:21:40 -  
1.14
  @@ -1,6 +1,6 @@
  -Index: psycopg2-2.0.7/psycopg/config.h
   psycopg2-2.0.7/psycopg/config.h.orig 2007-04-11 14:12:37 +0200
  -+++ psycopg2-2.0.7/psycopg/config.h  2007-05-17 17:50:16 +0200
  +Index: psycopg2-2.0.8/psycopg/config.h
  +--- psycopg2-2.0.8/psycopg/config.h.orig 2007-04-11 14:12:37 +0200
   psycopg2-2.0.8/psycopg/config.h  2007-05-17 17:50:16 +0200
   @@ -115,10 +115,11 @@

#if defined(__FreeBSD__) || (defined(_WIN32)  !defined(__GNUC__)) || 
defined(__sun__)
  @@ -14,9 +14,9 @@
#endif

/* postgresql  7.4 does not have PQfreemem */
  -Index: psycopg2-2.0.7/setup.py
   psycopg2-2.0.7/setup.py.orig 2007-04-11 17:03:50 +0200
  -+++ psycopg2-2.0.7/setup.py  2007-05-17 17:51:26 +0200
  +Index: psycopg2-2.0.8/setup.py
  +--- psycopg2-2.0.8/setup.py.orig 2007-04-11 17:03:50 +0200
   psycopg2-2.0.8/setup.py  2007-05-17 17:51:26 +0200
   @@ -191,6 +191,9 @@

self.include_dirs.append(.)
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/python-db/python-db.spec
  
  $ cvs diff -u -r1.41 -r1.42 python-db.spec
  --- openpkg-src/python-db/python-db.spec  16 Sep 2008 18:29:14 -  
1.41
  +++ openpkg-src/python-db/python-db.spec  22 Sep 2008 19:21:40 -  
1.42
  @@ -30,6 +30,7 @@
   %define   V_psycopg2   2.0.8
   %define   V_mysql_python   1.2.2
   %define   V_cx_oracle  4.4
  +%define   V_sqlobject  0.10.2
   
   #   package information
   Name: python-db
  @@ -42,7 +43,7 @@
   Group:Language
   License:  GPL
   Version:  %{V_python}
  -Release:  20080916
  +Release:  20080922
   
   #   package options
   %option   with_sqlite yes
  @@ -55,6 +56,7 @@
   Source1:  
http://initd.org/pub/software/psycopg/psycopg2-%{V_psycopg2}.tar.gz
   Source2:  
http://switch.dl.sourceforge.net/mysql-python/MySQL-python-%{V_mysql_python}.tar.gz
   Source3:  
http://switch.dl.sourceforge.net/cx-oracle/cx_Oracle-%{V_cx_oracle}.tar.gz
  +Source4:  
http://pypi.python.org/packages/source/S/SQLObject/SQLObject-%{V_sqlobject}.tar.gz
   Patch0:   python-db.patch
   
   #   build information
  @@ -111,12 +113,18 @@
   url   = http://prdownloads.sourceforge.net/cx-oracle/
   regex = cx_Oracle-(__VER__)\.tar\.gz
   }
  +prog python-db:sqlobject = {
  +version   = %{V_sqlobject}
  +url   = http://pypi.python.org/pypi/SQLObject
  +regex = pypi/SQLObject/(__VER__)
  +}
   
   %prep
   %setup -q -c
   %setup -q -T -D -a 1
   %setup -q -T -D -a 2
   %setup -q -T -D -a 3
  +%setup -q -T -D -a 4
   %patch -p0
   
   %build
  @@ -149,6 +157,9 @@
 %{l_prefix}/bin/python setup.py build
   ) || exit $?
   %endif
  +( cd SQLObject-%{V_sqlobject}
  +  %{l_prefix}/bin/python setup.py build
  +) || exit $?
   
   %install
   rm -rf $RPM_BUILD_ROOT
  @@ -189,6 +200,12 @@
 --prefix=%{l_prefix}
   ) || exit $?
   %endif
  +( cd SQLObject-%{V_sqlobject}
  +  %{l_prefix}/bin/python setup.py install \
  +  --skip-build \
  +  --root=$RPM_BUILD_ROOT \
  +  --prefix=%{l_prefix}
  +) || exit $?
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/python-db/ python-db.spec

2008-09-22 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:   22-Sep-2008 21:22:21
  Branch: HEAD Handle: 2008092220222100

  Modified files:
openpkg-src/python-db   python-db.spec

  Log:
requires python-setup

  Summary:
RevisionChanges Path
1.43+1  -0  openpkg-src/python-db/python-db.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/python-db/python-db.spec
  
  $ cvs diff -u -r1.42 -r1.43 python-db.spec
  --- openpkg-src/python-db/python-db.spec  22 Sep 2008 19:21:40 -  
1.42
  +++ openpkg-src/python-db/python-db.spec  22 Sep 2008 19:22:21 -  
1.43
  @@ -64,6 +64,7 @@
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg = 20040130, python = %{V_python}
   PreReq:   OpenPKG, openpkg = 20040130, python = %{V_python}
  +BuildPreReq:  python-setup
   %if %{with_sqlite} == yes
   BuildPreReq:  sqlite
   PreReq:   sqlite
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/dbmail/ dbmail-folders.pl dbmail.spec

2008-09-22 Thread Ralf S. Engelschall
 to create folder 
\%s/%s\: %s\n, $owner, $folder, $db-error()), exit(1);
  +($mailbox_id) = $db-query(q{
  +SELECT mailbox_idnr 
  +FROM   dbmail_mailboxes 
  +WHERE  owner_idnr = ? AND name = ?;
  +}, $owner_id, $folder)-flat();
  +if (not defined $mailbox_id) {
  +printf(STDERR dbmail-folders:ERROR: unable to determine id of newly 
created folder\n); 
  +exit(1);
  +}
  +}
  +
  +#   optionally grant access to folder for additional users (beside folder 
owner)
  +$db-query(q{
  +DELETE 
  +FROM   dbmail_acl 
  +WHERE  mailbox_id = ?;
  +}, $mailbox_id);
  +foreach my $user (@ARGV) {
  +my $mode = rw;
  +if ($user =~ m/^(r[ow]):(.+)$/) {
  +$mode = $1;
  +$user = $2;
  +} 
  +my ($user_id) = $db-query(q{
  +SELECT user_idnr
  +FROM   dbmail_users 
  +WHERE  userid = ?;
  +}, $user)-flat();
  +if (not defined $user_id) {
  +printf(STDERR dbmail-folders:WARNING: user \%s\ not existing\n, 
$user); 
  +next;
  +}
  +if ($mode eq rw) {
  +$db-query(q{
  +INSERT 
  +INTO   dbmail_acl 
  +   ( user_id, mailbox_id, 
  + lookup_flag, read_flag, seen_flag, write_flag, 
insert_flag,
  + post_flag, create_flag, delete_flag, administer_flag )
  +VALUES ( ?, ?,
  + 1, 1, 1, 1, 1,
  + 1, 1, 1, 1 );
  +}, $user_id, $mailbox_id);
  +}
  +else {
  +$db-query(q{
  +INSERT 
  +INTO   dbmail_acl 
  +   ( user_id, mailbox_id, 
  + lookup_flag, read_flag, seen_flag, write_flag, 
insert_flag,
  + post_flag, create_flag, delete_flag, administer_flag )
  +VALUES ( ?, ?,
  + 1, 1, 0, 0, 0,
  + 0, 0, 0, 0 );
  +}, $user_id, $mailbox_id);
  +}
  +}
  +
  +#   make sure at least owner is subscribed to folder
  +my ($exists) = $db-query(q{
  +SELECT 1
  +FROM   dbmail_subscription 
  +WHERE  user_id = ? AND mailbox_id = ?;
  +}, $owner_id, $mailbox_id)-flat();
  +if (not (defined $exists and $exists)) {
  +$db-query(q{
  +INSERT 
  +INTO   dbmail_subscription 
  +   ( user_id, mailbox_id )
  +VALUES ( ?, ? );
  +}, $owner_id, $mailbox_id);
  +}
  +
  +#   disconnect from DBMail's PostgreSQL-based backend RDBMS
  +$db-disconnect();
  +undef $db;
  +
  +#   die gracefully
  +exit(0);
  +
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-src/dbmail/dbmail.spec
  
  $ cvs diff -u -r1.38 -r1.39 dbmail.spec
  --- openpkg-src/dbmail/dbmail.spec25 Mar 2008 07:28:42 -  1.38
  +++ openpkg-src/dbmail/dbmail.spec22 Sep 2008 19:50:56 -  1.39
  @@ -36,7 +36,7 @@
   Group:Mail
   License:  GPL
   Version:  %{V_major}.%{V_minor}
  -Release:  20080325
  +Release:  20080922
   
   #   package options
   %option   with_fslyes
  @@ -56,13 +56,14 @@
   Source1:  fsl.dbmail
   Source2:  rc.dbmail
   Source3:  dbmail-setup.sh
  +Source4:  dbmail-folders.pl
   Patch0:   dbmail.patch
   
   #   build information
   Prefix:   %{l_prefix}
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg = 20060823, make, gcc, pkgconfig
  -PreReq:   OpenPKG, openpkg = 20060823, MTA
  +PreReq:   OpenPKG, openpkg = 20060823, MTA, perl
   BuildPreReq:  libiconv, gettext, gc, glib2, gmime
   PreReq:   libiconv, gettext, gc, glib2, gmime
   %if %{with_fsl} == yes
  @@ -208,6 +209,10 @@
   -e s;@db_type@;$db_type;g \
   %{SOURCE dbmail-setup.sh} 
$RPM_BUILD_ROOT%{l_prefix}/sbin/dbmail-setup
   
  +#   install folder creation utility
  +%{l_shtool} install -c -m 755 %{l_value -s -a} \
  +%{SOURCE dbmail-folders.pl} 
$RPM_BUILD_ROOT%{l_prefix}/sbin/dbmail-folders
  +
   #   install default configuration file
   %{l_shtool} install%{l_nil} -c -m 600 %{l_value -s -a} \
   -e 's;[  ]*$;;' \
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 22:06:10
  Branch: HEAD Handle: 2008092221061000

  Modified files:
openpkg-src/asteriskasterisk.spec

  Log:
adjust back to gmime 2.2 world order (which uses gmime-2.0.pc)

  Summary:
RevisionChanges Path
1.80+2  -2  openpkg-src/asterisk/asterisk.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/asterisk/asterisk.spec
  
  $ cvs diff -u -r1.79 -r1.80 asterisk.spec
  --- openpkg-src/asterisk/asterisk.spec10 Sep 2008 18:08:46 -  
1.79
  +++ openpkg-src/asterisk/asterisk.spec22 Sep 2008 20:06:10 -  
1.80
  @@ -41,7 +41,7 @@
   Group:VoIP
   License:  GPL
   Version:  %{V_opkg}
  -Release:  20080910
  +Release:  20080922
   
   #   package options
   %option   with_dahdi   no
  @@ -226,7 +226,7 @@
   -e 's;lua5.1/lua.h;lua/lua.h;' \
   -e 's;ffmpeg/avcodec.h;libavcodec/avcodec.h;' \
   configure
  -( echo ac_cv_prog_CONFIG_GMIME='pkg-config gmime-2.4'
  +( echo ac_cv_prog_CONFIG_GMIME='pkg-config gmime-2.0'
   ) config.cache
   cflags=%{l_cflags -O}
   cppflags=%{l_cppflags ncurses lua .}
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-09-22 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:   22-Sep-2008 22:07:00
  Branch: HEAD Handle: 200809222107

  Modified files:
openpkg-src/gmime   gmime.spec

  Log:
step back to gmime 2.2 as dbmail 2.2 is fully incompatibile with gmime
2.3 and higher

  Summary:
RevisionChanges Path
1.96+3  -3  openpkg-src/gmime/gmime.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/gmime/gmime.spec
  
  $ cvs diff -u -r1.95 -r1.96 gmime.spec
  --- openpkg-src/gmime/gmime.spec  15 Sep 2008 09:18:08 -  1.95
  +++ openpkg-src/gmime/gmime.spec  22 Sep 2008 20:07:00 -  1.96
  @@ -22,8 +22,8 @@
   ##
   
   #   package version
  -%define   V_major  2.3
  -%define   V_minor  10
  +%define   V_major  2.2
  +%define   V_minor  23
   %define   V_perl   1.6
   
   #   package information
  @@ -37,7 +37,7 @@
   Group:Libraries
   License:  LGPL
   Version:  %{V_major}.%{V_minor}
  -Release:  20080915
  +Release:  20080922
   
   #   package options
   %option   with_perl  no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org