Update of /cvsroot/fink/experimental/chris01/10.3/crypto/finkinfo In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv9384
Modified Files: libapache2-ssl-mod-svn.info svn-ssl.info svn-ssl.patch Log Message: svn 1.4.0 packages for 10.3 seem to be ready. Any testers? Index: libapache2-ssl-mod-svn.info =================================================================== RCS file: /cvsroot/fink/experimental/chris01/10.3/crypto/finkinfo/libapache2-ssl-mod-svn.info,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- libapache2-ssl-mod-svn.info 12 Oct 2006 19:03:58 -0000 1.6 +++ libapache2-ssl-mod-svn.info 18 Oct 2006 00:29:44 -0000 1.7 @@ -16,7 +16,8 @@ # Patch Phase: PatchFile: svn-ssl.patch -PatchFile-MD5: 30d38627bc0d448a0fd0d6703ce9a05a +PatchFile-MD5: 78a6c8f6362fa505a3079fcd5f8e660c +PatchScript: sed 's|@FINKPREFIX@|%p|g' < %{PatchFile} | patch -p1 # Compile Phase: ConfigureParams: --libexecdir='${prefix}/lib/svn' --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' --with-neon=%p --with-apr=%p --with-apr-util=%p --enable-shared --with-apxs=%p/sbin/apxs --without-apache --disable-mod-activation --without-jdk --disable-javahl --with-jikes=no --disable-swig-bindings --without-swig --without-python --without-perl --without-ruby --with-berkeley-db=%p/include/db4:%p/lib --disable-dependency-tracking --disable-keychain @@ -158,9 +159,36 @@ You then need to add the following lines to your %p/etc/apache2/httpd.conf file: + <Location /svn/yourrepos> DAV svn SVNPath %p/var/svn/yourrepos + + # The following allows for basic http authentication. Basic authentication + # should not be considered secure for any particularly rigorous definition of + # secure. + + # to create a passwd file + # # rm -f %p/etc/apache2/dav_svn.passwd + # # htpasswd2 -c %p/etc/apache2/dav_svn.passwd dwhedon + # New password: + # Re-type new password: + # Adding password for user dwhedon + # # + + # Uncomment the following 3 lines to enable Basic Authentication + # AuthType Basic + # AuthName "Subversion Repository" + # AuthUserFile %p/etc/apache2/dav_svn.passwd + + # Uncomment the following line to enable Authz Authentication + # AuthzSVNAccessFile %p/etc/apache2/dav_svn.authz + + # The following three lines allow anonymous read, but make + # committers authenticate themselves. + # <LimitExcept GET PROPFIND OPTIONS REPORT> + # Require valid-user + # </LimitExcept> </Location> Your repository should show up at <http://localhost/svn/yourrepos>. If it Index: svn-ssl.patch =================================================================== RCS file: /cvsroot/fink/experimental/chris01/10.3/crypto/finkinfo/svn-ssl.patch,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- svn-ssl.patch 12 Oct 2006 19:03:58 -0000 1.10 +++ svn-ssl.patch 18 Oct 2006 00:29:44 -0000 1.11 @@ -123,3 +123,41 @@ if ($^O ne 'VMS') { $perl_path .= $Config{_exe} unless $perl_path =~ m/$Config{_exe}$/i; } +diff -ruN subversion-1.4.0_orig/fink/dav_svn.conf subversion-1.4.0/fink/dav_svn.conf +--- subversion-1.4.0_orig/fink/dav_svn.conf 1969-12-31 17:00:00.000000000 -0700 ++++ subversion-1.4.0/fink/dav_svn.conf 2006-06-15 12:28:59.000000000 -0600 +diff -ruN subversion-1.4.0_orig/fink/httpd.conf subversion-1.4.0_orig/fink/httpd.conf +--- subversion-1.4.0_orig/fink/httpd.conf 1969-12-31 19:00:00.000000000 -0500 ++++ subversion-1.4.0/fink/httpd.conf 2006-10-13 17:30:32.000000000 -0400 +@@ -0,0 +1,31 @@ ++ServerRoot "@FINKBUILD@/fink/apache2" ++LockFile @FINKBUILD@/fink/apache2/accept.lock ++PidFile @FINKBUILD@/fink/apache2/apache2.pid ++AcceptMutex flock ++ErrorLog @FINKBUILD@/fink/apache2/error.log ++Listen 127.0.0.1:52080 ++ServerName localhost:52080 ++AddDefaultCharset UTF-8 ++LoadModule auth_module @FINKPREFIX@/lib/apache2/modules/mod_auth.so ++LoadModule dav_module @FINKPREFIX@/lib/apache2/modules/mod_dav.so ++LoadModule dav_svn_module @FINKPREFIX@/lib/apache2/modules/mod_dav_svn.so ++LoadModule authz_svn_module @FINKPREFIX@/lib/apache2/modules/mod_authz_svn.so ++<Location /svn-test-work/repositories> ++ DAV svn ++ SVNParentPath @FINKBUILD@/subversion/tests/cmdline/svn-test-work/repositories ++ AuthzSVNAccessFile @FINKBUILD@/subversion/tests/cmdline/svn-test-work/authz ++ AuthType Basic ++ AuthName "Subversion Repository" ++ AuthUserFile @FINKBUILD@/tools/test-scripts/svntest/dav_svn.passwd ++ Require valid-user ++</Location> ++ ++<Location /svn-test-work/local_tmp/repos> ++ DAV svn ++ SVNPath @FINKBUILD@/subversion/tests/cmdline/svn-test-work/local_tmp/repos ++ AuthzSVNAccessFile @FINKBUILD@/subversion/tests/cmdline/svn-test-work/authz ++ AuthType Basic ++ AuthName "Subversion Repository" ++ AuthUserFile @FINKBUILD@/tools/test-scripts/svntest/dav_svn.passwd ++ Require valid-user ++</Location> Index: svn-ssl.info =================================================================== RCS file: /cvsroot/fink/experimental/chris01/10.3/crypto/finkinfo/svn-ssl.info,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- svn-ssl.info 12 Oct 2006 19:03:58 -0000 1.24 +++ svn-ssl.info 18 Oct 2006 00:29:44 -0000 1.25 @@ -17,7 +17,8 @@ # Patch Phase: PatchFile: %n.patch -PatchFile-MD5: 30d38627bc0d448a0fd0d6703ce9a05a +PatchFile-MD5: 78a6c8f6362fa505a3079fcd5f8e660c +PatchScript: sed -e 's|@FINKBUILD@|%b|g' -e 's|@FINKPREFIX@|%p|g' < %{PatchFile} | patch -p1 # Compile Phase: ConfigureParams: --libexecdir='${prefix}/lib/svn' --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' --with-neon=%p --with-apr=%p --with-apr-util=%p --enable-shared --without-apxs --without-apache --disable-mod-activation --without-jdk --disable-javahl --with-jikes=no --disable-swig-bindings --without-swig --without-python --without-perl --without-ruby --with-berkeley-db=%p/include/db4:%p/lib --disable-dependency-tracking --disable-keychain @@ -46,7 +47,7 @@ # killall -v -u `whoami` svnserve || true # echo "Running tests over ra_svn using BDB..." # ./subversion/svnserve/svnserve -d -r `pwd`/subversion/tests/cmdline -# make svncheck CLEANUP=true FS_TYPE=bdb +# make check CLEANUP=true BASE_URL=svn://localhost FS_TYPE=bdb # killall -v -u `whoami` svnserve || true ### Run tests over ra_svn using fs_fs: @@ -55,11 +56,21 @@ # make check CLEANUP=true BASE_URL=svn://localhost FS_TYPE=fsfs # killall -v -u `whoami` svnserve || true - ### Run tests over ra_dav: - # NOTE: The update_tests.py fails if tested against 1.0.x server + ### Run tests over ra_dav using BDB: # See DescPackaging on how to set up for tests over ra_dav -# echo "Running tests over ra_dav..." -# make check BASE_URL=http://localhost +# echo "Running tests over ra_dav using BDB..." +# /usr/bin/install -d %b/fink/apache2 +# %p/sbin/apachectl -f %b/fink/httpd.conf -k start +# make check CLEANUP=true BASE_URL=http://localhost:52080 FS_TYPE=bdb +# %p/sbin/apachectl -f %b/fink/httpd.conf -k stop + + ### Run tests over ra_dav using fs_fs: + # See DescPackaging on how to set up for tests over ra_dav +# echo "Running tests over ra_dav using fs_fs..." +# /usr/bin/install -d %b/fink/apache2 +# %p/sbin/apachectl -f %b/fink/httpd.conf -k start +# make check CLEANUP=true BASE_URL=http://localhost:52080 FS_TYPE=fsfs +# %p/sbin/apachectl -f %b/fink/httpd.conf -k stop << # Install Phase: @@ -369,32 +380,8 @@ fink info svnadmin-db42 << DescPackaging: << - To run the tests over ra_dav apache2 must be running with (an older) - fink 'libapache2-ssl-mod-svn' already installed. You need to add the - following to your '/sw/etc/apache2/httpd.conf' file: - -<Location /svn-test-work/repositories> - DAV svn - SVNParentPath /sw/src/fink.build/svn-ssl-%v-%r/subversion-%v/subversion/tests/cmdline/svn-test-work/repositories - AuthzSVNAccessFile /sw/src/fink.build/svn-ssl-%v-%r/subversion-%v/subversion/tests/cmdline/svn-test-work/authz - AuthType Basic - AuthName "Subversion Repository" - AuthUserFile /sw/src/fink.build/users - Require valid-user -</Location> - -<Location /svn-test-work/local_tmp/repos> - DAV svn - SVNPath /sw/src/fink.build/svn-ssl-%v-%r/subversion-%v/subversion/tests/cmdline/svn-test-work/local_tmp/repos - AuthzSVNAccessFile /sw/src/fink.build/svn-ssl-%v-%r/subversion-%v/subversion/tests/cmdline/svn-test-work/authz - AuthType Basic - AuthName "Subversion Repository" - AuthUserFile /sw/src/fink.build/users - Require valid-user -</Location> - - where %v and %r are replaced with the correct versions. Then do - 'sudo /sw/sbin/apachectl graceful' to enable the mod_svn support. + To run the tests over ra_dav 'libapache2-mod-svn' needs to be already built. + The ra_dav tests only work with --build-as-nobody. The "Replaces: svn-ssl (<= 1.1.1-11)" is needed since svnlook was (incorrectly) in the svn-client-ssl package < 1.1.1 and was @@ -411,14 +398,6 @@ Many thanks to Peter O'Gorman for the help with the libtool patch. -Prebinding cannot be enabled at this time since apr is not built -prebound. -Once this is fixed, one could try to enable building two_level by doing: -perl -pi.bak -e 's,-flat_namespace -undefined suppress,,g' configure -If that fails, maybe try to add '-lfoo' to Makefile.in -Or, if that fails too, change '-undefined suppress -flat_namespace' -to '-undefined dynamic_lookup' - Many thanks to Ben Reser for fixing the perl bindings. The patch is alredy included in the upstream development tree. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits