Hi!

Again, I have problems rebuilding the subversion package. With the standard 
specfile no usable binaries could be created on our ia64-rhel3 system and 
this seems due to problems with neon.

Some time ago, I proposed to add --with-neon=%{l_prefix} in order to use 
OpenPKG's neon, but in OpenPKG 2.4 the neon package is at version 0.25.0, and 
svn refuses to work with that. So I'd now say the neon 0.24.7 included in the 
tarfile should be used, and attach a patch for the subversion-1.2.0-2.4.0 
specfile. I don't know why --with-ssl isn't passed to neon's configure (after 
all this is the only purpose of that switch), but I changed the "patch: 
correctly pass ..." section in %prep accordingly.

References to openssl and kerberos might have to be added to the *Req: 
entries. On a second thought, there could even be an option 'with_ssl' in 
order to make usage of SSL in subversion resp. neon configurable.

- Thomas
--- subversion.spec.orig        2005-06-15 20:55:45.000000000 +0200
+++ subversion.spec     2005-06-23 16:31:41.000000000 +0200
@@ -59,8 +59,8 @@
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 2.4.0, make, libtool, sed
 PreReq:       OpenPKG, openpkg >= 2.4.0
-BuildPreReq:  diffutils, libxml, db, openssl, zlib, neon
-PreReq:       diffutils, libxml, db, openssl, zlib, neon
+BuildPreReq:  diffutils, libxml, db, openssl, zlib
+PreReq:       diffutils, libxml, db, openssl, zlib
 %if "%{with_cvs2svn}" == "yes"
 PreReq:       rcs, python
 %endif
@@ -110,9 +110,9 @@
     %{l_shtool} subst %{l_value -s -a} \
         subversion/bindings/swig/perl/native/Makefile.PL.in

-    #   patch: correctly pass --disable-shared to sub-directories
+    #   patch: correctly pass --disable-shared and --with-ssl to sub-directories
     %{l_shtool} subst \
-        -e 's;\($ac_abs_srcdir/configure\) $ac_configure_args;\1 --disable-shared;' \
+        -e 's;\($ac_abs_srcdir/configure\) $ac_configure_args;\1 --disable-shared --with-ssl;' \
         configure

     #   patch: adjust path to configuration directory
@@ -142,7 +142,6 @@
     ./configure \
         --prefix=%{l_prefix} \
         --with-berkeley-db=%{l_prefix} \
-        --with-neon=%{l_prefix} \
         --with-zlib \
         --enable-static \
 %if "%{with_perl}" == "yes" || "%{with_python}" == "yes"
@@ -151,7 +150,8 @@
 %endif
         --disable-nls \
         --disable-shared \
-        --without-apxs
+        --without-apxs \
+        --with-ssl

     #   build package
     %{l_make} %{l_mflags}

Attachment: pgpCoKzMxoPew.pgp
Description: PGP signature

Reply via email to