summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/subversion/subversion-1.7.6
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/subversion/subversion-1.7.6')
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch48
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch15
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch108
3 files changed, 171 insertions, 0 deletions
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
new file mode 100644
index 0000000000..fb79b8cc51
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
@@ -0,0 +1,48 @@
1install-neon-lib should depend on libsvn_delta's installation
2
3install-neon-lib needs libsvn_delta-1.la which will be regenerated
4during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
5in regenerating and at the same time install-neon-lib links it, the
6error willl happen.
7
8Let install-neon-lib run after libsvn_delta-1.la is installed will fix
9the problem.
10
11Upstream-Status: Pending
12
13Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
14---
15 build-outputs.mk | 2 +-
16 build.conf | 2 ++
17 2 files changed, 3 insertions(+), 1 deletion(-)
18
19--- subversion-1.7.6.orig/build-outputs.mk
20+++ subversion-1.7.6/build-outputs.mk
21@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
22 $(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
23 cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
24 $(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
25 cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
26
27-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
28+install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
29 $(MKDIR) $(DESTDIR)$(neon_libdir)
30 cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
31
32 install-ramod-lib: subversion/libsvn_fs/libsvn_fs-1.la subversion/libsvn_ra_svn/libsvn_ra_svn-1.la subversion/libsvn_repos/libsvn_repos-1.la subversion/libsvn_ra_local/libsvn_ra_local-1.la
33 $(MKDIR) $(DESTDIR)$(ramod_libdir)
34--- subversion-1.7.6.orig/build.conf
35+++ subversion-1.7.6/build.conf
36@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
37 [libsvn_ra_neon]
38 type = ra-module
39 path = subversion/libsvn_ra_neon
40 install = neon-lib
41 libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
42+# conditionally add more dependencies
43+add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
44 msvc-static = yes
45
46 # Accessing repositories via DAV through serf
47 [libsvn_ra_serf]
48 type = ra-module
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
new file mode 100644
index 0000000000..5cd572bfc8
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3--- a/configure.ac 2011-10-20 21:56:02.230663987 +0200
4+++ b/configure.ac 2011-08-17 15:01:30.000000000 +0200
5@@ -227,8 +227,8 @@
6 LIBTOOL="$sh_libtool"
7 SVN_LIBTOOL="$sh_libtool"
8 else
9- sh_libtool="$abs_builddir/libtool"
10- SVN_LIBTOOL="\$(SHELL) $sh_libtool"
11+ sh_libtool="$abs_builddir/$host_alias-libtool"
12+ SVN_LIBTOOL="\$(SHELL) \$(abs_builddir)/$host_alias-libtool"
13 fi
14 AC_SUBST(SVN_LIBTOOL)
15
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
new file mode 100644
index 0000000000..77f9135e1a
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
@@ -0,0 +1,108 @@
1Patch taken from subversion-users ML.
2
3From: Roman Plessl <roman.plessl_at_oetiker.ch>
4Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
5
6Hi All,
7I try to compile and installe the new subversion 1.7.6 using my build
8system. I use svnserve as standalone subversion server so my build
9is not using the apache bindings.
10I got the following compile error for the module mod_dontdothat:
11...
12/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool
13--tag=CC --silent --mode=compile gcc
14-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT
15-D_GNU_SOURCE -g -O2 -g -O2 -pthread
16-Werror=implicit-function-declaration -I./subversion/include
17-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1
18-I/usr/pack/subversion-1.7.6-rp/include/apr-1
19-I/usr/pack/subversion-1.7.6-rp/include
20-I/usr/pack/subversion-1.7.6-rp/include/neon
21-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o
22tools/server-side/mod_dontdothat/mod_dontdothat.lo -c
23tools/server-side/mod_dontdothat/mod_dontdothat.c
24tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h:
25No such file or directory
26tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error:
27http_config.h: No such file or directory
28tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error:
29http_protocol.h: No such file or directory
30tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error:
31http_request.h: No such file or directory
32tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error:
33http_log.h: No such file or directory
34tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error:
35util_filter.h: No such file or directory
36tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error:
37ap_config.h: No such file or directory
38...
39I suppose the module mod_dontdothat should be only build with activated
40'apache-mod's . Maybe the build target declaration has been forget when
41moving the target for subversion 1.7.6.
42...
43checking for Apache module support via DSO through APXS... no
44==================================================================
45WARNING: skipping the build of mod_dav_svn
46 try using --with-apxs
47==================================================================
48...
49Could you check that?
50I have used the attached patch to fix it for myself.
51Cheers
52Roman
53--
54Roman Plessl phone: +41 (62) 775 9904
55OETIKER+PARTNER AG email: roman.plessl_at_oetiker.ch
56Aarweg 15 web: http://it.oetiker.ch
57CH-4600 Olten switch board: +41 (62) 775 9900
58
59
60
61---
62 build-outputs.mk | 4 ++--
63 build.conf | 2 +-
64 2 files changed, 3 insertions(+), 3 deletions(-)
65
66--- subversion-1.7.6.orig/build-outputs.mk
67+++ subversion-1.7.6/build-outputs.mk
68@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
69
70 ########################################
71 # Section 6: Install-Group build targets
72 ########################################
73
74-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
75+apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la
76
77 bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
78
79 bdb-test: subversion/tests/libsvn_fs_base/changes-test$(EXEEXT) subversion/tests/libsvn_fs_base/fs-base-test$(EXEEXT) subversion/tests/libsvn_fs_base/strings-reps-test$(EXEEXT)
80
81@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
82
83 swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
84
85 test: subversion/tests/cmdline/atomic-ra-revprop-change$(EXEEXT) subversion/tests/libsvn_subr/auth-test$(EXEEXT) subversion/tests/libsvn_subr/cache-test$(EXEEXT) subversion/tests/libsvn_subr/checksum-test$(EXEEXT) subversion/tests/libsvn_client/client-test$(EXEEXT) subversion/tests/libsvn_subr/compat-test$(EXEEXT) subversion/tests/libsvn_subr/config-test$(EXEEXT) subversion/tests/libsvn_wc/db-test$(EXEEXT) subversion/tests/libsvn_diff/diff-diff3-test$(EXEEXT) subversion/tests/libsvn_subr/dirent_uri-test$(EXEEXT) subversion/tests/libsvn_wc/entries-compat-test$(EXEEXT) subversion/tests/cmdline/entries-dump$(EXEEXT) subversion/tests/libsvn_subr/error-test$(EXEEXT) subversion/tests/libsvn_fs_fs/fs-pack-test$(EXEEXT) subversion/tests/libsvn_fs/fs-test$(EXEEXT) subversion/tests/libsvn_subr/hashdump-test$(EXEEXT) subversion/tests/libsvn_test-1.la subversion/tests/libsvn_fs/locks-test$(EXEEXT) subversion/tests/libsvn_subr/mergeinfo-test$(EXEEXT) subversion/tests/libsvn_wc/op-depth-test$(EXEEXT) subversion/tests/libsvn_subr/opt-test$(EXEEXT) subversion/tests/libsvn_diff/parse-diff-test$(EXEEXT) subversion/tests/libsvn_subr/path-test$(EXEEXT) subversion/tests/libsvn_wc/pristine-store-test$(EXEEXT) subversion/tests/libsvn_ra_local/ra-local-test$(EXEEXT) subversion/tests/libsvn_delta/random-test$(EXEEXT) subversion/tests/libsvn_repos/repos-test$(EXEEXT) subversion/tests/libsvn_subr/revision-test$(EXEEXT) subversion/tests/libsvn_subr/skel-test$(EXEEXT) subversion/tests/libsvn_subr/stream-test$(EXEEXT) subversion/tests/libsvn_subr/string-test$(EXEEXT) subversion/tests/libsvn_subr/subst_translate-test$(EXEEXT) subversion/tests/libsvn_delta/svndiff-test$(EXEEXT) subversion/tests/libsvn_subr/target-test$(EXEEXT) subversion/tests/libsvn_subr/time-test$(EXEEXT) subversion/tests/libsvn_subr/translate-test$(EXEEXT) subversion/tests/libsvn_wc/tree-conflict-data-test$(EXEEXT) subversion/tests/libsvn_subr/utf-test$(EXEEXT) subversion/tests/libsvn_delta/vdelta-test$(EXEEXT) subversion/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
86
87-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnmucc/svnmucc$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
88+tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnmucc/svnmucc$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
89
90
91 ########################################
92 # Section 7: Install-Group install targets
93 ########################################
94--- subversion-1.7.6.orig/build.conf
95+++ subversion-1.7.6/build.conf
96@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
97 description = Apache Httpd module to block certain kinds of Apache Subversion requests
98 type = apache-mod
99 path = tools/server-side/mod_dontdothat
100 nonlibs = mod_dav_svn apr aprutil
101 libs = libsvn_subr xml
102-install = tools
103+install = apache-mod
104 msvc-libs = libhttpd.lib
105
106 # ----------------------------------------------------------------------------
107 #
108 # CONSTRUCTED HEADERS