Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv17765

Added Files:
        svn-swig-pm.info svn-swig-py.info svn.info svn.patch 
        svnadmin-db.info 
Log Message:
Move to 10.7.


--- NEW FILE: svn-swig-pm.info ---
Info2: <<
Package: svn-swig-pm%type_pkg[perl]
Version: 1.6.16
Revision: 1
Description: Swig svn Perl %type_raw[perl] bindings
Type: perl (5.8.6 5.8.8 5.10.0 5.12.3)
License: BSD
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

Distribution: (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 588) 10.5, 
(%type_pkg[perl] = 588) 10.6, (%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 
5100) 10.6, (%type_pkg[perl] = 5123) 10.7

# Dependencies:
Depends: perl%type_pkg[perl]-core, %N-shlibs (= %v-%r)
BuildDepends: <<
        libapr.0-dev,
        libaprutil.0-dev (>= 1.3.4-8),
        cyrus-sasl2-dev (>= 2.1.22-1006),
        db51-aes | db51,
        fink (>= 0.24.12-1),
        gettext-bin,
        gettext-tools,
        libgettext8-dev,
        libiconv-dev (>= 1.9.1-11),
        libserf0 (>= 0.7.0-1),
        neon27,
        sqlite3-dev,
        svn15-dev (>= %v),
        swig,
        system-openssl-dev
<<
Replaces: svn-ssl-swig-pm%type_pkg[perl]

# Unpack Phase:
Source: http://subversion.tigris.org/downloads/subversion-%v.tar.bz2
Source-MD5: 32f25a6724559fe8691d1f57a63f636e

# Compile Phase:
NoSetLDFLAGS: true
NoSetLIBS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib -L%p/lib
GCC: 4.0
NoPerlTests: true
CompileScript: <<
#! /bin/sh -ev
 ### Recreate build-outputs.mk to not include already installed libs
 ./gen-make.py --installed-libs 
libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_fs_base,libsvn_fs_fs,libsvn_fs_util,libsvn_ra,libsvn_ra_neon,libsvn_ra_local,libsvn_ra_serf,libsvn_ra_svn,libsvn_repos,libsvn_subr,libsvn_wc
 
 perl -pi -e 's,\@SVN_APR_EXPORT_LIBS\@,-L%p/lib/svn15 $&,' 
subversion/bindings/swig/perl/native/Makefile.PL.in

 ### Configure shared
 export F77=no
 export RUBY=/usr/bin/false
 if [ -x %p/bin/perl%type_raw[perl] ]; then
   export PERL=%p/bin/perl%type_raw[perl]
 elif [ -x /usr/bin/perl5.12 ]; then
   export PERL=/usr/bin/perl5.12
 else
   export PERL=/usr/bin/perl%type_raw[perl]
 fi
 # MakeMaker generates a bogus ABSPERL if PERL="/usr/bin/arch -%m perl5.10.0"
 # since it expects a full pathname. Also something is checking if ABSPERL is
 # a valid filename, which fails obviously. Here we create a wrapper so that we
 # set ABSPATH to a valid filename while still calling /usr/bin/arch but only
 # on 10.6 and later.
 let version=`uname -r | cut -f 1 -d .`
 if [ %type_pkg[perl] -eq 5100 -a $version -eq 10 ]; then
  cat > myperl <<_Eof
#!/bin/sh
exec /usr/bin/arch -%m $PERL "\$@"
_Eof
  chmod +x myperl; export PERL=`pwd`/myperl
 fi

 ./configure --libdir=%p/lib/perl5/%type_raw[perl]/lib \
        --enable-shared \
        --disable-static \
        --with-neon=%p \
        --with-serf=%p \
        --with-apr=%p/bin/apr-1-config \
        --with-apr-util=%p/bin/apu-1-config \
        --without-apxs \
        --disable-mod-activation \
        --without-jdk \
        --disable-javahl \
        --with-jikes=no \
        --with-swig \
        --with-berkeley-db='db.h:%p/include/db5:%p/lib:db-5.1' \
        --with-sasl=%p \
        --with-sqlite=%p \
        --without-gnome-keyring \
        --without-kwallet \
        --without-ctypesgen \
        --disable-neon-version-check

 ### Build swig perl bindings
 
 perl -pi -e 's/-arch i386 -arch ppc//g' Makefile
 make libsvn_swig_perl CPPFLAGS='-I$(top_srcdir)/subversion/include 
-I$(top_builddir)/subversion -I%p/include/neon -I%p/include/serf-0 
-I%p/include/apache2 -I%p/lib/system-openssl/include -I%p/include  -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK' INCLUDES=''
 cd subversion/bindings/swig/perl/native && %{default_script} PERL=$PERL 
FULLPERL=$PERL ABSPERL=$PERL
<<
InfoTest: <<
 TestScript: (cd subversion/bindings/swig/perl/native && make test) || exit 2
<<

# Install Phase:
UpdatePOD: true
DocFiles: COPYING HACKING INSTALL.swig NOTES.swig
InstallScript: <<
 ### Install swig perl bindings
 make install-swig-pl DESTDIR=%d
 cp subversion/bindings/swig/INSTALL INSTALL.swig
 cp subversion/bindings/swig/NOTES NOTES.swig

 ### Remove unneeded archives
 rm %i/lib/perl5/%type_raw[perl]/lib/*.la
 rm %i/lib/perl5/%type_raw[perl]/lib/libsvn_swig_perl-1.dylib
 
 ### Move man files to perl versioned directory
 /usr/bin/install -d %i/lib
 /usr/bin/install -d %i/lib/perl5
 /usr/bin/install -d %i/lib/perl5/%type_raw[perl]
 mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
SplitOff: <<
  Description: Subversion - Swig Perl Shared libraries
  Package: %N-shlibs
  Depends: svn15-shlibs (>= %v)
  Replaces: %{Ni}581-shlibs, %{Ni}584-shlibs, %{Ni}586-shlibs, %{Ni}588-shlibs, 
svn-ssl-swig-pm581-shlibs, svn-ssl-swig-pm584-shlibs, 
svn-ssl-swig-pm586-shlibs, svn-ssl-swig-pm588-shlibs
  Files: <<
    lib/perl5/%type_raw[perl]/lib/libsvn_swig_perl-1.0.0.0.dylib
    lib/perl5/%type_raw[perl]/lib/libsvn_swig_perl-1.0.dylib
  <<
  Shlibs: <<
    %p/lib/perl5/%type_raw[perl]/lib/libsvn_swig_perl-1.0.dylib 1.0.0 %n (>= 
1.5.0-3)
  <<
  DocFiles: COPYING HACKING INSTALL.swig NOTES.swig
<<

# Additional Info
DescDetail: <<
  Bindings to call svn functions from perl.
<<
DescUsage: <<
  Please read the files in '%p/share/doc/svn-swig-pm%type_pkg[perl]/'.
<<
DescPort: <<
 Added 'export F77=no;' to configure in order not to fail if the 
 fort77 package is installed.
 
 ConfigureParams can't be used since they would be added to default_script
 otherwise.
 
 Previously maintained by Christian Schaffner <chri...@users.sourceforge.net>
<<
Homepage: http://subversion.apache.org/
<<

--- NEW FILE: svn.patch ---
diff -Nur subversion-1.6.0.orig/build/ltmain.sh subversion-1.6.0/build/ltmain.sh
--- subversion-1.6.0.orig/build/ltmain.sh       2009-03-18 00:51:42.000000000 
-0400
+++ subversion-1.6.0/build/ltmain.sh    2009-03-22 22:16:07.000000000 -0400
@@ -2924,100 +2924,72 @@
            fi
            tmp_libs="$tmp_libs $deplib"
          done
-
-         if test "$link_all_deplibs" != no; then
-           # Add the search paths of all dependency libraries
-           for deplib in $dependency_libs; do
-             case $deplib in
-             -L*) path="$deplib" ;;
-             *.la)
-               dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
-               test "X$dir" = "X$deplib" && dir="."
-               # We need an absolute path.
-               case $dir in
-               [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
-               *)
-                 absdir=`cd "$dir" && pwd`
-                 if test -z "$absdir"; then
-                   $echo "$modename: warning: cannot determine absolute 
directory name of \`$dir'" 1>&2
-                   absdir="$dir"
-                 fi
-                 ;;
-               esac
-               if grep "^installed=no" $deplib > /dev/null; then
-                 path="$absdir/$objdir"
-               else
-                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
-                 if test -z "$libdir"; then
-                   $echo "$modename: \`$deplib' is not a valid libtool 
archive" 1>&2
-                   exit $EXIT_FAILURE
-                 fi
-                 if test "$absdir" != "$libdir"; then
-                   $echo "$modename: warning: \`$deplib' seems to be moved" 
1>&2
-                 fi
-                 path="$absdir"
-               fi
-               depdepl=
-               case $host in
-               *-*-darwin*)
-                 # we do not want to link against static libs,
-                 # but need to link against shared
-                 eval deplibrary_names=`${SED} -n -e 
's/^library_names=\(.*\)$/\1/p' $deplib`
-                 eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
-                 if test -n "$deplibrary_names" ; then
-                   for tmp in $deplibrary_names ; do
-                     depdepl=$tmp
-                   done
-                   if test -f "$deplibdir/$depdepl" ; then
-                     depdepl="$deplibdir/$depdepl"
-                   elif test -f "$path/$depdepl" ; then
-                     depdepl="$path/$depdepl"
-                   else
-                     # Can't find it, oh well...
-                     depdepl=
-                   fi
-                   # do not add paths which are already there
-                   case " $newlib_search_path " in
-                   *" $path "*) ;;
-                   *) newlib_search_path="$newlib_search_path $path";;
-                   esac
-                 fi
-                 path=""
-                 ;;
-               *)
-                 path="-L$path"
-                 ;;
-               esac
-               ;;
-             -l*)
-               case $host in
-               *-*-darwin*)
-                 # Again, we only want to link against shared libraries
-                 eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
-                 for tmp in $newlib_search_path ; do
-                   if test -f "$tmp/lib$tmp_libs.dylib" ; then
-                     eval depdepl="$tmp/lib$tmp_libs.dylib"
-                     break
-                   fi
-                 done
-                 path=""
-                 ;;
-               *) continue ;;
-               esac
-               ;;
-             *) continue ;;
-             esac
-             case " $deplibs " in
-             *" $path "*) ;;
-             *) deplibs="$path $deplibs" ;;
-             esac
-             case " $deplibs " in
-             *" $depdepl "*) ;;
-             *) deplibs="$depdepl $deplibs" ;;
-             esac
-           done
-         fi # link_all_deplibs != no
-       fi # linkmode = lib
+          if test "$link_all_deplibs" != no; then
+            # Add the search paths of all dependency libraries
+            for deplib in $dependency_libs; do
+              case $deplib in
+              -L*) path="$deplib" ;;
+              *.la)
+#               func_dirname "$deplib" "" "."
+#               dir="$func_dirname_result"
+                case "$deplib" in
+                  */*) dir="${deplib%/*}" ;;
+                  *  ) dir="." ;;
+                esac
+                # We need an absolute path.
+                case $dir in
+                [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+                *)
+                  absdir=`cd "$dir" && pwd`
+                  if test -z "$absdir"; then
+                    $echo "$modename: warning: cannot determine absolute 
directory name of \`$dir'" 1>&2
+                    absdir="$dir"
+                  fi
+                  ;;
+                esac
+                if grep "^installed=no" $deplib > /dev/null; then
+                case $host in
+                *-*-darwin*)
+                  depdepl=
+                  eval deplibrary_names=`${SED} -n -e 
's/^library_names=\(.*\)$/\1/p' $deplib`
+                  if test -n "$deplibrary_names" ; then
+                    for tmp in $deplibrary_names ; do
+                      depdepl=$tmp
+                    done
+                    if test -f "$absdir/$objdir/$depdepl" ; then
+                      depdepl="$absdir/$objdir/$depdepl"
+                      darwin_install_name=`otool -L $depdepl | awk '{if (NR == 
2) {print $1;exit}}'`
+                      if test -z "$darwin_install_name"; then
+                          darwin_install_name=`otool64 -L $depdepl  | awk '{if 
(NR == 2) {print $1;exit}}'`
+                      fi
+                      compiler_flags="$compiler_flags ${wl}-dylib_file 
${wl}${darwin_install_name}:${depdepl}"
+                      linker_flags="$linker_flags -dylib_file 
${darwin_install_name}:${depdepl}"
+                      path=
+                    fi
+                  fi
+                  ;;
+                *)
+                  path="-L$absdir/$objdir"
+                  ;;
+                esac
+                else
+                  eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+                  test -z "$libdir" && \
+                    $echo "\`$deplib' is not a valid libtool archive" 1>&2
+                  test -z "$libdir" && exit 1
+                  test "$absdir" != "$libdir" && \
+                    $echo "\`$deplib' seems to be moved" 1>&2
+                  path="-L$absdir"
+                fi
+                ;;
+              esac
+              case " $deplibs " in
+              *" $path "*) ;;
+              *) deplibs="$path $deplibs" ;;
+              esac
+            done
+          fi # link_all_deplibs != no
+        fi # linkmode = lib
       done # for deplib in $libs
       dependency_libs="$newdependency_libs"
       if test "$pass" = dlpreopen; then
diff -Nur subversion-1.6.0.orig/fink/authz_svn.load 
subversion-1.6.0/fink/authz_svn.load
--- subversion-1.6.0.orig/fink/authz_svn.load   1969-12-31 19:00:00.000000000 
-0500
+++ subversion-1.6.0/fink/authz_svn.load        2009-03-22 22:17:01.000000000 
-0400
@@ -0,0 +1 @@
+LoadModule authz_svn_module @FINKPREFIX@/lib/apache2/modules/mod_authz_svn.so
diff -Nur subversion-1.6.0.orig/fink/dav_svn.conf 
subversion-1.6.0/fink/dav_svn.conf
--- subversion-1.6.0.orig/fink/dav_svn.conf     1969-12-31 19:00:00.000000000 
-0500
+++ subversion-1.6.0/fink/dav_svn.conf  2009-03-22 22:17:01.000000000 -0400
@@ -0,0 +1,44 @@
+# dav_svn.conf - Example Subversion/Apache configuration
+#
+# For details and further options see the Apache user manual and
+# the Subversion book.
+
+# <Location URL> ... </Location>
+# URL controls how the repository appears to the outside world.
+# In this example clients access the repository as http://hostname/svn/
+<Location /svn>
+
+  # Uncomment this to enable the repository,
+  # DAV svn
+
+  # Set this to the path to your repository
+  # SVNPath @FINKPREFIX@/var/svn
+
+  # 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 @FINKPREFIX@/etc/apache2/dav_svn.passwd 
+  # # htpasswd2 -c @FINKPREFIX@/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 @FINKPREFIX@/etc/apache2/dav_svn.passwd
+
+  # Uncomment the following line to enable Authz Authentication
+  # AuthzSVNAccessFile @FINKPREFIX@/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>
diff -Nur subversion-1.6.0.orig/fink/dav_svn.load 
subversion-1.6.0/fink/dav_svn.load
--- subversion-1.6.0.orig/fink/dav_svn.load     1969-12-31 19:00:00.000000000 
-0500
+++ subversion-1.6.0/fink/dav_svn.load  2009-03-22 22:17:01.000000000 -0400
@@ -0,0 +1,2 @@
+LoadModule dav_svn_module @FINKPREFIX@/lib/apache2/modules/mod_dav_svn.so
+LoadModule authz_svn_module @FINKPREFIX@/lib/apache2/modules/mod_authz_svn.so
diff -Nur subversion-1.6.0.orig/fink/httpd.conf subversion-1.6.0/fink/httpd.conf
--- subversion-1.6.0.orig/fink/httpd.conf       1969-12-31 19:00:00.000000000 
-0500
+++ subversion-1.6.0/fink/httpd.conf    2009-03-22 22:17:01.000000000 -0400
@@ -0,0 +1,35 @@
+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
+TypesConfig @FINKPREFIX@/etc/apache2/mime.types
+AddDefaultCharset UTF-8
+Timeout 300
+KeepAlive On
+MaxKeepAliveRequests 100
+KeepAliveTimeout 15
+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>

--- NEW FILE: svn.info ---
Package: svn
Version: 1.6.16
Revision: 1
Description: Subversion - svnserve, tools
License: BSD
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

Distribution: 10.5, 10.6, 10.7

# Dependencies:
Depends: %N15-shlibs (= %v-%r), daemonic
BuildDepends: <<
        cyrus-sasl2-dev (>= 2.1.22-1006),
        db51-aes | db51,
        expat1,
        fink (>= 0.24.12-1),
        gettext-bin,
        gettext-tools,
        libapr.0-dev,
        libaprutil.0-dev (>= 1.3.4-8),
        libgettext8-dev,
        libiconv-dev (>= 1.9.1-11),
        libserf0 (>= 0.7.0-1),
        neon27,
        sqlite3-dev,
        system-openssl-dev,
        texinfo (>= 4.2-22)
<<
Conflicts: svn-client-ssl, svn-client (<= 0.26.0-2), apache2 (<< 2.0.47-1)
Replaces: svn-client-ssl, svn-client (<= 1.6.5-1), svn-ssl

# Unpack Phase:
Source: http://subversion.tigris.org/downloads/subversion-%v.tar.bz2
Source-MD5: 32f25a6724559fe8691d1f57a63f636e

# Patch to fix libtool bug
PatchFile: %n.patch
PatchFile-MD5: 0b46b5ba6bca6f8e271010f558bc29ea

# Compile Phase:
NoSetLDFLAGS: true
NoSetLIBS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib -L%p/lib

ConfigureParams: <<
        --libexecdir='${prefix}/lib/svn15' \
        --libdir='${prefix}/lib/svn15' \
        --enable-shared \
        --disable-static \
        --with-neon=%p \
        --with-serf=%p \
        --with-apr=%p/bin/apr-1-config \
        --with-apr-util=%p/bin/apu-1-config \
        --without-apxs \
        --disable-mod-activation \
        --without-jdk \
        --disable-javahl \
        --with-jikes=no \
        --without-swig \
        --with-berkeley-db='db.h:%p/include/db5:%p/lib:db-5.1' \
        --with-sasl=%p \
        --with-sqlite=%p \
        --without-gnome-keyring \
        --without-kwallet \
        --without-ctypesgen \
        --disable-neon-version-check
<<
GCC: 4.0
CompileScript: <<
#! /bin/sh -ev
 ### Configure shared
 export F77=no
 export RUBY=/usr/bin/false
 export PERL=/usr/bin/false
 # This bit enables stripping unused libs on 10.5 and later.
 let version=`uname -r | cut -f 1 -d .`
 if [ $version -ge 9 ]; then
   export LDFLAGS="$LDFLAGS -Wl,-dead_strip_dylibs"
 fi

 ./configure %c

 ### make everything shared
 make CPPFLAGS='-I$(top_srcdir)/subversion/include -I$(top_builddir)/subversion 
-I%p/include/neon -I%p/include/serf-0 -I%p/include/apache2 
-I%p/lib/system-openssl/include -I%p/include/db5 -I%p/include  -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK' INCLUDES=''  
SVN_APRUTIL_LIBS='%p/lib/libaprutil.la %p/lib/libexpat.la'
<<
InfoTest: TestScript: make check || exit 2

# Install Phase:
DocFiles: BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
InstallScript: <<
 #!/bin/bash -ev
 make -j1 install DESTDIR=%d
 
 ### Install docu and notes
 /usr/bin/install -d %i/share
 /usr/bin/install -d %i/share/doc
 /usr/bin/install -d %i/share/doc/%n
 cp -r www %i/share/doc/%n
 cp -r doc/user %i/share/doc/%n
 cp -r notes %i/share/doc/%n
 
 ### Configure and install examples, tools and notes
 /usr/bin/install -d %i/share/%n
 cp -r tools/backup %i/share/%n/tools
 cp -r tools/bdb %i/share/%n/tools
 cp -r tools/client-side %i/share/%n/tools
 cp -r tools/dev %i/share/%n/tools
 cp -r tools/diff %i/share/%n/tools
 cp -r tools/examples %i/share/%n/tools
 cp -r tools/hook-scripts %i/share/%n/tools
 cp -r tools/server-side %i/share/%n/tools
 cp -r tools/xslt %i/share/%n/tools
 
 cp -r contrib %i/share/%n

 # Remove unneeded .in files
 find %i/share/%n -name \*.in -print0 | xargs -0 rm -f
 
 # Install default directory for repositories
 /usr/bin/install -d %i/var
 /usr/bin/install -m 770 -d %i/var/svn
 
 # Copy -dev files to %p/lib so other packages can find them
 cd %i/lib
 ln -s svn15/*.la %i/lib
 ln -s svn15/*-1.dylib %i/lib
 
 #No need for dependency_libs in .la files if not building static libs
 perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/lib/svn15/*.la
<<

DaemonicName: svnserve
DaemonicFile: <<
 <service>
  <description>Subversion server</description>
  <message>Subversion server</message>

  <daemon name="svnserve">
    <executable background="no">/usr/bin/sudo</executable>
    <parameters>-u www %p/bin/svnserve -d -r %p/var/svn</parameters>
  </daemon>
 </service>
<<
PostInstScript: <<
 chown www:admin %p/var/svn
 daemonic install svnserve
<<
PreRmScript: <<
 if [ $1 != "upgrade" ]; then
   daemonic remove svnserve
 fi
<<

PreInstScript: <<
 if [ "$1" = upgrade ]; then
   if dpkg --compare-versions "$2" lt "1.2.0"; then
     /bin/echo ""
     /bin/echo "WARNING: Subversion (svn) 1.2.3 or later uses Berkeley DB4.4 
(db44)."
     /bin/echo "If you are upgrading from an earlier version and you are using"
     /bin/echo "BDB repositories please read"
     /bin/echo ""
     /bin/echo "  http://subversion.tigris.org/faq.html#bdb43-upgrade";
     /bin/echo ""
     /bin/echo "and"
     /bin/echo ""
     /bin/echo "  http://subversion.tigris.org/faq.html#dumpload";
     /bin/echo ""
     /bin/echo "To install svnadmin binary linked to an older Berkeley DB 
version"
     /bin/echo "please install the fink package 'svnadmin-dbXX', e.g. by typing"
     /bin/echo ""
     /bin/echo "  fink install svnadmin-db43"
     /bin/echo ""
     /bin/echo "and following the documentation of svnadmin-dbXX, e.g.:"
     /bin/echo ""
     /bin/echo "  fink info svnadmin-db43"
     /bin/echo ""
     /bin/echo "Do you want to continue [Y/n] ?\c";
     if read -t 3600 CONTINUECHOICE; then
       case $CONTINUECHOICE in
         y|Y|'' ) ;;
         * ) exit 1 ;;
       esac
     else
       echo "Time-out."
     fi
   fi
 fi
 exit 0
<<
SplitOff: <<
  Description: Subversion - Development headers and libs
  Package: %N15-dev
  Depends: %N15-shlibs (= %v-%r)
  BuildDependsOnly: True
  Conflicts: svn-client-ssl (<= 0.26.0-2), svn-dev
  Replaces: svn-ssl-dev, svn-client-ssl (<= 0.26.0-2), svn-dev
  Files: <<
    include
    lib/svn15/*.la
    lib/svn15/*-1.dylib
    lib/*.la
    lib/*-1.dylib
  <<
  DocFiles: COPYING HACKING
<<
SplitOff2: <<
  Description: Subversion - Shared libraries
  Package: %N15-shlibs
  Conflicts: svn-client-ssl (<= 0.26.0-2)
  Replaces: svn-ssl-shlibs, svn-client-ssl (<= 0.26.0-2)
  Depends: <<
    cyrus-sasl2-shlibs,
    db51-aes-shlibs | db51-shlibs,
    expat1-shlibs,
    libapr.0-shlibs,
    libaprutil.0-shlibs (>= 1.3.4-8),
    libgettext8-shlibs,
    libiconv,
    libserf0-shlibs (>= 0.7.0-1),
    neon27-shlibs,
    sqlite3-shlibs
  <<
  Files: <<
        lib/svn15/*-1.0.dylib
        lib/svn15/*-1.0.0.0.dylib
  <<
  Shlibs: <<
    %p/lib/svn15/libsvn_client-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_delta-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_diff-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_fs-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_fs_base-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_fs_fs-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_fs_util-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_ra-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_ra_local-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_ra_neon-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_ra_serf-1.0.dylib 1.0.0 %n (>= 1.6.15-1)
    %p/lib/svn15/libsvn_ra_svn-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_repos-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_subr-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
    %p/lib/svn15/libsvn_wc-1.0.dylib 1.0.0 %n (>= 1.5.0-2)
  <<
  DocFiles: BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README TRANSLATING
<<
SplitOff3: <<
 Package: %N-doc
 Replaces: svn-ssl-doc
 Description: Subversion - Documentation
 Files: <<
  share/doc
 <<
 DocFiles: COPYING
<<

# Additional Info
DescDetail: <<
The goal of the Subversion project is to build a version control system that is
a compelling replacement for CVS in the open source community. 
        
Subversion's Features:
- Most current CVS features
- Directories, renames, and file meta-data are versioned
- Commits are truly atomic
- Branching and tagging are cheap (constant time) operations
- Client/server protocol sends diffs in both directions
- Time costs are proportional to change size, not data size
- Efficient handling of binary files  - it uses a binary diffing algorithm to
  transmit and store successive revisions
- Versioning of symbolic links
- Choice of database or plain-file repository implementations 
- Apache network server option, with WebDAV/DeltaV  protocol
- Standalone server option

Subversion is broken into these packages in fink:

- The "%N" package installs a stand-alone server 'svnserve'.
  Install this package if you want to maintain a stand-alone server.
  It also contains the 'svn' client and related files as of 1.6.6-1.
  Type 'fink describe %N' to get usage help.
  
- The "%N-doc" package installs html documentation, and notes from the 
  developers of svn.
  
- The "libapache2-mod-svn" package contains an apache2 module to enable
  serving a repository via web-dav. Type 'fink describe libapache2-mod-svn'
  to get usage help.

- The "%N15-shlibs" package contains the shared libraries for the other
  packages. It is installed automatically by fink when needed.

- The "%N15-dev" package contains the development headers and libraries.
  It is installed automatically by fink when needed.
  
- The "%N-swig-pm58x" packages contains the swig perl bindings to call
  svn from perl. Type 'fink describe %N-swig-pm588' to get usage help.
 
- The "%N-swig-py2x" packages contains the swig python bindings to call
  svn from python. Type 'fink describe %N-swig-py25' to get usage help.
 
- The "%N-swig-rb18" package contains the swig ruby bindings to call
  svn from ruby. Type 'fink describe %N-swig-rb18' to get usage help.
 
- The "%N-javahl" package contains the java bindings to call
  svn from java. Type 'fink describe %N-javahl' to get usage help.
 
For More Information, check the main Subversion website below and read the book
at <http://svnbook.red-bean.com/>. Also check out the documentation in
%p/share/doc/%N. These files are in the "%N-doc" package.
<<
DescUsage: <<
 Type 'svnserve --help', 'man svnserve', 'svnadmin help', or 'man svnadmin'
 for usage.
 Some tools (e.g. hook and back-up scripts) and examples are stored in 
 %p/share/%N/tools and %p/share/%N/contrib
 
 You can start the Subversion server manually using a command similar to
 '/usr/bin/sudo -u www %p/bin/svnserve -d -r %p/var/svn' or you can 
 run 'daemonic enable svnserve' as root to create a StartupItem for it.
 
 'svnserve' is run as user 'www' in order that apache and svnserve can
 access the same repositories at the same time under '%p/var/svn'
 
 You could install the repositories under the preconfigured directory
 %p/var/svn
 which should have the correct permissions. Make sure that all files
 in the new repository have the correct permissions for svnserve (and apache)
 to read and write. E.g. run 'chown -R www %p/var/svn/yourrepos' and 
 'chmod -R go-rwx %p/var/svn/yourrepos'.

 WARNING:
 
 Subversion (svn) 1.2.3 or later uses Berkeley DB 4.4 (db44).
 If you are upgrading from an earlier version and you are using
 BDB repositories please read

  http://subversion.tigris.org/faq.html#bdb43-upgrade

 and

  http://subversion.tigris.org/faq.html#dumpload

 To install svnadmin binary linked to an older Berkeley DB version
 please install the fink package 'svnadmin-dbXX', e.g. by typing

   fink install svnadmin-db43
 
 and following the documentation of svnadmin-dbXX, e.g.:
 
   fink info svnadmin-db43
<<
DescPackaging: <<
 The "Replaces: %N (<= 1.1.1-11)" is needed since svnlook was 
 (incorrectly) in the svn-client package < 1.1.1 and was 
 moved to the main package in 1.1.1-11.
 
 Renamed -dev and -shlibs and moved libs to lib/svn15 since libs
 were added/deleted. Symlinks to libs placed in %p/lib so should
 be found by dependent packages that use svn15-dev.
 
 svn has to use a version of db4x <= the version used by libaprutil.0.
 
 The client tools are now in the %N package.
<<
DescPort: <<
The swig java bindings don't work currently. Check out this thread:
<http://www.contactor.se/~dast/svn/archive-2004-05/index.shtml#1055>

Added 'export F77=no;' to configure in order not to fail if the 
fort77 package is installed.

svn-config is no longer available as of svn 1.4.

Previously maintained by Christian Schaffner <chri...@users.sourceforge.net>
<<
Homepage: http://subversion.apache.org/

--- NEW FILE: svn-swig-py.info ---
Info2: <<
Package: svn-swig-py%type_pkg[python]
Version: 1.6.16
Revision: 1
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, 
(%type_pkg[python] = 24) 10.5
Description: Swig svn Python %type_raw[python] bindings
Type: python (2.4 2.5 2.6 2.7)
License: BSD
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

# Dependencies:
Depends: python%type_pkg[python], %N-shlibs (= %v-%r)
BuildDepends: <<
        libapr.0-dev,
        libaprutil.0-dev (>= 1.3.4-8),
        cyrus-sasl2-dev (>= 2.1.22-1006),
        db51-aes | db51,
        fink (>= 0.24.12-1),
        gettext-bin,
        gettext-tools,
        libgettext8-dev,
        libiconv-dev (>= 1.9.1-11),
        libserf0 (>= 0.7.0-1),
        neon27,
        sqlite3-dev,
        svn15-dev (>= %v),
        swig,
        system-openssl-dev
<<
Replaces: svn-shlibs (<< 1.0.4-11), svn-ssl-swig-py%type_pkg[python]

# Unpack Phase:
Source: http://subversion.tigris.org/downloads/subversion-%v.tar.bz2
Source-MD5: 32f25a6724559fe8691d1f57a63f636e

# Compile Phase:
NoSetLDFLAGS: true
NoSetLIBS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib -L%p/lib
GCC: 4.0
ConfigureParams: <<
        
--libexecdir='${prefix}/lib/python%type_raw[python]/site-packages/libsvn' \
        --libdir='${prefix}/lib/python%type_raw[python]/site-packages/libsvn' \
        --enable-shared \
        --disable-static \
        --with-neon=%p \
        --with-serf=%p \
        --with-apr=%p/bin/apr-1-config \
        --with-apr-util=%p/bin/apu-1-config \
        --without-apxs \
        --disable-mod-activation \
        --without-jdk \
        --disable-javahl \
        --with-jikes=no \
        --with-swig \
        --with-berkeley-db='db.h:%p/include/db5:%p/lib:db-5.1' \
        --with-sasl=%p \
        --with-sqlite=%p \
        --without-gnome-keyring \
        --without-kwallet \
        --without-ctypesgen \
        --disable-neon-version-check \
        PYTHON=%p/bin/python%type_raw[python]
<<
CompileScript: <<
#! /bin/sh -ev
 ### Recreate build-outputs.mk to not include already installed libs
 ./gen-make.py --installed-libs 
libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_fs_base,libsvn_fs_fs,libsvn_fs_util,libsvn_ra,libsvn_ra_neon,libsvn_ra_local,libsvn_ra_serf,libsvn_ra_svn,libsvn_repos,libsvn_subr,libsvn_wc

 ### Configure shared
 export F77=no
 export PERL=/usr/bin/false
 export RUBY=/usr/bin/false
 ./configure %c
 
 ### Build swig python bindings
 make swig-py CPPFLAGS='-I$(top_srcdir)/subversion/include 
-I$(top_builddir)/subversion -I%p/include/neon -I%p/include/serf-0 
-I%p/include/apache2 -I%p/lib/system-openssl/include -I%p/include  -DDARWIN 
-DSIGPROCMASK_SETS_THREAD_MASK' INCLUDES=''
<<
InfoTest: <<
 TestScript: <<
#! /bin/sh -ev
  # A few tests fail with python27, but the bindings seem to work.
  # Maybe a test problem? It only seems to be tests involving file:// URLs that 
fail.
  if [ "%type_pkg[python]" != "27" ]; then
    export 
DYLD_LIBRARY_PATH=%b/subversion/bindings/swig/python/libsvn_swig_py/.libs
    make check-swig-py || exit 2
  fi
 <<
<<

# Install Phase:
DocFiles: COPYING HACKING INSTALL.swig NOTES.swig
InstallScript: <<
 ### Install swig python bindings
 make install-swig-py DESTDIR=%d DISTUTIL_PARAM=--prefix=%d 
swig_pydir=%p/lib/python%type_raw[python]/site-packages/libsvn 
swig_pydir_extra=%p/lib/python%type_raw[python]/site-packages/svn
 cp subversion/bindings/swig/INSTALL INSTALL.swig
 cp subversion/bindings/swig/NOTES NOTES.swig

 ### Remove unneeded archives
 rm %i/lib/python%type_raw[python]/site-packages/libsvn/*.la
 rm %i/lib/python%type_raw[python]/site-packages/libsvn/libsvn_swig_py-1.dylib
<<
SplitOff: <<
  Description: Subversion - Swig Python Shared libraries
  Package: %N-shlibs
  Depends: svn15-shlibs (>= %v)
  Replaces: %{Ni}23-shlibs (<< 1.5.0-3), %{Ni}24-shlibs (<< 1.5.0-3), 
%{Ni}25-shlibs (<< 1.5.0-3), svn-ssl-swig-py23-shlibs, 
svn-ssl-swig-py24-shlibs, svn-ssl-swig-py25-shlibs
  Files: <<
    
lib/python%type_raw[python]/site-packages/libsvn/libsvn_swig_py-1.0.0.0.dylib
    lib/python%type_raw[python]/site-packages/libsvn/libsvn_swig_py-1.0.dylib
  <<
  Shlibs: <<
    
%p/lib/python%type_raw[python]/site-packages/libsvn/libsvn_swig_py-1.0.dylib 
1.0.0 %n (>= 1.5.0-3)
  <<
  DocFiles: COPYING HACKING INSTALL.swig NOTES.swig
<<

# Additional Info
DescDetail: <<
  Bindings to call svn functions from python.
<<
DescUsage: <<
  Please read the files in '%p/share/doc/svn-swig-py%type_pkg[python]/'.
<<
DescPort: <<
 Added 'export F77=no;' to configure in order not to fail if the 
 fort77 package is installed.
 
 Previously maintained by Christian Schaffner <chri...@users.sourceforge.net>
<<
DescPackaging: <<
 The "Replaces: svn-shlibs (<< 1.0.4-11)" is needed since the 
 libsvn_swig_py-1.0.dylib was (incorrectly) in the svn-shlibs package.
<<
Homepage: http://subversion.apache.org/
<<

--- NEW FILE: svnadmin-db.info ---
Info2: <<
Package: svnadmin-db%type_pkg[bdb]
Version: 1.6.16
Revision: 1
Description: Svnadmin tool linked to BDB %type_raw[bdb]
Type: bdb (4.7 4.8 5.1)
License: BSD
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

# Dependencies:
Depends: (%type_pkg[bdb] >= 44) db%type_pkg[bdb]-aes-shlibs | (%type_pkg[bdb] 
<= 43) db%type_pkg[bdb]-ssl-shlibs | db%type_pkg[bdb]-shlibs, libiconv, 
libgettext8-shlibs, expat1-shlibs, sqlite3-shlibs
BuildDepends: fink (>= 0.16.0-1), (%type_pkg[bdb] >= 44) db%type_pkg[bdb]-aes | 
(%type_pkg[bdb] <= 43) db%type_pkg[bdb]-ssl | db%type_pkg[bdb], 
system-openssl-dev, texinfo (>= 4.2-22), libiconv-dev (>= 1.9.1-11), 
gettext-bin, gettext-tools, libgettext8-dev, expat1, sqlite3-dev

# Unpack Phase:
Source: http://subversion.tigris.org/downloads/subversion-%v.tar.bz2
Source-MD5: 32f25a6724559fe8691d1f57a63f636e
Source2: http://subversion.tigris.org/downloads/subversion-deps-%v.tar.bz2
Source2-MD5: 85255aee26e958fc988e6e56d6d1ac55

# Make sure we use /usr/include/uuid/uuid.h not %p/include/uuid.h
PatchScript: perl -pi -e 's/ uuid.h//' apr/configure

# Compile Phase:
NoSetLDFLAGS: true
NoSetLIBS: true
SetLDFLAGS: -L%p/lib/system-openssl/lib -L%p/lib

ConfigureParams: <<
        --libexecdir='${prefix}/lib/svn15' \
        --libdir='${prefix}/lib/svn15' \
        --disable-shared \
        --enable-all-static \
        --without-neon \
        --without-serf \
        --without-apxs \
        --disable-mod-activation \
        --without-jdk \
        --disable-javahl \
        --with-jikes=no \
        --without-swig \
        --with-berkeley-db='db.h:%p/include/db4:%p/lib:db-%type_raw[bdb]' \
        --without-gnome-keyring \
        --without-kwallet \
        --without-ctypesgen \
        --disable-neon-version-check
<<
GCC: 4.0
CompileScript: <<
#! /bin/sh -ev
 ### Configure static
 export F77=no; ./configure %c

 ### make apr static
 make external-all
 
 ### make svnadmin static 
 make svnadmin
<<

# Install Phase:
DocFiles: BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
InstallScript: <<
 /usr/bin/install -d %i/bin
  cd subversion/svnadmin ; /bin/sh %b/libtool --mode=install /usr/bin/install 
-c svnadmin %i/bin/svnadmin-db%type_pkg[bdb]
<<

# Additional Info
DescDetail: <<
Statically linked version of the svnadmin tool used to dump subversion
repositories created with an older version of the Berkeley DB.
<<
DescUsage: <<
To dump a svn repository built under an older Berkeley DB version
do the following:
- fink install svnadmin-db%type_pkg[bdb]
- svnadmin-db%type_pkg[bdb] dump myrepos
- fink install svn
- svnadmin load newrepos

Please read

http://subversion.tigris.org/faq.html#dumpload

for more details.
<<
Homepage: http://subversion.apache.org/
<<


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to