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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:57:54
  Branch: HEAD Handle: 2009022821575400

  Modified files:
openpkg-src/ffmpeg  ffmpeg.spec

  Log:
add even more codec support and change URL

  Summary:
RevisionChanges Path
1.15+5  -3  openpkg-src/ffmpeg/ffmpeg.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ffmpeg/ffmpeg.spec
  
  $ cvs diff -u -r1.14 -r1.15 ffmpeg.spec
  --- openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 21:28:45 -  1.14
  +++ openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 21:57:54 -  1.15
  @@ -28,7 +28,7 @@
   #   package information
   Name: ffmpeg
   Summary:  Audio/Video Codec Toolkit
  -URL:  http://ffmpeg.mplayerhq.hu/
  +URL:  http://ffmpeg.org/
   Vendor:   Various
   Packager: OpenPKG Foundation e.V.
   Distribution: OpenPKG Community
  @@ -47,8 +47,8 @@
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20060823, perl, make, gcc
   PreReq:   OpenPKG, openpkg >= 20060823
  -BuildPreReq:  x264, speex, vorbis-libs, faac, faad
  -PreReq:   x264, speex, vorbis-libs, faac, faad
  +BuildPreReq:  x264, speex, vorbis-libs, faac, faad, lame, xvid
  +PreReq:   x264, speex, vorbis-libs, faac, faad, lame, xvid
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -83,6 +83,8 @@
   --enable-libx264 \
   --enable-libfaac \
   --enable-libfaad \
  +--enable-libmp3lame \
  +--enable-libxvid \
   --disable-protocol=udp \
   --disable-devices \
   --disable-shared
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:51:41
  Branch: HEAD Handle: 2009022821514100

  Added files:
openpkg-src/xvidxvid.patch
  Modified files:
openpkg-src/xvidxvid.spec

  Log:
I said 'without pthread, please' and you don't wanted to react. So,
let's try the larger hammer and finally get rid of pthreads here

  Summary:
