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:   07-Aug-2009 19:33:27
  Branch: HEAD                             Handle: 2009080718332600

  Modified files:
    openpkg-src/apache-apreq
                            apache-apreq.patch apache-apreq.spec

  Log:
    upgrading package: apache-apreq 2.08 -> 2.12

  Summary:
    Revision    Changes     Path
    1.3         +97 -9      openpkg-src/apache-apreq/apache-apreq.patch
    1.5         +5  -2      openpkg-src/apache-apreq/apache-apreq.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-apreq/apache-apreq.patch
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 apache-apreq.patch
  --- openpkg-src/apache-apreq/apache-apreq.patch       27 Oct 2008 18:50:13 
-0000      1.2
  +++ openpkg-src/apache-apreq/apache-apreq.patch       7 Aug 2009 17:33:26 
-0000       1.3
  @@ -1,7 +1,7 @@
   Index: configure
  ---- configure.orig   2006-08-09 06:29:00 +0200
  -+++ configure        2008-10-27 19:47:34 +0100
  -@@ -18955,7 +18955,7 @@
  +--- configure.orig   2009-03-06 20:17:06 +0100
  ++++ configure        2009-08-07 19:29:42 +0200
  +@@ -19470,11 +19470,11 @@
                    if test ${APR_MAJOR_VERSION:="0"} -eq 0; then
                        apr_config=apr-config
                        apu_config=apu-config
  @@ -10,7 +10,42 @@
                    else
                        apr_config=apr-$APR_MAJOR_VERSION-config
                        apu_config=apu-$APR_MAJOR_VERSION-config
  -@@ -19250,7 +19250,7 @@
  +-                    apreq_libs="-lapr-$APR_MAJOR_VERSION 
-laprutil-$APR_MAJOR_VERSION"
  ++                    apreq_libs="-laprutil-$APR_MAJOR_VERSION 
-lapr-$APR_MAJOR_VERSION"
  +                 fi
  + 
  +                 if test -z "$APR_CONFIG"; then
  +@@ -19742,10 +19742,10 @@
  +         APU_LA="`$APU_CONFIG --apu-la-file`"
  + 
  +   if test "x$APR_LTFLAGS" = "x"; then
  +-    echo "  setting APR_LTFLAGS to \""`$APR_CONFIG --link-libtool`"\""
  +-    APR_LTFLAGS=""`$APR_CONFIG --link-libtool`""
  ++    echo "  setting APR_LTFLAGS to \""`$APU_CONFIG --link-libtool`"\""
  ++    APR_LTFLAGS=""`$APU_CONFIG --link-libtool`""
  +   else
  +-    apr_addto_bugger=""`$APR_CONFIG --link-libtool`""
  ++    apr_addto_bugger=""`$APU_CONFIG --link-libtool`""
  +     for i in $apr_addto_bugger; do
  +       apr_addto_duplicate="0"
  +       for j in $APR_LTFLAGS; do
  +@@ -19761,12 +19761,11 @@
  +     done
  +   fi
  + 
  +-
  +   if test "x$APR_LTFLAGS" = "x"; then
  +-    echo "  setting APR_LTFLAGS to \""`$APU_CONFIG --link-libtool`"\""
  +-    APR_LTFLAGS=""`$APU_CONFIG --link-libtool`""
  ++    echo "  setting APR_LTFLAGS to \""`$APR_CONFIG --link-libtool`"\""
  ++    APR_LTFLAGS=""`$APR_CONFIG --link-libtool`""
  +   else
  +-    apr_addto_bugger=""`$APU_CONFIG --link-libtool`""
  ++    apr_addto_bugger=""`$APR_CONFIG --link-libtool`""
  +     for i in $apr_addto_bugger; do
  +       apr_addto_duplicate="0"
  +       for j in $APR_LTFLAGS; do
  +@@ -19777,34 +19776,13 @@
          done
          if test $apr_addto_duplicate = "0"; then
            echo "  adding \"$i\" to APR_LTFLAGS"
  @@ -19,15 +54,68 @@
          fi
        done
      fi
  + 
  + 
  + 
  +-  if test "x$APR_LIBS" = "x"; then
  +-    echo "  setting APR_LIBS to \""`$APR_CONFIG --libs`"\""
  +-    APR_LIBS=""`$APR_CONFIG --libs`""
  +-  else
  +-    apr_addto_bugger=""`$APR_CONFIG --libs`""
  +-    for i in $apr_addto_bugger; do
  +-      apr_addto_duplicate="0"
  +-      for j in $APR_LIBS; do
  +-        if test "x$i" = "x$j"; then
  +-          apr_addto_duplicate="1"
  +-          break
  +-        fi
  +-      done
  +-      if test $apr_addto_duplicate = "0"; then
  +-        echo "  adding \"$i\" to APR_LIBS"
  +-        APR_LIBS="$APR_LIBS $i"
  +-      fi
  +-    done
  +-  fi
  +-
  +-
  +                                                 if test "x$OS" = 
