OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   28-Nov-2003 12:57:31
  Branch: HEAD                             Handle: 2003112811573100

  Modified files:
    openpkg-src/apache      apache.spec

  Log:
    repair broken mod_auth_ldap link logic, and update it to 2.4.2

  Summary:
    Revision    Changes     Path
    1.186       +10 -3      openpkg-src/apache/apache.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache/apache.spec
  ============================================================================
  $ cvs diff -u -r1.185 -r1.186 apache.spec
  --- openpkg-src/apache/apache.spec    27 Nov 2003 16:59:42 -0000      1.185
  +++ openpkg-src/apache/apache.spec    28 Nov 2003 11:57:31 -0000      1.186
  @@ -42,7 +42,7 @@
   %define       V_mod_layout         3.2.1
   %define       V_mod_macro          1.1.2
   %define       V_mod_auth_pam       1.1.1
  -%define       V_mod_auth_ldap      2.4.1
  +%define       V_mod_auth_ldap      2.4.2
   %define       V_mod_gzip           1.3.19.1a
   %define       V_mod_fastcgi        2.4.2
   %define       V_mod_throttle       312
  @@ -61,7 +61,7 @@
   Group:        Web
   License:      ASF
   Version:      %{V_apache}
  -Release:      20031127
  +Release:      20031128
   
   #   package options (suexec related)
   %option       with_suexec               yes
  @@ -787,7 +787,7 @@
   
       #   optionally prepare mod_auth_ldap
   %if "%{with_mod_auth_ldap}" == "yes"
  -    ( cd modauthldap
  +    ( cd mod_auth_ldap
         cp mod_auth_ldap.c ../apache_%{V_apache}/src/modules/extra/
       ) || exit $?
   %endif
  @@ -874,6 +874,13 @@
         cflags="$cflags %{l_cppflags}"
         ldflags="$ldflags %{l_ldflags}"
         libs="$libs -lldap -llber -lssl -lcrypto"
  +%if "%{with_mod_auth_ldap}" == "yes"
  +      case "%{l_platform -t}" in
  +          *-sunos* )
  +              libs="$libs -lresolv"
  +              ;;
  +      esac
  +%endif
   %endif
   %if "%{with_gdbm_ndbm}" == "yes"
         cflags="$cflags %{l_cppflags}"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to