Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] subversion: update to 1.7.6
@ 2012-08-23  7:24 Marcin Juszkiewicz
  2012-08-23  7:24 ` [PATCH 2/2] libcap: fetch from Debian Marcin Juszkiewicz
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Marcin Juszkiewicz @ 2012-08-23  7:24 UTC (permalink / raw)
  To: Openembedded-core

Dropped --without-apache option as it does not exists.

Added patch from subversion-users ML to not build mod_dontdothat.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 .../subversion-1.7.6/fix-install-depends.patch     |   48 +++++++++
 .../libtool2.patch                                 |    0
 ...ersion-1.7.6_mod_dontdothat_svnserve_only.patch |  108 ++++++++++++++++++++
 .../{subversion_1.7.2.bb => subversion_1.7.6.bb}   |    9 +-
 4 files changed, 160 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
 rename meta/recipes-devtools/subversion/{subversion-1.7.2 => subversion-1.7.6}/libtool2.patch (100%)
 create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
 rename meta/recipes-devtools/subversion/{subversion_1.7.2.bb => subversion_1.7.6.bb} (79%)

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 0000000..fb79b8c
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
@@ -0,0 +1,48 @@
+install-neon-lib should depend on libsvn_delta's installation
+
+install-neon-lib needs libsvn_delta-1.la which will be regenerated
+during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
+in regenerating and at the same time install-neon-lib links it, the
+error willl happen.
+
+Let install-neon-lib run after libsvn_delta-1.la is installed will fix
+the problem.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ build-outputs.mk |    2 +-
+ build.conf       |    2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+--- subversion-1.7.6.orig/build-outputs.mk
++++ subversion-1.7.6/build-outputs.mk
+@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
+ 	$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
+ 	cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
+ 	$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
+ 	cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
+ 
+-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la 
++install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
+ 	$(MKDIR) $(DESTDIR)$(neon_libdir)
+ 	cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
+ 
+ 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 
+ 	$(MKDIR) $(DESTDIR)$(ramod_libdir)
+--- subversion-1.7.6.orig/build.conf
++++ subversion-1.7.6/build.conf
+@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
+ [libsvn_ra_neon]
+ type = ra-module
+ path = subversion/libsvn_ra_neon
+ install = neon-lib
+ libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
++# conditionally add more dependencies
++add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
+ msvc-static = yes
+ 
+ # Accessing repositories via DAV through serf
+ [libsvn_ra_serf]
+ type = ra-module
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
similarity index 100%
rename from meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch
rename to meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
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 0000000..77f9135
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
@@ -0,0 +1,108 @@
+Patch taken from subversion-users ML.
+
+From: Roman Plessl <roman.plessl_at_oetiker.ch> 
+Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
+
+Hi All, 
+I try to compile and installe the new subversion 1.7.6 using my build 
+system. I use svnserve as standalone subversion server so my build 
+is not using the apache bindings. 
+I got the following compile error for the module mod_dontdothat: 
+... 
+/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool 
+--tag=CC --silent --mode=compile gcc 
+-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT 
+-D_GNU_SOURCE -g -O2 -g -O2 -pthread 
+-Werror=implicit-function-declaration -I./subversion/include 
+-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1 
+-I/usr/pack/subversion-1.7.6-rp/include/apr-1 
+-I/usr/pack/subversion-1.7.6-rp/include 
+-I/usr/pack/subversion-1.7.6-rp/include/neon 
+-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o 
+tools/server-side/mod_dontdothat/mod_dontdothat.lo -c 
+tools/server-side/mod_dontdothat/mod_dontdothat.c 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h: 
+No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error: 
+http_config.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error: 
+http_protocol.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error: 
+http_request.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error: 
+http_log.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error: 
+util_filter.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error: 
+ap_config.h: No such file or directory 
+... 
+I suppose the module mod_dontdothat should be only build with activated 
+'apache-mod's . Maybe the build target declaration has been forget when 
+moving the target for subversion 1.7.6. 
+... 
+checking for Apache module support via DSO through APXS... no 
+================================================================== 
+WARNING: skipping the build of mod_dav_svn 
+          try using --with-apxs 
+================================================================== 
+... 
+Could you check that? 
+I have used the attached patch to fix it for myself. 
+Cheers 
+Roman 
+--
+Roman Plessl            phone:        +41 (62) 775 9904
+OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
+Aarweg 15               web:          http://it.oetiker.ch
+CH-4600 Olten           switch board: +41 (62) 775 9900
+
+
+
+---
+ build-outputs.mk |    4 ++--
+ build.conf       |    2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+--- subversion-1.7.6.orig/build-outputs.mk
++++ subversion-1.7.6/build-outputs.mk
+@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
+ 
+ ########################################
+ # Section 6: Install-Group build targets
+ ########################################
+ 
+-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
++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
+ 
+ bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
+ 
+ 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)
+ 
+@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
+ 
+ swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
+ 
+ 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$(EX
 EEXT) 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) subversio
 n/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
+ 
+-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)
++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)
+ 
+ 
+ ########################################
+ # Section 7: Install-Group install targets
+ ########################################
+--- subversion-1.7.6.orig/build.conf
++++ subversion-1.7.6/build.conf
+@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
+ description = Apache Httpd module to block certain kinds of Apache Subversion requests
+ type = apache-mod
+ path = tools/server-side/mod_dontdothat
+ nonlibs = mod_dav_svn apr aprutil
+ libs = libsvn_subr xml
+-install = tools
++install = apache-mod
+ msvc-libs = libhttpd.lib
+ 
+ # ----------------------------------------------------------------------------
+ #
+ # CONSTRUCTED HEADERS
diff --git a/meta/recipes-devtools/subversion/subversion_1.7.2.bb b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
similarity index 79%
rename from meta/recipes-devtools/subversion/subversion_1.7.2.bb
rename to meta/recipes-devtools/subversion/subversion_1.7.6.bb
index c3e6763..b21d5be 100644
--- a/meta/recipes-devtools/subversion/subversion_1.7.2.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
@@ -7,21 +7,20 @@ HOMEPAGE = "http://subversion.tigris.org"
 
 BBCLASSEXTEND = "native"
 
-PR = "r5"
-
 inherit gettext
 
 SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
            file://libtool2.patch \
            file://fix-install-depends.patch \
+           file://subversion-1.7.6_mod_dontdothat_svnserve_only.patch \
 "
-SRC_URI[md5sum] = "1e5dfffd27be080672e5a042564368a8"
-SRC_URI[sha256sum] = "7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517"
+SRC_URI[md5sum] = "4baa434db7709bb059b05d02a2547663"
+SRC_URI[sha256sum] = "d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4"
 
 EXTRA_OECONF = " \
-                --without-berkeley-db --without-apxs --without-apache \
+                --without-berkeley-db --without-apxs \
                 --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
                 --with-apr-util=${STAGING_BINDIR_CROSS} \
                 ac_cv_path_RUBY=none"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] libcap: fetch from Debian
  2012-08-23  7:24 [PATCH 1/2] subversion: update to 1.7.6 Marcin Juszkiewicz
@ 2012-08-23  7:24 ` Marcin Juszkiewicz
  2012-08-23  7:31   ` Martin Jansa
  2012-08-23 16:26 ` [PATCH 1/2] subversion: update to 1.7.6 Saul Wold
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Marcin Juszkiewicz @ 2012-08-23  7:24 UTC (permalink / raw)
  To: Openembedded-core

