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

2009-03-27 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:   27-Mar-2009 12:05:42
  Branch: HEAD Handle: 2009032711054100

  Modified files:
openpkg-src/metalinkmetalink.patch metalink.spec

  Log:
upgrading package: metalink 0.3.3 -> 0.3.6

  Summary:
RevisionChanges Path
1.2 +11 -11 openpkg-src/metalink/metalink.patch
1.4 +2  -2  openpkg-src/metalink/metalink.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/metalink/metalink.patch
  
  $ cvs diff -u -r1.1 -r1.2 metalink.patch
  --- openpkg-src/metalink/metalink.patch   10 Sep 2007 17:56:37 -  
1.1
  +++ openpkg-src/metalink/metalink.patch   27 Mar 2009 11:05:41 -  
1.2
  @@ -1,15 +1,15 @@
   Index: Makefile.in
   Makefile.in.orig 2007-05-10 22:18:18 +0200
  -+++ Makefile.in  2007-09-10 19:46:54 +0200
  -@@ -262,9 +262,9 @@
  - src/Mirror/Mirror.ih src/Mirror/Mirror.cc \
  +--- Makefile.in.orig 2009-01-05 18:28:16 +0100
   Makefile.in  2009-03-27 11:58:56 +0100
  +@@ -267,9 +267,9 @@
src/Metalink/Metalink.hh src/Metalink/from.cc \
  - src/Metalink/Metalink.ih
  --metalink_LDFLAGS = @LIBGCRYPT_LIBS@ ${BOOST_LDFLAGS}
  -+metalink_LDFLAGS = ${BOOST_LDFLAGS}
  - metalink_CXXFLAGS = @LIBGCRYPT_CFLAGS@ -D_LARGEFILE_SOURCE ${BOOST_CPPFLAGS}
  --metalink_LDADD = ${BOOST_FILESYSTEM_LIB} ${BOOST_REGEX_LIB} 
${BOOST_PROGRAM_OPTIONS_LIB}
  -+metalink_LDADD = ${BOOST_FILESYSTEM_LIB} ${BOOST_REGEX_LIB} 
${BOOST_PROGRAM_OPTIONS_LIB} @LIBGCRYPT_LIBS@
  + src/Metalink/Metalink.ih src/Options/Options.hh \
  + src/Options/Options.cc src/Options/Options.ih
  +-metalink_LDFLAGS = @LIBGCRYPT_LIBS@
  ++metalink_LDFLAGS = 
  + metalink_CXXFLAGS = @LIBGCRYPT_CFLAGS@ -D_LARGEFILE_SOURCE $(DEPS_CFLAGS)
  +-metalink_LDADD = $(DEPS_LIBS)
  ++metalink_LDADD = $(DEPS_LIBS) @LIBGCRYPT_LIBS@
  + dist_man_MANS = doc/metalink.1
all: all-am

  - .SUFFIXES:
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/metalink/metalink.spec
  
  $ cvs diff -u -r1.3 -r1.4 metalink.spec
  --- openpkg-src/metalink/metalink.spec1 Jan 2008 14:58:29 -   
1.3
  +++ openpkg-src/metalink/metalink.spec27 Mar 2009 11:05:41 -  
1.4
  @@ -31,8 +31,8 @@
   Class:EVAL
   Group:Filesystem
   License:  GPL
  -Version:  0.3.3
  -Release:  20080101
  +Version:  0.3.6
  +Release:  20090327
   
   #   list of sources
   Source0:  
http://switch.dl.sourceforge.net/metalinks/metalink-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2007-09-10 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:   10-Sep-2007 19:56:37
  Branch: HEAD Handle: 2007091018563700

  Added files:
openpkg-src/metalinkmetalink.patch metalink.spec

  Log:
new package: metalink 0.3.3 (Metalink File Generation Tools)

  Summary:
