[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: stupid question (after couple of months with subversion)

From: Miroslav Zubcic <mvz_at_crol.net>
Date: 2002-02-28 14:48:54 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> Miroslav Zubcic <mvz@crol.net> writes:

> > RedHat Linux 2.4.14, glibc 2.2.4.
> > Apache/2.0.31-dev (Unix) DAV/2 SVN/0.8.0 mod_ssl/3.0a0 OpenSSL/0.9.6b
> >
> > Don't remember all but here is build history:
> >
> > compiled static BerkeleyDB 4.
> > compiled apache2 with OpenSSL
> > compiled subversion with neon in his directory, and paths to
> > BerkeleyDB and apr.
> >
> > I can try to build newer subversion apache module today and see ...

> Yes, please let us know if you can reproduce these bugs using
> subversion r.1387 or later.

Too late. I just build r1329 with

        * httpd-2.0: from 2002-02-19
        * apr: from 2002-02-19
        * apr-util: from 2002-02-19

        ... and neon-0.18.5

Just like svn.collab.net has. - Still no luck!

Build was this:

mkdir subbuild
cd !$
cp ~/sources/http-2.0 .
cp ~/sources/apr .
cp ~/sources/apr-util .
tar xvzf ~/sources/neon-0.18.5.tar.gz
cp -a ~/sources subversion-r1329 .
cd httpd-2.0/srclib
ln -s ../../apr .
ln -s ../../apr-util .
cd ..
./buildconf
./configure --enable-ssl --with-berkeley-db=/usr/local/subv \
--with-dbm=db4 --disable-auth-db --enable-auth-digest \
--enable-file-cache --enable-echo --enable-cache \
--enable-mem-cache --enable-ext-filter --enable-example \
--enable-case-filter --enable-mime-magic --enable-expires \
--enable-headers --enable-usertrack --enable-unique-id \
--enable-proxy --enable-proxy-connect --enable-proxy-ftp \
--enable-proxy-http --enable-cgi --enable-dav-fs \
--enable-vhost-alias --enable-rewrite --enable-so \
--enable-suexec --enable-cgi --enable-mods-shared=all
make
make install # (in _CLEAN_ /usr/local/apache2 destination)
cd ../subversion-r1329
ln -s ../apr .
ln -s ../apr-util .
ln -s ../neon-0.18.5 neon
sh autogen.sh
export CPPFLAGS="-DNEON_SSL"
./configure --prefix=/usr/local/apache2 \
--with-apxs=/usr/local/apache2/bin/apxs \
--with-berkeley-db=/usr/local/subv --with-ssl
make
make install

Then I created blank new repository with svnadmin(8) in
/usr/local/apache2/data called "sub" and chown -R apache:apache sub

apache configuration related to subversion is this:

-----------------------------------------------------------
Listen 443

<VirtualHost 192.168.0.18:443>
     DocumentRoot /usr/local/apache2/data/sub
     SSLEngine on
     SSLCertificateFile /usr/local/apache2/conf/dav-cert.pem
     SSLCertificateKeyFile /usr/local/apache2/conf/dav-key.pem
     SSLVerifyClient none
     ErrorLog logs/dav_err_log
     TransferLog logs/dav_log
     ServerName dav.crol.net:443
     ServerAlias dav
     DavLockDB /tmp/DavLock
<Directory "/usr/local/apache2/data/sub">
        DAV svn
        SVNPath /usr/local/apache2/data/sub
        AuthType Basic
        AuthName "Subversion repository on CRoL"
        AuthUserFile /usr/local/apache2/data/.htpasswd
# <LimitExcept GET PROPFIND OPTIONS REPORT>
                require valid-user
# </LimitExcept>
        AllowOverride None
        order deny,allow
        deny from all
        allow from 192.168.0.0/24
</Directory>

SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

CustomLog logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

</VirtualHost>
--------------------------------------------------------------------

No errors in logs/dav_log

New apache on start says this:
Apache/2.0.33-dev (Unix) DAV/2 SVN/0.9.0 (rc2) mod_ssl/3.0a0 OpenSSL/0.9.6b

I was thinking - this MUST work, this guys are using it for their
production, but ...

(maked copy of few random files from apache, added and commited, then
checkout in another working copy)

(mvz){crolvax}[mvz]$ /usr/local/apache2/bin/svn co https://dav.crol.net -d test1
mvz's password:

A test1/utils.h
A test1/regex2.h
A test1/cclass.h

[... cut ...]

(mvz){crolvax}[mvz]$ cd test1
(mvz){crolvax}[test1]$ /usr/local/apache2/bin/svn st
(mvz){crolvax}[test1]$ vi utils.h
(mvz){crolvax}[test1]$ /usr/local/apache2/bin/svn diff
Index: ./utils.h
===================================================================
--- ./utils.h
+++ ./utils.h Thu Feb 28 14:42:08 2002
@@ -20,3 +20,5 @@
 #ifdef USEBCOPY
 #define memmove(d, s, c) bcopy(s, d, c)
 #endif
+
+/* blablabla */

(mvz){crolvax}[test1]$ /usr/local/apache2/bin/svn ci
Sending /home/mvz/test1/utils.h
Committed revision 2.
(mvz){crolvax}[test1]$ /usr/local/apache2/bin/svn st
M ./utils.h

Argh !!!

I'm willing to try r.1387 or later if you still insist.

-- 
This signature intentionally left blank
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:10 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.