Original location was kernel.org and it was not restored after server
was hacked.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-support/libcap/libcap.inc     |    2 +-
 meta/recipes-support/libcap/libcap_2.22.bb |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index 5b03671..5d7291e 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -10,7 +10,7 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 # attr and pam are disabled by EXTRA_OEMAKE_virtclass-native
 DEPENDS_virtclass-native = "perl-native-runtime"
 
-SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
+SRC_URI = "${DEBIAN_MIRROR}/main/libc/libcap2/${BPN}2_${PV}.orig.tar.gz"
 
 PR = "r1"
 
diff --git a/meta/recipes-support/libcap/libcap_2.22.bb b/meta/recipes-support/libcap/libcap_2.22.bb
index be1df54..b631c51 100644
--- a/meta/recipes-support/libcap/libcap_2.22.bb
+++ b/meta/recipes-support/libcap/libcap_2.22.bb
@@ -2,5 +2,5 @@ require libcap.inc
 
 PR = "r3"
 
-SRC_URI[md5sum] = "ce64058bdb3f086ddbfca8ce6c919845"
-SRC_URI[sha256sum] = "73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f"
+SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
+SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] libcap: fetch from Debian
  2012-08-23  7:24 ` [PATCH 2/2] libcap: fetch from Debian Marcin Juszkiewicz
@ 2012-08-23  7:31   ` Martin Jansa
  2012-08-23  7:36     ` Marcin Juszkiewicz
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2012-08-23  7:31 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: Openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2099 bytes --]

On Thu, Aug 23, 2012 at 09:24:29AM +0200, Marcin Juszkiewicz wrote:
> Original location was kernel.org and it was not restored after server
> was hacked.

So the SRC_URI checksums are different because it was repackaged? Please
include diff of content from those 2 archives in commit message.

Cheers,

> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  meta/recipes-support/libcap/libcap.inc     |    2 +-
>  meta/recipes-support/libcap/libcap_2.22.bb |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
> index 5b03671..5d7291e 100644
> --- a/meta/recipes-support/libcap/libcap.inc
> +++ b/meta/recipes-support/libcap/libcap.inc
> @@ -10,7 +10,7 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>  # attr and pam are disabled by EXTRA_OEMAKE_virtclass-native
>  DEPENDS_virtclass-native = "perl-native-runtime"
>  
> -SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
> +SRC_URI = "${DEBIAN_MIRROR}/main/libc/libcap2/${BPN}2_${PV}.orig.tar.gz"
>  
>  PR = "r1"
>  
> diff --git a/meta/recipes-support/libcap/libcap_2.22.bb b/meta/recipes-support/libcap/libcap_2.22.bb
> index be1df54..b631c51 100644
> --- a/meta/recipes-support/libcap/libcap_2.22.bb
> +++ b/meta/recipes-support/libcap/libcap_2.22.bb
> @@ -2,5 +2,5 @@ require libcap.inc
>  
>  PR = "r3"
>  
> -SRC_URI[md5sum] = "ce64058bdb3f086ddbfca8ce6c919845"
> -SRC_URI[sha256sum] = "73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f"
> +SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
> +SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] libcap: fetch from Debian
  2012-08-23  7:31   ` Martin Jansa
@ 2012-08-23  7:36     ` Marcin Juszkiewicz
  0 siblings, 0 replies; 9+ messages in thread
From: Marcin Juszkiewicz @ 2012-08-23  7:36 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Openembedded-core

W dniu 23.08.2012 09:31, Martin Jansa pisze:
> On Thu, Aug 23, 2012 at 09:24:29AM +0200, Marcin Juszkiewicz wrote:
>> Original location was kernel.org and it was not restored after server
>> was hacked.
> 
> So the SRC_URI checksums are different because it was repackaged? Please
> include diff of content from those 2 archives in commit message.

Content of those archives is exactly same. Checked md5 sums of all file
in both.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] subversion: update to 1.7.6
  2012-08-23  7:24 [PATCH 1/2] subversion: update to 1.7.6 Marcin Juszkiewicz
  2012-08-23  7:24 ` [PATCH 2/2] libcap: fetch from Debian Marcin Juszkiewicz
@ 2012-08-23 16:26 ` Saul Wold
  2012-08-24  9:47   ` Marcin Juszkiewicz
  2012-08-24 19:21 ` Saul Wold
  2012-08-27 15:56 ` Saul Wold
  3 siblings, 1 reply; 9+ messages in thread
From: Saul Wold @ 2012-08-23 16:26 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: Openembedded-core

On 08/23/2012 12:24 AM, Marcin Juszkiewicz wrote:
> Dropped --without-apache option as it does not exists.
>
> Added patch from subversion-users ML to not build mod_dontdothat.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   .../subversion-1.7.6/fix-install-depends.patch     |   48 +++++++++
>   .../libtool2.patch                                 |    0
>   ...ersion-1.7.6_mod_dontdothat_svnserve_only.patch |  108 ++++++++++++++++++++
>   .../{subversion_1.7.2.bb => subversion_1.7.6.bb}   |    9 +-
>   4 files changed, 160 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
>   rename meta/recipes-devtools/subversion/{subversion-1.7.2 => subversion-1.7.6}/libtool2.patch (100%)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
>   rename meta/recipes-devtools/subversion/{subversion_1.7.2.bb => subversion_1.7.6.bb} (79%)
>
I seem to be having a problem applying this patch, can you verify it or 
resend.

