Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 22:52:36 +0100 (CET)
From:      Jeroen Ruigrok van der Werven <asmodai@tendra.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59190: [PATCH] subversion port does not honour /usr/local/etc
Message-ID:  <20031111215236.6C17F145@213-84-207-11.adsl.xs4all.nl>
Resent-Message-ID: <200311112200.hABM0Oev050561@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59190
>Category:       ports
>Synopsis:       [PATCH] subversion port does not honour /usr/local/etc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 11 14:00:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jeroen Ruigrok van der Werven
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Ninth Circle Enterprises
>Environment:

Not applicable.

>Description:

	Subversion expects its system-wide configuration data in
	/etc/subversion, which is not FreeBSD standard practise.

>How-To-Repeat:

	grep "etc\/subversion" subversion/libsvn_subr/*

>Fix:

	Add the following two patches to files/ as
	patch-libsvn_subr::config_impl.h and
	patch-libsvn_subr::config_file.c


--- subversion/libsvn_subr/config_file.c.orig	Tue Nov 11 22:19:16 2003
+++ subversion/libsvn_subr/config_file.c	Tue Nov 11 22:18:37 2003
@@ -715,11 +715,11 @@
    APR_EOL_STR
    "  Unix:"
    APR_EOL_STR
-   "    /etc/subversion/servers"
+   "    /usr/local/etc/subversion/servers"
    APR_EOL_STR
-   "    /etc/subversion/config"
+   "    /usr/local/etc/subversion/config"
    APR_EOL_STR
-   "    /etc/subversion/hairstyles"
+   "    /usr/local/etc/subversion/hairstyles"
    APR_EOL_STR
    "  Windows:"
    APR_EOL_STR
--- subversion/libsvn_subr/config_impl.h.orig	Tue Nov 11 22:19:22 2003
+++ subversion/libsvn_subr/config_impl.h	Tue Nov 11 22:16:46 2003
@@ -107,7 +107,7 @@
 #ifdef SVN_WIN32
 #  define SVN_CONFIG__SUBDIRECTORY    "Subversion"
 #else  /* ! SVN_WIN32 */
-#  define SVN_CONFIG__SYS_DIRECTORY   "/etc/subversion"
+#  define SVN_CONFIG__SYS_DIRECTORY   "/usr/local/etc/subversion"
 #  define SVN_CONFIG__USR_DIRECTORY   ".subversion"
 #endif /* SVN_WIN32 */

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111215236.6C17F145>