"xsolaris"; then
  +             if $APU_CONFIG --avoid-ldap >/dev/null 2>&1; then
  +                 APU_LIBS=`$APU_CONFIG --avoid-ldap --libs | $PERL -pe 
's,-lexpat,,'`
  +@@ -19880,6 +19858,25 @@
  +             fi
  +         fi
  + 
  ++  if test "x$APR_LIBS" = "x"; then
  ++    echo "  setting APR_LIBS to \""`$APR_CONFIG --libs`"\""
  ++    APR_LIBS=""`$APR_CONFIG --libs`""
  ++  else
  ++    apr_addto_bugger=""`$APR_CONFIG --libs`""
  ++    for i in $apr_addto_bugger; do
  ++      apr_addto_duplicate="0"
  ++      for j in $APR_LIBS; do
  ++        if test "x$i" = "x$j"; then
  ++          apr_addto_duplicate="1"
  ++          break
  ++        fi
  ++      done
  ++      if test $apr_addto_duplicate = "0"; then
  ++        echo "  adding \"$i\" to APR_LIBS"
  ++        APR_LIBS="$APR_LIBS $i"
  ++      fi
  ++    done
  ++  fi
  + 
  +   if test "x$APR_LDFLAGS" = "x"; then
  +     echo "  setting APR_LDFLAGS to \""`$APU_CONFIG --link-ld --ldflags`"\""
   Index: library/Makefile.in
  ---- library/Makefile.in.orig 2006-08-09 06:29:04 +0200
  -+++ library/Makefile.in      2008-10-27 19:47:12 +0100
  -@@ -220,7 +220,7 @@
  +--- library/Makefile.in.orig 2009-03-06 20:17:07 +0100
  ++++ library/Makefile.in      2009-08-07 19:27:02 +0200
  +@@ -124,7 +124,7 @@
                           parser_urlencoded.c parser_header.c 
parser_multipart.c \
                       module.c module_custom.c module_cgi.c error.c
    
   -libapreq2_la_LDFLAGS = -version-info @APREQ_LIBTOOL_VERSION@ @APR_LTFLAGS@ 
@APR_LIBS@
   +libapreq2_la_LDFLAGS = -static -version-info @APREQ_LIBTOOL_VERSION@ 
@APR_LTFLAGS@ @APR_LIBS@
  + 
    @enable_profile_t...@am_cflags = -pg -fprofile-arcs -ftest-coverage
  - all: $(BUILT_SOURCES)
  -     $(MAKE) $(AM_MAKEFLAGS) all-am
  + subdir = library
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-apreq/apache-apreq.spec
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 apache-apreq.spec
  --- openpkg-src/apache-apreq/apache-apreq.spec        18 Apr 2009 13:08:28 
-0000      1.4
  +++ openpkg-src/apache-apreq/apache-apreq.spec        7 Aug 2009 17:33:26 
-0000       1.5
  @@ -31,8 +31,8 @@
   Class:        EVAL
   Group:        Web
   License:      ASF
  -Version:      2.08
  -Release:      20081027
  +Version:      2.12
  +Release:      20090807
   
   #   package options
   %option       with_perl  no
  @@ -78,6 +78,9 @@
       #   configure package
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    LIBS="-lapr" \
       ./configure \
           --prefix="%{l_prefix}" \
   %if "%{with_perl}" == "yes"
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to