Thanks
	Sau!

> 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 0000000..fb79b8c
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
> @@ -0,0 +1,48 @@
> +install-neon-lib should depend on libsvn_delta's installation
> +
> +install-neon-lib needs libsvn_delta-1.la which will be regenerated
> +during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
> +in regenerating and at the same time install-neon-lib links it, the
> +error willl happen.
> +
> +Let install-neon-lib run after libsvn_delta-1.la is installed will fix
> +the problem.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> +---
> + build-outputs.mk |    2 +-
> + build.conf       |    2 ++
> + 2 files changed, 3 insertions(+), 1 deletion(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
> +
> +-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
> ++install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
> + 	$(MKDIR) $(DESTDIR)$(neon_libdir)
> + 	cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
> +
> + 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
> + 	$(MKDIR) $(DESTDIR)$(ramod_libdir)
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
> + [libsvn_ra_neon]
> + type = ra-module
> + path = subversion/libsvn_ra_neon
> + install = neon-lib
> + libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
> ++# conditionally add more dependencies
> ++add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
> + msvc-static = yes
> +
> + # Accessing repositories via DAV through serf
> + [libsvn_ra_serf]
> + type = ra-module
> diff --git a/meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> similarity index 100%
> rename from meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch
> rename to meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> 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 0000000..77f9135
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
> @@ -0,0 +1,108 @@
> +Patch taken from subversion-users ML.
> +
> +From: Roman Plessl <roman.plessl_at_oetiker.ch>
> +Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
> +
> +Hi All,
> +I try to compile and installe the new subversion 1.7.6 using my build
> +system. I use svnserve as standalone subversion server so my build
> +is not using the apache bindings.
> +I got the following compile error for the module mod_dontdothat:
> +...
> +/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool
> +--tag=CC --silent --mode=compile gcc
> +-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT
> +-D_GNU_SOURCE -g -O2 -g -O2 -pthread
> +-Werror=implicit-function-declaration -I./subversion/include
> +-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include
> +-I/usr/pack/subversion-1.7.6-rp/include/neon
> +-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o
> +tools/server-side/mod_dontdothat/mod_dontdothat.lo -c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h:
> +No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error:
> +http_config.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error:
> +http_protocol.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error:
> +http_request.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error:
> +http_log.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error:
> +util_filter.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error:
> +ap_config.h: No such file or directory
> +...
> +I suppose the module mod_dontdothat should be only build with activated
> +'apache-mod's . Maybe the build target declaration has been forget when
> +moving the target for subversion 1.7.6.
> +...
> +checking for Apache module support via DSO through APXS... no
> +==================================================================
> +WARNING: skipping the build of mod_dav_svn
> +          try using --with-apxs
> +==================================================================
> +...
> +Could you check that?
> +I have used the attached patch to fix it for myself.
> +Cheers
> +Roman
> +--
> +Roman Plessl            phone:        +41 (62) 775 9904
> +OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
> +Aarweg 15               web:          http://it.oetiker.ch
> +CH-4600 Olten           switch board: +41 (62) 775 9900
> +
> +
> +
> +---
> + build-outputs.mk |    4 ++--
> + build.conf       |    2 +-
> + 2 files changed, 3 insertions(+), 3 deletions(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
> +
> + ########################################
> + # Section 6: Install-Group build targets
> + ########################################
> +
> +-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
> ++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
> +
> + bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
> +
> + 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)
> +
> +@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
> +
> + swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
> +
> + 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$(E
X
>   EEXT) 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) subvers
io
>   n/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
> +
> +-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)
> ++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)
> +
> +
> + ########################################
> + # Section 7: Install-Group install targets
> + ########################################
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
> + description = Apache Httpd module to block certain kinds of Apache Subversion requests
> + type = apache-mod
> + path = tools/server-side/mod_dontdothat
> + nonlibs = mod_dav_svn apr aprutil
> + libs = libsvn_subr xml
> +-install = tools
> ++install = apache-mod
> + msvc-libs = libhttpd.lib
> +
> + # ----------------------------------------------------------------------------
> + #
> + # CONSTRUCTED HEADERS
> diff --git a/meta/recipes-devtools/subversion/subversion_1.7.2.bb b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> similarity index 79%
> rename from meta/recipes-devtools/subversion/subversion_1.7.2.bb
> rename to meta/recipes-devtools/subversion/subversion_1.7.6.bb
> index c3e6763..b21d5be 100644
> --- a/meta/recipes-devtools/subversion/subversion_1.7.2.bb
> +++ b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> @@ -7,21 +7,20 @@ HOMEPAGE = "http://subversion.tigris.org"
>
>   BBCLASSEXTEND = "native"
>
> -PR = "r5"
> -
>   inherit gettext
>
>   SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
>              file://libtool2.patch \
>              file://fix-install-depends.patch \
> +           file://subversion-1.7.6_mod_dontdothat_svnserve_only.patch \
>   "
> -SRC_URI[md5sum] = "1e5dfffd27be080672e5a042564368a8"
> -SRC_URI[sha256sum] = "7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517"
> +SRC_URI[md5sum] = "4baa434db7709bb059b05d02a2547663"
> +SRC_URI[sha256sum] = "d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05"
>
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4"
>
>   EXTRA_OECONF = " \
> -                --without-berkeley-db --without-apxs --without-apache \
> +                --without-berkeley-db --without-apxs \
>                   --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
>                   --with-apr-util=${STAGING_BINDIR_CROSS} \
>                   ac_cv_path_RUBY=none"
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] subversion: update to 1.7.6
  2012-08-23 16:26 ` [PATCH 1/2] subversion: update to 1.7.6 Saul Wold
@ 2012-08-24  9:47   ` Marcin Juszkiewicz
  2012-08-24 18:49     ` Saul Wold
  0 siblings, 1 reply; 9+ messages in thread
From: Marcin Juszkiewicz @ 2012-08-24  9:47 UTC (permalink / raw)
  To: Saul Wold; +Cc: Openembedded-core

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

W dniu 23.08.2012 18:26, Saul Wold pisze:
> On 08/23/2012 12:24 AM, Marcin Juszkiewicz wrote:
>> Dropped --without-apache option as it does not exists.
>>
>> Added patch from subversion-users ML to not build mod_dontdothat.
>>
>> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

> I seem to be having a problem applying this patch, can you verify it or
> resend.

Exported it again and applied to other tree.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-subversion-update-to-1.7.6.patch --]
[-- Type: text/x-patch; name="0001-subversion-update-to-1.7.6.patch", Size: 13156 bytes --]

From 75b8550a2da432edf86205a08833f52a9588fae4 Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Date: Wed, 22 Aug 2012 22:25:04 +0200
Subject: [PATCH 1/2] subversion: update to 1.7.6

Dropped --without-apache option as it does not exists.

Added patch from subversion-users ML to not build mod_dontdothat.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 .../subversion-1.7.6/fix-install-depends.patch     |   48 +++++++++
 .../libtool2.patch                                 |    0
 ...ersion-1.7.6_mod_dontdothat_svnserve_only.patch |  108 ++++++++++++++++++++
 .../{subversion_1.7.2.bb => subversion_1.7.6.bb}   |    9 +-
 4 files changed, 160 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
 rename meta/recipes-devtools/subversion/{subversion-1.7.2 => subversion-1.7.6}/libtool2.patch (100%)
 create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
 rename meta/recipes-devtools/subversion/{subversion_1.7.2.bb => subversion_1.7.6.bb} (79%)

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 0000000..fb79b8c
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
@@ -0,0 +1,48 @@
+install-neon-lib should depend on libsvn_delta's installation
+
+install-neon-lib needs libsvn_delta-1.la which will be regenerated
+during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
+in regenerating and at the same time install-neon-lib links it, the
+error willl happen.
+
+Let install-neon-lib run after libsvn_delta-1.la is installed will fix
+the problem.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ build-outputs.mk |    2 +-
+ build.conf       |    2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+--- subversion-1.7.6.orig/build-outputs.mk
++++ subversion-1.7.6/build-outputs.mk
+@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
+ 	$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
+ 	cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
+ 	$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
+ 	cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
+ 
+-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la 
++install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
+ 	$(MKDIR) $(DESTDIR)$(neon_libdir)
+ 	cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
+ 
+ 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 
+ 	$(MKDIR) $(DESTDIR)$(ramod_libdir)
+--- subversion-1.7.6.orig/build.conf
++++ subversion-1.7.6/build.conf
+@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
+ [libsvn_ra_neon]
+ type = ra-module
+ path = subversion/libsvn_ra_neon
+ install = neon-lib
+ libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
++# conditionally add more dependencies
++add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
+ msvc-static = yes
+ 
+ # Accessing repositories via DAV through serf
+ [libsvn_ra_serf]
+ type = ra-module
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
similarity index 100%
rename from meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch
rename to meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
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 0000000..77f9135
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
@@ -0,0 +1,108 @@
+Patch taken from subversion-users ML.
+
+From: Roman Plessl <roman.plessl_at_oetiker.ch> 
+Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
+
+Hi All, 
+I try to compile and installe the new subversion 1.7.6 using my build 
+system. I use svnserve as standalone subversion server so my build 
+is not using the apache bindings. 
+I got the following compile error for the module mod_dontdothat: 
+... 
+/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool 
+--tag=CC --silent --mode=compile gcc 
+-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT 
+-D_GNU_SOURCE -g -O2 -g -O2 -pthread 
+-Werror=implicit-function-declaration -I./subversion/include 
+-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1 
+-I/usr/pack/subversion-1.7.6-rp/include/apr-1 
+-I/usr/pack/subversion-1.7.6-rp/include 
+-I/usr/pack/subversion-1.7.6-rp/include/neon 
+-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o 
+tools/server-side/mod_dontdothat/mod_dontdothat.lo -c 
+tools/server-side/mod_dontdothat/mod_dontdothat.c 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h: 
+No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error: 
+http_config.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error: 
+http_protocol.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error: 
+http_request.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error: 
+http_log.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error: 
+util_filter.h: No such file or directory 
+tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error: 
+ap_config.h: No such file or directory 
+... 
+I suppose the module mod_dontdothat should be only build with activated 
+'apache-mod's . Maybe the build target declaration has been forget when 
+moving the target for subversion 1.7.6. 
+... 
+checking for Apache module support via DSO through APXS... no 
+================================================================== 
+WARNING: skipping the build of mod_dav_svn 
+          try using --with-apxs 
+================================================================== 
+... 
+Could you check that? 
+I have used the attached patch to fix it for myself. 
+Cheers 
+Roman 
+--
+Roman Plessl            phone:        +41 (62) 775 9904
+OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
+Aarweg 15               web:          http://it.oetiker.ch
+CH-4600 Olten           switch board: +41 (62) 775 9900
+
+
+
+---
+ build-outputs.mk |    4 ++--
+ build.conf       |    2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+--- subversion-1.7.6.orig/build-outputs.mk
++++ subversion-1.7.6/build-outputs.mk
+@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
+ 
+ ########################################
+ # Section 6: Install-Group build targets
+ ########################################
+ 
+-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
++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
+ 
+ bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
+ 
+ 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)
+ 
+@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
+ 
+ swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
+ 
+ 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)
+ 
+-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)
++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)
+ 
+ 
+ ########################################
+ # Section 7: Install-Group install targets
+ ########################################
+--- subversion-1.7.6.orig/build.conf
++++ subversion-1.7.6/build.conf
+@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
+ description = Apache Httpd module to block certain kinds of Apache Subversion requests
+ type = apache-mod
+ path = tools/server-side/mod_dontdothat
+ nonlibs = mod_dav_svn apr aprutil
+ libs = libsvn_subr xml
+-install = tools
++install = apache-mod
+ msvc-libs = libhttpd.lib
+ 
+ # ----------------------------------------------------------------------------
+ #
+ # CONSTRUCTED HEADERS
diff --git a/meta/recipes-devtools/subversion/subversion_1.7.2.bb b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
similarity index 79%
rename from meta/recipes-devtools/subversion/subversion_1.7.2.bb
rename to meta/recipes-devtools/subversion/subversion_1.7.6.bb
index c3e6763..b21d5be 100644
--- a/meta/recipes-devtools/subversion/subversion_1.7.2.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
@@ -7,21 +7,20 @@ HOMEPAGE = "http://subversion.tigris.org"
 
 BBCLASSEXTEND = "native"
 
-PR = "r5"
-
 inherit gettext
 
 SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
            file://libtool2.patch \
            file://fix-install-depends.patch \
+           file://subversion-1.7.6_mod_dontdothat_svnserve_only.patch \
 "
-SRC_URI[md5sum] = "1e5dfffd27be080672e5a042564368a8"
-SRC_URI[sha256sum] = "7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517"
+SRC_URI[md5sum] = "4baa434db7709bb059b05d02a2547663"
+SRC_URI[sha256sum] = "d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4"
 
 EXTRA_OECONF = " \
-                --without-berkeley-db --without-apxs --without-apache \
+                --without-berkeley-db --without-apxs \
                 --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
                 --with-apr-util=${STAGING_BINDIR_CROSS} \
                 ac_cv_path_RUBY=none"
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] subversion: update to 1.7.6
  2012-08-24  9:47   ` Marcin Juszkiewicz
