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:   26-Apr-2008 17:00:20
  Branch: HEAD                             Handle: 2008042616002000

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

  Log:
    upgrading package: apache-security 2.1.7 -> 2.5.3

  Summary:
    Revision    Changes     Path
    1.16        +20 -11     openpkg-src/apache-security/apache-security.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache-security/apache-security.spec
  ============================================================================
  $ cvs diff -u -r1.15 -r1.16 apache-security.spec
  --- openpkg-src/apache-security/apache-security.spec  4 Apr 2008 07:32:13 
-0000       1.15
  +++ openpkg-src/apache-security/apache-security.spec  26 Apr 2008 15:00:20 
-0000      1.16
  @@ -22,9 +22,9 @@
   ##
   
   #   package version
  -%define       V_major  2.1
  -%define       V_minor  7
  -%define       V_rules  1.5.1
  +%define       V_major  2.5
  +%define       V_minor  3
  +%define       V_rules  1.6.1
   
   #   package information
   Name:         apache-security
  @@ -37,7 +37,7 @@
   Group:        Web
   License:      Open Source
   Version:      %{V_major}.%{V_minor}
  -Release:      20080404
  +Release:      20080426
   
   #   list of sources
   Source0:      
http://www.modsecurity.org/download/modsecurity-apache_%{V_major}.%{V_minor}.tar.gz
  @@ -50,8 +50,8 @@
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20060823, make
   PreReq:       OpenPKG, openpkg >= 20060823
  -BuildPreReq:  apache, libxml
  -PreReq:       apache, libxml
  +BuildPreReq:  apache, apr, libxml, pcre, curl, lua
  +PreReq:       apache, apr, libxml, pcre, curl, lua
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -85,11 +85,20 @@
   %build
       #   build module
       ( cd apache2
  -      %{l_make} %{l_mflags} \
  -          top_dir=%{l_prefix}/share/apache \
  -          DEFS="-DWITH_LIBXML2" \
  -          INCLUDES="%{l_cppflags libxml2}" \
  -          EXTRA_LDFLAGS="%{l_ldflags} -lxml2"
  +      CC="%{l_cc}" \
  +      CFLAGS="%{l_cflags -O}" \
  +      CPPFLAGS="%{l_cppflags}" \
  +      LDFLAGS="%{l_ldflags}" \
  +      ./configure \
  +          --prefix=%{l_prefix} \
  +          --with-apxs=%{l_prefix}/sbin/apxs \
  +          --with-pcre=%{l_prefix} \
  +          --with-apr=%{l_prefix} \
  +          --with-apu=%{l_prefix} \
  +          --with-libxml=%{l_prefix} \
  +          --with-lua=%{l_prefix} \
  +          --with-curl=%{l_prefix}
  +      %{l_make} %{l_mflags}
       ) || exit $?
   
   %install
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to