subversion-home_etc.patch
romke
romke at estrefa.pl
Wed Jun 8 11:06:48 CEST 2005
rozpędziłem się troszkę z HOME_ETC :>
proszę o dodanie
pozdrawiam
--
romke Roman Barczyński ~~~~ tel. +48 12 632 7365 ~~~~ www.romke.info
____________________________________________ JID/email: romke at estrefa.pl
-------------- next part --------------
--- subversion.spec.orig 2005-06-08 10:26:18.000000000 +0200
+++ subversion.spec 2005-06-08 10:37:30.000000000 +0200
@@ -26,6 +26,7 @@
Source2: %{name}-authz_svn.conf
Source3: %{name}-svnserve.init
Source4: %{name}-svnserve.sysconfig
+Patch0: %{name}-home_etc.patch
URL: http://subversion.tigris.org/
%if %{with net_client_only}
%global apache_modules_api 0
@@ -54,6 +55,7 @@
%if %{with python}
BuildRequires: python >= 2.2
BuildRequires: python-devel >= 2.2
+BuildRequires: python-modules >= 2.2
%endif
BuildRequires: texinfo
BuildRequires: which
@@ -265,6 +267,7 @@
%prep
%setup -q
+%patch0 -p0
rm -rf apr-util{,/xml/expat}/autom4te.cache
-------------- next part --------------
--- subversion/libsvn_subr/config_file.c~ 2005-03-28 19:36:02.000000000 +0200
+++ subversion/libsvn_subr/config_file.c 2005-06-08 10:35:41.000000000 +0200
@@ -319,7 +319,8 @@
char *homedir;
const char *homedir_utf8;
- apr_err = apr_env_get (&homedir, "HOME", pool);
+ apr_err = apr_env_get (&homedir, "HOME_ETC", pool);
+ if ( apr_err || ! homedir ) apr_err = apr_env_get (&homedir, "HOME", pool);
if ( apr_err || ! homedir )
{
apr_uid_t uid;
More information about the pld-devel-pl
mailing list