subversion/subversion.patch

changeset 513
138803117c57
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/subversion/subversion.patch	Fri Aug 10 14:34:00 2012 +0200
     1.3 @@ -0,0 +1,69 @@
     1.4 +Index: configure
     1.5 +--- configure.orig	2012-02-10 16:45:29.000000000 +0100
     1.6 ++++ configure	2012-02-15 10:31:57.000000000 +0100
     1.7 +@@ -5956,6 +5956,11 @@
     1.8 +       ac_sub_cache_file="$ac_dots$cache_file" ;;
     1.9 +     esac
    1.10 + 
    1.11 ++    args="$args --prefix=$prefix/libexec/subversion/neon"
    1.12 ++    if [ ".$with_ssl" = .yes ]; then
    1.13 ++        args="$args --with-ssl"
    1.14 ++    fi
    1.15 ++
    1.16 +     # The eval makes quoting arguments work.
    1.17 +     if eval $SHELL $ac_abs_srcdir/configure $ac_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --with-apr=$apr_config --with-apr-util=$apu_config
    1.18 +     then :
    1.19 +Index: subversion/mod_dav_svn/repos.c
    1.20 +--- subversion/mod_dav_svn/repos.c.orig	2012-02-02 17:13:30.000000000 +0100
    1.21 ++++ subversion/mod_dav_svn/repos.c	2012-02-15 10:31:57.000000000 +0100
    1.22 +@@ -3507,6 +3507,7 @@
    1.23 +               */
    1.24 +               ap_fputs(output, bb,
    1.25 +                        " </ul>\n <hr noshade><em>Powered by "
    1.26 ++                       "<a href=\"http://www.openpkg.org/\">OpenPKG</a> "
    1.27 +                        "<a href=\"http://subversion.apache.org/\">"
    1.28 +                        "Apache Subversion"
    1.29 +                        "</a> version " SVN_VERSION "."
    1.30 +Index: subversion/svnserve/cyrus_auth.c
    1.31 +--- subversion/svnserve/cyrus_auth.c.orig	2011-06-23 18:43:25.000000000 +0200
    1.32 ++++ subversion/svnserve/cyrus_auth.c	2012-02-15 10:31:57.000000000 +0100
    1.33 +@@ -110,7 +110,7 @@
    1.34 +   status = svn_ra_svn__sasl_common_init(pool);
    1.35 +   if (status)
    1.36 +     return svn_error_wrap_apr(status,
    1.37 +-                              _("Could not initialize the SASL library"));
    1.38 ++                              _("Could not initialize the SASL library (svnserve: APR failure)"));
    1.39 + 
    1.40 +   /* The second parameter tells SASL to look for a configuration file
    1.41 +      named subversion.conf. */
    1.42 +@@ -120,7 +120,7 @@
    1.43 +       svn_error_t *err = svn_error_create(SVN_ERR_RA_NOT_AUTHORIZED, NULL,
    1.44 +                                           sasl_errstring(result, NULL, NULL));
    1.45 +       return svn_error_quick_wrap(err,
    1.46 +-                                  _("Could not initialize the SASL library"));
    1.47 ++                                  _("Could not initialize the SASL library (svnserve)"));
    1.48 +     }
    1.49 +   return SVN_NO_ERROR;
    1.50 + }
    1.51 +Index: subversion/svnserve/main.c
    1.52 +--- subversion/svnserve/main.c.orig	2011-06-21 20:00:13.000000000 +0200
    1.53 ++++ subversion/svnserve/main.c	2012-02-15 10:31:57.000000000 +0100
    1.54 +@@ -59,6 +59,10 @@
    1.55 + 
    1.56 + #include "server.h"
    1.57 + 
    1.58 ++#ifdef SVN_HAVE_SASL
    1.59 ++#include <syslog.h>
    1.60 ++#endif
    1.61 ++
    1.62 + /* The strategy for handling incoming connections.  Some of these may be
    1.63 +    unavailable due to platform limitations. */
    1.64 + enum connection_handling_mode {
    1.65 +@@ -446,6 +450,7 @@
    1.66 + 
    1.67 + #ifdef SVN_HAVE_SASL
    1.68 +   SVN_INT_ERR(cyrus_init(pool));
    1.69 ++  openlog("svnserve", LOG_NDELAY|LOG_PID, LOG_DAEMON);
    1.70 + #endif
    1.71 + 
    1.72 +   /* Check library versions */

mercurial