RevisionChanges Path
1.1 +53 -0  openpkg-src/xvid/xvid.patch
1.21+2  -0  openpkg-src/xvid/xvid.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/xvid/xvid.patch
  
  $ cvs diff -u -r0 -r1.1 xvid.patch
  --- /dev/null 2009-02-28 22:51:28 +0100
  +++ xvid.patch2009-02-28 22:51:41 +0100
  @@ -0,0 +1,53 @@
  +Index: src/encoder.c
  +--- src/encoder.c.orig   2007-02-08 14:10:24 +0100
   src/encoder.c2009-02-28 22:47:19 +0100
  +@@ -1712,6 +1712,7 @@
  + }
  + 
  + 
  ++#if 0
  + if (pEnc->num_threads > 0) {
  + /* multithreaded motion estimation - dispatch threads */
  + 
  +@@ -1753,12 +1754,15 @@
  + }
  + 
  + } else {
  ++#endif
  + /* regular ME */
  + 
  + MotionEstimation(&pEnc->mbParam, current, reference,
  +  &pEnc->vInterH, 
&pEnc->vInterV, &pEnc->vInterHV,
  +  &pEnc->vGMC, 256*4096);
  ++#if 0
  + }
  ++#endif
  + 
  + stop_motion_timer();
  + 
  +@@ -2008,6 +2012,7 @@
  + frame->fcode = frame->bcode = pEnc->current->fcode;
  + 
  + start_timer();
  ++#if 0
  + if (pEnc->num_threads > 0) {
  + void * status;
  + int k;
  +@@ -2054,6 +2059,7 @@
  + frame->bcode = pEnc->motionData[k].minbcode;
  + }
  + } else {
  ++#endif
  + MotionEstimationBVOP(&pEnc->mbParam, frame,
  +  
((int32_t)(pEnc->current->stamp - frame->stamp)),  
/* time_bp */
  +  
((int32_t)(pEnc->current->stamp - pEnc->reference->stamp)),/* time_pp */
  +@@ -2061,7 +2067,9 @@
  +  &pEnc->f_refh, 
&pEnc->f_refv, &pEnc->f_refhv,
  +  pEnc->current, b_ref, 
&pEnc->vInterH,
  +  &pEnc->vInterV, 
&pEnc->vInterHV);
  ++#if 0
  + }
  ++#endif
  + stop_motion_timer();
  + 
  + set_timecodes(frame, pEnc->reference,pEnc->mbParam.fbase);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/xvid/xvid.spec
  
  $ cvs diff -u -r1.20 -r1.21 xvid.spec
  --- openpkg-src/xvid/xvid.spec28 Feb 2009 21:38:36 -  1.20
  +++ openpkg-src/xvid/xvid.spec28 Feb 2009 21:51:41 -  1.21
  @@ -39,6 +39,7 @@
   
   #   list of sources
   Source0:  http://downloads.xvid.org/downloads/xvidcore-%{version}.tar.bz2
  +Patch0:   xvid.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -64,6 +65,7 @@
   
   %prep
   %setup -q -n xvidcore
  +%patch -p0
   
   %build
   ( cd build/generic
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:38:36
  Branch: HEAD Handle: 2009022821383600

  Modified files:
openpkg-src/xvidxvid.spec

  Log:
disable Pthread support for now

  Summary:
RevisionChanges Path
1.20+5  -0  openpkg-src/xvid/xvid.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/xvid/xvid.spec
  
  $ cvs diff -u -r1.19 -r1.20 xvid.spec
  --- openpkg-src/xvid/xvid.spec28 Feb 2009 21:32:46 -  1.19
  +++ openpkg-src/xvid/xvid.spec28 Feb 2009 21:38:36 -  1.20
  @@ -67,11 +67,16 @@
   
   %build
   ( cd build/generic
  +  ( echo "ac_cv_header_pthread_h=no"
  +echo "ac_cv_lib_pthread_pthread_create=no"
  +echo "ac_cv_lib_pthread_pthread_join=no"
  +  ) >config.cache
 CC="%{l_cc}" \
 CFLAGS="%{l_cflags -O}" \
 CPPFLAGS="%{l_cppflags}" \
 LDFLAGS="%{l_ldflags}" \
 ./configure \
  +  --cache-file=./config.cache \
 --prefix=%{l_prefix} \
   %if "%{with_asm}" == "yes"
 --enable-assembly
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:32:47
  Branch: HEAD Handle: 2009022821324600

  Modified files:
openpkg-src/xvidxvid.spec

  Log:
remove obsolete comment

  Summary:
RevisionChanges Path
1.19+1  -2  openpkg-src/xvid/xvid.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/xvid/xvid.spec
  
  $ cvs diff -u -r1.18 -r1.19 xvid.spec
  --- openpkg-src/xvid/xvid.spec4 Dec 2008 20:14:25 -   1.18
  +++ openpkg-src/xvid/xvid.spec28 Feb 2009 21:32:46 -  1.19
  @@ -32,7 +32,7 @@
   Group:Graphics
   License:  GPL
   Version:  1.2.1
  -Release:  20081204
  +Release:  20090228
   
   #   package options
   %option   with_asm  no
  @@ -57,7 +57,6 @@
   
   %track
   prog xvid = {
  -comment   = "cs: fix in %prep section probably obsolete with next 
vendor release"
   version   = %{version}
   url   = http://www.xvid.org/downloads.html
   regex = xvidcore-(\d+\.\d+\.\d+)\.tar\.bz2
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:28:45
  Branch: HEAD Handle: 2009022821284500

  Modified files:
openpkg-src/ffmpeg  ffmpeg.spec

  Log:
support AAC

  Summary:
RevisionChanges Path
1.14+4  -2  openpkg-src/ffmpeg/ffmpeg.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ffmpeg/ffmpeg.spec
  
  $ cvs diff -u -r1.13 -r1.14 ffmpeg.spec
  --- openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 20:02:06 -  1.13
  +++ openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 21:28:45 -  1.14
  @@ -47,8 +47,8 @@
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20060823, perl, make, gcc
   PreReq:   OpenPKG, openpkg >= 20060823
  -BuildPreReq:  x264, speex, vorbis-libs
  -PreReq:   x264, speex, vorbis-libs
  +BuildPreReq:  x264, speex, vorbis-libs, faac, faad
  +PreReq:   x264, speex, vorbis-libs, faac, faad
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -81,6 +81,8 @@
   --enable-libspeex \
   --enable-libvorbis \
   --enable-libx264 \
  +--enable-libfaac \
  +--enable-libfaad \
   --disable-protocol=udp \
   --disable-devices \
   --disable-shared
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:28:32
  Branch: HEAD Handle: 2009022821283100

  Modified files:
openpkg-src/lamelame.spec

  Log:
provide C API

  Summary:
RevisionChanges Path
1.59+3  -4  openpkg-src/lame/lame.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lame/lame.spec
  
  $ cvs diff -u -r1.58 -r1.59 lame.spec
  --- openpkg-src/lame/lame.spec23 Sep 2008 07:11:09 -  1.58
  +++ openpkg-src/lame/lame.spec28 Feb 2009 21:28:31 -  1.59
  @@ -37,7 +37,7 @@
   Group:Audio
   License:  GPL
   Version:  %{V_opkg}
  -Release:  20080923
  +Release:  20090228
   
   #   list of sources
   Source0:  
http://switch.dl.sourceforge.net/sourceforge/lame/lame-%{V_real}.tar.gz
  @@ -79,15 +79,14 @@
   ./configure \
   --prefix=%{l_prefix} \
   --mandir=%{l_prefix}/man \
  +--with-fileio=lame \
   --disable-dependency-tracking \
  ---with-fileio=lame
  +--disable-shared
   %{l_make} %{l_mflags}
   
   %install
   rm -rf $RPM_BUILD_ROOT
   %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  -rm -rf $RPM_BUILD_ROOT%{l_prefix}/include
  -rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib
   rm -rf $RPM_BUILD_ROOT%{l_prefix}/share
   strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:23:56
  Branch: HEAD Handle: 2009022821235500

  Modified files:
openpkg-src/faadfaad.spec

  Log:
no C++ used

  Summary:
RevisionChanges Path
1.3 +0  -2  openpkg-src/faad/faad.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/faad/faad.spec
  
  $ cvs diff -u -r1.2 -r1.3 faad.spec
  --- openpkg-src/faad/faad.spec28 Feb 2009 21:04:34 -  1.2
  +++ openpkg-src/faad/faad.spec28 Feb 2009 21:23:55 -  1.3
  @@ -62,9 +62,7 @@
   
   %build
   CC="%{l_cc}" \
  -CXX="%{l_cxx}" \
   CFLAGS="%{l_cflags -O}" \
  -CXXFLAGS="%{l_cxxflags -O}" \
   CPPFLAGS="%{l_cppflags}" \
   LDFLAGS="%{l_ldflags}" \
   ./configure \
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:21:51
  Branch: HEAD Handle: 2009022821215100

  Added files:
openpkg-src/faacfaac.spec

  Log:
new package: faac 1.28 (Fast Advanced Audio (AAC) Encoding Library)

  Summary:
RevisionChanges Path
1.1 +85 -0  openpkg-src/faac/faac.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/faac/faac.spec
  
  $ cvs diff -u -r0 -r1.1 faac.spec
  --- /dev/null 2009-02-28 22:21:49 +0100
  +++ faac.spec 2009-02-28 22:21:51 +0100
  @@ -0,0 +1,85 @@
  +##
  +##  faac.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: faac
  +Summary:  Fast Advanced Audio (AAC) Encoding Library
  +URL:  http://www.audiocoding.com/
  +Vendor:   M. Bakker, Tony Lenox et al.
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Audio
  +License:  LGPL
  +Version:  1.28
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  http://downloads.sourceforge.net/faac/faac-%{version}.tar.bz2
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc, gcc::with_cxx = yes
  +PreReq:   OpenPKG, openpkg >= 20060823
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +FAAC is a free Advanced Audio (AAC) encoder, based on the ISO MPEG-4
  +reference code.
  +
  +%track
  +prog faad = {
  +version   = %{version}
  +url   = http://www.audiocoding.com/downloads.html
  +regex = faac-(__VER__)\.tar\.bz2
  +}
  +
  +%prep
  +%setup -q
  +
  +%build
  +CC="%{l_cc}" \
  +CXX="%{l_cxx}" \
  +CFLAGS="%{l_cflags -O}" \
  +CXXFLAGS="%{l_cxxflags -O}" \
  +CPPFLAGS="%{l_cppflags}" \
  +LDFLAGS="%{l_ldflags}" \
  +./configure \
  +--prefix=%{l_prefix} \
  +--mandir=%{l_prefix}/man \
  +--disable-shared
  +%{l_make} %{l_mflags -O}
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +%{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/faad/ faad.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:04:34
  Branch: HEAD Handle: 2009022821043400

  Modified files:
openpkg-src/faadfaad.spec

  Log:
fix typo

  Summary:
RevisionChanges Path
1.2 +1  -1  openpkg-src/faad/faad.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/faad/faad.spec
  
  $ cvs diff -u -r1.1 -r1.2 faad.spec
  --- openpkg-src/faad/faad.spec28 Feb 2009 21:03:51 -  1.1
  +++ openpkg-src/faad/faad.spec28 Feb 2009 21:04:34 -  1.2
  @@ -24,7 +24,7 @@
   #   package information
   Name: faad
   Summary:  Fast Advanced Audio (AAC) Decoder Library
  -URL:  http://www.audiocoding.com/d
  +URL:  http://www.audiocoding.com/
   Vendor:   M. Bakker
   Packager: OpenPKG Foundation e.V.
   Distribution: OpenPKG Community
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 22:03:51
  Branch: HEAD Handle: 2009022821035100

  Added files:
openpkg-src/faadfaad.spec

  Log:
new package: faad 2.7 (Fast Advanced Audio (AAC) Decoder Library)

  Summary:
RevisionChanges Path
1.1 +91 -0  openpkg-src/faad/faad.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/faad/faad.spec
  
  $ cvs diff -u -r0 -r1.1 faad.spec
  --- /dev/null 2009-02-28 22:03:48 +0100
  +++ faad.spec 2009-02-28 22:03:51 +0100
  @@ -0,0 +1,91 @@
  +##
  +##  faad.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: faad
  +Summary:  Fast Advanced Audio (AAC) Decoder Library
  +URL:  http://www.audiocoding.com/d
  +Vendor:   M. Bakker
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Audio
  +License:  GPL
  +Version:      2.7
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  http://downloads.sourceforge.net/faac/faad2-%{version}.tar.bz2
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823
  +PreReq:   OpenPKG, openpkg >= 20060823
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +FAAD is a free Advanced Audio (AAC) decoder, capable of HE, LC, MAIN
  +and LTP profile, MPEG2 and MPEG-4 AAC. FAAD also includes code for
  +SBR (HE AAC) decoding.
  +
  +%track
  +prog faad = {
  +version   = %{version}
  +url   = http://www.audiocoding.com/downloads.html
  +regex = faad2-(__VER__)\.tar\.bz2
  +}
  +
  +%prep
  +%setup -q -n faad2-%{version}
  +
  +%build
  +CC="%{l_cc}" \
  +CXX="%{l_cxx}" \
  +CFLAGS="%{l_cflags -O}" \
  +CXXFLAGS="%{l_cxxflags -O}" \
  +CPPFLAGS="%{l_cppflags}" \
  +LDFLAGS="%{l_ldflags}" \
  +./configure \
  +--prefix=%{l_prefix} \
  +--mandir=%{l_prefix}/man \
  +--with-drm \
  +--disable-shared
  +%{l_make} %{l_mflags -O}
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +mv  $RPM_BUILD_ROOT%{l_prefix}/man/manm \
  +$RPM_BUILD_ROOT%{l_prefix}/man/man1
  +mv  $RPM_BUILD_ROOT%{l_prefix}/man/man1/faad.man \
  +$RPM_BUILD_ROOT%{l_prefix}/man/man1/faad.1
  +%{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/ffmpeg/ ffmpeg.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 21:02:07
  Branch: HEAD Handle: 2009022820020600

  Modified files:
openpkg-src/ffmpeg  ffmpeg.spec

  Log:
enable more codecs

  Summary:
RevisionChanges Path
1.13+10 -3  openpkg-src/ffmpeg/ffmpeg.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ffmpeg/ffmpeg.spec
  
  $ cvs diff -u -r1.12 -r1.13 ffmpeg.spec
  --- openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 19:32:26 -  1.12
  +++ openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 20:02:06 -  1.13
  @@ -47,6 +47,8 @@
   BuildRoot:%{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20060823, perl, make, gcc
   PreReq:   OpenPKG, openpkg >= 20060823
  +BuildPreReq:  x264, speex, vorbis-libs
  +PreReq:   x264, speex, vorbis-libs
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -70,13 +72,18 @@
   CPPFLAGS="%{l_cppflags}" \
   LDFLAGS="%{l_ldflags}" \
   ./configure \
  +--extra-cflags="%{l_cflags -O} %{l_cppflags}" \
  +--extra-ldflags="%{l_ldflags}" \
   --prefix=%{l_prefix} \
   --mandir=%{l_prefix}/man \
  +--enable-gpl \
  +--enable-nonfree \
  +--enable-libspeex \
  +--enable-libvorbis \
  +--enable-libx264 \
   --disable-protocol=udp \
   --disable-devices \
  ---disable-shared \
  ---enable-gpl \
  ---enable-nonfree
  +--disable-shared
   %{l_make} %{l_mflags}
   
   %install
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 20:43:37
  Branch: HEAD Handle: 2009022819433700

  Added files:
openpkg-src/flacflac.spec

  Log:
new package: flac 1.2.1 (Free Lossless Audio Codec)

  Summary:
RevisionChanges Path
1.1 +94 -0  openpkg-src/flac/flac.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/flac/flac.spec
  
  $ cvs diff -u -r0 -r1.1 flac.spec
  --- /dev/null 2009-02-28 20:43:34 +0100
  +++ flac.spec 2009-02-28 20:43:37 +0100
  @@ -0,0 +1,94 @@
  +##
  +##  flac.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: flac
  +Summary:  Free Lossless Audio Codec
  +URL:  http://flac.sourceforge.net/
  +Vendor:   Josh Coalson
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Audio
  +License:  GPL/LGPL
  +Version:  1.2.1
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  http://switch.dl.sourceforge.net/flac/flac-%{version}.tar.gz
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc, gcc::with_cxx = yes
  +PreReq:   OpenPKG, openpkg >= 20060823
  +BuildPreReq:  vorbis-libs
  +PreReq:   vorbis-libs
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +FLAC stands for Free Lossless Audio Codec, an audio format similar
  +to MP3, but lossless, meaning that audio is compressed in FLAC
  +without any loss in quality. This is similar to how Zip works,
  +except with FLAC you will get much better compression because it is
  +designed specifically for audio, and you can play back compressed
  +FLAC files in your favorite player (or your car or home stereo, see
  +supported devices) just like you would an MP3 file.
  +
  +%track
  +prog flac = {
  +version   = %{version}
  +url   = http://prdownloads.sourceforge.net/flac/
  +regex = flac-(__VER__)\.tar\.gz
  +}
  +
  +%prep
  +%setup -q
  +
  +%build
  +CC="%{l_cc}" \
  +CXX="%{l_cxx}" \
  +CFLAGS="%{l_cflags -O}" \
  +CXXFLAGS="%{l_cxxflags -O}" \
  +CPPFLAGS="%{l_cppflags}" \
  +LDFLAGS="%{l_ldflags}" \
  +./configure \
  +--prefix=%{l_prefix} \
  +--enable-ogg \
  +--with-ogg=%{l_prefix} \
  +--disable-shared
  +%{l_make} %{l_mflags -O}
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true
  +%{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/ffmpeg/ ffmpeg.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 20:32:27
  Branch: HEAD Handle: 2009022819322600

  Modified files:
openpkg-src/ffmpeg  ffmpeg.spec

  Log:
enable demuxers and protocols except the UDP one which fails

  Summary:
RevisionChanges Path
1.12+3  -4  openpkg-src/ffmpeg/ffmpeg.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ffmpeg/ffmpeg.spec
  
  $ cvs diff -u -r1.11 -r1.12 ffmpeg.spec
  --- openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 10:22:45 -  1.11
  +++ openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 19:32:26 -  1.12
  @@ -22,8 +22,8 @@
   ##
   
   #   package version
  -%define   V_tarball 20090130
  -%define   V_subdir  2009-01-30
  +%define   V_tarball 20090228
  +%define   V_subdir  2009-02-28
   
   #   package information
   Name: ffmpeg
  @@ -72,9 +72,8 @@
   ./configure \
   --prefix=%{l_prefix} \
   --mandir=%{l_prefix}/man \
  ---disable-demuxers \
  +--disable-protocol=udp \
   --disable-devices \
  ---disable-protocols \
   --disable-shared \
   --enable-gpl \
   --enable-nonfree
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 18:29:07
  Branch: HEAD Handle: 2009022817290700

  Added files:
openpkg-src/x264x264.spec

  Log:
new package: x264 2245 (H.264 Codec Library)

  Summary:
RevisionChanges Path
1.1 +86 -0  openpkg-src/x264/x264.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/x264/x264.spec
  
  $ cvs diff -u -r0 -r1.1 x264.spec
  --- /dev/null 2009-02-28 18:29:01 +0100
  +++ x264.spec 2009-02-28 18:29:07 +0100
  @@ -0,0 +1,86 @@
  +##
  +##  x264.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_build 2245
  +%define   V_date  20090227
  +
  +#   package information
  +Name: x264
  +Summary:  H.264 Codec Library
  +URL:  http://www.videolan.org/developers/x264.html
  +Vendor:   Laurent Aimar, Loren Merritt et al.
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Video
  +License:  GPL
  +Version:  %{V_build}
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{V_date}-%{V_build}.tar.bz2
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc, yasm, make
  +PreReq:   OpenPKG, openpkg >= 20060823
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +x264 is a free library for encoding H.264/AVC video streams.
  +
  +%track
  +prog x264 = {
  +version   = %{V_date}-%{V_build}
  +url   = ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
  +regex = x264-snapshot-(\d+-\d+)\.tar\.bz2
  +}
  +
  +%prep
  +%setup -q -n x264-snapshot-%{V_date}-%{V_build}
  +
  +%build
  +%{l_shtool} subst \
  +-e 's;/bin/bash;%{l_bash};g' \
  +version.sh
  +CC="%{l_cc}" \
  +CFLAGS="%{l_cflags -O}" \
  +%{l_bash} ./configure \
  +--prefix=%{l_prefix} \
  +--disable-pthread
  +%{l_make} %{l_mflags -O}
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
  +strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +%{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/samhain/ samhain.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 13:54:25
  Branch: HEAD Handle: 2009022812542500

  Modified files:
openpkg-src/samhain samhain.spec

  Log:
upgrading package: samhain 2.5.2b -> 2.5.3

  Summary:
RevisionChanges Path
1.128   +2  -2  openpkg-src/samhain/samhain.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/samhain/samhain.spec
  
  $ cvs diff -u -r1.127 -r1.128 samhain.spec
  --- openpkg-src/samhain/samhain.spec  30 Jan 2009 16:31:35 -  1.127
  +++ openpkg-src/samhain/samhain.spec  28 Feb 2009 12:54:25 -  1.128
  @@ -31,8 +31,8 @@
   Class:BASE
   Group:Filesystem
   License:  GPL
  -Version:  2.5.2b
  -Release:  20090130
  +Version:  2.5.3
  +Release:  20090228
   
   #   package options
   %option   with_fsl  yes
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/apache-flvx/ apache-flvx.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:43:49
  Branch: HEAD Handle: 2009022810434900

  Modified files:
openpkg-src/apache-flvx apache-flvx.spec

  Log:
fix URL

  Summary:
RevisionChanges Path
1.2 +1  -1  openpkg-src/apache-flvx/apache-flvx.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-flvx/apache-flvx.spec
  
  $ cvs diff -u -r1.1 -r1.2 apache-flvx.spec
  --- openpkg-src/apache-flvx/apache-flvx.spec  28 Feb 2009 10:42:26 -  
1.1
  +++ openpkg-src/apache-flvx/apache-flvx.spec  28 Feb 2009 10:43:49 -  
1.2
  @@ -24,7 +24,7 @@
   #   package information
   Name: apache-flvx
   Summary:  Apache Extension: Flash Video Pseudo-Streaming
  -URL:  http://sourceforge.net/projects/modtimedout/
  +URL:  
http://tperspective.blogspot.com/2009/02/apache-flv-streaming-done-right.html
   Vendor:   Paul Querna, Artur Bodera
   Packager: OpenPKG Foundation e.V.
   Distribution: OpenPKG Community
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/apache-flvx/ apache-flvx.conf mod_flvx.c

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:42:54
  Branch: HEAD Handle: 2009022810425400

  Added files:
openpkg-src/apache-flvx apache-flvx.conf mod_flvx.c

  Log:
modifying package: apache-flvx-20080204 20090228 again

  Summary:
RevisionChanges Path
1.1 +8  -0  openpkg-src/apache-flvx/apache-flvx.conf
1.1 +169 -0 openpkg-src/apache-flvx/mod_flvx.c
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-flvx/apache-flvx.conf
  
  $ cvs diff -u -r0 -r1.1 apache-flvx.conf
  --- /dev/null 2009-02-28 11:42:54 +0100
  +++ apache-flvx.conf  2009-02-28 11:42:54 +0100
  @@ -0,0 +1,8 @@
  +##
  +##  apache-flvx.conf -- Apache configuration for mod_flvx
  +##
  +
  +LoadModule  flvx_module @l_prefix@/libexec/apache/mod_flvx.so
  +
  +AddHandler  flv-stream  .flv
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-flvx/mod_flvx.c
  
  $ cvs diff -u -r0 -r1.1 mod_flvx.c
  --- /dev/null 2009-02-28 11:42:54 +0100
  +++ mod_flvx.c2009-02-28 11:42:54 +0100
  @@ -0,0 +1,169 @@
  +/**
  + *  Copyright 2006 Paul Querna
  + *
  + *  Licensed under the Apache License, Version 2.0 (the "License");
  + *  you may not use this file except in compliance with the License.
  + *  You may obtain a copy of the License at
  + *
  + *  http://www.apache.org/licenses/LICENSE-2.0
  + *
  + *  Unless required by applicable law or agreed to in writing, software
  + *  distributed under the License is distributed on an "AS IS" BASIS,
  + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + *  See the License for the specific language governing permissions and
  + *  limitations under the License.
  + *
  + *
  + *  Modified on 4.II.2008 by Artur Bodera (ar...@bodera.com)
  + *  - added offset reset if invalid
  + *  - fixed content-length header generation
  + *  - added last-modified header
  + *  - inspiration: 
http://apachedev.ru/2006/07/13/mod_flvx-peredacha-potokovogo-flash-video
  + *
  + *  Usage:
  + *  1. Compile and install with apxs tool:
  + *  apxs -c -i ./mod_flvx.c
  + *
  + *   (http://httpd.apache.org/docs/2.0/programs/apxs.html)
  + *  
  + *  2. Add the following lines to your httpd.conf or create a
  + * dedicated /etc/httpd/conf.d/mod_flvx.conf config file:
  + * 
  + * LoadModule flvx_module modules/mod_flvx.so
  + * AddHandler flv-stream .flv
  + *
  + *  3. Restart Apache!
  + *  
  + *  4. Now your flv files can be streamed using ?start= parameter
  + *
  + */
  +
  +#include "httpd.h"
  +#include "http_core.h"
  +#include "http_config.h"
  +#include "http_protocol.h"
  +#include "http_log.h"
  +#include "apr_buckets.h"
  +
  +#define FLVX_HANDLER "flv-stream"
  +
  +#define FLVX_HEADER "FLV\x1\x1\0\0\0\x9\0\0\0\x9"
  +#define FLVX_HEADER_LEN (sizeof(FLVX_HEADER)-1)
  +
  +static apr_off_t get_start(request_rec *r)
  +{
  +apr_off_t start = 0;
  +char *p = NULL;
  +
  +if (!r->args) {
  +return start;
  +}
  +
  +p = strstr(r->args, "start=");
  +
  +if (p) {
  +p = p + 6;
  +apr_strtoff(&start, p, NULL, 10);
  +}
  +
  +return start;
  +}
  +
  +static int drive_flvx(request_rec *r)
  +{
  +apr_finfo_t fi;
  +apr_bucket_brigade *bb;
  +apr_off_t offset = 0;
  +apr_off_t length = 0;
  +apr_file_t *fp = NULL;
  +apr_status_t rv = APR_SUCCESS;
  +
  +rv = apr_stat(&fi, r->filename, APR_FINFO_SIZE, r->pool);
  +
  +if (rv) {
  +/* Let the core handle it. */
  +return DECLINED;
  +}
  +
  +/* Open the file */
  +rv = apr_file_open(&fp, r->filename, APR_READ,
  +   APR_OS_DEFAULT, r->pool);
  +
  +if (rv) {
  +ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
  +  "file permissions deny server access: %s", 
r->filename);
  +return HTTP_FORBIDDEN;
  +}
  +
  +offset = get_start(r);
  +
  +if (offset != 0 && offset < fi.size) {
  +length = fi.size - offset;
  +}
  +else {
  +length = fi.size;
  +
  +/* Offset should be reset if invalid(

[CVS] OpenPKG: openpkg-src/apache-flvx/ apache-flvx.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:42:26
  Branch: HEAD Handle: 2009022810422600

  Added files:
openpkg-src/apache-flvx apache-flvx.spec

  Log:
new package: apache-flvx 20080204 (Apache Extension: Flash Video
Pseudo-Streaming)

  Summary:
RevisionChanges Path
1.1 +101 -0 openpkg-src/apache-flvx/apache-flvx.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-flvx/apache-flvx.spec
  
  $ cvs diff -u -r0 -r1.1 apache-flvx.spec
  --- /dev/null 2009-02-28 11:42:24 +0100
  +++ apache-flvx.spec  2009-02-28 11:42:26 +0100
  @@ -0,0 +1,101 @@
  +##
  +##  apache-flvx.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: apache-flvx
  +Summary:  Apache Extension: Flash Video Pseudo-Streaming
  +URL:  http://sourceforge.net/projects/modtimedout/
  +Vendor:   Paul Querna, Artur Bodera
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Web
  +License:  GPL
  +Version:  20080204
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  mod_flvx.c
  +Source1:  apache-flvx.conf
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, apache, make
  +PreReq:   OpenPKG, openpkg >= 20060823, apache
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +This is an Apache module for requesting Adobe Flash Video (FLV)
  +from a particular start position. It is based on the simple
  +Pseudo-Streaming approach of YouTube where a "start" query string is
  +supplied by the player. This is supported by FlowPlayer, too.
  +
  +%track
  +prog apache-flvx = {
  +disabled
  +version   = %{version}
  +url   = -
  +regex = .*
  +}
  +
  +%prep
  +%setup -q -T -c
  +
  +%build
  +#   build module
  +cp %{SOURCE mod_flvx.c} .
  +%{l_prefix}/sbin/apxs -c mod_flvx.c
  +
  +%install
  +#   install module
  +rm -rf $RPM_BUILD_ROOT
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d \
  +$RPM_BUILD_ROOT%{l_prefix}/libexec/apache
  +%{l_shtool} install -c -m 755 \
  +.libs/mod_flvx.so \
  +$RPM_BUILD_ROOT%{l_prefix}/libexec/apache/mod_flvx.so
  +%{l_shtool} install -c -m 755 %{l_value -s -a} \
  +%{SOURCE apache-flvx.conf} \
  +$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
  +
  +#   determine installation files
  +%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  +%{l_files_std} \
  +'%config %{l_prefix}/etc/apache/apache.d/apache-flvx.conf' \
  +'%config %{l_prefix}/etc/apache-flvx/*'
  +
  +%files -f files
  +
  +%clean
  +rm -rf $RPM_BUILD_ROOT
  +
  +%post
  +#   after upgrade, restart service
  +[ $1 -eq 2 ] || exit 0
  +eval `%{l_rc} apache status 2>/dev/null`
  +[ ".$apache_active" = .yes ] && %{l_rc} apache restart
  +exit 0
  +
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/apache-timedout/ apache-timedout.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:38:49
  Branch: HEAD Handle: 2009022810384900

  Modified files:
openpkg-src/apache-timedout
apache-timedout.spec

  Log:
cleanup packaging

  Summary:
RevisionChanges Path
1.2 +1  -6  openpkg-src/apache-timedout/apache-timedout.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-timedout/apache-timedout.spec
  
  $ cvs diff -u -r1.1 -r1.2 apache-timedout.spec
  --- openpkg-src/apache-timedout/apache-timedout.spec  28 Feb 2009 09:54:50 
-  1.1
  +++ openpkg-src/apache-timedout/apache-timedout.spec  28 Feb 2009 10:38:49 
-  1.2
  @@ -79,16 +79,11 @@
   %{SOURCE apache-timedout.conf} \
   $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
   
  -#   create directories for database
  -%{l_shtool} mkdir -f -p -m 755 \
  -$RPM_BUILD_ROOT%{l_prefix}/var/apache-timedout
  -
   #   determine installation files
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
   %{l_files_std} \
   '%config %{l_prefix}/etc/apache/apache.d/apache-timedout.conf' \
  -'%config %{l_prefix}/etc/apache-timedout/*' \
  -'%dir %attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/apache-timedout'
  +'%config %{l_prefix}/etc/apache-timedout/*'
   
   %files -f files
   
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:27:36
  Branch: HEAD Handle: 2009022810273500

  Added files:
openpkg-src/flvtool flvtool.spec

  Log:
new package: flvtool 1.0.6 (Flash Video Manipulation Tool)

  Summary:
RevisionChanges Path
1.1 +83 -0  openpkg-src/flvtool/flvtool.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/flvtool/flvtool.spec
  
  $ cvs diff -u -r0 -r1.1 flvtool.spec
  --- /dev/null 2009-02-28 11:27:33 +0100
  +++ flvtool.spec  2009-02-28 11:27:36 +0100
  @@ -0,0 +1,83 @@
  +##
  +##  flvtool.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: flvtool
  +Summary:  Flash Video Manipulation Tool
  +URL:  http://www.inlet-media.de/flvtool2
  +Vendor:   Norman Timmler
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Video
  +License:  BSD
  +Version:  1.0.6
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  
http://rubyforge.iasi.roedu.net/files/flvtool2/flvtool2-%{version}.tgz
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, ruby
  +PreReq:   OpenPKG, openpkg >= 20060823, ruby
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +FLVTool2 is a manipulation tool for Adobe Flash Video files (FLV).
  +It can calculate a lot of meta data, insert an onMetaData tag, cut
  +FLV files, add cue points (onCuePoint), show the FLV structure and
  +print meta data information in XML or YAML.
  +
  +%track
  +prog flvtool = {
  +version   = %{version}
  +url   = http://rubyforge.org/frs/?group_id=1096&release_id=9694
  +regex = flvtool2-(__VER__)\.tgz
  +}
  +
  +%prep
  +%setup -q -n flvtool2-%{version}
  +
  +%build
  +ruby setup.rb config \
  +--prefix=%{l_prefix}
  +
  +%install
  +rm -rf $RPM_BUILD_ROOT
  +ruby setup.rb install \
  +--prefix=$RPM_BUILD_ROOT
  +mv  $RPM_BUILD_ROOT%{l_prefix}/bin/flvtool2 \
  +$RPM_BUILD_ROOT%{l_prefix}/bin/flvtool
  +%{l_shtool} subst \
  +-e 's;#! /usr/bin/env ruby;#!%{l_prefix}/bin/ruby;' \
  +$RPM_BUILD_ROOT%{l_prefix}/bin/flvtool
  +%{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/samba/ samba.patch samba.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:23:17
  Branch: HEAD Handle: 2009022810231700

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

  Log:
upgrading package: samba 3.2.7 -> 3.3.1

  Summary:
RevisionChanges Path
1.23+7  -23 openpkg-src/samba/samba.patch
1.138   +2  -2  openpkg-src/samba/samba.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/samba/samba.patch
  
  $ cvs diff -u -r1.22 -r1.23 samba.patch
  --- openpkg-src/samba/samba.patch 13 Dec 2008 16:25:56 -  1.22
  +++ openpkg-src/samba/samba.patch 28 Feb 2009 10:23:17 -  1.23
  @@ -1,7 +1,7 @@
   Index: source/configure
   source/configure.orig2008-07-01 14:39:06 +0200
  -+++ source/configure 2008-07-03 22:10:38 +0200
  -@@ -11279,6 +11279,7 @@
  +--- source/configure.orig2009-01-27 08:53:11 +0100
   source/configure 2009-01-27 19:03:11 +0100
  +@@ -11902,6 +11902,7 @@
SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TDB_CFLAGS}"
SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/libaddns"
SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc"
  @@ -9,7 +9,7 @@

SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/popt"

  -@@ -70080,6 +70080,8 @@
  +@@ -75472,6 +75473,8 @@
else
LIBWBCLIENT_STATIC=$LIBWBCLIENT_STATIC_TARGET
fi
  @@ -17,10 +17,10 @@
   +LIBWBCLIENT_SHARED=$LIBWBCLIENT_STATIC_TARGET

if test x"$HAVE_WINBIND" = x"yes"; then
  - { echo "$as_me:$LINENO: result: yes" >&5
  + { $as_echo "$as_me:$LINENO: result: yes" >&5
   Index: source/lib/sysquotas_4A.c
   source/lib/sysquotas_4A.c.orig   2008-07-01 14:33:07 +0200
  -+++ source/lib/sysquotas_4A.c2008-07-03 22:09:34 +0200
  +--- source/lib/sysquotas_4A.c.orig   2009-01-26 14:56:34 +0100
   source/lib/sysquotas_4A.c2009-01-27 19:03:11 +0100
   @@ -71,6 +71,10 @@
#define dqb_curinodes   dqb_curfiles
#endif
  @@ -32,19 +32,3 @@
#ifdef INITQFNAMES
#define USERQUOTAFILE_EXTENSION ".user"
#else
  -Index: source/smbd/uid.c
   source/smbd/uid.c.orig   2008-07-01 14:33:07 +0200
  -+++ source/smbd/uid.c2008-07-03 22:09:34 +0200
  -@@ -157,7 +157,11 @@
  - NT_USER_TOKEN *token = NULL;
  - int num_groups = 0;
  - gid_t *group_list = NULL;
  --
  -+
  -+if (vuser)
  -+DEBUG(9,("change_to_user: SMB user \"%s\" (unix user \"%s\", 
vuid %d)\n",
  -+  vuser->user.smb_name ? vuser->user.smb_name : "?", 
vuser->user.unix_name ? vuser->user.unix_name : "?", vuid));
  -+
  - if (!conn) {
  - DEBUG(2,("change_to_user: Connection not open\n"));
  - return(False);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/samba/samba.spec
  
  $ cvs diff -u -r1.137 -r1.138 samba.spec
  --- openpkg-src/samba/samba.spec  5 Jan 2009 21:25:39 -   1.137
  +++ openpkg-src/samba/samba.spec  28 Feb 2009 10:23:17 -  1.138
  @@ -31,8 +31,8 @@
   Class:BASE
   Group:Filesystem
   License:  GPL
  -Version:  3.2.7
  -Release:  20090105
  +Version:  3.3.1
  +Release:  20090228
   
   #   package options
   %option   with_pam   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 11:22:45
  Branch: HEAD Handle: 2009022810224500

  Modified files:
openpkg-src/ffmpeg  ffmpeg.spec

  Log:
use a better Group for now

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

  patch -p0 <<'@@ .'
  Index: openpkg-src/ffmpeg/ffmpeg.spec
  
  $ cvs diff -u -r1.10 -r1.11 ffmpeg.spec
  --- openpkg-src/ffmpeg/ffmpeg.spec30 Jan 2009 16:54:32 -  1.10
  +++ openpkg-src/ffmpeg/ffmpeg.spec28 Feb 2009 10:22:45 -  1.11
  @@ -33,10 +33,10 @@
   Packager: OpenPKG Foundation e.V.
   Distribution: OpenPKG Community
   Class:EVAL
  -Group:Audio
  +Group:Video
   License:  GPL/LGPL
   Version:  %{V_tarball}
  -Release:  20090130
  +Release:  20090228
   
   #   list of sources
   Source0:  
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/ffmpeg/ffmpeg-export-snapshot-%{V_tarball}.tar.bz2
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/apache-timedout/ apache-timedout.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:54:51
  Branch: HEAD Handle: 2009022809545000

  Added files:
openpkg-src/apache-timedout
apache-timedout.spec

  Log:
new package: apache-timedout 0.1 (Apache Extension: Timed Out)

  Summary:
RevisionChanges Path
1.1 +104 -0 openpkg-src/apache-timedout/apache-timedout.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-timedout/apache-timedout.spec
  
  $ cvs diff -u -r0 -r1.1 apache-timedout.spec
  --- /dev/null 2009-02-28 10:54:48 +0100
  +++ apache-timedout.spec  2009-02-28 10:54:50 +0100
  @@ -0,0 +1,104 @@
  +##
  +##  apache-timedout.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: apache-timedout
  +Summary:  Apache Extension: Timed Out
  +URL:  http://sourceforge.net/projects/modtimedout/
  +Vendor:   Arturas Moskvinas
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Web
  +License:  GPL
  +Version:      0.1
  +Release:  20090228
  +
  +#   list of sources
  +Source0:  
http://switch.dl.sourceforge.net/modtimedout/mod_timedout-%{version}.tar.gz
  +Source1:  apache-timedout.conf
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, apache, make
  +PreReq:   OpenPKG, openpkg >= 20060823, apache
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +This is an Apache module which is checking the free server count and
  +when it is lower then defined in configuration it starts searching
  +for long running apache request and killing them or just warns about
  +plans to do it.
  +
  +%track
  +prog apache-timedout = {
  +version   = %{version}
  +url   = http://prdownloads.sourceforge.net/modtimedout/
  +regex = mod_timedout-(__VER__)\.tar\.gz
  +}
  +
  +%prep
  +%setup -q -n mod_timedout-%{version}
  +
  +%build
  +#   build module
  +%{l_prefix}/sbin/apxs -c mod_timedout.c
  +
  +%install
  +#   install module
  +rm -rf $RPM_BUILD_ROOT
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d \
  +$RPM_BUILD_ROOT%{l_prefix}/libexec/apache
  +%{l_shtool} install -c -m 755 \
  +.libs/mod_timedout.so \
  +$RPM_BUILD_ROOT%{l_prefix}/libexec/apache/mod_timedout.so
  +%{l_shtool} install -c -m 755 %{l_value -s -a} \
  +%{SOURCE apache-timedout.conf} \
  +$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
  +
  +#   create directories for database
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/var/apache-timedout
  +
  +#   determine installation files
  +%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  +%{l_files_std} \
  +'%config %{l_prefix}/etc/apache/apache.d/apache-timedout.conf' \
  +'%config %{l_prefix}/etc/apache-timedout/*' \
  +'%dir %attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/apache-timedout'
  +
  +%files -f files
  +
  +%clean
  +rm -rf $RPM_BUILD_ROOT
  +
  +%post
  +#   after upgrade, restart service
  +[ $1 -eq 2 ] || exit 0
  +  

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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:49:00
  Branch: HEAD Handle: 2009022809485700

  Modified files:
openpkg-src/libsmbclient
libsmbclient.spec

  Log:
upgrading package: libsmbclient 3.2.7 -> 3.3.1

  Summary:
RevisionChanges Path
1.54+2  -2  openpkg-src/libsmbclient/libsmbclient.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/libsmbclient/libsmbclient.spec
  
  $ cvs diff -u -r1.53 -r1.54 libsmbclient.spec
  --- openpkg-src/libsmbclient/libsmbclient.spec5 Jan 2009 21:47:52 
-   1.53
  +++ openpkg-src/libsmbclient/libsmbclient.spec28 Feb 2009 09:48:57 
-  1.54
  @@ -31,8 +31,8 @@
   Class:PLUS
   Group:Filesystem
   License:  GPL
  -Version:  3.2.7
  -Release:  20090105
  +Version:  3.3.1
  +Release:  20090228
   
   #   list of sources
   Source0:  http://us1.samba.org/samba/ftp/samba-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:42:00
  Branch: HEAD Handle: 200902280942

  Modified files:
openpkg-src/gcc44   gcc44.spec

  Log:
upgrading package: gcc44 4.4s20090220 -> 4.4s20090227

  Summary:
RevisionChanges Path
1.34+2  -2  openpkg-src/gcc44/gcc44.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc44/gcc44.spec
  
  $ cvs diff -u -r1.33 -r1.34 gcc44.spec
  --- openpkg-src/gcc44/gcc44.spec  21 Feb 2009 20:52:31 -  1.33
  +++ openpkg-src/gcc44/gcc44.spec  28 Feb 2009 09:42:00 -  1.34
  @@ -27,7 +27,7 @@
   #   package version
   %define   V_full 4.4
   %define   V_comp 44
  -%define   V_snap 20090220
  +%define   V_snap 20090227
   
   #   package information
   Name: gcc44
  @@ -40,7 +40,7 @@
   Group:Compiler
   License:  GPL
   Version:  %{V_full}s%{V_snap}
  -Release:  20090221
  +Release:  20090228
   
   #   package options
   %option   with_binutils  yes
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:19:02
  Branch: HEAD Handle: 2009022809190200

  Modified files:
openpkg-src/jabberd jabberd.spec

  Log:
upgrading package: jabberd 2.2.7 -> 2.2.7.1

  Summary:
RevisionChanges Path
1.79+2  -2  openpkg-src/jabberd/jabberd.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/jabberd/jabberd.spec
  
  $ cvs diff -u -r1.78 -r1.79 jabberd.spec
  --- openpkg-src/jabberd/jabberd.spec  17 Feb 2009 20:37:40 -  1.78
  +++ openpkg-src/jabberd/jabberd.spec  28 Feb 2009 09:19:02 -  1.79
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_major 2.2
  -%define   V_minor 7
  +%define   V_minor 7.1
   
   #   package information
   Name: jabberd
  @@ -36,7 +36,7 @@
   Group:InstantMessaging
   License:  JOSL/GPL
   Version:  %{V_major}.%{V_minor}
  -Release:  20090217
  +Release:  20090228
   
   #   package options
   %option   with_sqlite no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:18:25
  Branch: HEAD Handle: 2009022809182500

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

  Log:
upgrading package: spandsp 0.0.6pre4 -> 0.0.6pre5

  Summary:
RevisionChanges Path
1.4 +6  -6  openpkg-src/spandsp/spandsp.patch
1.11+2  -2  openpkg-src/spandsp/spandsp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spandsp/spandsp.patch
  
  $ cvs diff -u -r1.3 -r1.4 spandsp.patch
  --- openpkg-src/spandsp/spandsp.patch 13 Oct 2008 09:47:18 -  1.3
  +++ openpkg-src/spandsp/spandsp.patch 28 Feb 2009 09:18:25 -  1.4
  @@ -1,14 +1,14 @@
   Index: configure
   configure.orig   2008-10-13 01:45:01 +0200
  -+++ configure2008-10-13 11:42:31 +0200
  -@@ -30625,9 +30625,7 @@
  +--- configure.orig   2009-02-26 13:14:03 +0100
   configure2009-02-28 10:07:14 +0100
  +@@ -30361,9 +30361,7 @@
if test $ac_cv_lib_audiofile_afOpenFile = yes; then
  TESTLIBS="$TESTLIBS -laudiofile"
else
  --  { { $as_echo "$as_me:$LINENO: error: \"Can't make tests without 
libaudiofile (does your system require a libaudiofile-devel package?)\"" >&5
  --$as_echo "$as_me: error: \"Can't make tests without libaudiofile (does your 
system require a libaudiofile-devel package?)\"" >&2;}
  +-  { { echo "$as_me:$LINENO: error: \"Can't make tests without libaudiofile 
(does your system require a libaudiofile-devel package?)\"" >&5
  +-echo "$as_me: error: \"Can't make tests without libaudiofile (does your 
system require a libaudiofile-devel package?)\"" >&2;}
   -   { (exit 1); exit 1; }; }
   +:
fi

  - { $as_echo "$as_me:$LINENO: checking for fftw_plan_dft_1d in -lfftw3" 
>&5
  + echo "$as_me:$LINENO: checking for fftw_plan_dft_1d in -lfftw3" >&5
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/spandsp/spandsp.spec
  
  $ cvs diff -u -r1.10 -r1.11 spandsp.spec
  --- openpkg-src/spandsp/spandsp.spec  20 Feb 2009 20:47:07 -  1.10
  +++ openpkg-src/spandsp/spandsp.spec  28 Feb 2009 09:18:25 -  1.11
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_major  0.0.6
  -%define   V_minor  pre4
  +%define   V_minor  pre5
   %define   V_subdir 0.0.6
   
   #   package information
  @@ -37,7 +37,7 @@
   Group:VoIP
   License:  GPL
   Version:  %{V_major}%{V_minor}
  -Release:  20090220
  +Release:  20090228
   
   #   list of sources
   Source0:  
http://www.soft-switch.org/downloads/spandsp/spandsp-%{version}.tgz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:10:18
  Branch: HEAD Handle: 2009022809101701

  Modified files:
openpkg-src/perl-term   perl-term.patch perl-term.spec

  Log:
modifying package: perl-term-5.10.0 20090226 -> 20090228

  Summary:
RevisionChanges Path
1.5 +3  -3  openpkg-src/perl-term/perl-term.patch
1.94+2  -2  openpkg-src/perl-term/perl-term.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-term/perl-term.patch
  
  $ cvs diff -u -r1.4 -r1.5 perl-term.patch
  --- openpkg-src/perl-term/perl-term.patch 8 Feb 2008 09:59:45 -   
1.4
  +++ openpkg-src/perl-term/perl-term.patch 28 Feb 2009 09:10:17 -  
1.5
  @@ -6,9 +6,9 @@
   using left-spacing we just redraw (over the full line) the part of the
   line left to the cursor.
   
  -Index: Term-ReadLine-Gnu-1.17/Gnu/XS.pm
   Term-ReadLine-Gnu-1.17/Gnu/XS.pm.orig2002-07-28 05:41:36.0 
+0200
  -+++ Term-ReadLine-Gnu-1.17/Gnu/XS.pm 2004-03-12 17:55:16.0 +0100
  +Index: Term-ReadLine-Gnu-1.18/Gnu/XS.pm
  +--- Term-ReadLine-Gnu-1.18/Gnu/XS.pm.orig2002-07-28 05:41:36.0 
+0200
   Term-ReadLine-Gnu-1.18/Gnu/XS.pm 2004-03-12 17:55:16.0 +0100
   @@ -429,21 +429,20 @@
print $OUT ($_tstrs[0], # carriage return
$_tstrs[1], # clear to EOL
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-term/perl-term.spec
  
  $ cvs diff -u -r1.93 -r1.94 perl-term.spec
  --- openpkg-src/perl-term/perl-term.spec  26 Feb 2009 20:53:00 -  
1.93
  +++ openpkg-src/perl-term/perl-term.spec  28 Feb 2009 09:10:18 -  
1.94
  @@ -29,7 +29,7 @@
   %define   V_term_query 2.0
   %define   V_term_vt102 0.91
   %define   V_term_ansiscreen1.42
  -%define   V_term_readline_gnu  1.17a
  +%define   V_term_readline_gnu  1.18
   %define   V_term_readline_perl 1.0302
   %define   V_term_progressbar   2.09
   %define   V_term_statusbar 1.18
  @@ -50,7 +50,7 @@
   Group:Perl
   License:  GPL/Artistic
   Version:  %{V_perl}
  -Release:  20090226
  +Release:  20090228
   
   #   list of sources
   Source0:  
http://www.cpan.org/modules/by-module/Term/TermReadKey-%{V_term_readkey}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:08:25
  Branch: HEAD Handle: 2009022809082500

  Modified files:
openpkg-src/atool   atool.spec

  Log:
upgrading package: atool 0.35.0 -> 0.36.0

  Summary:
RevisionChanges Path
1.50+2  -2  openpkg-src/atool/atool.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/atool/atool.spec
  
  $ cvs diff -u -r1.49 -r1.50 atool.spec
  --- openpkg-src/atool/atool.spec  8 Jun 2008 17:57:15 -   1.49
  +++ openpkg-src/atool/atool.spec  28 Feb 2009 09:08:25 -  1.50
  @@ -31,8 +31,8 @@
   Class:BASE
   Group:Archiver
   License:  GPL
  -Version:  0.35.0
  -Release:  20080608
  +Version:  0.36.0
  +Release:  20090228
   
   #   list of sources
   Source0:  
http://download.savannah.gnu.org/releases/atool/atool-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:07:50
  Branch: HEAD Handle: 2009022809075000

  Modified files:
openpkg-src/php php.spec

  Log:
modifying package: php-5.2.9 20090227 -> 20090228

  Summary:
RevisionChanges Path
1.195   +2  -2  openpkg-src/php/php.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/php/php.spec
  
  $ cvs diff -u -r1.194 -r1.195 php.spec
  --- openpkg-src/php/php.spec  27 Feb 2009 19:56:44 -  1.194
  +++ openpkg-src/php/php.spec  28 Feb 2009 09:07:50 -  1.195
  @@ -26,7 +26,7 @@
   %define   V_php_suhosin_p   5.2.8-0.9.6.3
   %define   V_php_suhosin_e   0.9.27
   %define   V_php_kolab   5.2.8
  -%define   V_php_pecl_memcache   2.2.4
  +%define   V_php_pecl_memcache   2.2.5
   
   #   package information
   Name: php
  @@ -39,7 +39,7 @@
   Group:Language
   License:  PHP
   Version:  %{V_php}
  -Release:  20090227
  +Release:  20090228
   
   #   package options
   %option   with_suhosin  no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/apache-php/ apache-php.spec

2009-02-28 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   28-Feb-2009 10:07:22
  Branch: HEAD Handle: 2009022809072200

  Modified files:
openpkg-src/apache-php  apache-php.spec

  Log:
modifying package: apache-php-5.2.9 20090227 -> 20090228

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

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-php/apache-php.spec
  
  $ cvs diff -u -r1.43 -r1.44 apache-php.spec
  --- openpkg-src/apache-php/apache-php.spec27 Feb 2009 19:44:04 -  
1.43
  +++ openpkg-src/apache-php/apache-php.spec28 Feb 2009 09:07:22 -  
1.44
  @@ -26,7 +26,7 @@
   %define   V_php_suhosin_p   5.2.8-0.9.6.3
   %define   V_php_suhosin_e   0.9.27
   %define   V_php_kolab   5.2.8
  -%define   V_php_pecl_memcache   2.2.4
  +%define   V_php_pecl_memcache   2.2.5
   
   #   package information
   Name: apache-php
  @@ -39,7 +39,7 @@
   Group:Web
   License:  PHP
   Version:  %{V_php}
  -Release:  20090227
  +Release:  20090228
   
   #   package options
   %option   with_suhosin  no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org