RevisionChanges Path
1.1 +15 -0  openpkg-src/metalink/metalink.patch
1.1 +90 -0  openpkg-src/metalink/metalink.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/metalink/metalink.patch
  
  $ cvs diff -u -r0 -r1.1 metalink.patch
  --- /dev/null 2007-09-10 19:55:31 +0200
  +++ metalink.patch2007-09-10 19:56:37 +0200
  @@ -0,0 +1,15 @@
  +Index: Makefile.in
  +--- Makefile.in.orig 2007-05-10 22:18:18 +0200
   Makefile.in  2007-09-10 19:46:54 +0200
  +@@ -262,9 +262,9 @@
  + src/Mirror/Mirror.ih src/Mirror/Mirror.cc \
  + src/Metalink/Metalink.hh src/Metalink/from.cc \
  + src/Metalink/Metalink.ih
  +-metalink_LDFLAGS = @LIBGCRYPT_LIBS@ ${BOOST_LDFLAGS}
  ++metalink_LDFLAGS = ${BOOST_LDFLAGS}
  + metalink_CXXFLAGS = @LIBGCRYPT_CFLAGS@ -D_LARGEFILE_SOURCE ${BOOST_CPPFLAGS}
  +-metalink_LDADD = ${BOOST_FILESYSTEM_LIB} ${BOOST_REGEX_LIB} 
${BOOST_PROGRAM_OPTIONS_LIB}
  ++metalink_LDADD = ${BOOST_FILESYSTEM_LIB} ${BOOST_REGEX_LIB} 
${BOOST_PROGRAM_OPTIONS_LIB} @LIBGCRYPT_LIBS@
  + all: all-am
  + 
  + .SUFFIXES:
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/metalink/metalink.spec
  
  $ cvs diff -u -r0 -r1.1 metalink.spec
  --- /dev/null 2007-09-10 19:55:31 +0200
  +++ metalink.spec 2007-09-10 19:56:37 +0200
  @@ -0,0 +1,90 @@
  +##
  +##  metalink.spec -- OpenPKG RPM Package Specification
  +##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. 
  +##  Copyright (c) 2000-2007 Ralf S. Engelschall 
  +##
  +##  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: metalink
  +Summary:  Metalink File Generation Tools
  +URL:  http://metamirrors.nl/node/60
  +Vendor:   A. Bram Neijt
  +Packager: OpenPKG Foundation e.V.
  +Distribution: OpenPKG Community
  +Class:EVAL
  +Group:Fileystem
  +License:  GPL
  +Version:  0.3.3
  +Release:  20070910
  +
  +#   list of sources
  +Source0:  
http://switch.dl.sourceforge.net/metalinks/metalink-%{version}.tar.gz
  +Patch0:   metalink.patch
  +
  +#   build information
  +Prefix:   %{l_prefix}
  +BuildRoot:%{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, gcc, gcc::with_cxx = yes
  +PreReq:   OpenPKG, openpkg >= 20060823
  +BuildPreReq:  gcrypt, boost
  +PreReq:   gcrypt, boost
  +AutoReq:  no
  +AutoReqProv:  no
  +
  +%description
  +metalink(1) is the main Metalink generation tool. It combines a list
  +of mirrors (from stdin) and a number of files into one Metalink
  +record (stdout). It can also be used to transform a MD5SUMS file
  +into a Metalink file.
  +
  +%track
  +prog metalink = {
  +version   = %{version}
  +url   = http://prdownloads.sourceforge.net/metalinks/
  +regex = metalink-(__VER__)\.tar\.gz
  +}
  +
  +%prep
  +%setup -q
  +%patch -p0
  +
  +%build
  +CC="%{l_cc}" \
  +CXX="%{l_cxx}" \
  +CFLAGS="%{l_cflags -O}" \
  +CXXFLAGS="%{l_cxxflags -O}" \
  +CPPFLAGS="%{l_cppflags}" \
  +LDFLAGS="%{l_ldflags}" \
  +./configure \
  +--prefix=%{l