@ 2012-08-24 18:49     ` Saul Wold
  0 siblings, 0 replies; 9+ messages in thread
From: Saul Wold @ 2012-08-24 18:49 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: Openembedded-core

On 08/24/2012 02:47 AM, Marcin Juszkiewicz wrote:
> W dniu 23.08.2012 18:26, Saul Wold pisze:
>> On 08/23/2012 12:24 AM, Marcin Juszkiewicz wrote:
>>> Dropped --without-apache option as it does not exists.
>>>
>>> Added patch from subversion-users ML to not build mod_dontdothat.
>>>
>>> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
>
>> I seem to be having a problem applying this patch, can you verify it or
>> resend.
>
> Exported it again and applied to other tree.
>

Worked this time, in my MUT branch for testing.

Sau!




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] subversion: update to 1.7.6
  2012-08-23  7:24 [PATCH 1/2] subversion: update to 1.7.6 Marcin Juszkiewicz
  2012-08-23  7:24 ` [PATCH 2/2] libcap: fetch from Debian Marcin Juszkiewicz
  2012-08-23 16:26 ` [PATCH 1/2] subversion: update to 1.7.6 Saul Wold
@ 2012-08-24 19:21 ` Saul Wold
  2012-08-27 15:56 ` Saul Wold
  3 siblings, 0 replies; 9+ messages in thread
From: Saul Wold @ 2012-08-24 19:21 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: Openembedded-core

On 08/23/2012 12:24 AM, Marcin Juszkiewicz wrote:
> Dropped --without-apache option as it does not exists.
>
> Added patch from subversion-users ML to not build mod_dontdothat.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   .../subversion-1.7.6/fix-install-depends.patch     |   48 +++++++++
>   .../libtool2.patch                                 |    0
>   ...ersion-1.7.6_mod_dontdothat_svnserve_only.patch |  108 ++++++++++++++++++++
>   .../{subversion_1.7.2.bb => subversion_1.7.6.bb}   |    9 +-
>   4 files changed, 160 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
>   rename meta/recipes-devtools/subversion/{subversion-1.7.2 => subversion-1.7.6}/libtool2.patch (100%)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
>   rename meta/recipes-devtools/subversion/{subversion_1.7.2.bb => subversion_1.7.6.bb} (79%)
>
> 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 0000000..fb79b8c
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
> @@ -0,0 +1,48 @@
> +install-neon-lib should depend on libsvn_delta's installation
> +
> +install-neon-lib needs libsvn_delta-1.la which will be regenerated
> +during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
> +in regenerating and at the same time install-neon-lib links it, the
> +error willl happen.
> +
> +Let install-neon-lib run after libsvn_delta-1.la is installed will fix
> +the problem.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> +---
> + build-outputs.mk |    2 +-
> + build.conf       |    2 ++
> + 2 files changed, 3 insertions(+), 1 deletion(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
> +
> +-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
> ++install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
> + 	$(MKDIR) $(DESTDIR)$(neon_libdir)
> + 	cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
> +
> + 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
> + 	$(MKDIR) $(DESTDIR)$(ramod_libdir)
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
> + [libsvn_ra_neon]
> + type = ra-module
> + path = subversion/libsvn_ra_neon
> + install = neon-lib
> + libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
> ++# conditionally add more dependencies
> ++add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
> + msvc-static = yes
> +
> + # Accessing repositories via DAV through serf
> + [libsvn_ra_serf]
> + type = ra-module
> diff --git a/meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> similarity index 100%
> rename from meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch
> rename to meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> 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 0000000..77f9135
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
> @@ -0,0 +1,108 @@
> +Patch taken from subversion-users ML.
> +


> +From: Roman Plessl <roman.plessl_at_oetiker.ch>
> +Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
> +
> +Hi All,
> +I try to compile and installe the new subversion 1.7.6 using my build
> +system. I use svnserve as standalone subversion server so my build
> +is not using the apache bindings.
> +I got the following compile error for the module mod_dontdothat:
> +...
> +/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool
> +--tag=CC --silent --mode=compile gcc
> +-I/usr/pack/subversion-1.7.6-rp/includOn 08/23/2012 12:24 AM, Marcin Juszkiewicz wrote:> Dropped --without-apache option as it does not exists.
>
> Added patch from subversion-users ML to not build mod_dontdothat.
>
This need an Upstream-Status: tag

Thanks

Sau!
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   .../subversion-1.7.6/fix-install-depends.patch     |   48 +++++++++
>   .../libtool2.patch                                 |    0
>   ...ersion-1.7.6_mod_dontdothat_svnserve_only.patch |  108 ++++++++++++++++++++
>   .../{subversion_1.7.2.bb => subversion_1.7.6.bb}   |    9 +-
>   4 files changed, 160 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
>   rename meta/recipes-devtools/subversion/{subversion-1.7.2 => subversion-1.7.6}/libtool2.patch (100%)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
>   rename meta/recipes-devtools/subversion/{subversion_1.7.2.bb => subversion_1.7.6.bb} (79%)
>
> 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 0000000..fb79b8c
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
> @@ -0,0 +1,48 @@
> +install-neon-lib should depend on libsvn_delta's installation
> +
> +install-neon-lib needs libsvn_delta-1.la which will be regenerated
> +during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
> +in regenerating and at the same time install-neon-lib links it, the
> +error willl happen.
> +
> +Let install-neon-lib run after libsvn_delta-1.la is installed will fix
> +the problem.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> +---
> + build-outputs.mk |    2 +-
> + build.conf       |    2 ++
> + 2 files changed, 3 insertions(+), 1 deletion(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
> +
> +-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
> ++install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
> + 	$(MKDIR) $(DESTDIR)$(neon_libdir)
> + 	cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
> +
> + 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
> + 	$(MKDIR) $(DESTDIR)$(ramod_libdir)
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
> + [libsvn_ra_neon]
> + type = ra-module
> + path = subversion/libsvn_ra_neon
> + install = neon-lib
> + libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
> ++# conditionally add more dependencies
> ++add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
> + msvc-static = yes
> +
> + # Accessing repositories via DAV through serf
> + [libsvn_ra_serf]
> + type = ra-module
> diff --git a/meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> similarity index 100%
> rename from meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch
> rename to meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> 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 0000000..77f9135
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
> @@ -0,0 +1,108 @@
> +Patch taken from subversion-users ML.
> +
> +From: Roman Plessl <roman.plessl_at_oetiker.ch>
> +Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
> +
> +Hi All,
> +I try to compile and installe the new subversion 1.7.6 using my build
> +system. I use svnserve as standalone subversion server so my build
> +is not using the apache bindings.
> +I got the following compile error for the module mod_dontdothat:
> +...
> +/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool
> +--tag=CC --silent --mode=compile gcc
> +-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT
> +-D_GNU_SOURCE -g -O2 -g -O2 -pthread
> +-Werror=implicit-function-declaration -I./subversion/include
> +-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include
> +-I/usr/pack/subversion-1.7.6-rp/include/neon
> +-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o
> +tools/server-side/mod_dontdothat/mod_dontdothat.lo -c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h:
> +No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error:
> +http_config.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error:
> +http_protocol.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error:
> +http_request.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error:
> +http_log.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error:
> +util_filter.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error:
> +ap_config.h: No such file or directory
> +...
> +I suppose the module mod_dontdothat should be only build with activated
> +'apache-mod's . Maybe the build target declaration has been forget when
> +moving the target for subversion 1.7.6.
> +...
> +checking for Apache module support via DSO through APXS... no
> +==================================================================
> +WARNING: skipping the build of mod_dav_svn
> +          try using --with-apxs
> +==================================================================
> +...
> +Could you check that?
> +I have used the attached patch to fix it for myself.
> +Cheers
> +Roman
> +--
> +Roman Plessl            phone:        +41 (62) 775 9904
> +OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
> +Aarweg 15               web:          http://it.oetiker.ch
> +CH-4600 Olten           switch board: +41 (62) 775 9900
> +
> +
> +
> +---
> + build-outputs.mk |    4 ++--
> + build.conf       |    2 +-
> + 2 files changed, 3 insertions(+), 3 deletions(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
> +
> + ########################################
> + # Section 6: Install-Group build targets
> + ########################################
> +
> +-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
> ++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
> +
> + bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
> +
> + 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)
> +
> +@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
> +
> + swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
> +
> + 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$(E
X
>   EEXT) 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) subvers
io
>   n/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
> +
> +-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)
> ++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)
> +
> +
> + ########################################
> + # Section 7: Install-Group install targets
> + ########################################
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
> + description = Apache Httpd module to block certain kinds of Apache Subversion requests
> + type = apache-mod
> + path = tools/server-side/mod_dontdothat
> + nonlibs = mod_dav_svn apr aprutil
> + libs = libsvn_subr xml
> +-install = tools
> ++install = apache-mod
> + msvc-libs = libhttpd.lib
> +
> + # ----------------------------------------------------------------------------
> + #
> + # CONSTRUCTED HEADERS
> diff --git a/meta/recipes-devtools/subversion/subversion_1.7.2.bb b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> similarity index 79%
> rename from meta/recipes-devtools/subversion/subversion_1.7.2.bb
> rename to meta/recipes-devtools/subversion/subversion_1.7.6.bb
> index c3e6763..b21d5be 100644
> --- a/meta/recipes-devtools/subversion/subversion_1.7.2.bb
> +++ b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> @@ -7,21 +7,20 @@ HOMEPAGE = "http://subversion.tigris.org"
>
>   BBCLASSEXTEND = "native"
>
> -PR = "r5"
> -
>   inherit gettext
>
>   SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
>              file://libtool2.patch \
>              file://fix-install-depends.patch \
> +           file://subversion-1.7.6_mod_dontdothat_svnserve_only.patch \
>   "
> -SRC_URI[md5sum] = "1e5dfffd27be080672e5a042564368a8"
> -SRC_URI[sha256sum] = "7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517"
> +SRC_URI[md5sum] = "4baa434db7709bb059b05d02a2547663"
> +SRC_URI[sha256sum] = "d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05"
>
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4"
>
>   EXTRA_OECONF = " \
> -                --without-berkeley-db --without-apxs --without-apache \
> +                --without-berkeley-db --without-apxs \
>                   --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
>                   --with-apr-util=${STAGING_BINDIR_CROSS} \
>                   ac_cv_path_RUBY=none"
>e -DLINUX=2 -D_REENTRANT
> +-D_GNU_SOURCE -g -O2 -g -O2 -pthread
> +-Werror=implicit-function-declaration -I./subversion/include
> +-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include
> +-I/usr/pack/subversion-1.7.6-rp/include/neon
> +-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o
> +tools/server-side/mod_dontdothat/mod_dontdothat.lo -c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h:
> +No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error:
> +http_config.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error:
> +http_protocol.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error:
> +http_request.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error:
> +http_log.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error:
> +util_filter.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error:
> +ap_config.h: No such file or directory
> +...
> +I suppose the module mod_dontdothat should be only build with activated
> +'apache-mod's . Maybe the build target declaration has been forget when
> +moving the target for subversion 1.7.6.
> +...
> +checking for Apache module support via DSO through APXS... no
> +==================================================================
> +WARNING: skipping the build of mod_dav_svn
> +          try using --with-apxs
> +==================================================================
> +...
> +Could you check that?
> +I have used the attached patch to fix it for myself.
> +Cheers
> +Roman
> +--
> +Roman Plessl            phone:        +41 (62) 775 9904
> +OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
> +Aarweg 15               web:          http://it.oetiker.ch
> +CH-4600 Olten           switch board: +41 (62) 775 9900
> +
> +
> +
> +---
> + build-outputs.mk |    4 ++--
> + build.conf       |    2 +-
> + 2 files changed, 3 insertions(+), 3 deletions(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
> +
> + ########################################
> + # Section 6: Install-Group build targets
> + ########################################
> +
> +-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
> ++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
> +
> + bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
> +
> + 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)
> +
> +@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
> +
> + swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
> +
> + 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$(E
X
>   EEXT) 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) subvers
io
>   n/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
> +
> +-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)
> ++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)
> +
> +
> + ########################################
> + # Section 7: Install-Group install targets
> + ########################################
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
> + description = Apache Httpd module to block certain kinds of Apache Subversion requests
> + type = apache-mod
> + path = tools/server-side/mod_dontdothat
> + nonlibs = mod_dav_svn apr aprutil
> + libs = libsvn_subr xml
> +-install = tools
> ++install = apache-mod
> + msvc-libs = libhttpd.lib
> +
> + # ----------------------------------------------------------------------------
> + #
> + # CONSTRUCTED HEADERS
> diff --git a/meta/recipes-devtools/subversion/subversion_1.7.2.bb b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> similarity index 79%
> rename from meta/recipes-devtools/subversion/subversion_1.7.2.bb
> rename to meta/recipes-devtools/subversion/subversion_1.7.6.bb
> index c3e6763..b21d5be 100644
> --- a/meta/recipes-devtools/subversion/subversion_1.7.2.bb
> +++ b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> @@ -7,21 +7,20 @@ HOMEPAGE = "http://subversion.tigris.org"
>
>   BBCLASSEXTEND = "native"
>
> -PR = "r5"
> -
>   inherit gettext
>
>   SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
>              file://libtool2.patch \
>              file://fix-install-depends.patch \
> +           file://subversion-1.7.6_mod_dontdothat_svnserve_only.patch \
>   "
> -SRC_URI[md5sum] = "1e5dfffd27be080672e5a042564368a8"
> -SRC_URI[sha256sum] = "7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517"
> +SRC_URI[md5sum] = "4baa434db7709bb059b05d02a2547663"
> +SRC_URI[sha256sum] = "d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05"
>
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4"
>
>   EXTRA_OECONF = " \
> -                --without-berkeley-db --without-apxs --without-apache \
> +                --without-berkeley-db --without-apxs \
>                   --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
>                   --with-apr-util=${STAGING_BINDIR_CROSS} \
>                   ac_cv_path_RUBY=none"
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] subversion: update to 1.7.6
  2012-08-23  7:24 [PATCH 1/2] subversion: update to 1.7.6 Marcin Juszkiewicz
                   ` (2 preceding siblings ...)
  2012-08-24 19:21 ` Saul Wold
@ 2012-08-27 15:56 ` Saul Wold
  3 siblings, 0 replies; 9+ messages in thread
From: Saul Wold @ 2012-08-27 15:56 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: Openembedded-core

On 08/23/2012 12:24 AM, Marcin Juszkiewicz wrote:
> Dropped --without-apache option as it does not exists.
>
> Added patch from subversion-users ML to not build mod_dontdothat.
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   .../subversion-1.7.6/fix-install-depends.patch     |   48 +++++++++
>   .../libtool2.patch                                 |    0
>   ...ersion-1.7.6_mod_dontdothat_svnserve_only.patch |  108 ++++++++++++++++++++
>   .../{subversion_1.7.2.bb => subversion_1.7.6.bb}   |    9 +-
>   4 files changed, 160 insertions(+), 5 deletions(-)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
>   rename meta/recipes-devtools/subversion/{subversion-1.7.2 => subversion-1.7.6}/libtool2.patch (100%)
>   create mode 100644 meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
>   rename meta/recipes-devtools/subversion/{subversion_1.7.2.bb => subversion_1.7.6.bb} (79%)
>

Merged the updated version to OE-Core

Thanks	
	Sau!


> 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 0000000..fb79b8c
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/fix-install-depends.patch
> @@ -0,0 +1,48 @@
> +install-neon-lib should depend on libsvn_delta's installation
> +
> +install-neon-lib needs libsvn_delta-1.la which will be regenerated
> +during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
> +in regenerating and at the same time install-neon-lib links it, the
> +error willl happen.
> +
> +Let install-neon-lib run after libsvn_delta-1.la is installed will fix
> +the problem.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> +---
> + build-outputs.mk |    2 +-
> + build.conf       |    2 ++
> + 2 files changed, 3 insertions(+), 1 deletion(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
> + 	$(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
> + 	cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
> +
> +-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
> ++install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
> + 	$(MKDIR) $(DESTDIR)$(neon_libdir)
> + 	cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
> +
> + 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
> + 	$(MKDIR) $(DESTDIR)$(ramod_libdir)
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
> + [libsvn_ra_neon]
> + type = ra-module
> + path = subversion/libsvn_ra_neon
> + install = neon-lib
> + libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
> ++# conditionally add more dependencies
> ++add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
> + msvc-static = yes
> +
> + # Accessing repositories via DAV through serf
> + [libsvn_ra_serf]
> + type = ra-module
> diff --git a/meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> similarity index 100%
> rename from meta/recipes-devtools/subversion/subversion-1.7.2/libtool2.patch
> rename to meta/recipes-devtools/subversion/subversion-1.7.6/libtool2.patch
> 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 0000000..77f9135
> --- /dev/null
> +++ b/meta/recipes-devtools/subversion/subversion-1.7.6/subversion-1.7.6_mod_dontdothat_svnserve_only.patch
> @@ -0,0 +1,108 @@
> +Patch taken from subversion-users ML.
> +
> +From: Roman Plessl <roman.plessl_at_oetiker.ch>
> +Date: Thu, 16 Aug 2012 09:48:32 +0200 (CEST)
> +
> +Hi All,
> +I try to compile and installe the new subversion 1.7.6 using my build
> +system. I use svnserve as standalone subversion server so my build
> +is not using the apache bindings.
> +I got the following compile error for the module mod_dontdothat:
> +...
> +/bin/bash /scratch/build/subversion-1.7.6-rp/subversion-1.7.6/libtool
> +--tag=CC --silent --mode=compile gcc
> +-I/usr/pack/subversion-1.7.6-rp/include -DLINUX=2 -D_REENTRANT
> +-D_GNU_SOURCE -g -O2 -g -O2 -pthread
> +-Werror=implicit-function-declaration -I./subversion/include
> +-I./subversion -I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include/apr-1
> +-I/usr/pack/subversion-1.7.6-rp/include
> +-I/usr/pack/subversion-1.7.6-rp/include/neon
> +-I/usr/pack/subversion-1.7.6-rp/include/serf-1 -o
> +tools/server-side/mod_dontdothat/mod_dontdothat.lo -c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:25:19: error: httpd.h:
> +No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:26:25: error:
> +http_config.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:27:27: error:
> +http_protocol.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:28:26: error:
> +http_request.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:29:22: error:
> +http_log.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:30:25: error:
> +util_filter.h: No such file or directory
> +tools/server-side/mod_dontdothat/mod_dontdothat.c:31:23: error:
> +ap_config.h: No such file or directory
> +...
> +I suppose the module mod_dontdothat should be only build with activated
> +'apache-mod's . Maybe the build target declaration has been forget when
> +moving the target for subversion 1.7.6.
> +...
> +checking for Apache module support via DSO through APXS... no
> +==================================================================
> +WARNING: skipping the build of mod_dav_svn
> +          try using --with-apxs
> +==================================================================
> +...
> +Could you check that?
> +I have used the attached patch to fix it for myself.
> +Cheers
> +Roman
> +--
> +Roman Plessl            phone:        +41 (62) 775 9904
> +OETIKER+PARTNER AG      email:        roman.plessl_at_oetiker.ch
> +Aarweg 15               web:          http://it.oetiker.ch
> +CH-4600 Olten           switch board: +41 (62) 775 9900
> +
> +
> +
> +---
> + build-outputs.mk |    4 ++--
> + build.conf       |    2 +-
> + 2 files changed, 3 insertions(+), 3 deletions(-)
> +
> +--- subversion-1.7.6.orig/build-outputs.mk
> ++++ subversion-1.7.6/build-outputs.mk
> +@@ -823,11 +823,11 @@ subversion/tests/libsvn_delta/window-tes
> +
> + ########################################
> + # Section 6: Install-Group build targets
> + ########################################
> +
> +-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
> ++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
> +
> + bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
> +
> + 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)
> +
> +@@ -875,11 +875,11 @@ swig-rb: subversion/bindings/swig/ruby/c
> +
> + swig-rb-lib: subversion/bindings/swig/ruby/libsvn_swig_ruby/libsvn_swig_ruby-1.la
> +
> + 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$(E
X
>   EEXT) 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) subvers
io
>   n/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
> +
> +-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)
> ++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)
> +
> +
> + ########################################
> + # Section 7: Install-Group install targets
> + ########################################
> +--- subversion-1.7.6.orig/build.conf
> ++++ subversion-1.7.6/build.conf
> +@@ -367,11 +367,11 @@ msvc-libs = libhttpd.lib
> + description = Apache Httpd module to block certain kinds of Apache Subversion requests
> + type = apache-mod
> + path = tools/server-side/mod_dontdothat
> + nonlibs = mod_dav_svn apr aprutil
> + libs = libsvn_subr xml
> +-install = tools
> ++install = apache-mod
> + msvc-libs = libhttpd.lib
> +
> + # ----------------------------------------------------------------------------
> + #
> + # CONSTRUCTED HEADERS
> diff --git a/meta/recipes-devtools/subversion/subversion_1.7.2.bb b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> similarity index 79%
> rename from meta/recipes-devtools/subversion/subversion_1.7.2.bb
> rename to meta/recipes-devtools/subversion/subversion_1.7.6.bb
> index c3e6763..b21d5be 100644
> --- a/meta/recipes-devtools/subversion/subversion_1.7.2.bb
> +++ b/meta/recipes-devtools/subversion/subversion_1.7.6.bb
> @@ -7,21 +7,20 @@ HOMEPAGE = "http://subversion.tigris.org"
>
>   BBCLASSEXTEND = "native"
>
> -PR = "r5"
> -
>   inherit gettext
>
>   SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
>              file://libtool2.patch \
>              file://fix-install-depends.patch \
> +           file://subversion-1.7.6_mod_dontdothat_svnserve_only.patch \
>   "
> -SRC_URI[md5sum] = "1e5dfffd27be080672e5a042564368a8"
> -SRC_URI[sha256sum] = "7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517"
> +SRC_URI[md5sum] = "4baa434db7709bb059b05d02a2547663"
> +SRC_URI[sha256sum] = "d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05"
>
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4"
>
>   EXTRA_OECONF = " \
> -                --without-berkeley-db --without-apxs --without-apache \
> +                --without-berkeley-db --without-apxs \
>                   --without-swig --with-apr=${STAGING_BINDIR_CROSS} \
>                   --with-apr-util=${STAGING_BINDIR_CROSS} \
>                   ac_cv_path_RUBY=none"
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-27 16:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23  7:24 [PATCH 1/2] subversion: update to 1.7.6 Marcin Juszkiewicz
2012-08-23  7:24 ` [PATCH 2/2] libcap: fetch from Debian Marcin Juszkiewicz
2012-08-23  7:31   ` Martin Jansa
2012-08-23  7:36     ` Marcin Juszkiewicz
2012-08-23 16:26 ` [PATCH 1/2] subversion: update to 1.7.6 Saul Wold
2012-08-24  9:47   ` Marcin Juszkiewicz
2012-08-24 18:49     ` Saul Wold
2012-08-24 19:21 ` Saul Wold
2012-08-27 15:56 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox