diff --git a/dev-vcs/subversion-java/Manifest b/dev-vcs/subversion-java/Manifest new file mode 100644 index 000000000..ae8a73584 --- /dev/null +++ b/dev-vcs/subversion-java/Manifest @@ -0,0 +1,10 @@ +AUX 70svn-gentoo.el 443 RMD160 300189eea80dfefa0f2a8479f67d255b39fd2adb SHA1 245b5ed611755276016bc76de2eabdc117e2c511 SHA256 23aa9effa5aea7ae73d14ae4df1a9269135137a5e483b4ff2a501dc130d7d1be +AUX subversion-1.6.0-disable_linking_against_unneeded_libraries.patch 1769 RMD160 89d165463a2e8a7e2ae5855bc4e4e290f20416ae SHA1 3fc9a49e80992b13b016d1c56babae43957f1b91 SHA256 a54a4dd37e197d030b9d56b2954e4cd38f8a7f1b191cfe59f863b75a164d5f96 +AUX subversion-1.6.2-local_library_preloading.patch 6412 RMD160 3b072c5f9d3c1f43e3be20959a24632db0c9f82c SHA1 85a3d394861a53e3919ef6fc243542af7df17b46 SHA256 50b83dd31eaf5ed577b7656dcd06e314d3acd31814089f4e3eba014a1efa442d +AUX subversion-1.6.3-kwallet_window.patch 10012 RMD160 d469e0fc8d9fd2ef8c857e5e303eeb24309e7f0d SHA1 9c99b63bc5abf54f642e447af1aa2f814cecb8ab SHA256 5304f39189bed6f83a8342593f23819cf2e12c2288c9daba23dcd78913fd79de +AUX svnserve.confd 322 RMD160 e291d91f05da848a3517aa76611c1f05527c11e4 SHA1 c07020ea270b787ddf0dbb738391e20d3c8347af SHA256 45f2dc1a718aed885559e71d98112e670c92bd6b4f19c5cf593eced6cd2bbd97 +AUX svnserve.initd 818 RMD160 6a24ac0599ef46b2d1ef0ae9cde70bdc8124db68 SHA1 f3ef120b584d81124171ccaf5bafec709222d04e SHA256 4f9d38d5b32d4436dcb302f7e3c7284e67d6339b25b0f057a306b978f4a06142 +AUX svnserve.xinetd 332 RMD160 c2fc4eb02da7e7405756fce650b8897f0a9da7f7 SHA1 d7d478fc257a40626888f9b12ee218df55dac570 SHA256 267f30c78ef6428aeeb97d3c64c06b9acfba4bc624766fc3c6a6d2c4133799a2 +DIST subversion-1.6.16.tar.bz2 5509729 RMD160 f12d7eb31372486290e08143ec1afda029767d34 SHA1 c1a050bd8ad2444eb6729b8a7f451960711af2df SHA256 dce4897d62d0dc29ab03834ed1d66ede95c07702e32a0042f96c24c6f1213386 +EBUILD subversion-java-1.6.16.ebuild 4320 RMD160 6881edfc7be1111137776e3f6bdec1f92a1787dc SHA1 f9367d41c9b2b30750594b16fa14c6e3e531d29d SHA256 d8749c52070f7c34f0ff9318728ab43b950d83faf8cece94cf8ba6a90f95c17e +MISC metadata.xml 558 RMD160 7c6fecb710b66051ab3a61a5aa50ae51da74e658 SHA1 5722fe19c5fbd79e9579b50e8ba71f952ddd3ea0 SHA256 89cee02e2d381bace416b51fdb26af91061fa0b0a62e9f20512b252461b534a0 diff --git a/dev-vcs/subversion-java/files/70svn-gentoo.el b/dev-vcs/subversion-java/files/70svn-gentoo.el new file mode 100644 index 000000000..e5721e248 --- /dev/null +++ b/dev-vcs/subversion-java/files/70svn-gentoo.el @@ -0,0 +1,13 @@ + +;;; subversion site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(and (< emacs-major-version 22) + (add-to-list 'load-path "@SITELISP@/compat")) +(add-to-list 'vc-handled-backends 'SVN) + +(defalias 'svn-examine 'svn-status) +(autoload 'svn-status "dsvn" "Run `svn status'." t) +(autoload 'svn-update "dsvn" "Run `svn update'." t) +(autoload 'svn-status "psvn" + "Examine the status of Subversion working copy in directory DIR." t) diff --git a/dev-vcs/subversion-java/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch b/dev-vcs/subversion-java/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch new file mode 100644 index 000000000..689b29cd7 --- /dev/null +++ b/dev-vcs/subversion-java/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch @@ -0,0 +1,56 @@ +--- Makefile.in ++++ Makefile.in +@@ -47,6 +47,7 @@ + SVN_SASL_LIBS = @SVN_SASL_LIBS@ + SVN_SERF_LIBS = @SVN_SERF_LIBS@ + SVN_SQLITE_LIBS = @SVN_SQLITE_LIBS@ ++SVN_XML_LIBS = -lexpat + SVN_ZLIB_LIBS = @SVN_ZLIB_LIBS@ + + LIBS = @LIBS@ +--- build/ac-macros/aprutil.m4 ++++ build/ac-macros/aprutil.m4 +@@ -77,16 +77,14 @@ + AC_MSG_ERROR([apu-config --prefix failed]) + fi + +- dnl When APR stores the dependent libs in the .la file, we don't need +- dnl --libs. +- SVN_APRUTIL_LIBS="`$apu_config --link-libtool --libs`" ++ SVN_APRUTIL_LIBS="`$apu_config --link-libtool`" + if test $? -ne 0; then +- AC_MSG_ERROR([apu-config --link-libtool --libs failed]) ++ AC_MSG_ERROR([apu-config --link-libtool failed]) + fi + +- SVN_APRUTIL_EXPORT_LIBS="`$apu_config --link-ld --libs`" ++ SVN_APRUTIL_EXPORT_LIBS="`$apu_config --link-ld`" + if test $? -ne 0; then +- AC_MSG_ERROR([apu-config --link-ld --libs failed]) ++ AC_MSG_ERROR([apu-config --link-ld failed]) + fi + + AC_SUBST(SVN_APRUTIL_INCLUDES) +--- build/ac-macros/apr.m4 ++++ build/ac-macros/apr.m4 +@@ -74,16 +74,14 @@ + AC_MSG_ERROR([apr-config --prefix failed]) + fi + +- dnl When APR stores the dependent libs in the .la file, we don't need +- dnl --libs. +- SVN_APR_LIBS="`$apr_config --link-libtool --libs`" ++ SVN_APR_LIBS="`$apr_config --link-libtool`" + if test $? -ne 0; then +- AC_MSG_ERROR([apr-config --link-libtool --libs failed]) ++ AC_MSG_ERROR([apr-config --link-libtool failed]) + fi + +- SVN_APR_EXPORT_LIBS="`$apr_config --link-ld --libs`" ++ SVN_APR_EXPORT_LIBS="`$apr_config --link-ld`" + if test $? -ne 0; then +- AC_MSG_ERROR([apr-config --link-ld --libs failed]) ++ AC_MSG_ERROR([apr-config --link-ld failed]) + fi + + SVN_APR_SHLIB_PATH_VAR="`$apr_config --shlib-path-var`" diff --git a/dev-vcs/subversion-java/files/subversion-1.6.2-local_library_preloading.patch b/dev-vcs/subversion-java/files/subversion-1.6.2-local_library_preloading.patch new file mode 100644 index 000000000..704b30026 --- /dev/null +++ b/dev-vcs/subversion-java/files/subversion-1.6.2-local_library_preloading.patch @@ -0,0 +1,165 @@ +--- configure.ac ++++ configure.ac +@@ -198,6 +198,24 @@ + + AC_SUBST(LT_LDFLAGS) + ++AC_ARG_ENABLE(local-library-preloading, ++ AS_HELP_STRING([--disable-local-library-preloading], ++ [Disable preloading of locally built libraries in locally built executables]), ++ [ ++ if test "$enableval" != "no"; then ++ TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts" ++ else ++ TRANSFORM_LIBTOOL_SCRIPTS="" ++ fi ++ ], [ ++ if test "`uname`" != "Darwin"; then ++ TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts" ++ else ++ TRANSFORM_LIBTOOL_SCRIPTS="" ++ fi ++]) ++AC_SUBST(TRANSFORM_LIBTOOL_SCRIPTS) ++ + dnl Check if -no-undefined is needed for the platform. + dnl It should always work but with libtool 1.4.3 on OS X it breaks the build. + dnl So we only turn it on for platforms where we know we really need it. +--- Makefile.in ++++ Makefile.in +@@ -309,7 +309,10 @@ + + @INCLUDE_OUTPUTS@ + +-local-all: @BUILD_RULES@ ++local-all: @BUILD_RULES@ @TRANSFORM_LIBTOOL_SCRIPTS@ ++ ++transform-libtool-scripts: @BUILD_RULES@ ++ @$(top_srcdir)/build/transform_libtool_scripts.sh + + locale-gnu-pot: + cd $(abs_srcdir) && XGETTEXT="$(XGETTEXT)" MSGMERGE="$(MSGMERGE)" \ +--- build/transform_libtool_scripts.sh ++++ build/transform_libtool_scripts.sh +@@ -0,0 +1,121 @@ ++#!/bin/sh ++# ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you under the Apache License, Version 2.0 (the ++# "License"); you may not use this file except in compliance ++# with the License. You may obtain a copy of the License at ++# ++# http://www.apache.org/licenses/LICENSE-2.0 ++# ++# Unless required by applicable law or agreed to in writing, ++# software distributed under the License is distributed on an ++# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ++# KIND, either express or implied. See the License for the ++# specific language governing permissions and limitations ++# under the License. ++# ++# ++ ++# Dependencies of libraries ++subr="subr" ++auth_gnome_keyring="auth_gnome_keyring $subr" ++auth_kwallet="auth_kwallet $subr" ++delta="delta $subr" ++diff="diff $subr" ++fs_util="fs_util $subr" ++fs_base="fs_base $delta $fs_util $subr" ++fs_fs="fs_fs $delta $fs_util $subr" ++fs="fs $fs_base $fs_fs $fs_util $subr" ++repos="repos $delta $fs $fs_util $subr" ++ra_local="ra_local $delta $fs $fs_util $repos $subr" ++ra_neon="ra_neon $delta $subr" ++ra_serf="ra_serf $delta $subr" ++ra_svn="ra_svn $delta $subr" ++ra="ra $delta $ra_local $ra_neon $ra_serf $ra_svn $subr" ++wc="wc $delta $diff $subr" ++client="client $delta $diff $ra $subr $wc" ++ ++# Variable 'libraries' containing names of variables corresponding to libraries ++libraries="auth_gnome_keyring auth_kwallet client delta diff fs fs_base fs_fs fs_util ra ra_local ra_neon ra_serf ra_svn repos subr wc" ++ ++for library in $libraries; do ++ # Delete duplicates in dependencies of libraries ++ library_dependencies="$(echo -n $(for x in $(eval echo "\$$library"); do echo $x; done | sort -u))" ++ eval "$library=\$library_dependencies" ++done ++ ++# Dependencies of executables ++svn="$auth_gnome_keyring $auth_kwallet $client $delta $diff $ra $subr $wc" ++svnadmin="$delta $fs $repos $subr" ++svndumpfilter="$delta $fs $repos $subr" ++svnlook="$delta $diff $fs $repos $subr" ++svnserve="$delta $fs $ra_svn $repos $subr" ++svnsync="$auth_gnome_keyring $auth_kwallet $delta $ra $subr" ++svnversion="$subr $wc" ++entries_dump="$subr $wc" ++ ++# Variable 'executables' containing names of variables corresponding to executables ++executables="svn svnadmin svndumpfilter svnlook svnserve svnsync svnversion entries_dump" ++ ++for executable in $executables; do ++ # Set variables containing paths of executables ++ if [ "$executable" != entries_dump ]; then ++ eval "${executable}_path=subversion/$executable/$executable" ++ else ++ eval "${executable}_path=subversion/tests/cmdline/entries-dump" ++ fi ++ # Delete duplicates in dependencies of executables ++ executable_dependencies="$(echo -n $(for x in $(eval echo "\$$executable"); do echo $x; done | sort -u))" ++ eval "$executable=\$executable_dependencies" ++done ++ ++test_paths="$(find subversion/tests -mindepth 2 -maxdepth 2 -name '*-test' ! -path '*/.libs/*' | sort)" ++for test in $test_paths; do ++ test_path="$test" ++ # Dependencies of tests are based on names of directories containing tests ++ test_library="$(echo $test | sed -e 's:^subversion/tests/libsvn_\([^/]*\)/.*:\1:')" ++ test_dependencies="$(eval echo "\$$test_library")" ++ # Set variables corresponding to tests and containing dependencies of tests ++ test="$(echo $test | sed -e 's:^subversion/tests/libsvn_[^/]*/\(.*\):\1:' -e 's/-/_/g')" ++ eval "$test=\$test_dependencies" ++ # Set variables containing paths of tests ++ eval "${test}_path=\$test_path" ++ # Set variable 'tests' containing names of variables corresponding to tests ++ tests="$tests $test" ++done ++ ++# auth-test dynamically loads libsvn_auth_gnome_keyring and libsvn_auth_kwallet libraries ++auth_test="auth_gnome_keyring auth_kwallet $auth_test" ++ ++# Usage: sed_append LINE_NUMBER TEXT FILE ++sed_append() ++{ ++ sed -e "$1a\\ ++$2" "$3" > "$3.new" ++ mv -f "$3.new" "$3" ++} ++ ++current_directory="$(pwd)" ++for libtool_script in $executables $tests; do ++ eval "libtool_script_path=\$${libtool_script}_path" ++ libtool_script_libraries="" ++ if [ -f "$libtool_script_path" ]; then ++ if { grep LD_LIBRARY_PATH "$libtool_script_path" && ! grep LD_PRELOAD "$libtool_script_path"; } > /dev/null; then ++ echo "Transforming $libtool_script_path" ++ libtool_script_dependencies="$(eval echo "\$$libtool_script")" ++ for libtool_script_dependency in $libtool_script_dependencies; do ++ libtool_script_library="$current_directory/subversion/libsvn_$libtool_script_dependency/.libs/libsvn_$libtool_script_dependency-1.so" ++ [ -f "$libtool_script_library" ] && libtool_script_libraries="$libtool_script_libraries $libtool_script_library" ++ done ++ libtool_script_libraries="${libtool_script_libraries# *}" ++ # Append definitions of LD_PRELOAD to libtool scripts ++ sed_append 4 "LD_PRELOAD=\"$libtool_script_libraries\"" "$libtool_script_path" ++ sed_append 5 "export LD_PRELOAD" "$libtool_script_path" ++ chmod +x "$libtool_script_path" ++ fi ++ fi ++done diff --git a/dev-vcs/subversion-java/files/subversion-1.6.3-kwallet_window.patch b/dev-vcs/subversion-java/files/subversion-1.6.3-kwallet_window.patch new file mode 100644 index 000000000..4bb9c09f0 --- /dev/null +++ b/dev-vcs/subversion-java/files/subversion-1.6.3-kwallet_window.patch @@ -0,0 +1,298 @@ +https://svn.collab.net/viewvc/svn?view=revision&revision=38004 +https://svn.collab.net/viewvc/svn?view=revision&revision=38014 +https://svn.collab.net/viewvc/svn?view=revision&revision=38028 +https://svn.collab.net/viewvc/svn?view=revision&revision=38122 + +--- subversion/libsvn_auth_kwallet/kwallet.cpp ++++ subversion/libsvn_auth_kwallet/kwallet.cpp +@@ -22,6 +22,7 @@ + + /*** Includes. ***/ + ++#include + #include + #include + +@@ -30,6 +31,9 @@ + #include "svn_auth.h" + #include "svn_config.h" + #include "svn_error.h" ++#include "svn_io.h" ++#include "svn_pools.h" ++#include "svn_string.h" + #include "svn_version.h" + + #include "private/svn_auth_private.h" +@@ -38,13 +42,20 @@ + + #include + #include ++#include ++#include + #include ++#include ++#include + + #include + #include + #include + #include + #include ++#include ++#include ++#include + + + /*-----------------------------------------------------------------------*/ +@@ -52,6 +63,28 @@ + /*-----------------------------------------------------------------------*/ + + ++#define INITIALIZE_APPLICATION \ ++ if (apr_hash_get(parameters, \ ++ "svn:auth:qapplication-safe", \ ++ APR_HASH_KEY_STRING)) \ ++ { \ ++ QApplication *app; \ ++ if (! qApp) \ ++ { \ ++ int argc = 1; \ ++ app = new QApplication(argc, (char *[1]) {(char *) "svn"}); \ ++ } \ ++ } \ ++ else \ ++ { \ ++ QCoreApplication *app; \ ++ if (! qApp) \ ++ { \ ++ int argc = 1; \ ++ app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); \ ++ } \ ++ } ++ + static const char * + get_application_name(apr_hash_t *parameters, + apr_pool_t *pool) +@@ -69,8 +102,7 @@ + const char *svn_application_name; + if (svn_application_name_with_pid) + { +- long pid = getpid(); +- svn_application_name = apr_psprintf(pool, "Subversion [%ld]", pid); ++ svn_application_name = apr_psprintf(pool, "Subversion [%ld]", long(getpid())); + } + else + { +@@ -102,9 +134,108 @@ + } + } + ++static pid_t ++get_parent_pid(pid_t pid, ++ apr_pool_t *pool) ++{ ++ pid_t parent_pid = 0; ++ ++#ifdef __linux__ ++ svn_stream_t *stat_file_stream; ++ svn_string_t *stat_file_string; ++ const char *preceeding_space, *following_space, *parent_pid_string; ++ ++ const char *path = apr_psprintf(pool, "/proc/%ld/stat", long(pid)); ++ svn_error_t *err = svn_stream_open_readonly(&stat_file_stream, path, pool, pool); ++ if (err == SVN_NO_ERROR) ++ { ++ err = svn_string_from_stream(&stat_file_string, stat_file_stream, pool, pool); ++ if (err == SVN_NO_ERROR) ++ { ++ if ((preceeding_space = strchr(stat_file_string->data, ' '))) ++ { ++ if ((preceeding_space = strchr(preceeding_space + 1, ' '))) ++ { ++ if ((preceeding_space = strchr(preceeding_space + 1, ' '))) ++ { ++ if ((following_space = strchr(preceeding_space + 1, ' '))) ++ { ++ parent_pid_string = apr_pstrndup(pool, ++ preceeding_space + 1, ++ following_space - preceeding_space); ++ parent_pid = atol(parent_pid_string); ++ } ++ } ++ } ++ } ++ } ++ } ++ ++ if (err) ++ { ++ svn_error_clear(err); ++ } ++#endif ++ ++ return parent_pid; ++} ++ ++static WId ++get_wid(apr_hash_t *parameters, ++ apr_pool_t *pool) ++{ ++ WId wid = 1; ++ ++ if (apr_hash_get(parameters, ++ "svn:auth:qapplication-safe", ++ APR_HASH_KEY_STRING)) ++ { ++ QMap process_info_list; ++ QList windows(KWindowSystem::windows()); ++ QList::const_iterator i; ++ for (i = windows.begin(); i != windows.end(); i++) ++ { ++ process_info_list[NETWinInfo(QX11Info::display(), ++ *i, ++ QX11Info::appRootWindow(), ++ NET::WMPid).pid()] = *i; ++ } ++ ++ apr_pool_t *iterpool = svn_pool_create(pool); ++ pid_t pid = getpid(); ++ while (pid != 0) ++ { ++ svn_pool_clear(iterpool); ++ if (process_info_list.contains(pid)) ++ { ++ wid = process_info_list[pid]; ++ break; ++ } ++ pid = get_parent_pid(pid, iterpool); ++ } ++ svn_pool_destroy(iterpool); ++ } ++ ++ if (wid == 1) ++ { ++ const char *wid_env_string = getenv("WINDOWID"); ++ if (wid_env_string) ++ { ++ long wid_env = atol(wid_env_string); ++ if (wid_env != 0) ++ { ++ wid = wid_env; ++ } ++ } ++ } ++ ++ return wid; ++} ++ + static KWallet::Wallet * + get_wallet(QString wallet_name, +- apr_hash_t *parameters) ++ apr_hash_t *parameters, ++ apr_pool_t *pool) + { + KWallet::Wallet *wallet = + static_cast (apr_hash_get(parameters, +@@ -115,7 +246,7 @@ + APR_HASH_KEY_STRING)) + { + wallet = KWallet::Wallet::openWallet(wallet_name, +- -1, ++ pool ? get_wid(parameters, pool) : 1, + KWallet::Wallet::Synchronous); + } + if (wallet) +@@ -141,7 +272,7 @@ + apr_hash_t *parameters = static_cast (data); + if (apr_hash_get(parameters, "kwallet-initialized", APR_HASH_KEY_STRING)) + { +- KWallet::Wallet *wallet = get_wallet(NULL, parameters); ++ KWallet::Wallet *wallet = get_wallet(NULL, parameters, NULL); + delete wallet; + apr_hash_set(parameters, + "kwallet-initialized", +@@ -172,12 +303,7 @@ + return FALSE; + } + +- QCoreApplication *app; +- if (! qApp) +- { +- int argc = 1; +- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); +- } ++ INITIALIZE_APPLICATION + + KCmdLineArgs::init(1, + (char *[1]) {(char *) "svn"}, +@@ -195,7 +321,7 @@ + QString::fromUtf8(username) + "@" + QString::fromUtf8(realmstring); + if (! KWallet::Wallet::keyDoesNotExist(wallet_name, folder, key)) + { +- KWallet::Wallet *wallet = get_wallet(wallet_name, parameters); ++ KWallet::Wallet *wallet = get_wallet(wallet_name, parameters, pool); + if (wallet) + { + apr_hash_set(parameters, +@@ -242,12 +368,7 @@ + return FALSE; + } + +- QCoreApplication *app; +- if (! qApp) +- { +- int argc = 1; +- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); +- } ++ INITIALIZE_APPLICATION + + KCmdLineArgs::init(1, + (char *[1]) {(char *) "svn"}, +@@ -262,7 +383,7 @@ + QString q_password = QString::fromUtf8(password); + QString wallet_name = get_wallet_name(parameters); + QString folder = QString::fromUtf8("Subversion"); +- KWallet::Wallet *wallet = get_wallet(wallet_name, parameters); ++ KWallet::Wallet *wallet = get_wallet(wallet_name, parameters, pool); + if (wallet) + { + apr_hash_set(parameters, +--- subversion/svn/main.c ++++ subversion/svn/main.c +@@ -2067,6 +2067,9 @@ + pool))) + svn_handle_error2(err, stderr, TRUE, "svn: "); + ++ /* svn can safely create instance of QApplication class. */ ++ svn_auth_set_parameter(ab, "svn:auth:qapplication-safe", "1"); ++ + ctx->auth_baton = ab; + + /* Set up conflict resolution callback. */ +--- subversion/svnsync/main.c ++++ subversion/svnsync/main.c +@@ -1,6 +1,6 @@ + /* + * ==================================================================== +- * Copyright (c) 2005-2008 CollabNet. All rights reserved. ++ * Copyright (c) 2005-2009 CollabNet. All rights reserved. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms +@@ -2362,7 +2362,15 @@ + check_cancel, NULL, + pool); + if (! err) +- err = (*subcommand->cmd_func)(os, &opt_baton, pool); ++ { ++ /* svnsync can safely create instance of QApplication class. */ ++ svn_auth_set_parameter(opt_baton.source_auth_baton, ++ "svn:auth:qapplication-safe", "1"); ++ svn_auth_set_parameter(opt_baton.sync_auth_baton, ++ "svn:auth:qapplication-safe", "1"); ++ ++ err = (*subcommand->cmd_func)(os, &opt_baton, pool); ++ } + if (err) + { + /* For argument-related problems, suggest using the 'help' diff --git a/dev-vcs/subversion-java/files/svnserve.confd b/dev-vcs/subversion-java/files/svnserve.confd new file mode 100644 index 000000000..83997ce92 --- /dev/null +++ b/dev-vcs/subversion-java/files/svnserve.confd @@ -0,0 +1,10 @@ +# The commented variables in this file are the defaults that are used +# in the init-script. You don't need to uncomment them except to +# customize them to different values. + +# Options for svnserve +#SVNSERVE_OPTS="--root=/var/svn" + +# User and group as which to run svnserve +#SVNSERVE_USER="svn" +#SVNSERVE_GROUP="svnusers" diff --git a/dev-vcs/subversion-java/files/svnserve.initd b/dev-vcs/subversion-java/files/svnserve.initd new file mode 100644 index 000000000..b1ed7e696 --- /dev/null +++ b/dev-vcs/subversion-java/files/svnserve.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/files/svnserve.initd,v 1.1 2010/06/22 18:17:21 arfrever Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting svnserve" + # Ensure that we run from a readable working dir, and that we do not + # lock filesystems when being run from such a location. + cd / + start-stop-daemon --start --quiet --background --make-pidfile \ + --pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \ + --chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \ + --foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn} + eend $? +} + +stop() { + ebegin "Stopping svnserve" + start-stop-daemon --stop --quiet --pidfile /var/run/svnserve.pid + eend $? +} diff --git a/dev-vcs/subversion-java/files/svnserve.xinetd b/dev-vcs/subversion-java/files/svnserve.xinetd new file mode 100644 index 000000000..e29f906b5 --- /dev/null +++ b/dev-vcs/subversion-java/files/svnserve.xinetd @@ -0,0 +1,14 @@ +service svn +{ + socket_type = stream + wait = no + user = apache + group = apache + umask = 002 + protocol = tcp + log_on_failure += USERID HOST + port = 3690 + server = /usr/bin/svnserve + server_args = -i + disable = yes +} diff --git a/dev-vcs/subversion-java/metadata.xml b/dev-vcs/subversion-java/metadata.xml new file mode 100644 index 000000000..bd11bfb94 --- /dev/null +++ b/dev-vcs/subversion-java/metadata.xml @@ -0,0 +1,14 @@ + + + + no-herd + + arfrever@gentoo.org + Arfrever Frehtes Taifersar Arahesis + Gentoo Subversion maintainer and Subversion upstream representative + + + poczta-sn@gazeta.pl + Maintainer for split subversion-java ebuild. Please send bugs about this one only here. + + diff --git a/dev-vcs/subversion-java/subversion-java-1.6.16.ebuild b/dev-vcs/subversion-java/subversion-java-1.6.16.ebuild new file mode 100644 index 000000000..3d7d30b71 --- /dev/null +++ b/dev-vcs/subversion-java/subversion-java-1.6.16.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +WANT_AUTOMAKE="none" + +# note: java-pkg-2, not java-pkt-opt-2 +inherit autotools eutils flag-o-matic java-pkg-2 libtool multilib + +DESCRIPTION="Java bindings for Subversion" +HOMEPAGE="http://subversion.apache.org/" + +MY_SVN_PN="subversion" +MY_SVN_P="${MY_SVN_PN}-${PV}" +MY_SVN_PF="${MY_SVN_PN}-${PVR}" +MY_SVN_CATEGORY="${CATEGORY}" +SRC_URI="http://subversion.tigris.org/downloads/${MY_SVN_P}.tar.bz2" + +LICENSE="Subversion" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="debug doc nls test" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/junit:4 ) + ~dev-vcs/subversion-${PV}" + +S="${WORKDIR}/${MY_SVN_P/_/-}" + +print() { + local blue color green normal red + + if [[ "${NOCOLOR:-false}" =~ ^(false|no)$ ]]; then + red=$'\e[1;31m' + green=$'\e[1;32m' + blue=$'\e[1;34m' + normal=$'\e[0m' + fi + + while (($#)); do + case "$1" in + --red) + color="${red}" + ;; + --green) + color="${green}" + ;; + --blue) + color="${blue}" + ;; + --) + shift + break + ;; + -*) + die "${FUNCNAME}(): Unrecognized option '$1'" + ;; + *) + break + ;; + esac + shift + done + + echo " ${green}*${normal} ${color}$@${normal}" +} + +pkg_setup() { + java-pkg-2_pkg_setup + + if use debug; then + append-cppflags -DSVN_DEBUG -DAP_DEBUG + fi + + if use test; then + if ! has_version "=${CATEGORY}/${PF}" || \ + ! has_version "~${MY_SVN_CATEGORY}/${MY_SVN_P}"; then + die "${CATEGORY}/${PF} and ${MY_SVN_CATEGORY}/${MY_SVN_P} must be installed" + fi + fi +} + +src_prepare() { + epatch "${FILESDIR}/${MY_SVN_PN}-1.6.0-disable_linking_against_unneeded_libraries.patch" + epatch "${FILESDIR}/${MY_SVN_PN}-1.6.2-local_library_preloading.patch" + epatch "${FILESDIR}/${MY_SVN_PN}-1.6.3-kwallet_window.patch" + chmod +x build/transform_libtool_scripts.sh || die "chmod failed" + + if ! use test; then + sed -i \ + -e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \ + -e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac + fi + + sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed" + + eautoconf + elibtoolize + + sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed" +} + +src_configure() { + local myconf + + if use test; then + myconf+=" --with-junit=${EPREFIX}/usr/share/junit-4/lib/junit.jar" + else + myconf+=" --without-junit" + fi + + econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --without-apxs \ + --without-berkeley-db \ + --without-ctypesgen \ + --disable-runtime-module-search \ + --without-gnome-keyring \ + --enable-javahl \ + --with-jdk="${JAVA_HOME}" \ + --without-kwallet \ + $(use_enable nls) \ + --without-sasl \ + --without-neon \ + --without-serf \ + ${myconf} \ + --with-apr="${EPREFIX}/usr/bin/apr-1-config" \ + --with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \ + --disable-experimental-libtool \ + --without-jikes \ + --enable-local-library-preloading \ + --disable-mod-activation \ + --disable-neon-version-check \ + --with-sqlite="${EPREFIX}/usr" +} + +src_compile() { + print + print "Building of Subversion JavaHL library" + print + emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed" + + if use doc; then + print + print "Building of Subversion JavaHL library HTML documentation" + print + emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed" + fi +} + +src_test() { + local test_failed + + print + print --blue "Testing of Subversion JavaHL library" + print + time emake check-javahl || test_failed="1" + + if [[ -n "${test_failed}" ]]; then + ewarn + ewarn "\e[1;31mTest failed\e[0m" + ewarn + fi +} + +src_install() { + print + print "Installation of Subversion JavaHL library" + print + emake -j1 DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed" + java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*.so + java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar + rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar + + rm -fr "${ED}usr/share/${MY_SVN_PN}" # to be sure mv command below executes properly + mv "${ED}usr/share/${PN}" "${ED}usr/share/${MY_SVN_PN}" + + if use doc; then + java-pkg_dojavadoc doc/javadoc + fi +} diff --git a/dev-vcs/subversion/ChangeLog b/dev-vcs/subversion/ChangeLog new file mode 100644 index 000000000..084f2c65b --- /dev/null +++ b/dev-vcs/subversion/ChangeLog @@ -0,0 +1,2055 @@ +# ChangeLog for dev-vcs/subversion +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/ChangeLog,v 1.40 2011/03/06 11:48:14 hwoarang Exp $ + + 06 Mar 2011; Markos Chandras subversion-1.6.16.ebuild: + Stable on amd64 wrt bug #356741 + + 05 Mar 2011; Kacper Kowalik + subversion-1.6.16.ebuild: + ppc64 stable wrt #356741 + + 05 Mar 2011; Raúl Porcel subversion-1.6.16.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #356741 + + 04 Mar 2011; Christian Faulhammer + subversion-1.6.16.ebuild: + stable x86, bug 356741 + + 04 Mar 2011; Joseph Jezak subversion-1.6.16.ebuild: + Marked ppc stable for bug #356741. + +*subversion-1.6.16 (03 Mar 2011) + + 03 Mar 2011; Arfrever Frehtes Taifersar Arahesis + -subversion-1.6.13.ebuild, +subversion-1.6.16.ebuild: + Version bump (bug #356741). + + 11 Jan 2011; Jeroen Roovers subversion-1.6.15.ebuild: + Stable for HPPA (bug #350166). + + 07 Jan 2011; Kacper Kowalik subversion-1.6.15.ebuild: + ppc/ppc64 stable wrt #350166 + + 06 Jan 2011; Raúl Porcel subversion-1.6.15.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #350166 + + 02 Jan 2011; Pawel Hajdan jr + subversion-1.6.15.ebuild: + x86 stable wrt bug #350166 + + 01 Jan 2011; Markos Chandras subversion-1.6.15.ebuild: + Stable on amd64 wrt bug #350166 + + 26 Dec 2010; Matt Turner subversion-1.6.15.ebuild: + Added ~mips, bug 263337 + +*subversion-1.6.15 (28 Nov 2010) + + 28 Nov 2010; Arfrever Frehtes Taifersar Arahesis + -subversion-1.6.12.ebuild, +subversion-1.6.15.ebuild: + Version bump. + + 09 Oct 2010; Raúl Porcel subversion-1.6.13.ebuild: + arm/ia64/s390/sh/sparc stable wrt #339517 + + 09 Oct 2010; Tobias Klausmann + subversion-1.6.13.ebuild: + Stable on alpha, bug #339517 + + 07 Oct 2010; Jeroen Roovers subversion-1.6.13.ebuild: + Stable for HPPA (bug #339517). + + 06 Oct 2010; Pawel Hajdan jr + subversion-1.6.13.ebuild: + x86 stable wrt security bug #339517 + + 05 Oct 2010; Brent Baude subversion-1.6.13.ebuild: + Marking subversion-1.6.13 ppc64 for bug 339517 + + 05 Oct 2010; Brent Baude subversion-1.6.13.ebuild: + Marking subversion-1.6.13 ppc for bug 339517 + + 03 Oct 2010; Markos Chandras + subversion-1.6.13.ebuild: + Stable on amd64 wrt bug #339517 + +*subversion-1.6.13 (02 Oct 2010) + + 02 Oct 2010; Arfrever Frehtes Taifersar Arahesis + -subversion-1.6.11.ebuild, +subversion-1.6.13.ebuild, -files/vc-svn.el: + Version bump. Delete .la files in Ruby directories (bug #300102). + + 30 Sep 2010; Brent Baude subversion-1.6.12.ebuild: + Marking subversion-1.6.12 ppc64 for bug 325423 + + 18 Sep 2010; Raúl Porcel subversion-1.6.12.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #329795 + + 10 Sep 2010; Arfrever Frehtes Taifersar Arahesis + metadata.xml: + Restore previous maintainer. + + 24 Aug 2010; Markos Chandras + subversion-1.6.12.ebuild: + Stable on amd64 wrt bug #329795 + + 19 Aug 2010; Jeroen Roovers metadata.xml: + Remove arfrever. + + 18 Aug 2010; Markus Meier subversion-1.6.12.ebuild: + arm stable, bug #329795 + + 18 Aug 2010; Jeroen Roovers subversion-1.6.12.ebuild: + Stable for HPPA (bug #329795). + + 05 Aug 2010; Jeroen Roovers subversion-1.6.12.ebuild: + Stable for PPC (bug #329795). + + 26 Jul 2010; Christian Faulhammer + subversion-1.6.12.ebuild: + stable x86, bug 329795 + + 11 Jul 2010; Samuli Suominen + subversion-1.6.11.ebuild: + ppc64 stable wrt #325425 + + 10 Jul 2010; Jeroen Roovers subversion-1.6.11.ebuild: + Stable for HPPA (bug #325425). + + 03 Jul 2010; Raúl Porcel subversion-1.6.11.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #325425 + + 28 Jun 2010; Christian Faulhammer + subversion-1.6.11.ebuild: + stable x86, bug 325425 + + 27 Jun 2010; subversion-1.6.11.ebuild: + ppc stable #325425 + + 27 Jun 2010; Christoph Mende + subversion-1.6.11.ebuild: + Stable on amd64 wrt bug #325425 + +*subversion-1.6.12 (22 Jun 2010) + + 22 Jun 2010; Arfrever Frehtes Taifersar Arahesis + +subversion-1.6.12.ebuild: + Version bump. + + 22 Jun 2010; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.9.ebuild, subversion-1.6.11.ebuild: + net-misc/neon renamed to net-libs/neon. + + 22 Jun 2010; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.9.ebuild, subversion-1.6.11.ebuild, files/svnserve.confd, + -files/svnserve.confd2: + Merge svnserve.confd and svnserve.confd2. + +*subversion-1.6.11 (26 May 2010) + + 26 May 2010; Arfrever Frehtes Taifersar Arahesis + +subversion-1.6.11.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. + + 28 Mar 2010; Raúl Porcel subversion-1.6.9.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #306343 + + 23 Mar 2010; Brent Baude subversion-1.6.9.ebuild: + Marking subversion-1.6.9 ppc for bug 306343 + + 11 Mar 2010; Sebastian Pipping subversion-1.6.6.ebuild, + subversion-1.6.6-r10.ebuild, subversion-1.6.9.ebuild: + Fix homepage (bug #307309) + + 04 Mar 2010; Jeroen Roovers subversion-1.6.9.ebuild: + Stable for HPPA (bug #306343). + + 28 Feb 2010; Pawel Hajdan jr + subversion-1.6.9.ebuild: + x86 stable wrt bug #306343 + + 26 Feb 2010; Brent Baude subversion-1.6.9.ebuild: + Marking subversion-1.6.9 ppc64 for bug 306343 + + 23 Feb 2010; Markos Chandras + subversion-1.6.9.ebuild: + Stable on amd64 wrt bug #306343 + + 24 Jan 2010; Raúl Porcel subversion-1.6.6.ebuild: + ia64/s390/sh/sparc stable wrt #294077 + +*subversion-1.6.9 (23 Jan 2010) + + 23 Jan 2010; Arfrever Frehtes Taifersar Arahesis + +subversion-1.6.9.ebuild: + Version bump. + + 01 Jan 2010; Tobias Klausmann + subversion-1.6.6.ebuild: + Stable on alpha, bug #294077 + + 08 Dec 2009; nixnut subversion-1.6.6.ebuild: + ppc stable #294077 + + 26 Nov 2009; Markus Meier subversion-1.6.6.ebuild: + arm stable, bug #294077 + + 25 Nov 2009; Jeroen Roovers subversion-1.6.6.ebuild: + Stable for HPPA (bug #294077). + + 23 Nov 2009; Markus Meier subversion-1.6.6.ebuild: + amd64/x86 stable, bug #294077 + + 23 Nov 2009; Brent Baude subversion-1.6.6.ebuild: + Marking subversion-1.6.6 ppc64 for bug 294077 + +*subversion-1.6.6-r10 (22 Nov 2009) + + 22 Nov 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.6.ebuild, +subversion-1.6.6-r10.ebuild: + Copy 1.6.6 to 1.6.6-r10 without changes. Disable KDE support in 1.6.6 to + allow earlier stabilization. + + 04 Nov 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.6.ebuild: + Use 'dohtml -r' for compatibility with Doxygen 1.6 (bug #290921). + +*subversion-1.6.6 (24 Oct 2009) + + 24 Oct 2009; Arfrever Frehtes Taifersar Arahesis + -subversion-1.5.6.ebuild, -subversion-1.6.3.ebuild, + -subversion-1.6.3-r10.ebuild, -files/subversion-1.6.3-apache-2.4.patch, + -subversion-1.6.4.ebuild, -files/1.5.0/70svn-gentoo.el, + -subversion-1.6.4-r10.ebuild, -files/1.5.0/80subversion-extras, + +subversion-1.6.6.ebuild, -files/1.5.0/disable-unneeded-linking.patch: + Version bump. + + 08 Oct 2009; Raúl Porcel subversion-1.6.5.ebuild: + ia64/s390/sh/sparc stable wrt #286002 + + 03 Oct 2009; Tobias Klausmann + subversion-1.6.5.ebuild: + Stable on alpha, bug #286002 + + 29 Sep 2009; Markus Meier subversion-1.6.5.ebuild: + arm stable, bug #286002 + + 27 Sep 2009; Markus Meier subversion-1.6.5.ebuild: + amd64/x86 stable, bug #286002 + + 27 Sep 2009; Mounir Lamouri subversion-1.6.5.ebuild: + Stable for ppc. Bug 286002 + + 25 Sep 2009; Brent Baude subversion-1.6.5.ebuild: + Marking subversion-1.6.5 ppc64 for bug 286002 + + 23 Sep 2009; Jeroen Roovers subversion-1.6.5.ebuild: + Stable for HPPA (bug #286002). + +*subversion-1.6.5-r10 (22 Sep 2009) + + 22 Sep 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.5.ebuild, +subversion-1.6.5-r10.ebuild: + Copy 1.6.5 to 1.6.5-r10 without changes. Disable KDE support in 1.6.5 to + allow earlier stabilization. + +*subversion-1.6.5 (22 Aug 2009) + + 22 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +subversion-1.6.5.ebuild: + Version bump. + + 09 Aug 2009; Raúl Porcel subversion-1.6.4.ebuild: + alpha/arm/ia64/sh/sparc stable wrt #280494 + + 09 Aug 2009; nixnut subversion-1.6.4.ebuild: + ppc stable #280494 + + 08 Aug 2009; Brent Baude subversion-1.6.4.ebuild: + Marking subversion-1.6.4 ppc64 for bug 280494 + +*subversion-1.6.4-r10 (06 Aug 2009) +*subversion-1.6.4 (06 Aug 2009) + + 06 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +subversion-1.6.4.ebuild, +subversion-1.6.4-r10.ebuild: + Version bump (bug #280494). + + 05 Aug 2009; Arfrever Frehtes Taifersar Arahesis + -subversion-1.5.5.ebuild, subversion-1.5.6.ebuild, + -subversion-1.6.1.ebuild, + -files/subversion-1.6.1-fix_sqlite_configuration.patch, + -subversion-1.6.2.ebuild, -subversion-1.6.2-r10.ebuild, + -files/subversion-1.6.2-fix_undefined_references.patch: + Remove older ebuilds. Remove most keywords from 1.5.6. + + 28 Jul 2009; Jeroen Roovers subversion-1.6.3.ebuild: + Stable for HPPA (bug #278623). + + 28 Jul 2009; Raúl Porcel subversion-1.6.3.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #278623 + + 27 Jul 2009; Robert Piasek subversion-1.6.3.ebuild: + arm stable (bug #278623) + + 27 Jul 2009; nixnut subversion-1.6.3.ebuild: + ppc stable #278623 + + 26 Jul 2009; Marcus D. Hanwell subversion-1.6.3.ebuild: + Stable on amd64, bug 278623. + + 22 Jul 2009; Christian Faulhammer + subversion-1.6.3.ebuild: + stable x86, bug 278623 + +*subversion-1.6.3-r10 (22 Jul 2009) + + 22 Jul 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.3.ebuild, +subversion-1.6.3-r10.ebuild: + Copy 1.6.3 to 1.6.3-r10 without changes. Disable KDE support in 1.6.3 to + allow earlier stabilization. + + 06 Jul 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.2.ebuild, subversion-1.6.2-r10.ebuild, + subversion-1.6.3.ebuild: + Update dependency on sys-apps/sandbox (bug #271424). Backport some updates + from trunk ebuild. + + 03 Jul 2009; Brent Baude subversion-1.6.2.ebuild: + Marking subversion-1.6.2 ppc64 and ppc for bug 273304 + + 26 Jun 2009; Alexis Ballier subversion-1.6.3.ebuild: + keyword ~x86-fbsd, bug #263337 + +*subversion-1.6.3 (22 Jun 2009) + + 22 Jun 2009; Arfrever Frehtes Taifersar Arahesis + +subversion-1.6.3.ebuild, +files/subversion-1.6.3-apache-2.4.patch, + +files/subversion-1.6.3-kwallet_window.patch: + Version bump. Improve handling of Apache-dependent tests (bug #273442). + + 17 Jun 2009; Raúl Porcel subversion-1.6.2.ebuild: + Really mark stable... + + 16 Jun 2009; Raúl Porcel subversion-1.6.2.ebuild, + subversion-1.6.2-r10.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #273304 + + 11 Jun 2009; Markus Meier subversion-1.6.2.ebuild: + amd64 stable, bug #273304 + + 10 Jun 2009; Christian Faulhammer + subversion-1.6.2.ebuild: + stable x86, bug 273304 + + 09 Jun 2009; Jeroen Roovers subversion-1.6.2.ebuild: + Stable for HPPA (bug #273304). + + 09 Jun 2009; Ferris McCormick subversion-1.6.2.ebuild: + Add back ~sparc in preparation of Bug #273304 (sqlite-3.6.14.2 good again + for sparc). + +*subversion-1.6.2-r10 (09 Jun 2009) + + 09 Jun 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.2.ebuild, +subversion-1.6.2-r10.ebuild: + Copy 1.6.2 to 1.6.2-r10 without changes. Disable KDE support in 1.6.2 to + allow earlier stabilization. + + 26 May 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.5.5.ebuild, subversion-1.5.6.ebuild, subversion-1.6.1.ebuild, + subversion-1.6.2.ebuild: + Call depend.apache_pkg_setup() in pkg_setup() (bug #268371). + + 18 May 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.2.ebuild: + Update some messages and handling of tests. + +*subversion-1.6.2 (12 May 2009) + + 12 May 2009; Arfrever Frehtes Taifersar Arahesis + -subversion-1.6.0-r1.ebuild, -files/subversion-1.6.0-various_fixes.patch, + +subversion-1.6.2.ebuild, + +files/subversion-1.6.2-fix_undefined_references.patch, + +files/subversion-1.6.2-local_library_preloading.patch: + Version bump. + + 03 May 2009; Markus Meier subversion-1.5.6.ebuild: + amd64 stable, bug #267270 + + 26 Apr 2009; Raúl Porcel subversion-1.5.6.ebuild: + alpha/arm/ia64/s390/sh/sparc/x86 stable wrt #267270 + + 24 Apr 2009; Brent Baude subversion-1.5.6.ebuild: + stable ppc, bug 267270 + + 24 Apr 2009; Brent Baude subversion-1.5.6.ebuild: + stable ppc64, bug 267270 + + 24 Apr 2009; Jeroen Roovers subversion-1.5.6: + Stable for HPPA (bug #267270). + + 23 Apr 2009; Raúl Porcel subversion-1.6.1.ebuild: + Add ~ia64 wrt #263337 + + 15 Apr 2009; Arfrever Frehtes Taifersar Arahesis + +files/subversion-1.6.1-fix_sqlite_configuration.patch, + subversion-1.6.1.ebuild: + Fix SQLite configuration (bug #264241). + + 12 Apr 2009; Tobias Klausmann + subversion-1.6.1.ebuild: + Keyworded on alpha, bug #263337 + + 12 Apr 2009; Tobias Klausmann + subversion-1.6.0-r1.ebuild: + Keyworded on alpha, bug #263337 + + 10 Apr 2009; Raúl Porcel subversion-1.6.0-r1.ebuild, + subversion-1.6.1.ebuild: + Add ~arm/~s390/~sh wrt #263337 + +*subversion-1.6.1 (09 Apr 2009) + + 09 Apr 2009; Arfrever Frehtes Taifersar Arahesis + -files/subversion-1.3.1-neon-config.patch, + -files/subversion-1.4.3-debug-config.patch, + -files/subversion-1.4-db4.patch, -files/subversion-1.4.6-neon-0.28.patch, + files/70svn-gentoo.el, -files/subversion-1.1.1-perl-vendor.patch, + -files/subversion-apr_cppflags.patch, + -files/subversion-hotbackup-config.patch, metadata.xml, + -subversion-1.4.6.ebuild, -subversion-1.4.6-r2.ebuild, + -subversion-1.5.4.ebuild, -subversion-1.6.0.ebuild, + +subversion-1.6.1.ebuild: + Version bump. Remove older versions. + + 05 Apr 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.0-r1.ebuild: + Improve error message (bug #264936). + + 04 Apr 2009; Markus Meier subversion-1.6.0-r1.ebuild: + add ~x86, bug #263337 + + 04 Apr 2009; Brent Baude subversion-1.6.0.ebuild, + subversion-1.6.0-r1.ebuild: + Marking subversion-1.6* ~ppc64 for bug 263337 + + 02 Apr 2009; Jeroen Roovers subversion-1.6.0-r1.ebuild: + Marked ~hppa (bug #263337). + + 29 Mar 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.0-r1.ebuild: + Fix undefined references to svn_fs__path_change2_create() (bug #264136). + +*subversion-1.6.0-r1 (28 Mar 2009) + + 28 Mar 2009; Arfrever Frehtes Taifersar Arahesis + files/subversion-1.6.0-various_fixes.patch, +subversion-1.6.0-r1.ebuild: + Fix undefined references to svn_fs_path_change2_create() (bug #263714). + Fix dependencies (bug #263772). Fix segmentation fault when updating old + working copies which don't have UUID recorded. + + 26 Mar 2009; Jeremy Olexa metadata.xml: + fix metadata - missing herd element + + 25 Mar 2009; Joseph Jezak subversion-1.6.0.ebuild: + Marked ~ppc for bug #263337. + + 24 Mar 2009; Benedikt Böhm metadata.xml: + remove myself from metadata.xml + + 23 Mar 2009; Jeroen Roovers subversion-1.6.0.ebuild: + Marked ~hppa (bug #263337). + + 22 Mar 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.0.ebuild: + Don't print messages related to Berkeley DB when USE="-berkdb". + + 22 Mar 2009; Arfrever Frehtes Taifersar Arahesis + subversion-1.6.0.ebuild: + Fix detection of Berkeley DB (bug #263347). + +*subversion-1.6.0 (22 Mar 2009) + + 22 Mar 2009; Arfrever Frehtes Taifersar Arahesis + +files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch, + +files/subversion-1.6.0-various_fixes.patch, metadata.xml, + +subversion-1.6.0.ebuild: + Version bump. Delete .packlist files (bug #221179). + +*subversion-1.5.6 (21 Mar 2009) + + 21 Mar 2009; Arfrever Frehtes Taifersar Arahesis + +subversion-1.5.6.ebuild: + Version bump (bug #260636). + + 06 Mar 2009; Jeroen Roovers subversion-1.5.5.ebuild: + Stable for HPPA (bug #259046). + + 17 Feb 2009; Raúl Porcel subversion-1.5.5.ebuild: + arm/ia64/s390/sh/sparc stable wrt #259046 + + 16 Feb 2009; Brent Baude subversion-1.5.5.ebuild: + stable ppc64, bug 259046 + + 16 Feb 2009; Tobias Klausmann + subversion-1.5.5.ebuild: + Stable on alpha, bug 259046 + + 15 Feb 2009; Brent Baude subversion-1.5.5.ebuild: + stable ppc, bug 259046 + + 15 Feb 2009; Markus Meier subversion-1.5.5.ebuild: + amd64/x86 stable, bug #259046 + +*subversion-1.5.5 (15 Jan 2009) + + 15 Jan 2009; Benedikt Böhm -subversion-1.5.2.ebuild, + +subversion-1.5.5.ebuild: + version bump wrt #252211 + + 25 Nov 2008; Raúl Porcel subversion-1.5.4.ebuild: + alpha/arm/ia64 stable wrt #247072 + + 22 Nov 2008; Markus Meier subversion-1.5.4.ebuild: + amd64/x86 stable, bug #247072 + + 21 Nov 2008; Ferris McCormick subversion-1.5.4.ebuild: + Sparc stable --- Bug #247072 --- looks good to me. + + 21 Nov 2008; Jeroen Roovers subversion-1.5.4.ebuild: + Stable for HPPA (bug #247072). + + 20 Nov 2008; Tobias Scherbaum + subversion-1.5.4.ebuild: + ppc stable, bug #247072 + + 20 Nov 2008; Brent Baude subversion-1.5.4.ebuild: + stable ppc64, bug 247072 + + 16 Nov 2008; Benedikt Böhm -subversion-1.4.5.ebuild, + -subversion-1.5.1.ebuild, subversion-1.5.4.ebuild: + fix #238347; cleanup + + 12 Nov 2008; Peter Volkov subversion-1.5.4.ebuild: + ~mips keyword back, bug #212056. + + 04 Nov 2008; Mike Frysinger subversion-1.5.1.ebuild, + subversion-1.5.2.ebuild, subversion-1.5.4.ebuild: + Add back arm/s390/sh keywords. + + 01 Nov 2008; Jose Luis Rivero + subversion-1.5.2.ebuild: + alpha stable wrt bug #241584 + +*subversion-1.5.4 (25 Oct 2008) + + 25 Oct 2008; Benedikt Böhm + -files/1.5.0/http-library.patch, -subversion-1.5.0.ebuild, + +subversion-1.5.4.ebuild: + version bump wrt #241398, fixes emacs support wrt #237528 + + 18 Oct 2008; Raúl Porcel subversion-1.5.2.ebuild: + ia64 stable wrt #241584 + + 16 Oct 2008; Markus Meier subversion-1.5.2.ebuild: + x86 stable, bug #241584 + + 15 Oct 2008; Jeroen Roovers subversion-1.5.2.ebuild: + Stable for HPPA (bug #241584). + + 15 Oct 2008; Friedrich Oslage + subversion-1.5.2.ebuild: + Stable on sparc, bug #241584 + + 14 Oct 2008; Thomas Anderson + subversion-1.5.2.ebuild: + stable amd64, bug 241584 + + 14 Oct 2008; Brent Baude subversion-1.5.2.ebuild: + stable ppc, bug 241584 + + 14 Oct 2008; Brent Baude subversion-1.5.2.ebuild: + stable ppc64, bug 241584 + +*subversion-1.5.2 (21 Sep 2008) + + 21 Sep 2008; Ben de Groot +subversion-1.5.2.ebuild: + Version bump, using patch from bug 236223. + + 10 Sep 2008; Jeroen Roovers subversion-1.5.1.ebuild: + Stable for HPPA (bug #236131). + + 07 Sep 2008; Raúl Porcel subversion-1.5.1.ebuild: + ia64 stable wrt #236131 + + 07 Sep 2008; Markus Meier subversion-1.5.1.ebuild: + amd64/x86 stable, bug #236131 + + 06 Sep 2008; Jose Luis Rivero + subversion-1.5.1.ebuild: + Stable on alpha wrt bug #236131 + + 06 Sep 2008; Friedrich Oslage + subversion-1.5.1.ebuild: + Stable on sparc, bug #236131 + + 04 Sep 2008; Brent Baude subversion-1.5.1.ebuild: + stable ppc64, bug 236131 + + 04 Sep 2008; Brent Baude subversion-1.5.1.ebuild: + stable ppc, bug 236131 + + 30 Aug 2008; Jorge Manuel B. S. Vicetto + subversion-1.5.1.ebuild: + Improved sed used on previous commit. + + 30 Aug 2008; Jorge Manuel B. S. Vicetto + subversion-1.5.1.ebuild: + Added a small fix to subversion-1.5.1 as requested by Arfrever Frehtes + Taifersar Arahesis to support Neon 0.28.3. This + has been commited on + https://svn.collab.net/viewvc/svn?view=rev&revision=32596 and will be part + of subversion-1.5.2. + +*subversion-1.5.1 (31 Jul 2008) + + 31 Jul 2008; Benedikt Böhm + -subversion-1.5.0_rc9.ebuild, -subversion-1.5.0_rc9-r1.ebuild, + +subversion-1.5.1.ebuild: + version bump wrt #233002 + +*subversion-1.5.0 (21 Jun 2008) + + 21 Jun 2008; Benedikt Böhm +subversion-1.5.0.ebuild: + version bump wrt #228653 + +*subversion-1.5.0_rc9-r1 (16 Jun 2008) + + 16 Jun 2008; Benedikt Böhm + +files/1.5.0/http-library.patch, +subversion-1.5.0_rc9-r1.ebuild: + fix #226577 again, fix #221931 + + 15 Jun 2008; Benedikt Böhm + -subversion-1.5.0_rc5.ebuild, subversion-1.5.0_rc9.ebuild: + fix #226577 + + 14 Jun 2008; nixnut subversion-1.5.0_rc9.ebuild: + Added ~ppc + +*subversion-1.5.0_rc9 (11 Jun 2008) + + 11 Jun 2008; Benedikt Böhm + +subversion-1.5.0_rc9.ebuild: + version bump wrt #224751 + + 07 Jun 2008; Alexis Ballier + subversion-1.5.0_rc5.ebuild: + keyword ~sparc-fbsd + + 07 Jun 2008; Alexis Ballier + subversion-1.5.0_rc5.ebuild: + keyword ~x86-fbsd + + 01 Jun 2008; Benedikt Böhm metadata.xml, + subversion-1.4.5.ebuild, subversion-1.4.6.ebuild, + subversion-1.4.6-r2.ebuild, -subversion-1.5.0_rc4.ebuild, + subversion-1.5.0_rc5.ebuild: + fix #221673 + + 20 May 2008; Ferris McCormick + subversion-1.5.0_rc5.ebuild: + Restore ~sparc keyword, Bug #219882. + + 17 May 2008; Jeroen Roovers subversion-1.5.0_rc5.ebuild: + Marked ~hppa (bug #219882). + + 12 May 2008; Raúl Porcel + subversion-1.5.0_rc5.ebuild: + Readd ~alpha/~ia64 wrt #219882 + + 11 May 2008; Markus Rothe + subversion-1.5.0_rc5.ebuild: + Added ~ppc64; bug #219882 + +*subversion-1.5.0_rc5 (07 May 2008) + + 07 May 2008; Benedikt Böhm + +subversion-1.5.0_rc5.ebuild: + version bump wrt #220793 + + 01 May 2008; Benedikt Böhm + subversion-1.5.0_rc4.ebuild: + serf and neon can be used at the same time; fix libtool 2.2 support + + 01 May 2008; Benedikt Böhm + subversion-1.5.0_rc4.ebuild: + do not inherit subversion + +*subversion-1.5.0_rc4 (30 Apr 2008) + + 30 Apr 2008; Benedikt Böhm + +files/1.5.0/70svn-gentoo.el, +files/1.5.0/80subversion-extras, + +files/1.5.0/disable-unneeded-linking.patch, +subversion-1.5.0_rc4.ebuild: + version bump wrt #219395 + + 13 Apr 2008; Benedikt Böhm subversion-1.4.5.ebuild, + subversion-1.4.6.ebuild, subversion-1.4.6-r2.ebuild: + fix neon DEPEND and sed + + 10 Apr 2008; Benedikt Böhm subversion-1.4.6.ebuild, + -subversion-1.4.6-r1.ebuild, subversion-1.4.6-r2.ebuild: + fix #216992 + +*subversion-1.4.6-r2 (22 Mar 2008) + + 22 Mar 2008; Benedikt Böhm + files/subversion-1.1.1-perl-vendor.patch, + files/subversion-1.4.6-neon-0.28.patch, files/subversion-1.4-db4.patch, + files/subversion-1.4.3-debug-config.patch, + files/subversion-apr_cppflags.patch, + files/subversion-hotbackup-config.patch, +subversion-1.4.6-r2.ebuild: + add neon-0.28.1 support wrt #210535; refresh patches + +*subversion-1.4.6-r1 (02 Mar 2008) + + 02 Mar 2008; Benedikt Böhm + +files/subversion-1.4.6-neon-0.28.patch, +subversion-1.4.6-r1.ebuild: + add support for neon 0.28.0 wrt #210535 + + 17 Feb 2008; Christoph Mende subversion-1.4.6.ebuild: + Stable on amd64, bug #207572 + + 29 Jan 2008; Jeroen Roovers subversion-1.4.6.ebuild: + Stable for HPPA (bug #207572). + + 29 Jan 2008; Benedikt Böhm subversion-1.4.5.ebuild, + subversion-1.4.6.ebuild: + fix depend.apache usage wrt #208033 + + 28 Jan 2008; Raúl Porcel subversion-1.4.6.ebuild: + alpha/ia64/sparc/x86 stable wrt #207572 + + 28 Jan 2008; Brent Baude subversion-1.4.6.ebuild: + Marking subversion-1.4.6 ppc and ppc64 for bug 207572 + + 27 Jan 2008; Benedikt Böhm subversion-1.4.5.ebuild, + subversion-1.4.6.ebuild: + remove obsolete apr_config/apu_config + + 27 Jan 2008; Benedikt Böhm + -files/subversion-1.3.1-neon-0.26.patch, -files/subversion-db4.patch, + -subversion-1.3.2-r3.ebuild, subversion-1.4.5.ebuild, + subversion-1.4.6.ebuild: + remove subversion-1.3.2-r3 wrt #203578 + + 15 Jan 2008; Benedikt Böhm subversion-1.4.6.ebuild: + fix #205807 + + 28 Dec 2007; Benedikt Böhm subversion-1.4.6.ebuild: + fix #203564 + +*subversion-1.4.6 (28 Dec 2007) + + 28 Dec 2007; Benedikt Böhm + -files/subversion-1.3.2-neon-0.26.patch, + -files/subversion-1.4.3-neon-0.26.3.patch, metadata.xml, + -subversion-1.3.2-r4.ebuild, -subversion-1.4.4-r4.ebuild, + +subversion-1.4.6.ebuild: + version bump (fixes #128624, #203257 and maybe #199639, #200082); cleanup + + 14 Nov 2007; Chris Gianelloni + subversion-1.4.5.ebuild: + Stable on amd64 wrt bug #198590. + + 13 Nov 2007; Tobias Scherbaum + subversion-1.4.5.ebuild: + ppc stable, bug #198590 + + 12 Nov 2007; Markus Rothe subversion-1.4.5.ebuild: + Stable on ppc64; bug #198590 + + 12 Nov 2007; Jeroen Roovers subversion-1.4.5.ebuild: + Stable for HPPA (bug #198590). + + 11 Nov 2007; Raúl Porcel subversion-1.4.5.ebuild: + alpha/ia64 stable wrt security #198590 + + 11 Nov 2007; Markus Ullmann subversion-1.4.5.ebuild: + SPARC'enstein + + 11 Nov 2007; Dawid Węgliński subversion-1.4.5.ebuild: + Stable on x86 (bug #198590) + +*subversion-1.4.5 (10 Nov 2007) + + 10 Nov 2007; Benedikt Böhm + -files/subversion-swig.m4-ruby.patch, -subversion-1.1.3.ebuild, + -subversion-1.2.3-r3.ebuild, -subversion-1.4.4-r3.ebuild, + +subversion-1.4.5.ebuild: + version bump; fixes #84539, #168348, #179139, #188897, #194833 + + 26 Sep 2007; Caleb Tennis subversion-1.4.4-r4.ebuild: + Fix perl dep to be more...up to date + + 09 Sep 2007; Benedikt Böhm + subversion-1.4.4-r4.ebuild: + fix small typo + +*subversion-1.4.4-r4 (08 Sep 2007) + + 08 Sep 2007; Benedikt Böhm + +subversion-1.4.4-r4.ebuild: + fix #84887, #111507, #122877, #126725, #138321, #151576, #168256, #174442, + #188849, #191606 + + 05 Sep 2007; subversion-1.1.3.ebuild, + subversion-1.2.3-r3.ebuild, subversion-1.3.2-r3.ebuild, + subversion-1.3.2-r4.ebuild, subversion-1.4.4-r3.ebuild: + Fix the license variable to reflect the actual license. Fixes bug #187404. + + 29 Jul 2007; Christian Heim subversion-1.1.3.ebuild, + subversion-1.3.2-r4.ebuild, subversion-1.4.4-r3.ebuild: + Fixing the DEPEND/RDEPEND for the move of net-www/apache to + www-servers/apache (#78622). + +*subversion-1.4.4-r3 (15 Jul 2007) + + 15 Jul 2007; Ulrich Mueller -subversion-1.4.4-r2.ebuild, + +subversion-1.4.4-r3.ebuild: + Fix regression of bug #158891, see entry from 03 Mar 2007. + + 27 Jun 2007; Lars Weiler subversion-1.3.2-r4.ebuild: + Stable on ppc; bug #178264. + + 27 Jun 2007; Jeroen Roovers subversion-1.3.2-r4.ebuild: + Stable for HPPA (bug #178264). + + 22 Jun 2007; Luca Longinotti + subversion-1.3.2-r4.ebuild, subversion-1.4.4-r2.ebuild: + Improve apr-suffix check, thanks to Axel Dyks. + +*subversion-1.4.4-r2 (22 Jun 2007) + + 22 Jun 2007; Luca Longinotti + -files/subversion-apr-version.patch, -files/subversion-neon-config.patch, + -subversion-1.4.4-r1.ebuild, +subversion-1.4.4-r2.ebuild: + Sync changes to 1.4.4 ebuild, fixes bug #182870. + + 22 Jun 2007; Luca Longinotti + subversion-1.3.2-r4.ebuild, -subversion-1.4.3.ebuild, + -subversion-1.4.3-r1.ebuild, -subversion-1.4.4.ebuild: + Fix bug #182453 (should be again Apache-2.0 compatible), cleanup ebuild. + +*subversion-1.4.4-r1 (17 Jun 2007) + + 17 Jun 2007; Christian Heim + +subversion-1.4.4-r1.ebuild: + Fix the usage of /usr/bin/apr-${apr_suffix}-config --cppflags in src_compile + (thanks to Arfrever Frehtes Taifersar Arahesis + in #182168). + + 17 Jun 2007; Christian Heim subversion-1.4.4.ebuild: + Adding apr_suffix to the apr-config call in src_compile, as apr-config is in + fact called apr-1-config w/ apr-1.2.8. + + 15 Jun 2007; Raúl Porcel subversion-1.3.2-r4.ebuild: + alpha/ia64/x86 stable wrt #178264 + + 15 Jun 2007; Christian Heim + subversion-1.4.3-r1.ebuild, subversion-1.4.4.ebuild: + Fixing the usage of ${ROOT}'ed apr/apr-util in src_compile. + + 15 Jun 2007; Christian Heim + subversion-1.4.3-r1.ebuild, subversion-1.4.4.ebuild: + Cleaning out the bytecompiled python modules on postrm (#177536, thanks to + Jakub). + + 14 Jun 2007; Christoph Mende + subversion-1.3.2-r4.ebuild: + Stable on amd64 wrt bug 178264 + +*subversion-1.4.4 (14 Jun 2007) + + 14 Jun 2007; Christian Heim +subversion-1.4.4.ebuild: + Version bump (fixing #181838 - thanks to Timothy Stotts ). Subversion 1.4.4 is merly a bugfix release, for a detailed + list see http://svn.collab.net/repos/svn/tags/1.4.4/CHANGES. + + 13 Jun 2007; Gustavo Zacarias + subversion-1.3.2-r4.ebuild: + Stable on sparc wrt #178264 + + 09 Jun 2007; Markus Rothe subversion-1.3.2-r4.ebuild: + Stable on ppc64; bug #178264 + +*subversion-1.4.3-r1 (15 May 2007) +*subversion-1.3.2-r4 (15 May 2007) + + 15 May 2007; Carsten Lohrke + +files/subversion-1.3.2-neon-0.26.patch, + +files/subversion-1.4.3-neon-0.26.3.patch, subversion-1.3.2-r3.ebuild, + +subversion-1.3.2-r4.ebuild, +subversion-1.4.3-r1.ebuild: + Deal with bug 167522 and configure with neon 0.26.3. + + 08 May 2007; Christian Heim metadata.xml, + subversion-1.3.2-r3.ebuild: + Don't DEPEND/RDEPEND on apr-0.9* as subversion-1.3.2 works perfectly fine w/ + apr-1. Also add apache as backup herd for subversion. + + 28 Apr 2007; Torsten Veller subversion-1.1.3.ebuild, + subversion-1.2.3-r3.ebuild, subversion-1.3.2-r3.ebuild, + subversion-1.4.3.ebuild: + Fix *initd, *confd and *envd calls (#173884, #174266) + + 17 Apr 2007; Christian Faulhammer + files/70svn-gentoo.el: + changed Emacs support from mandatory loading to autoload, Emacs starts up + faster that way. Fixes bug 174471 + + 22 Mar 2007; Paul de Vrieze subversion-1.1.3.ebuild, + subversion-1.2.3-r3.ebuild, subversion-1.3.2-r3.ebuild, + subversion-1.4.3.ebuild: + Use category with best_version. (bug #152746) + + 18 Mar 2007; Paul de Vrieze subversion-1.4.3.ebuild: + Fix a stupid bug from the apache2.2 detection from bug #152746 + + 07 Mar 2007; Christian Faulhammer + subversion-1.4.3.ebuild: + straightened update of Emacs files in pkg_postinstall + + 05 Mar 2007; Marius Mauch subversion-1.1.3.ebuild, + subversion-1.2.3-r3.ebuild, subversion-1.3.2-r3.ebuild, + subversion-1.4.3.ebuild: + Replacing einfo with elog + + 03 Mar 2007; Paul de Vrieze subversion-1.4.3.ebuild: + Fix bug #108777 by preferring the apr version apache was linked against. + When apache2 support is not needed, prefer the 1.x apr(-util). This is + largely based on the patches by Brian Tarricone and + Georgi Georgiev . + + 03 Mar 2007; Paul de Vrieze files/70svn-gentoo.el, + subversion-1.4.3.ebuild: + Fix the emacs binding to work with newer emacs versions that don't need the + packed vc-svn library, but use their own (newer) one instead. This fixes bug + #158891. Thanks to Ulrich Mueller for providing this + solution. + + 02 Mar 2007; Paul de Vrieze -subversion-1.2.3.ebuild, + -subversion-1.2.3-r2.ebuild, -subversion-1.3.0.ebuild, + -subversion-1.3.1.ebuild, -subversion-1.3.2.ebuild, + -subversion-1.3.2-r1.ebuild, -subversion-1.4.0.ebuild, + -subversion-1.4.2.ebuild: + Remove lots of old ebuilds + + 27 Feb 2007; Paul de Vrieze + +files/subversion-1.4.3-debug-config.patch, subversion-1.4.3.ebuild: + Remove CFLAG munging from the configure script. + + 28 Jan 2007; Luca Longinotti + subversion-1.2.3-r2.ebuild, subversion-1.2.3-r3.ebuild, + subversion-1.3.0.ebuild, subversion-1.3.1.ebuild, subversion-1.3.2.ebuild, + subversion-1.3.2-r1.ebuild, subversion-1.3.2-r3.ebuild, + subversion-1.4.0.ebuild, subversion-1.4.2.ebuild: + Fix apr deps. + + 23 Nov 2006; Fabian Groffen + subversion-1.2.3-r2.ebuild, subversion-1.2.3-r3.ebuild, + subversion-1.3.0.ebuild, subversion-1.3.1.ebuild, subversion-1.3.2.ebuild, + subversion-1.3.2-r1.ebuild, subversion-1.3.2-r3.ebuild, + subversion-1.4.0.ebuild, subversion-1.4.2.ebuild: + Dropped ppc-macos keyword, see you in prefix + +*subversion-1.4.2 (14 Nov 2006) + + 14 Nov 2006; Paul de Vrieze +files/svnserve.confd2, + +subversion-1.4.2.ebuild: + New upstream version. Also no longer assume the apache user exists in the + config function. Thanks to Olivier Rolland and Yuval + Yaari for the bug (#123802) + + 20 Oct 2006; Bryan Østergaard + subversion-1.3.2-r3.ebuild: + Stable on Alpha. + + 18 Oct 2006; Roy Marples subversion-1.4.0.ebuild: + Added ~sparc-fbsd keyword. + + 16 Oct 2006; Jason Wever subversion-1.3.2-r3.ebuild: + Stable on SPARC. + + 15 Oct 2006; Tobias Scherbaum + subversion-1.3.2-r3.ebuild: + ppc stable. bug #147254 + + 15 Oct 2006; Tobias Scherbaum + subversion-1.3.2-r3.ebuild: + hppa stable + + 14 Oct 2006; Joshua Nichols + subversion-1.3.2-r3.ebuild: + Stabilizing on amd64 as part of new Java system, bug #147254. + + 14 Oct 2006; Joshua Nichols + subversion-1.3.2-r3.ebuild: + Stabilizing on ppc64 as part of new Java system, bug #147254. + + 14 Oct 2006; Joshua Jackson + subversion-1.3.2-r3.ebuild: + New java stable on x86; bug #147254 + + 01 Oct 2006; Guy Martin subversion-1.3.2-r1.ebuild: + Stable on hppa. + + 12 Sep 2006; Bryan Østergaard + subversion-1.4.0.ebuild: + Revert ia64 keyword back to ~ia64, bug 147268. + + 12 Sep 2006; Joshua Kinard subversion-1.4.0.ebuild: + Placed 1.4.0 into mips unstable. Bug #147268. + +*subversion-1.4.0 (08 Sep 2006) + + 08 Sep 2006; Paul de Vrieze + +files/subversion-1.4-db4.patch, +subversion-1.4.0.ebuild: + A new upstream major version. This version introduces a number of big changes. + The most significant is that there is a new working copy format that is + transparently updated. It can however not transparently downgrade! + + 03 Sep 2006; Joshua Kinard subversion-1.3.2-r3.ebuild: + Marked stable on mips. + + 30 Jul 2006; Daniel Gryniewicz + subversion-1.3.2-r1.ebuild: + Marked stable on amd64 for bug #139507 + + 28 Jul 2006; Paul de Vrieze + subversion-1.3.2-r3.ebuild: + Fix building of java code with 1.5 jdk. Thanks to caster@matfyz.cz in bug + #141988 + + 25 Jul 2006; Thomas Cort subversion-1.3.2-r1.ebuild: + Stable on alpha wrt Bug #139507. + +*subversion-1.3.2-r3 (24 Jul 2006) + + 24 Jul 2006; Joshua Nichols + +subversion-1.3.2-r3.ebuild: + Revision bump to use new Java system. Resolves bugs #141465 and #99245. + + 23 Jul 2006; Akinori Hattori + subversion-1.3.2-r1.ebuild: + x86 stable, bug #139507 + + 23 Jul 2006; Tobias Scherbaum + subversion-1.3.2-r1.ebuild: + ppc stable, bug #139507 + + 20 Jul 2006; Markus Rothe subversion-1.3.2-r1.ebuild: + Stable on ppc64; bug #139507 + + 13 Jul 2006; Aron Griffis + subversion-1.3.2-r1.ebuild: + Mark 1.3.2-r1 stable on ia64. #139507 + + 10 Jul 2006; Gustavo Zacarias + subversion-1.3.2-r1.ebuild: + Stable on sparc wrt #139507 + +*subversion-1.3.2-r1 (05 Jul 2006) + + 05 Jul 2006; Steve Arnold + +files/subversion-1.3.1-neon-0.26.patch, +subversion-1.3.2-r1.ebuild: + Added support for newer versions of neon (required for rapidsvn), see bugs + #131221 and #137563. This syncs up the versions of neon between svn and + rapidsvn (and they should stay that way). + + 03 Jul 2006; Simon Stelling subversion-1.3.1.ebuild: + stable on amd64 + + 28 Jun 2006; Gustavo Zacarias + subversion-1.3.1.ebuild: + Stable on sparc wrt #138372 + + 24 Jun 2006; Michael Cummings + subversion-1.1.3.ebuild, subversion-1.2.3.ebuild, + subversion-1.2.3-r2.ebuild, subversion-1.2.3-r3.ebuild, + subversion-1.3.0.ebuild, subversion-1.3.1.ebuild, subversion-1.3.2.ebuild: + Removing perl-core/ExtUtils-MakeMaker + + 10 Jun 2006; Michael Hanselmann + subversion-1.3.1.ebuild: + Stable on ppc. + + 09 Jun 2006; Markus Rothe subversion-1.3.1.ebuild: + Stable on ppc64 + +*subversion-1.3.2 (05 Jun 2006) + + 05 Jun 2006; Paul de Vrieze +subversion-1.3.2.ebuild: + New upstream version + + 04 Jun 2006; Paul de Vrieze subversion-1.3.1.ebuild: + Mark stable + + 18 Apr 2006; Paul de Vrieze + +files/subversion-apr-version.patch, subversion-1.3.1.ebuild: + Add a patch extracted from the subversion repository to enable newer apr + versions. Fixes bug #130306. + + 17 Apr 2006; Paul de Vrieze + +files/subversion-apr_cppflags.patch, subversion-1.3.1.ebuild: + Fix the compilation of the perl bindings with newer apr. Thanks to R.May + in bug #123222 for the patch. + +*subversion-1.3.1 (05 Apr 2006) + + 05 Apr 2006; + +files/subversion-1.3.1-neon-config.patch, +subversion-1.3.1.ebuild: + New upstream version that resolves some issues. + + 30 Mar 2006; Diego Pettenò + subversion-1.3.0.ebuild: + Add ~x86-fbsd keyword. + + 20 Mar 2006; subversion-1.3.0.ebuild: + Make the ebuild respect LDFLAGS (bug #126964) thanks to flameeyes. + + 16 Mar 2006; Paul de Vrieze subversion-1.1.3.ebuild, + subversion-1.2.3.ebuild, subversion-1.2.3-r2.ebuild, + subversion-1.2.3-r3.ebuild, subversion-1.3.0.ebuild: + Suggest the use of emerge --config instead of ebuild config. Thanks Mike + Williams in bug #114668. + + 10 Mar 2006; Paul de Vrieze + files/subversion-neon-config.patch: + Fix the patch such that configure doesn't fail when neon wasn't requested + (bug #125570) + + 21 Feb 2006; Paul de Vrieze + +files/subversion-neon-config.patch, subversion-1.3.0.ebuild: + Make subversion work with the newer neon. + + 21 Feb 2006; Paul de Vrieze + +files/subversion-neon-config.patch, subversion-1.3.0.ebuild: + Add a patch to the configure script to have subversion fail if the neon + library version is not supported, while requested. + + 20 Feb 2006; Markus Rothe subversion-1.2.3-r3.ebuild: + Stable on ppc64 + + 06 Feb 2006; Aron Griffis + subversion-1.2.3-r3.ebuild: + Mark 1.2.3-r3 stable on alpha + + 04 Feb 2006; Aron Griffis + subversion-1.2.3-r3.ebuild: + Mark 1.2.3-r3 stable on ia64 + + 27 Jan 2006; Paul de Vrieze subversion-1.1.3.ebuild, + subversion-1.2.3.ebuild, -subversion-1.2.3-r1.ebuild, + subversion-1.2.3-r2.ebuild, subversion-1.2.3-r3.ebuild, + -subversion-1.3.0_rc4.ebuild, subversion-1.3.0.ebuild: + Remove some old stale versions, and add blockers to + perl-core/ExtUtils-MakeMaker. This package is often broken and causes insecure + runpaths. Fixes bug #105054. + +*subversion-1.3.0 (03 Jan 2006) + + 03 Jan 2006; Paul de Vrieze +subversion-1.3.0.ebuild: + New upstream version. Note that it no longer includes the book. + + 01 Jan 2006; Paul de Vrieze + subversion-1.3.0_rc4.ebuild: + The book is not present in the release candidate (bug #117321). Comment it out. + + 16 Dec 2005; Diego Pettenò + subversion-1.3.0_rc4.ebuild: + Move elibtoolize at the end of src_unpack so that it's called with the final + autotools support. See bug #106176. + + 08 Dec 2005; Rene Nussbaumer + subversion-1.2.3-r3.ebuild: + Stable on hppa. + + 08 Dec 2005; Paul de Vrieze + subversion-1.2.3-r3.ebuild, subversion-1.3.0_rc4.ebuild: + Tighten the ruby dependencies. Unstabilize 1.2.3-r3 as its ruby bindings + depend on an unstable version of swig. + + 07 Dec 2005; subversion-1.2.3-r3.ebuild, + subversion-1.3.0_rc4.ebuild: + As makemaker has been fixed, the blocking is no longer needed. Removing + it. + + 06 Dec 2005; Paul de Vrieze + subversion-1.2.3-r3.ebuild, subversion-1.3.0_rc4.ebuild: + Block extutils-makemaker as it has security vulnerabilities and isn't needed + with newer perl versions. Also mark 1.2.3-r3 stable as it hasn't had bugs for some + while. + +*subversion-1.3.0_rc4 (01 Dec 2005) + + 01 Dec 2005; +subversion-1.3.0_rc4.ebuild: + Add release candidate to the tree. According to upstream this version + is be stable enough for production use. + + 25 Oct 2005; subversion-1.2.3-r3.ebuild: + Fix dep to depend on newer swig version. + + 24 Oct 2005; subversion-1.2.3-r3.ebuild: + Fix the runtime dependency on the jdk to only be a jre dependency. Bug + #110322 + + 21 Oct 2005; subversion-1.2.3-r3.ebuild: + Add support for ruby bindings. Courtessy of Tom Payne + in bug #102543. + +*subversion-1.2.3-r3 (17 Oct 2005) + + 17 Oct 2005; +files/subversion-hotbackup-config.patch, + +subversion-1.2.3-r3.ebuild: + Make hot-backup backup number configurable. Virtue of Urs Joss in bug + #98099 + +*subversion-1.2.3-r2 (14 Oct 2005) + + 14 Oct 2005; Paul de Vrieze subversion-1.2.3-r2.ebuild: + Security bump to force a perl version that has secure RUNPATH's (bug #105054) + + 10 Oct 2005; Danny van Dyk + subversion-1.2.3-r1.ebuild: + Marked ~ppc-macos. + + 07 Oct 2005; Gustavo Zacarias + subversion-1.2.3-r1.ebuild: + Stable on sparc + + 04 Oct 2005; subversion-1.1.3.ebuild, + subversion-1.2.3-r1.ebuild, subversion-1.2.3.ebuild: + Try to fix bug #106443 to make the ebuild work on bsd. + + 02 Oct 2005; Aron Griffis + subversion-1.2.3-r1.ebuild: + Mark 1.2.3-r1 stable on ia64 + + 29 Sep 2005; Fernando J. Pereda + subversion-1.2.3-r1.ebuild: + stable on alpha + + 26 Sep 2005; -subversion-1.0.9.ebuild, + -subversion-1.1.1-r3.ebuild, -subversion-1.1.3-r1.ebuild, + -subversion-1.1.4-r1.ebuild, -subversion-1.1.4.ebuild, + -subversion-1.2.0.ebuild, -subversion-1.2.1.ebuild: + Clean out many old versions + + 19 Sep 2005; Marcus D. Hanwell + subversion-1.2.3-r1.ebuild: + Stable on amd64. + + 19 Sep 2005; Michael Hanselmann + subversion-1.2.3-r1.ebuild: + Stable on hppa and ppc. + + 19 Sep 2005; Markus Rothe subversion-1.2.3-r1.ebuild: + Stable on ppc64 (bug #106421) + + 17 Sep 2005; Aron Griffis subversion-1.2.3.ebuild: + Mark 1.2.3 stable on ia64 + + 14 Sep 2005; Aaron Walker subversion-1.2.3.ebuild: + 1.2.3 stable on mips. + + 12 Sep 2005; Michael Hanselmann + subversion-1.2.3.ebuild: + Stable on ppc. + + 12 Sep 2005; Paul de Vrieze subversion-1.2.3.ebuild, + subversion-1.2.3-r1: + Restrict the neon dependency + + 07 Sep 2005; Gustavo Zacarias + subversion-1.2.3.ebuild: + Stable on sparc + + 06 Sep 2005; Markus Rothe subversion-1.2.3.ebuild: + Stable on ppc64 + + 31 Aug 2005; Paul de Vrieze subversion-1.2.3.ebuild, + subversion-1.2.3-r1.ebuild: + Fix the ebuild to use `get_libdir` instead of lib. Thanks to seemant in bug + #104154 + +*subversion-1.2.3-r1 (27 Aug 2005) +*subversion-1.2.3 (27 Aug 2005) + + 27 Aug 2005; Paul de Vrieze +subversion-1.2.3.ebuild, + +subversion-1.2.3-r1.ebuild: + New upstream versions. The one that works with unstable apache is -r1. The + 1.2.3 version (masked because still untested) should work with the stable + apache versions. As stable and unstable apache are incompatible the two + ebuilds are released simultaneously. + + 25 Aug 2005; files/svnserve.initd: + Fix the init script to change its working directory to the root to + prevent unmounting and hook script problems. See bug #97926 + + 25 Aug 2005; subversion-1.1.3.ebuild, + subversion-1.2.1.ebuild: + Fix the pkg_postinst message to suggest a more secure setup for ssh+svn + such that user permissions are not overly free and membership of the + apache group is not needed. (bug #94718) + + 25 Aug 2005; files/svnserve.xinetd, + subversion-1.2.1.ebuild: + Fix the svnserve xinet.d script (see bug #82262) + + 25 Aug 2005; subversion-1.2.1.ebuild: + Make the subversion book be installed again. Thanks to Axel + Dyks in bug #103576. + + 29 Jul 2005; Aaron Walker subversion-1.1.3.ebuild, + subversion-1.2.1.ebuild: + Added ~mips. + +*subversion-1.2.1 (08 Jul 2005) + + 08 Jul 2005; Paul de Vrieze +subversion-1.2.1.ebuild: + New upstream version + + 23 Jun 2005; Sven Wegener subversion-1.2.0.ebuild: + Correctly check for the perl USE flag before calling perl-module_pkg_postrm. + + 23 Jun 2005; Fernando J. Pereda + subversion-1.1.3.ebuild: + stable on alpha + + 27 May 2005; +files/vc-svn.el, + -files/vc-svn.el.20050527, subversion-1.2.0.ebuild: + Use the vc-svn.el from the 1.1.4 version of subversion. The new one + doesn't work with current emacs. + + 27 May 2005; +files/vc-svn.el.20050527, + subversion-1.2.0.ebuild: + Fix the problem that vc-svn.el has been changed to a canned error + message pointing to the proper location to get it. + +*subversion-1.2.0 (25 May 2005) + + 25 May 2005; +subversion-1.2.0.ebuild: + New upstream version, and some dependency updates. Also make zlib use + really optional and add it as dependency. + +*subversion-1.1.4-r1 (20 May 2005) + + 20 May 2005; +subversion-1.1.4-r1.ebuild: + Try to fix perl file collisions #82648 + + 12 May 2005; Elfyn McBratney subversion-1.1.3.ebuild: + Update *DEPEND. + + 05 May 2005; Sven Wegener subversion-1.0.9.ebuild, + subversion-1.1.1-r3.ebuild, subversion-1.1.3.ebuild: + Removed '*' postfix from <, <=, >= and > dependencies. + + 05 May 2005; Paul de Vrieze subversion-1.1.4.ebuild: + Try to fix #88651 by making the location of modules in the config file + consistent and derived from the depend.apache eclass. + + 21 Apr 2005; Michael Hanselmann + subversion-1.1.3.ebuild: + Stable on ppc. + + 21 Apr 2005; subversion-1.1.4.ebuild: + Change the swig dependency to include newer swig versions, as subversion + can compile against them now. + + 15 Apr 2005; Paul de Vrieze + -files/subversion-1.1.2-perl.patch, subversion-1.1.3.ebuild: + Block the apache versions that have split apr/apu out. + + 13 Apr 2005; -subversion-1.1.4-r1.ebuild, + subversion-1.1.4.ebuild: + Revert trapni's broken changes and change the webdav useflag into a + nowebdav useflag. As the default behaviour is not changed, the change is + incorporated in the normal 1.1.4 ebuild and the 1.1.4-r1 version has + been removed. + + 10 Apr 2005; Christian Parpart + subversion-1.1.4-r1.ebuild: + dropped a note to endusers of to inform them about the new useflag and their + results + +*subversion-1.1.4-r1 (10 Apr 2005) + + 10 Apr 2005; Christian Parpart + +subversion-1.1.4-r1.ebuild: + added optional depend on neon via webdav local useflag + +*subversion-1.1.4 (05 Apr 2005) + + 05 Apr 2005; -subversion-1.1.2.ebuild, + subversion-1.1.3-r1.ebuild, +subversion-1.1.4.ebuild: + New upstream version and cleaned away an old testing version. Also + fixed a small default configuration file bug. + + 20 Mar 2005; Paul de Vrieze + subversion-1.1.3-r1.ebuild: + Remove the autoconf check as the dependency should get this. + + 18 Mar 2005; Markus Rothe subversion-1.1.3.ebuild: + Stable on ppc64 + + 11 Mar 2005; Gustavo Zacarias subversion-1.1.3.ebuild: + Stable on sparc + + 09 Mar 2005; Marcus D. Hanwell subversion-1.1.3.ebuild: + Marked stable on amd64. + + 08 Mar 2005; subversion-1.1.3.ebuild: + Mark 1.1.3 stable + + 27 Feb 2005; Paul de Vrieze + subversion-1.1.3-r1.ebuild: + Use the new apache.depend eclass (bug #83445) + + 15 Feb 2005; Guy Martin subversion-1.1.1-r3.ebuild: + Stable on hppa. + + 15 Feb 2005; subversion-1.1.3-r1.ebuild, + subversion-1.1.3.ebuild: + Add a patch from seemant to make nls support optional + + 31 Jan 2005; subversion-1.1.3.ebuild: + Try to fix bug #80121 + + 28 Jan 2005; Paul de Vrieze + -subversion-1.1.2-r1.ebuild: + Remove broken testing ebuild + + 28 Jan 2005; Paul de Vrieze + subversion-1.1.3-r1.ebuild: + Redo the apr ebuild so that it is based upon the latest normal ebuild. Also + this ebuild will actually build the apache2 module. The other ebuild should + never have been put in cvs. Even masked. The removal of apache2 has been + rather simplistic. The optional apache2 dependency is still there, it just + isn't overloaded anymore. + +*subversion-1.1.3-r1 (22 Jan 2005) + + 22 Jan 2005; Christian Parpart + +subversion-1.1.3-r1.ebuild: + Remerged with changes/improvements the apache herd made. + (as available in release 1.1.2-r1, too) + + 21 Jan 2005; Aron Griffis subversion-1.1.1-r3.ebuild: + stable on ia64 + + 18 Jan 2005; Paul de Vrieze subversion-1.0.9.ebuild, + subversion-1.1.1-r3.ebuild, subversion-1.1.2-r1.ebuild, + subversion-1.1.2.ebuild: + The old autoconf versions are gone, so no need to take them into account + (bug #78047) + +*subversion-1.1.3 (18 Jan 2005) + + 18 Jan 2005; Paul de Vrieze +subversion-1.1.3.ebuild: + New upstream version + +*subversion-1.1.2-r1 (10 Jan 2005) + + 10 Jan 2005; Christian Parpart + +subversion-1.1.2-r1.ebuild: + a package refresh from the Apache Herd + (splitted up apache module(s) from base package into www-apache/mod_dav_svn) + + 31 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + +*subversion-1.1.2 (30 Dec 2004) + + 30 Dec 2004; Paul de Vrieze + +files/subversion-1.1.2-perl.patch, +subversion-1.1.2.ebuild: + A new upstream version + + 19 Dec 2004; Bryan Østergaard + subversion-1.1.1-r3.ebuild: + Stable on alpha. + + 16 Dec 2004; Markus Rothe subversion-1.1.1-r3.ebuild: + Stable on ppc64 + + 16 Dec 2004; Dylan Carlson + subversion-1.1.1-r3.ebuild: + Stable on amd64. + + 11 Dec 2004; Jason Wever subversion-1.1.1-r3.ebuild: + Stable on sparc. + + 08 Dec 2004; subversion-1.1.1-r3.ebuild: + Fix the default authz module config file. Thanks to Benjamin Boksa + in bug #73675 + + 03 Dec 2004; subversion-1.1.1-r3.ebuild: + Fix a small bug in the config function, now checking for existence, not + file existene in the src_config function. Thanks to John Croisant + in bug #73186 for pointing this out. + + 03 Dec 2004; subversion-1.1.1-r3.ebuild: + Disable jikes for now as jikes is broken + + 30 Nov 2004; subversion-1.1.1-r3.ebuild: + Mark stable + + 28 Nov 2004; Paul de Vrieze + subversion-1.1.1-r3.ebuild: + Add an optional dependency on jikes, courtessy of Travis + Snoozy in bug #72679 + +*subversion-1.1.1-r3 (12 Nov 2004) + + 12 Nov 2004; Aron Griffis + -subversion-1.1.1-r2.ebuild, +subversion-1.1.1-r3.ebuild: + Install init script in /etc/init.d not / + +*subversion-1.1.1-r2 (12 Nov 2004) + + 12 Nov 2004; +files/svnserve.confd, + +files/svnserve.initd, +files/svnserve.xinetd, -subversion-0.27.0.ebuild, + -subversion-0.32.1.ebuild, -subversion-1.0.8.ebuild, + -subversion-1.1.0.ebuild, -subversion-1.1.1-r1.ebuild, + +subversion-1.1.1-r2.ebuild, -subversion-1.1.1.ebuild: + Add svnserve init script and xinetd snippet #43245 -- thanks to Martin Jackson + and Joby Walker. Trim older ebuilds + + 12 Nov 2004; Aron Griffis + subversion-1.1.1-r1.ebuild: + Use bash-completion.eclass; thanks to ka0ttic in bug 70939 + +*subversion-1.1.1-r1 (11 Nov 2004) + + 11 Nov 2004; Aron Griffis + +subversion-1.1.1-r1.ebuild: + Install svn_load_dirs.pl as /usr/bin/svn-load-dirs #57715 + Install more hook-scripts in /usr/share/doc #50593 + Don't tell the user to su apache #53233 + Install hot-backup.py as /usr/bin/svn-hot-backup #54304 + Install bash-completion snippet #43179 + Fix svn-config to omit references to @SVN_DB_*@ #64634 + Fix perl bindings Makefile.PL bug #65230 #62979 + Install perl bindings in vendor_perl instead of site_perl #66712 + + 09 Nov 2004; Aron Griffis subversion-1.1.1.ebuild: + Replace ~ppc64 and ~ia64 keywords which went missing + + 05 Nov 2004; Aron Griffis subversion-1.0.9.ebuild: + Remove attempted installation of cvs2svn #47099 + +*subversion-1.1.1 (05 Nov 2004) + + 05 Nov 2004; +subversion-1.1.1.ebuild: + New upstream version + + 04 Nov 2004; Aron Griffis subversion-1.0.9.ebuild, + subversion-1.1.0.ebuild: + add ia64 keywords + + 01 Nov 2004; Markus Rothe subversion-1.1.0.ebuild: + Marked ~ppc64; bug #63683 + + 21 Oct 2004; Paul de Vrieze subversion-1.0.9.ebuild: + Backport the svn-revision.txt fix + + 19 Oct 2004; Paul de Vrieze subversion-1.1.0.ebuild: + Explicitly enable or disable javahl to fix bug #67681 + + 19 Oct 2004; Paul de Vrieze subversion-1.1.0.ebuild: + Fix missing quotes problem in combination with jikes. Thanks to + snikkt@yahoo.com in bug #63464 for signalling this. + +*subversion-1.0.9 (19 Oct 2004) + + 19 Oct 2004; Paul de Vrieze +subversion-1.0.9.ebuild: + A new upstream version that fixes some slowness with "svn ls" + + 09 Oct 2004; Paul de Vrieze subversion-1.1.0.ebuild: + Fix bug #63464 on compilation with jikes. + + 08 Oct 2004; Paul de Vrieze subversion-1.1.0.ebuild: + Fix bug #66659 concerning the name of the book file. Why doesn't dohtml + complain when a file doesn't exist? + + 08 Oct 2004; Paul de Vrieze +files/subversion-1.1.0-build.patch, + -files/subversion-1.1.0-rc4-build.patch, subversion-1.1.0.ebuild: + The previous fix was not applied. Also fix bug #66644 by broadening the + sed script that hacks around the svnversion stuff (the output is + constant) + + 08 Oct 2004; Paul de Vrieze files/subversion-1.1.0-rc4-build.patch: + Fix javahl linking (again) to fix bug #66625, this fix comes from rc2 + + 01 Oct 2004; Paul de Vrieze -files/subversion-pre-1.0.5.patch, + -subversion-1.0.1.ebuild, -subversion-1.0.2.ebuild, + -subversion-1.0.3.ebuild, -subversion-1.0.4-r1.ebuild, + -subversion-1.0.4.ebuild, -subversion-1.0.6.ebuild, + -subversion-1.1.0_rc4.ebuild: + Clean up old versions + +*subversion-1.1.0 (01 Oct 2004) + + 01 Oct 2004; Paul de Vrieze +subversion-1.1.0.ebuild: + New upstream version + + 27 Sep 2004; Bryan Østergaard,,, + subversion-1.0.8.ebuild: + Stable on alpha, bug 65085. + + 25 Sep 2004; Gustavo Zacarias subversion-1.0.8.ebuild: + Stable on sparc wrt #65085 + + 27 Sep 2004; Paul de Vrieze subversion-1.0.8.ebuild, + subversion-1.1.0_rc2.ebuild, subversion-1.1.0_rc4.ebuild: + Fix subversion swig dependency as the 1.3.22 release does not longer + provide a runtime library while subversion still expects one. + + 24 Sep 2004; subversion-1.0.8.ebuild: + stable on ppc GSLA bug: 65085 + +*subversion-1.0.8 (23 Sep 2004) + + 23 Sep 2004; Paul de Vrieze +subversion-1.0.8.ebuild, + +subversion-1.1.0_rc4.ebuild: + New upstream versions. They implement security fixes!! + + 21 Sep 2004; Paul de Vrieze subversion-1.1.0_rc2.ebuild: + Fix two issues. Bug #63991 to add support for authz_svn authentication in + the default apache2 configuration file (conditional). Bug #64672 to take + into account that with the new fs_fs support the server part is no longer + dependent on berkeley db. + + 21 Sep 2004; Paul de Vrieze subversion-1.0.6.ebuild: + Fix the location of the jar archive (bug #64800) + + 06 Sep 2004; Ciaran McCreesh subversion-0.32.1.ebuild: + Switch to use epause and ebeep, bug #62950 + + 05 Sep 2004; Paul de Vrieze,,, subversion-1.0.6.ebuild + subversion-1.1.0_rc2.ebuild: + Fix bug #62753. swig is now build when either python or perl is in the + useflags, not python only. + + 07 Sep 2004; Paul de Vrieze subversion-1.1.0_rc2.ebuild: + Spelling fixes. Thanks to Marko Djukic in bug #63014 + + 01 Sep 2004; Paul de Vrieze subversion-1.1.0_rc2.ebuild: + Change the book installation location to it's own dir, to make it easier + to find. + + 30 Aug 2004; Paul de Vrieze +files/subversion-1.1.0-rc2-build.patch, + subversion-1.1.0_rc2.ebuild: + Fix some java linking error and a variable substitution error. Thanks to + Holger Thon in bug #59693 + +*subversion-1.1.0_rc2 (19 Aug 2004) + + 19 Aug 2004; Paul de Vrieze +subversion-1.1.0_rc2.ebuild: + An initial version of the rc2 package. It has some streamlining for the + building of the bindings too, and installs the example hook-scripts in the + documentation dir. + + 04 Aug 2004; Paul de Vrieze subversion-1.0.6.ebuild: + Make the java stuff compile in all cases by specifying an encoding + (needed for a french author name) and a source version (needed for 1.5 + jdk's) + + 23 Jul 2004; Travis Tilley subversion-1.0.6.ebuild: + stable on amd64 + + 23 Jul 2004; Guy Martin subversion-1.0.6.ebuild: + Marked stable on hppa. + + 23 Jul 2004; Bryan Østergaard,,, + subversion-1.0.6.ebuild: + Stable on alpha, see bug #57747. + + 20 Jul 2004; Ciaran McCreesh subversion-1.0.6.ebuild: + Stable on sparc for bug #57747 + + 20 Jul 2004; Stuart Herbert subversion-1.0.6.ebuild: + Stable on x86 + +*subversion-1.0.6 (20 Jul 2004) + + 20 Jul 2004; Stuart Herbert +subversion-1.0.6.ebuild: + Version bump for security problem; see bug #57747 + + 24 Jun 2004; Paul de Vrieze subversion-1.0.4-r1.ebuild: + Clarify the ebuild config comment (bug #54940) + + 11 Jun 2004; Jason Wever subversion-1.0.4-r1.ebuild: + Stable on sparc wrt bug #53555. + + 11 Jun 2004; Guy Martin subversion-1.0.4-r1.ebuild: + Marked stable on hppa. + + 11 Jun 2004; Bryan Østergaard + subversion-1.0.4-r1.ebuild: + Stable on alpha, bug #53555. + + 10 Jun 2004; Kurt Lieber subversion-1.0.4-r1.ebuild: + marking stable on x86. fixes 53555. + + 10 Jun 2004; Jason Eric Huebel + subversion-1.0.4-r1.ebuild: + amd64 for bug #53555 + +*subversion-1.0.4-r1 (07 Jun 2004) + + 07 Jun 2004; subversion-1.0.4-r1.ebuild, + files/subversion-pre-1.0.5.patch: + added pre-1.0.5 patch to subversion + + 07 Jun 2004; Paul de Vrieze subversion-1.0.4.ebuild: + Do not longer install the apache config file when the module is not + build (bug #49315) + +*subversion-1.0.4 (24 May 2004) + + 24 May 2004; Paul de Vrieze subversion-1.0.3.ebuild, + +subversion-1.0.4.ebuild: + set amd64 to stable on 1.0.3. Add a new upstream version in 1.0.4 and + make it even more hard to merge subversion with autoconf-2.58 + + 24 May 2004; Bryan Østergaard subversion-1.0.3.ebuild: + Keyworded ~alpha, requested in bug #51550. + +*subversion-1.0.3 (20 May 2004) + + 20 May 2004; Paul de Vrieze subversion-1.0.2.ebuild, + +subversion-1.0.3.ebuild: + Security fix + + 27 Apr 2004; Aron Griffis subversion-1.0.1.ebuild, + subversion-1.0.2.ebuild: + Add inherit eutils + + 13 May 2004; Paul de Vrieze subversion-1.0.2.ebuild: + Mark stable + +*subversion-1.0.2 (27 Apr 2004) + + 27 Apr 2004; Paul de Vrieze +subversion-1.0.2.ebuild: + New upstream version with bug fixes. Also add javahl compilation based on + the java useflag. + + 26 Apr 2004; Paul de Vrieze subversion-1.0.1.ebuild: + First stable subversion! + + 26 Apr 2004; Paul de Vrieze -subversion-0.28.0.ebuild, + -subversion-0.30.0.ebuild, -subversion-0.31.0.ebuild, + -subversion-0.34.0.ebuild, -subversion-0.35.1.ebuild, + -subversion-0.37.0.ebuild, -subversion-1.0.0-r1.ebuild, + -subversion-1.0.0.ebuild: + Clean out old versions + + 26 Mar 2004; Paul de Vrieze subversion-1.0.1.ebuild: + Finally fix bug #31106 and add svn-config to the installed set + + 26 Mar 2004; Paul de Vrieze subversion-1.0.1.ebuild: + Reverse the alternative dependencies so that the newest version is considered + first. This should stop flipping around caused by emerge -u world + + 23 Mar 2004; Paul de Vrieze subversion-1.0.1.ebuild: + Add the swig dependency to use==perl too, not only to python + +*subversion-1.0.1 (23 Mar 2004) + + 23 Mar 2004; Paul de Vrieze subversion-1.0.1.ebuild: + New upstream version. Also re-enabled the svnversion.txt hack as there are + still cases (like changing db version) where svnversion.txt cannot be created + in the normal way + + 17 Mar 2004; Seemant Kulleen subversion-0.28.0.ebuild: + fix for bug #44712 by Michael Sterret + + 10 Mar 2004; Paul de Vrieze subversion-1.0.0-r1.ebuild, + files/Makefile.PL.patch: + The makefile patch was not necessary after all + +*subversion-1.0.0-r1 (09 Mar 2004) + + 09 Mar 2004; Paul de Vrieze subversion-1.0.0-r1.ebuild, + files/Makefile.PL.patch: + Add the perl bindings to the ebuild. The patch to Makefile.PL is from + gentoo.datacore.ch. + + 25 Feb 2004; Daniel Ahlberg subversion-1.0.0.ebuild: + Adding amd64 keyword. Closing #42693. + + 25 Feb 2004; David Holm subversion-1.0.0.ebuild: + Readded to ~ppc once again, why is it so difficult to maintain KEYWORDS + between releases for this ebuild? + + 23 Feb 2004; Jason Wever subversion-1.0.0.ebuild: + Added ~sparc keyword. + + 23 Feb 2004; Jason Wever subversion-1.0.0.ebuild: + Fixed bad unpack command and extra whitespace. + +*subversion-1.0.0 (23 Feb 2004) + + 23 Feb 2004; Paul de Vrieze subversion-1.0.0.ebuild, + files/subversion-db4.patch: + New upstream STABLE version. It might become the first stable subversion + ebuild in gentoo :-) + + 22 Feb 2004; David Holm subversion-0.37.0.ebuild: + Readded ~ppc. Thanks for dropping it so we all could run on an old, possibly + buggy, version. + + 19 Feb 2004; Paul de Vrieze subversion-0.37.0-r1.ebuild, + subversion-0.37.0.ebuild: + Remove the -r1 version as it is based on an old ebuild version and is broken. + Incorporate the python changes in this version. + +*subversion-0.37.0-r1 (14 Feb 2004) + + 14 Feb 2004; subversion-0.37.0-r1.ebuild: + Replace python-config with python_version. + + 13 Feb 2004; subversion-0.37.0.ebuild: + Make emacs regeneration more tolerant (bug #41411) + + 11 Feb 2004; Paul de Vrieze subversion-0.37.0.ebuild: + Add optional emacs dependency + + 05 Feb 2004; Paul de Vrieze subversion-0.37.0.ebuild: + Some autoconf changes + + 04 Feb 2004; subversion-0.37.0.ebuild: + Some more explanations + + 04 Feb 2004; Paul de Vrieze subversion-0.37.0.ebuild: + Take the new FHS's /srv directory into account, moving the default location + from /var + + 03 Feb 2004; subversion-0.37.0.ebuild: + Hopefully fix emacs module compilation problems + +*subversion-0.37.0 (28 Jan 2004) + + 28 Jan 2004; Paul de Vrieze subversion-0.37.0.ebuild: + New upstream version. Also taking new apache locations into account + + 15 Jan 2004; Paul de Vrieze subversion-0.35.1.ebuild: + Things actually work with autoconf-2.59, so changing the dependency. + + 11 Jan 2004; subversion-0.34.0.ebuild, + subversion-0.35.1.ebuild: + Fix the autoconf dependencies to be compile-time only + +*subversion-0.35.1 (22 Dec 2003) + + 22 Dec 2003; Paul de Vrieze subversion-0.35.1.ebuild: + New upstream version. Note that this version has deltification reenabled. + + 20 Dec 2003; subversion-0.34.0.ebuild: + The fetch line for the old svnadmin was removed, but the system still tried to + install it, causing a failure if the file didn't exist in the distfiles dir. + The new system is cleaner in forcing interaction by requiring an environment + variable to be set, so I removed the remnants of the old static binary + +*subversion-0.34.0 (19 Dec 2003) + + 19 Dec 2003; Paul de Vrieze subversion-0.34.0.ebuild: + Add a new version of subversion. This one again has an incompatible library + change. Further the ebuild supports python-config instead of hard-coded python + paths. If updating do ensure that you first dump your existing repositories. + The default repository path is also updated to become /var. + + 13 Dec 2003; subversion-0.27.0.ebuild, + subversion-0.28.0.ebuild, subversion-0.30.0.ebuild: + fix chown syntax + +*subversion-0.32.1 (09 Nov 2003) + + 09 Nov 2003; David Holm subversion-0.32.1.ebuild: + Added to ~ppc. + + 22 Oct 2003; subversion-0.31.0.ebuild: + Hopefully fix linking issues by taking back some older ebuild code + +*subversion-0.28.0 (17 Oct 2003) + + 17 Oct 2003; Paul de Vrieze subversion-0.28.0.ebuild: + Get 0.28.0 back as rapidsvn needs this particular version + +*subversion-0.31.0 (12 Oct 2003) + + 12 Oct 2003; subversion-0.31.0.ebuild: + Fix chown + + 10 Oct 2003; Paul de Vrieze subversion-0.24.2-r1.ebuild, + subversion-0.25.0.ebuild, subversion-0.26.0.ebuild, + subversion-0.28.0.ebuild, subversion-0.30.0.ebuild, + files/subversion-db4.patch: + Clean up old versions, and add the 0.31.0 version + + 02 Oct 2003; Paul de Vrieze subversion-0.30.0.ebuild: + Add a static precompiled svnadmin-pre28 instead of the old dynamic one. This + one should work in all cases + +*subversion-0.30.0 (27 Sep 2003) + + 27 Sep 2003; Paul de Vrieze subversion-0.24.2-r1.ebuild, + subversion-0.25.0.ebuild, subversion-0.26.0.ebuild, + subversion-0.27.0.ebuild, subversion-0.28.0.ebuild, + subversion-0.30.0.ebuild: + New version, and fix small dependency error (apache instead of net-www/apache) + The new version is based on the the ebuild by Hattya in bug + #29586 + + 25 Sep 2003; Martin Holzer subversion-0.24.2-r1.ebuild, + subversion-0.25.0.ebuild, subversion-0.26.0.ebuild, + subversion-0.27.0.ebuild, subversion-0.28.0.ebuild, files/70svn-gentoo.el: + leading space errors. + + 26 Sep 2003; Martin Holzer subversion-0.28.0.ebuild: + Added autoconf version. Closes #28198. + + 22 Sep 2003; metadata.xml: + Fix metadata.xml + +*subversion-0.28.0 (01 Sep 2003) + + 01 Sep 2003; subversion-0.28.0.ebuild: + bumping this for pauldv since he's oot + +*subversion-0.27.0 (26 Aug 2003) + + 26 Aug 2003; Paul de Vrieze subversion-0.27.0.ebuild, + files/subversion-db4.patch: + New upstream version + +*subversion-0.26.0 (24 Jul 2003) + + 24 Jul 2003; Paul de Vrieze subversion-0.10_pre1.ebuild, + subversion-0.21.0-r1.ebuild, subversion-0.21.0.ebuild, + subversion-0.22.2.ebuild, subversion-0.23.0.ebuild, + subversion-0.24.1.ebuild, subversion-0.24.2.ebuild, + subversion-0.26.0.ebuild: + Cleaning up old versions, and adding new upstream version + + 18 Jul 2003; subversion-0.25.0.ebuild: + Have the ebuild output the location of the repository in the config function + +*subversion-0.25.0 (16 Jul 2003) + + 16 Jul 2003; subversion-0.25.0.ebuild: + New upstream version + +*subversion-0.24.2 (15 Jul 2003) + 15 Jul 2003; subversion-0.24.2-r1.ebuild: + Make repository location configurable by an environment variable + + 15 Jul 2003; subversion-0.24.2-r1.ebuild, + subversion-0.24.2.ebuild: + Fix some python files going to the wrong location: #23657 + + 12 Jul 2003; Daniel Ahlberg : + Added missing changelog entry. + + 26 Jun 2003; Paul de Vrieze subversion-0.24.1.ebuild: + Added a comment saying to use USE="-berkdb" to build a client-only version. + + 26 Jun 2003; Paul de Vrieze subversion-0.24.1.ebuild: + Fixed an issue with a compilation failure together with the included libapr. + #23307 + + 19 Jun 2003; Paul de Vrieze subversion-0.24.1.ebuild: + Add a comment concerning rebuilding the repository with an upgrade of the db + version, bug #22144 courtessy of Markus Luisser + + +*subversion-0.24.1 (18 Jun 2003) + + 18 Jun 2003; Paul de Vrieze subversion-0.21.0-r1.ebuild, + subversion-0.22.2.ebuild, subversion-0.23.0.ebuild, + subversion-0.24.1.ebuild: + Fix bug #21876, and add new version. + + 31 May 2003; root subversion-0.22.2.ebuild, + subversion-0.23.0.ebuild: + ppc keyworded + +*subversion-0.23.0 (28 May 2003) + + 28 May 2003; Paul de Vrieze subversion-0.23.0.ebuild: + Version bump, and add some more documentation to the docs dir. + +*subversion-0.22.2 (17 May 2003) + + 17 May 2003; Paul de Vrieze subversion-0.22.2.ebuild: + New upstream version, and inclusion of berkdb and python useflags. For now + python bindings are never build if berkdb is not set as the bindings + unconditionally depend on python. Closes #20840 and #20842 + +*subversion-0.21.0-r1 (30 Apr 2003) + + 12 May 2003; Martin Holzer subversion-0.10_pre1.ebuild, + subversion-0.20.1.ebuild, subversion-0.21.0-r1.ebuild, + subversion-0.21.0.ebuild: + Updated db url. Fixed typo. Closes #20812. + + 08 May 2003; Paul de Vrieze subversion-0.21.0-r1.ebuild: + Fix a stupid typo. Thanks to Cesar Eduardo Barros for + helping in finding this. + + 08 May 2003; Patrick Kursawe + subversion-0.10_pre1.ebuild: + Set -0.10_pre1 to ~arch, it seems to be quite broken. YMMV, see bug #20571. + + 06 May 2003; Paul de Vrieze subversion-0.21.0-r1.ebuild: + Make subversion use an allready merged db4 instead of its own + + 30 Apr 2003; Paul de Vrieze subversion-0.21.0-r1.ebuild: + Made subversion use libtool.eclass, cleans up things quite a bit + +*subversion-0.21.0 (26 Apr 2003) + + 29 Apr 2003; Paul de Vrieze subversion-0.20.1.ebuild, + subversion-0.21.0.ebuild: + Fixed depends to depend on apache-2.0.45 instead of apache-2.0.44 + + 26 Apr 2003; Paul de Vrieze subversion-0.21.0.ebuild: + New upstream version. Also do not build the apache module if the apache2 use + flag is not specified. As in this case subversion provides its own apr libs, + it actually blocks on apache2. + +*subversion-0.20.1 (25 Apr 2003) + + 26 Apr 2003; Paul de Vrieze subversion-0.20.1.ebuild: + Fixed a small error in the config script. It did not ensure the existence of + /home/svn resulting in a failure. + + 25 Apr 2003; Paul de Vrieze subversion-0.20.1.ebuild: + Added || die to the make install parts + + 15 Mar 2003; Martin Schlemmer subversion-0.10_pre1.ebuild : + Fix m4 depend. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*subversion-0.10_pre1 (26 Feb 2002) + + 29 Oct 2002; Karl Trygve Kalleberg subversion-0.10_pre1.ebuild : + It depends on =net-misc/neon-0.19.2 exactly. Any other version will fail. + I'm resurrecting neon-0.19.2. + + 26 Feb 2002; G.Bevin subversion-0.10_pre1.ebuild, + files/digest-subversion-0.10_pre1 : + + added today's snapshot diff --git a/dev-vcs/subversion/Manifest b/dev-vcs/subversion/Manifest new file mode 100644 index 000000000..8d6ba70ca --- /dev/null +++ b/dev-vcs/subversion/Manifest @@ -0,0 +1,11 @@ +AUX 70svn-gentoo.el 443 RMD160 300189eea80dfefa0f2a8479f67d255b39fd2adb SHA1 245b5ed611755276016bc76de2eabdc117e2c511 SHA256 23aa9effa5aea7ae73d14ae4df1a9269135137a5e483b4ff2a501dc130d7d1be +AUX subversion-1.6.0-disable_linking_against_unneeded_libraries.patch 1769 RMD160 89d165463a2e8a7e2ae5855bc4e4e290f20416ae SHA1 3fc9a49e80992b13b016d1c56babae43957f1b91 SHA256 a54a4dd37e197d030b9d56b2954e4cd38f8a7f1b191cfe59f863b75a164d5f96 +AUX subversion-1.6.2-local_library_preloading.patch 6412 RMD160 3b072c5f9d3c1f43e3be20959a24632db0c9f82c SHA1 85a3d394861a53e3919ef6fc243542af7df17b46 SHA256 50b83dd31eaf5ed577b7656dcd06e314d3acd31814089f4e3eba014a1efa442d +AUX subversion-1.6.3-kwallet_window.patch 10012 RMD160 d469e0fc8d9fd2ef8c857e5e303eeb24309e7f0d SHA1 9c99b63bc5abf54f642e447af1aa2f814cecb8ab SHA256 5304f39189bed6f83a8342593f23819cf2e12c2288c9daba23dcd78913fd79de +AUX svnserve.confd 322 RMD160 e291d91f05da848a3517aa76611c1f05527c11e4 SHA1 c07020ea270b787ddf0dbb738391e20d3c8347af SHA256 45f2dc1a718aed885559e71d98112e670c92bd6b4f19c5cf593eced6cd2bbd97 +AUX svnserve.initd 818 RMD160 6a24ac0599ef46b2d1ef0ae9cde70bdc8124db68 SHA1 f3ef120b584d81124171ccaf5bafec709222d04e SHA256 4f9d38d5b32d4436dcb302f7e3c7284e67d6339b25b0f057a306b978f4a06142 +AUX svnserve.xinetd 332 RMD160 c2fc4eb02da7e7405756fce650b8897f0a9da7f7 SHA1 d7d478fc257a40626888f9b12ee218df55dac570 SHA256 267f30c78ef6428aeeb97d3c64c06b9acfba4bc624766fc3c6a6d2c4133799a2 +DIST subversion-1.6.16.tar.bz2 5509729 RMD160 f12d7eb31372486290e08143ec1afda029767d34 SHA1 c1a050bd8ad2444eb6729b8a7f451960711af2df SHA256 dce4897d62d0dc29ab03834ed1d66ede95c07702e32a0042f96c24c6f1213386 +EBUILD subversion-1.6.16.ebuild 31656 RMD160 71b9573b010f86b547c4a85794e68064e78d3bb2 SHA1 913417808fbf342c6e3b9856003bd81c11c451ef SHA256 93e52e51b09558dde5ab45f8978e54f3253388650a75f24ef4a46eb058e361ec +MISC ChangeLog 75895 RMD160 49e855e85c405bf9f21896ab036f21e0244626ba SHA1 45446dc1c0e46562b61b2a4616509db1ff5d9d24 SHA256 94b0959d0a3533d2b42a38dedd48ae9ad05d31aeaaa45b8e71096695396744ca +MISC metadata.xml 950 RMD160 aefe28321c5133e128196960cc92df16b891726d SHA1 bbba14744f315f5c0bc89970d197bc76dcefd89c SHA256 e415d866a11c85a7e16c9482ac9d60ebf02b7ae8708e266bea071adbe0c0a439 diff --git a/dev-vcs/subversion/files/70svn-gentoo.el b/dev-vcs/subversion/files/70svn-gentoo.el new file mode 100644 index 000000000..e5721e248 --- /dev/null +++ b/dev-vcs/subversion/files/70svn-gentoo.el @@ -0,0 +1,13 @@ + +;;; subversion site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(and (< emacs-major-version 22) + (add-to-list 'load-path "@SITELISP@/compat")) +(add-to-list 'vc-handled-backends 'SVN) + +(defalias 'svn-examine 'svn-status) +(autoload 'svn-status "dsvn" "Run `svn status'." t) +(autoload 'svn-update "dsvn" "Run `svn update'." t) +(autoload 'svn-status "psvn" + "Examine the status of Subversion working copy in directory DIR." t) diff --git a/dev-vcs/subversion/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch b/dev-vcs/subversion/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch new file mode 100644 index 000000000..689b29cd7 --- /dev/null +++ b/dev-vcs/subversion/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch @@ -0,0 +1,56 @@ +--- Makefile.in ++++ Makefile.in +@@ -47,6 +47,7 @@ + SVN_SASL_LIBS = @SVN_SASL_LIBS@ + SVN_SERF_LIBS = @SVN_SERF_LIBS@ + SVN_SQLITE_LIBS = @SVN_SQLITE_LIBS@ ++SVN_XML_LIBS = -lexpat + SVN_ZLIB_LIBS = @SVN_ZLIB_LIBS@ + + LIBS = @LIBS@ +--- build/ac-macros/aprutil.m4 ++++ build/ac-macros/aprutil.m4 +@@ -77,16 +77,14 @@ + AC_MSG_ERROR([apu-config --prefix failed]) + fi + +- dnl When APR stores the dependent libs in the .la file, we don't need +- dnl --libs. +- SVN_APRUTIL_LIBS="`$apu_config --link-libtool --libs`" ++ SVN_APRUTIL_LIBS="`$apu_config --link-libtool`" + if test $? -ne 0; then +- AC_MSG_ERROR([apu-config --link-libtool --libs failed]) ++ AC_MSG_ERROR([apu-config --link-libtool failed]) + fi + +- SVN_APRUTIL_EXPORT_LIBS="`$apu_config --link-ld --libs`" ++ SVN_APRUTIL_EXPORT_LIBS="`$apu_config --link-ld`" + if test $? -ne 0; then +- AC_MSG_ERROR([apu-config --link-ld --libs failed]) ++ AC_MSG_ERROR([apu-config --link-ld failed]) + fi + + AC_SUBST(SVN_APRUTIL_INCLUDES) +--- build/ac-macros/apr.m4 ++++ build/ac-macros/apr.m4 +@@ -74,16 +74,14 @@ + AC_MSG_ERROR([apr-config --prefix failed]) + fi + +- dnl When APR stores the dependent libs in the .la file, we don't need +- dnl --libs. +- SVN_APR_LIBS="`$apr_config --link-libtool --libs`" ++ SVN_APR_LIBS="`$apr_config --link-libtool`" + if test $? -ne 0; then +- AC_MSG_ERROR([apr-config --link-libtool --libs failed]) ++ AC_MSG_ERROR([apr-config --link-libtool failed]) + fi + +- SVN_APR_EXPORT_LIBS="`$apr_config --link-ld --libs`" ++ SVN_APR_EXPORT_LIBS="`$apr_config --link-ld`" + if test $? -ne 0; then +- AC_MSG_ERROR([apr-config --link-ld --libs failed]) ++ AC_MSG_ERROR([apr-config --link-ld failed]) + fi + + SVN_APR_SHLIB_PATH_VAR="`$apr_config --shlib-path-var`" diff --git a/dev-vcs/subversion/files/subversion-1.6.2-local_library_preloading.patch b/dev-vcs/subversion/files/subversion-1.6.2-local_library_preloading.patch new file mode 100644 index 000000000..704b30026 --- /dev/null +++ b/dev-vcs/subversion/files/subversion-1.6.2-local_library_preloading.patch @@ -0,0 +1,165 @@ +--- configure.ac ++++ configure.ac +@@ -198,6 +198,24 @@ + + AC_SUBST(LT_LDFLAGS) + ++AC_ARG_ENABLE(local-library-preloading, ++ AS_HELP_STRING([--disable-local-library-preloading], ++ [Disable preloading of locally built libraries in locally built executables]), ++ [ ++ if test "$enableval" != "no"; then ++ TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts" ++ else ++ TRANSFORM_LIBTOOL_SCRIPTS="" ++ fi ++ ], [ ++ if test "`uname`" != "Darwin"; then ++ TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts" ++ else ++ TRANSFORM_LIBTOOL_SCRIPTS="" ++ fi ++]) ++AC_SUBST(TRANSFORM_LIBTOOL_SCRIPTS) ++ + dnl Check if -no-undefined is needed for the platform. + dnl It should always work but with libtool 1.4.3 on OS X it breaks the build. + dnl So we only turn it on for platforms where we know we really need it. +--- Makefile.in ++++ Makefile.in +@@ -309,7 +309,10 @@ + + @INCLUDE_OUTPUTS@ + +-local-all: @BUILD_RULES@ ++local-all: @BUILD_RULES@ @TRANSFORM_LIBTOOL_SCRIPTS@ ++ ++transform-libtool-scripts: @BUILD_RULES@ ++ @$(top_srcdir)/build/transform_libtool_scripts.sh + + locale-gnu-pot: + cd $(abs_srcdir) && XGETTEXT="$(XGETTEXT)" MSGMERGE="$(MSGMERGE)" \ +--- build/transform_libtool_scripts.sh ++++ build/transform_libtool_scripts.sh +@@ -0,0 +1,121 @@ ++#!/bin/sh ++# ++# ++# Licensed to the Apache Software Foundation (ASF) under one ++# or more contributor license agreements. See the NOTICE file ++# distributed with this work for additional information ++# regarding copyright ownership. The ASF licenses this file ++# to you under the Apache License, Version 2.0 (the ++# "License"); you may not use this file except in compliance ++# with the License. You may obtain a copy of the License at ++# ++# http://www.apache.org/licenses/LICENSE-2.0 ++# ++# Unless required by applicable law or agreed to in writing, ++# software distributed under the License is distributed on an ++# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ++# KIND, either express or implied. See the License for the ++# specific language governing permissions and limitations ++# under the License. ++# ++# ++ ++# Dependencies of libraries ++subr="subr" ++auth_gnome_keyring="auth_gnome_keyring $subr" ++auth_kwallet="auth_kwallet $subr" ++delta="delta $subr" ++diff="diff $subr" ++fs_util="fs_util $subr" ++fs_base="fs_base $delta $fs_util $subr" ++fs_fs="fs_fs $delta $fs_util $subr" ++fs="fs $fs_base $fs_fs $fs_util $subr" ++repos="repos $delta $fs $fs_util $subr" ++ra_local="ra_local $delta $fs $fs_util $repos $subr" ++ra_neon="ra_neon $delta $subr" ++ra_serf="ra_serf $delta $subr" ++ra_svn="ra_svn $delta $subr" ++ra="ra $delta $ra_local $ra_neon $ra_serf $ra_svn $subr" ++wc="wc $delta $diff $subr" ++client="client $delta $diff $ra $subr $wc" ++ ++# Variable 'libraries' containing names of variables corresponding to libraries ++libraries="auth_gnome_keyring auth_kwallet client delta diff fs fs_base fs_fs fs_util ra ra_local ra_neon ra_serf ra_svn repos subr wc" ++ ++for library in $libraries; do ++ # Delete duplicates in dependencies of libraries ++ library_dependencies="$(echo -n $(for x in $(eval echo "\$$library"); do echo $x; done | sort -u))" ++ eval "$library=\$library_dependencies" ++done ++ ++# Dependencies of executables ++svn="$auth_gnome_keyring $auth_kwallet $client $delta $diff $ra $subr $wc" ++svnadmin="$delta $fs $repos $subr" ++svndumpfilter="$delta $fs $repos $subr" ++svnlook="$delta $diff $fs $repos $subr" ++svnserve="$delta $fs $ra_svn $repos $subr" ++svnsync="$auth_gnome_keyring $auth_kwallet $delta $ra $subr" ++svnversion="$subr $wc" ++entries_dump="$subr $wc" ++ ++# Variable 'executables' containing names of variables corresponding to executables ++executables="svn svnadmin svndumpfilter svnlook svnserve svnsync svnversion entries_dump" ++ ++for executable in $executables; do ++ # Set variables containing paths of executables ++ if [ "$executable" != entries_dump ]; then ++ eval "${executable}_path=subversion/$executable/$executable" ++ else ++ eval "${executable}_path=subversion/tests/cmdline/entries-dump" ++ fi ++ # Delete duplicates in dependencies of executables ++ executable_dependencies="$(echo -n $(for x in $(eval echo "\$$executable"); do echo $x; done | sort -u))" ++ eval "$executable=\$executable_dependencies" ++done ++ ++test_paths="$(find subversion/tests -mindepth 2 -maxdepth 2 -name '*-test' ! -path '*/.libs/*' | sort)" ++for test in $test_paths; do ++ test_path="$test" ++ # Dependencies of tests are based on names of directories containing tests ++ test_library="$(echo $test | sed -e 's:^subversion/tests/libsvn_\([^/]*\)/.*:\1:')" ++ test_dependencies="$(eval echo "\$$test_library")" ++ # Set variables corresponding to tests and containing dependencies of tests ++ test="$(echo $test | sed -e 's:^subversion/tests/libsvn_[^/]*/\(.*\):\1:' -e 's/-/_/g')" ++ eval "$test=\$test_dependencies" ++ # Set variables containing paths of tests ++ eval "${test}_path=\$test_path" ++ # Set variable 'tests' containing names of variables corresponding to tests ++ tests="$tests $test" ++done ++ ++# auth-test dynamically loads libsvn_auth_gnome_keyring and libsvn_auth_kwallet libraries ++auth_test="auth_gnome_keyring auth_kwallet $auth_test" ++ ++# Usage: sed_append LINE_NUMBER TEXT FILE ++sed_append() ++{ ++ sed -e "$1a\\ ++$2" "$3" > "$3.new" ++ mv -f "$3.new" "$3" ++} ++ ++current_directory="$(pwd)" ++for libtool_script in $executables $tests; do ++ eval "libtool_script_path=\$${libtool_script}_path" ++ libtool_script_libraries="" ++ if [ -f "$libtool_script_path" ]; then ++ if { grep LD_LIBRARY_PATH "$libtool_script_path" && ! grep LD_PRELOAD "$libtool_script_path"; } > /dev/null; then ++ echo "Transforming $libtool_script_path" ++ libtool_script_dependencies="$(eval echo "\$$libtool_script")" ++ for libtool_script_dependency in $libtool_script_dependencies; do ++ libtool_script_library="$current_directory/subversion/libsvn_$libtool_script_dependency/.libs/libsvn_$libtool_script_dependency-1.so" ++ [ -f "$libtool_script_library" ] && libtool_script_libraries="$libtool_script_libraries $libtool_script_library" ++ done ++ libtool_script_libraries="${libtool_script_libraries# *}" ++ # Append definitions of LD_PRELOAD to libtool scripts ++ sed_append 4 "LD_PRELOAD=\"$libtool_script_libraries\"" "$libtool_script_path" ++ sed_append 5 "export LD_PRELOAD" "$libtool_script_path" ++ chmod +x "$libtool_script_path" ++ fi ++ fi ++done diff --git a/dev-vcs/subversion/files/subversion-1.6.3-kwallet_window.patch b/dev-vcs/subversion/files/subversion-1.6.3-kwallet_window.patch new file mode 100644 index 000000000..4bb9c09f0 --- /dev/null +++ b/dev-vcs/subversion/files/subversion-1.6.3-kwallet_window.patch @@ -0,0 +1,298 @@ +https://svn.collab.net/viewvc/svn?view=revision&revision=38004 +https://svn.collab.net/viewvc/svn?view=revision&revision=38014 +https://svn.collab.net/viewvc/svn?view=revision&revision=38028 +https://svn.collab.net/viewvc/svn?view=revision&revision=38122 + +--- subversion/libsvn_auth_kwallet/kwallet.cpp ++++ subversion/libsvn_auth_kwallet/kwallet.cpp +@@ -22,6 +22,7 @@ + + /*** Includes. ***/ + ++#include + #include + #include + +@@ -30,6 +31,9 @@ + #include "svn_auth.h" + #include "svn_config.h" + #include "svn_error.h" ++#include "svn_io.h" ++#include "svn_pools.h" ++#include "svn_string.h" + #include "svn_version.h" + + #include "private/svn_auth_private.h" +@@ -38,13 +42,20 @@ + + #include + #include ++#include ++#include + #include ++#include ++#include + + #include + #include + #include + #include + #include ++#include ++#include ++#include + + + /*-----------------------------------------------------------------------*/ +@@ -52,6 +63,28 @@ + /*-----------------------------------------------------------------------*/ + + ++#define INITIALIZE_APPLICATION \ ++ if (apr_hash_get(parameters, \ ++ "svn:auth:qapplication-safe", \ ++ APR_HASH_KEY_STRING)) \ ++ { \ ++ QApplication *app; \ ++ if (! qApp) \ ++ { \ ++ int argc = 1; \ ++ app = new QApplication(argc, (char *[1]) {(char *) "svn"}); \ ++ } \ ++ } \ ++ else \ ++ { \ ++ QCoreApplication *app; \ ++ if (! qApp) \ ++ { \ ++ int argc = 1; \ ++ app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); \ ++ } \ ++ } ++ + static const char * + get_application_name(apr_hash_t *parameters, + apr_pool_t *pool) +@@ -69,8 +102,7 @@ + const char *svn_application_name; + if (svn_application_name_with_pid) + { +- long pid = getpid(); +- svn_application_name = apr_psprintf(pool, "Subversion [%ld]", pid); ++ svn_application_name = apr_psprintf(pool, "Subversion [%ld]", long(getpid())); + } + else + { +@@ -102,9 +134,108 @@ + } + } + ++static pid_t ++get_parent_pid(pid_t pid, ++ apr_pool_t *pool) ++{ ++ pid_t parent_pid = 0; ++ ++#ifdef __linux__ ++ svn_stream_t *stat_file_stream; ++ svn_string_t *stat_file_string; ++ const char *preceeding_space, *following_space, *parent_pid_string; ++ ++ const char *path = apr_psprintf(pool, "/proc/%ld/stat", long(pid)); ++ svn_error_t *err = svn_stream_open_readonly(&stat_file_stream, path, pool, pool); ++ if (err == SVN_NO_ERROR) ++ { ++ err = svn_string_from_stream(&stat_file_string, stat_file_stream, pool, pool); ++ if (err == SVN_NO_ERROR) ++ { ++ if ((preceeding_space = strchr(stat_file_string->data, ' '))) ++ { ++ if ((preceeding_space = strchr(preceeding_space + 1, ' '))) ++ { ++ if ((preceeding_space = strchr(preceeding_space + 1, ' '))) ++ { ++ if ((following_space = strchr(preceeding_space + 1, ' '))) ++ { ++ parent_pid_string = apr_pstrndup(pool, ++ preceeding_space + 1, ++ following_space - preceeding_space); ++ parent_pid = atol(parent_pid_string); ++ } ++ } ++ } ++ } ++ } ++ } ++ ++ if (err) ++ { ++ svn_error_clear(err); ++ } ++#endif ++ ++ return parent_pid; ++} ++ ++static WId ++get_wid(apr_hash_t *parameters, ++ apr_pool_t *pool) ++{ ++ WId wid = 1; ++ ++ if (apr_hash_get(parameters, ++ "svn:auth:qapplication-safe", ++ APR_HASH_KEY_STRING)) ++ { ++ QMap process_info_list; ++ QList windows(KWindowSystem::windows()); ++ QList::const_iterator i; ++ for (i = windows.begin(); i != windows.end(); i++) ++ { ++ process_info_list[NETWinInfo(QX11Info::display(), ++ *i, ++ QX11Info::appRootWindow(), ++ NET::WMPid).pid()] = *i; ++ } ++ ++ apr_pool_t *iterpool = svn_pool_create(pool); ++ pid_t pid = getpid(); ++ while (pid != 0) ++ { ++ svn_pool_clear(iterpool); ++ if (process_info_list.contains(pid)) ++ { ++ wid = process_info_list[pid]; ++ break; ++ } ++ pid = get_parent_pid(pid, iterpool); ++ } ++ svn_pool_destroy(iterpool); ++ } ++ ++ if (wid == 1) ++ { ++ const char *wid_env_string = getenv("WINDOWID"); ++ if (wid_env_string) ++ { ++ long wid_env = atol(wid_env_string); ++ if (wid_env != 0) ++ { ++ wid = wid_env; ++ } ++ } ++ } ++ ++ return wid; ++} ++ + static KWallet::Wallet * + get_wallet(QString wallet_name, +- apr_hash_t *parameters) ++ apr_hash_t *parameters, ++ apr_pool_t *pool) + { + KWallet::Wallet *wallet = + static_cast (apr_hash_get(parameters, +@@ -115,7 +246,7 @@ + APR_HASH_KEY_STRING)) + { + wallet = KWallet::Wallet::openWallet(wallet_name, +- -1, ++ pool ? get_wid(parameters, pool) : 1, + KWallet::Wallet::Synchronous); + } + if (wallet) +@@ -141,7 +272,7 @@ + apr_hash_t *parameters = static_cast (data); + if (apr_hash_get(parameters, "kwallet-initialized", APR_HASH_KEY_STRING)) + { +- KWallet::Wallet *wallet = get_wallet(NULL, parameters); ++ KWallet::Wallet *wallet = get_wallet(NULL, parameters, NULL); + delete wallet; + apr_hash_set(parameters, + "kwallet-initialized", +@@ -172,12 +303,7 @@ + return FALSE; + } + +- QCoreApplication *app; +- if (! qApp) +- { +- int argc = 1; +- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); +- } ++ INITIALIZE_APPLICATION + + KCmdLineArgs::init(1, + (char *[1]) {(char *) "svn"}, +@@ -195,7 +321,7 @@ + QString::fromUtf8(username) + "@" + QString::fromUtf8(realmstring); + if (! KWallet::Wallet::keyDoesNotExist(wallet_name, folder, key)) + { +- KWallet::Wallet *wallet = get_wallet(wallet_name, parameters); ++ KWallet::Wallet *wallet = get_wallet(wallet_name, parameters, pool); + if (wallet) + { + apr_hash_set(parameters, +@@ -242,12 +368,7 @@ + return FALSE; + } + +- QCoreApplication *app; +- if (! qApp) +- { +- int argc = 1; +- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); +- } ++ INITIALIZE_APPLICATION + + KCmdLineArgs::init(1, + (char *[1]) {(char *) "svn"}, +@@ -262,7 +383,7 @@ + QString q_password = QString::fromUtf8(password); + QString wallet_name = get_wallet_name(parameters); + QString folder = QString::fromUtf8("Subversion"); +- KWallet::Wallet *wallet = get_wallet(wallet_name, parameters); ++ KWallet::Wallet *wallet = get_wallet(wallet_name, parameters, pool); + if (wallet) + { + apr_hash_set(parameters, +--- subversion/svn/main.c ++++ subversion/svn/main.c +@@ -2067,6 +2067,9 @@ + pool))) + svn_handle_error2(err, stderr, TRUE, "svn: "); + ++ /* svn can safely create instance of QApplication class. */ ++ svn_auth_set_parameter(ab, "svn:auth:qapplication-safe", "1"); ++ + ctx->auth_baton = ab; + + /* Set up conflict resolution callback. */ +--- subversion/svnsync/main.c ++++ subversion/svnsync/main.c +@@ -1,6 +1,6 @@ + /* + * ==================================================================== +- * Copyright (c) 2005-2008 CollabNet. All rights reserved. ++ * Copyright (c) 2005-2009 CollabNet. All rights reserved. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms +@@ -2362,7 +2362,15 @@ + check_cancel, NULL, + pool); + if (! err) +- err = (*subcommand->cmd_func)(os, &opt_baton, pool); ++ { ++ /* svnsync can safely create instance of QApplication class. */ ++ svn_auth_set_parameter(opt_baton.source_auth_baton, ++ "svn:auth:qapplication-safe", "1"); ++ svn_auth_set_parameter(opt_baton.sync_auth_baton, ++ "svn:auth:qapplication-safe", "1"); ++ ++ err = (*subcommand->cmd_func)(os, &opt_baton, pool); ++ } + if (err) + { + /* For argument-related problems, suggest using the 'help' diff --git a/dev-vcs/subversion/files/svnserve.confd b/dev-vcs/subversion/files/svnserve.confd new file mode 100644 index 000000000..83997ce92 --- /dev/null +++ b/dev-vcs/subversion/files/svnserve.confd @@ -0,0 +1,10 @@ +# The commented variables in this file are the defaults that are used +# in the init-script. You don't need to uncomment them except to +# customize them to different values. + +# Options for svnserve +#SVNSERVE_OPTS="--root=/var/svn" + +# User and group as which to run svnserve +#SVNSERVE_USER="svn" +#SVNSERVE_GROUP="svnusers" diff --git a/dev-vcs/subversion/files/svnserve.initd b/dev-vcs/subversion/files/svnserve.initd new file mode 100644 index 000000000..b1ed7e696 --- /dev/null +++ b/dev-vcs/subversion/files/svnserve.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/files/svnserve.initd,v 1.1 2010/06/22 18:17:21 arfrever Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting svnserve" + # Ensure that we run from a readable working dir, and that we do not + # lock filesystems when being run from such a location. + cd / + start-stop-daemon --start --quiet --background --make-pidfile \ + --pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \ + --chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \ + --foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn} + eend $? +} + +stop() { + ebegin "Stopping svnserve" + start-stop-daemon --stop --quiet --pidfile /var/run/svnserve.pid + eend $? +} diff --git a/dev-vcs/subversion/files/svnserve.xinetd b/dev-vcs/subversion/files/svnserve.xinetd new file mode 100644 index 000000000..e29f906b5 --- /dev/null +++ b/dev-vcs/subversion/files/svnserve.xinetd @@ -0,0 +1,14 @@ +service svn +{ + socket_type = stream + wait = no + user = apache + group = apache + umask = 002 + protocol = tcp + log_on_failure += USERID HOST + port = 3690 + server = /usr/bin/svnserve + server_args = -i + disable = yes +} diff --git a/dev-vcs/subversion/metadata.xml b/dev-vcs/subversion/metadata.xml new file mode 100644 index 000000000..b57d89914 --- /dev/null +++ b/dev-vcs/subversion/metadata.xml @@ -0,0 +1,21 @@ + + + + no-herd + + arfrever@gentoo.org + Arfrever Frehtes Taifersar Arahesis + Gentoo Subversion maintainer and Subversion upstream representative + + + poczta-sn@gazeta.pl + Maintainer for split subversion ebuild. Please send bugs about this one only here. + + + Build and install Ctypes Python bindings + Enable runtime module search + Install extra scripts (examples, tools, hooks) + Enable WebDAV support using net-libs/neon + Enable WebDAV support using net-libs/serf + + diff --git a/dev-vcs/subversion/subversion-1.6.16.ebuild b/dev-vcs/subversion/subversion-1.6.16.ebuild new file mode 100644 index 000000000..3fc378084 --- /dev/null +++ b/dev-vcs/subversion/subversion-1.6.16.ebuild @@ -0,0 +1,933 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" +WANT_AUTOMAKE="none" + +inherit autotools bash-completion db-use depend.apache elisp-common eutils flag-o-matic libtool multilib perl-module python + +DESCRIPTION="Advanced version control system" +HOMEPAGE="http://subversion.apache.org/" +SRC_URI="http://subversion.tigris.org/downloads/${P/_/-}.tar.bz2" + +LICENSE="Subversion" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="apache2 berkdb ctypes-python debug doc +dso emacs extras gnome-keyring java kde nls perl python ruby sasl test vim-syntax +webdav-neon webdav-serf" + +CDEPEND=">=dev-db/sqlite-3.4[threadsafe] + >=dev-libs/apr-1.3:1 + >=dev-libs/apr-util-1.3:1 + dev-libs/expat + sys-libs/zlib + berkdb? ( =sys-libs/db-4* ) + ctypes-python? ( =dev-lang/python-2* ) + emacs? ( virtual/emacs ) + gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring ) + kde? ( sys-apps/dbus x11-libs/qt-core x11-libs/qt-dbus x11-libs/qt-gui >=kde-base/kdelibs-4 ) + perl? ( dev-lang/perl ) + python? ( =dev-lang/python-2* ) + ruby? ( >=dev-lang/ruby-1.8.2 ) + sasl? ( dev-libs/cyrus-sasl ) + webdav-neon? ( >=net-libs/neon-0.28 ) + webdav-serf? ( >=net-libs/serf-0.3.0 )" +RDEPEND="${CDEPEND} + apache2? ( www-servers/apache[apache2_modules_dav] ) + kde? ( kde-base/kwalletd ) + nls? ( virtual/libintl ) + perl? ( dev-perl/URI )" +PDEPEND="java? ( ~dev-vcs/subversion-java-${PV} )" +APACHE_TEST_DEPEND="|| ( + =www-servers/apache-2.4*[apache2_modules_auth_basic,apache2_modules_authn_core,apache2_modules_authn_file,apache2_modules_authz_core,apache2_modules_authz_user,apache2_modules_dav,apache2_modules_log_config,apache2_modules_unixd] + =www-servers/apache-2.2*[apache2_modules_auth_basic,apache2_modules_authn_file,apache2_modules_dav,apache2_modules_log_config] + )" +DEPEND="${CDEPEND} + !!/dev/null)")" + einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB." + fi + einfo "Using: Berkeley DB ${SVN_BDB_VERSION}" + einfo + + local apu_bdb_version="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libaprutil-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")" + if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then + eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying" + eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}." + eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"." + eerror "Aborting to avoid possible run-time crashes." + die "Berkeley DB version mismatch" + fi + fi + + depend.apache_pkg_setup + + if use ctypes-python || use python || use test; then + python_pkg_setup + fi + + if ! use webdav-neon && ! use webdav-serf; then + ewarn + ewarn "WebDAV support is disabled. You need WebDAV to" + ewarn "access repositories through the HTTP protocol." + ewarn + ewarn "WebDAV support needs one of the following USE flags enabled:" + ewarn " webdav-neon webdav-serf" + ewarn + ewarn "You can do this by enabling one of these flags in /etc/portage/package.use:" + ewarn " ${CATEGORY}/${PN} webdav-neon webdav-serf" + ewarn + echo -ne "\a" + fi + + if use test; then + print + print --red "************************************************************************************************" + print + print "NOTES ABOUT TESTS" + print + print "You can set the following variables to enable testing of some features and configure testing:" + if use webdav-neon || use webdav-serf; then + print " SVN_TEST_APACHE_PORT=integer - Set Apache port number (Default value: 62208)" + fi + print " SVN_TEST_SVNSERVE_PORT=integer - Set svnserve port number (Default value: 62209)" + print " SVN_TEST_FSFS_MEMCACHED=1 - Enable using of Memcached for FSFS repositories" + print " SVN_TEST_FSFS_MEMCACHED_PORT=integer - Set Memcached port number (Default value: 62210)" + print " SVN_TEST_FSFS_SHARDING=integer - Enable sharding of FSFS repositories and set default shard size for FSFS repositories" + print " SVN_TEST_FSFS_PACKING=1 - Enable packing of FSFS repositories" + print " (SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING)" +# if use sasl; then +# print " SVN_TEST_SASL=1 - Enable SASL authentication" +# fi + if use ctypes-python || use java || use perl || use python || use ruby; then + print " SVN_TEST_BINDINGS=1 - Enable testing of bindings" + fi + if use java || use perl || use python || use ruby; then + print " (Testing of bindings requires ${CATEGORY}/${PF})" + fi + if use java; then + print " (Testing of Java binding: enable test and install dev-vcs/subversion-java)" + fi + print + print --red "************************************************************************************************" + print + + if ! use apache2 && { use webdav-neon || use webdav-serf; }; then + eerror "Testing of libsvn_ra_neon / libsvn_ra_serf requires support for Apache." + die "Enable \"apache2\" USE flag." + fi + + if [[ -n "${SVN_TEST_APACHE_PORT}" ]] && ! ([[ "$((${SVN_TEST_APACHE_PORT}))" == "${SVN_TEST_APACHE_PORT}" ]]) &>/dev/null; then + die "Value of SVN_TEST_APACHE_PORT must be an integer" + fi + + if [[ -n "${SVN_TEST_SVNSERVE_PORT}" ]] && ! ([[ "$((${SVN_TEST_SVNSERVE_PORT}))" == "${SVN_TEST_SVNSERVE_PORT}" ]]) &>/dev/null; then + die "Value of SVN_TEST_SVNSERVE_PORT must be an integer" + fi + + if [[ -n "${SVN_TEST_FSFS_MEMCACHED}" ]] && ! has_version net-misc/memcached; then + die "net-misc/memcached must be installed" + fi + if [[ -n "${SVN_TEST_FSFS_MEMCACHED_PORT}" ]] && ! ([[ "$((${SVN_TEST_FSFS_MEMCACHED_PORT}))" == "${SVN_TEST_FSFS_MEMCACHED_PORT}" ]]) &>/dev/null; then + die "Value of SVN_TEST_FSFS_MEMCACHED_PORT must be an integer" + fi + if [[ -n "${SVN_TEST_FSFS_SHARDING}" ]] && ! ([[ "$((${SVN_TEST_FSFS_SHARDING}))" == "${SVN_TEST_FSFS_SHARDING}" ]]) &>/dev/null; then + die "Value of SVN_TEST_FSFS_SHARDING must be an integer" + fi + if [[ -n "${SVN_TEST_FSFS_PACKING}" && -z "${SVN_TEST_FSFS_SHARDING}" ]]; then + die "SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING" + fi + + if [[ -n "${SVN_TEST_BINDINGS}" ]]; then + if { use java || use perl || use python || use ruby; } && ! has_version "=${CATEGORY}/${PF}"; then + die "${CATEGORY}/${PF} must be installed" + fi + fi + fi + + if use debug; then + append-cppflags -DSVN_DEBUG -DAP_DEBUG + fi + + # Allow for custom repository locations. + SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}" +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.6.0-disable_linking_against_unneeded_libraries.patch" + epatch "${FILESDIR}/${PN}-1.6.2-local_library_preloading.patch" + epatch "${FILESDIR}/${PN}-1.6.3-kwallet_window.patch" + chmod +x build/transform_libtool_scripts.sh || die "chmod failed" + + if ! use test; then + sed -i \ + -e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \ + -e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac + fi + + sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed" + + eautoconf + elibtoolize + + sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed" +} + +src_configure() { + local myconf + + if use python || use perl || use ruby; then + myconf+=" --with-swig" + else + myconf+=" --without-swig" + fi + + #if use java; then + #if use test && [[ -n "${SVN_TEST_BINDINGS}" ]]; then + #myconf+=" --with-junit=${EPREFIX}/usr/share/junit-4/lib/junit.jar" + #else + #myconf+=" --without-junit" + #fi + #fi + + econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ + $(use_with apache2 apxs "${APXS}") \ + $(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \ + $(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \ + $(use_enable dso runtime-module-search) \ + $(use_with gnome-keyring) \ + --disable-javahl \ + $(use_with kde kwallet) \ + $(use_enable nls) \ + $(use_with sasl) \ + $(use_with webdav-neon neon) \ + $(use_with webdav-serf serf "${EPREFIX}/usr") \ + --without-junit \ + ${myconf} \ + --with-apr="${EPREFIX}/usr/bin/apr-1-config" \ + --with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \ + --disable-experimental-libtool \ + --without-jikes \ + --enable-local-library-preloading \ + --disable-mod-activation \ + --disable-neon-version-check \ + --with-sqlite="${EPREFIX}/usr" + + # $(use_with java jdk "${JAVA_HOME}") \ +} + +src_compile() { + print + print "Building of core of Subversion" + print + emake local-all || die "Building of core of Subversion failed" + + if use ctypes-python; then + print + print "Building of Subversion Ctypes Python bindings" + print + python_copy_sources subversion/bindings/ctypes-python + rm -fr subversion/bindings/ctypes-python + ctypes_python_bindings_building() { + rm -f subversion/bindings/ctypes-python + ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python + emake ctypes-python + } + python_execute_function \ + --action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \ + --failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \ + ctypes_python_bindings_building + fi + + if use python; then + print + print "Building of Subversion SWIG Python bindings" + print + python_copy_sources subversion/bindings/swig/python + rm -fr subversion/bindings/swig/python + swig_python_bindings_building() { + rm -f subversion/bindings/swig/python + ln -s python-${PYTHON_ABI} subversion/bindings/swig/python + emake \ + PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \ + PYTHON_VERSION="$(python_get_version)" \ + swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \ + swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \ + swig-py + } + python_execute_function \ + --action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \ + --failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \ + swig_python_bindings_building + fi + + if use perl; then + print + print "Building of Subversion SWIG Perl bindings" + print + emake -j1 swig-pl || die "Building of Subversion SWIG Perl bindings failed" + fi + + if use ruby; then + print + print "Building of Subversion SWIG Ruby bindings" + print + emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed" + fi + + #if use java; then + #print + #print "Building of Subversion JavaHL library" + #print + #emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed" + #fi + + if use emacs; then + print + print "Compilation of Emacs modules" + print + elisp-compile contrib/client-side/emacs/{dsvn,psvn,vc-svn}.el doc/svn-doc.el doc/tools/svnbook.el || die "Compilation of Emacs modules failed" + fi + + if use extras; then + print + print "Building of contrib and tools" + print + emake contrib || die "Building of contrib failed" + emake tools || die "Building of tools failed" + fi + + if use doc; then + print + print "Building of Subversion HTML documentation" + print + doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed" + + #if use java; then + #print + #print "Building of Subversion JavaHL library HTML documentation" + #print + #emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed" + #fi + fi +} + +create_apache_tests_configuration() { + get_loadmodule_directive() { + if [[ "$("${APACHE_BIN}" -l)" != *"mod_$1.c"* ]]; then + echo "LoadModule $1_module \"${APACHE_MODULESDIR}/mod_$1.so\"" + fi + } + get_loadmodule_directives() { + if has_version "=www-servers/apache-2.4*"; then + get_loadmodule_directive auth_basic + get_loadmodule_directive authn_core + get_loadmodule_directive authn_file + get_loadmodule_directive authz_core + get_loadmodule_directive authz_user + get_loadmodule_directive dav + get_loadmodule_directive log_config + get_loadmodule_directive unixd + else + get_loadmodule_directive auth_basic + get_loadmodule_directive authn_file + get_loadmodule_directive dav + get_loadmodule_directive log_config + fi + } + + mkdir -p "${T}/apache" + cat << EOF > "${T}/apache/apache.conf" +$(get_loadmodule_directives) +LoadModule dav_svn_module "${S}/subversion/mod_dav_svn/.libs/mod_dav_svn.so" +LoadModule authz_svn_module "${S}/subversion/mod_authz_svn/.libs/mod_authz_svn.so" + +User $(id -un) +Group $(id -gn) +Listen localhost:${SVN_TEST_APACHE_PORT} +ServerName localhost +ServerRoot "${T}" +DocumentRoot "${T}" +CoreDumpDirectory "${T}" +PidFile "${T}/apache.pid" +CustomLog "${T}/apache/access_log" "%h %l %u %{%Y-%m-%dT%H:%M:%S}t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" +CustomLog "${T}/apache/svn_log" "%{%Y-%m-%dT%H:%M:%S}t %u %{SVN-REPOS-NAME}e %{SVN-ACTION}e" env=SVN-ACTION +ErrorLog "${T}/apache/error_log" +LogLevel Debug +MaxRequestsPerChild 0 + + + AllowOverride None + + + + DAV svn + SVNParentPath "${S}/subversion/tests/cmdline/svn-test-work/repositories" + AuthzSVNAccessFile "${S}/subversion/tests/cmdline/svn-test-work/authz" + AuthType Basic + AuthName "Subversion Repository" + AuthUserFile "${T}/apache/users" + Require valid-user + + + + DAV svn + SVNPath "${S}/subversion/tests/cmdline/svn-test-work/local_tmp/repos" + AuthzSVNAccessFile "${S}/subversion/tests/cmdline/svn-test-work/authz" + AuthType Basic + AuthName "Subversion Repository" + AuthUserFile "${T}/apache/users" + Require valid-user + +EOF + + cat << EOF > "${T}/apache/users" +jrandom:xCGl35kV9oWCY +jconstant:xCGl35kV9oWCY +EOF +} + +set_tests_variables() { + if [[ "$1" == "local" ]]; then + base_url="file://${S}/subversion/tests/cmdline" + http_library="" + fi + if [[ "$1" == "svn" ]]; then + base_url="svn://127.0.0.1:${SVN_TEST_SVNSERVE_PORT}" + http_library="" + fi + if [[ "$1" == "neon" || "$1" == "serf" ]]; then + base_url="http://127.0.0.1:${SVN_TEST_APACHE_PORT}" + http_library="$1" + fi +} + +src_test() { + if ! use test; then + die "Invalid configuration" + fi + + local fs_type fs_types ra_type ra_types options failed_tests + + fs_types="fsfs" + use berkdb && fs_types+=" bdb" + + ra_types="local svn" + use webdav-neon && ra_types+=" neon" + use webdav-serf && ra_types+=" serf" + + local pid_file + for pid_file in svnserve.pid apache.pid memcached.pid; do + rm -f "${T}/${pid_file}" + done + + termination() { + local die="$1" pid_file + if [[ -n "${die}" ]]; then + echo -e "\n\e[1;31mKilling of child processes...\e[0m\a" > /dev/tty + fi + for pid_file in svnserve.pid apache.pid memcached.pid; do + if [[ -f "${T}/${pid_file}" ]]; then + kill "$(<"${T}/${pid_file}")" + fi + done + if [[ -n "${die}" ]]; then + sleep 6 + die "Termination" + fi + } + + trap 'termination 1 &' SIGINT SIGTERM + + SVN_TEST_SVNSERVE_PORT="${SVN_TEST_SVNSERVE_PORT:-62209}" + LC_ALL="C" subversion/svnserve/svnserve -dr "subversion/tests/cmdline" --listen-port "${SVN_TEST_SVNSERVE_PORT}" --log-file "${T}/svnserve.log" --pid-file "${T}/svnserve.pid" + if use webdav-neon || use webdav-serf; then + SVN_TEST_APACHE_PORT="${SVN_TEST_APACHE_PORT:-62208}" + create_apache_tests_configuration + "${APACHE_BIN}" -f "${T}/apache/apache.conf" + fi + if [[ -n "${SVN_TEST_FSFS_MEMCACHED}" ]]; then + SVN_TEST_FSFS_MEMCACHED_PORT="${SVN_TEST_FSFS_MEMCACHED_PORT:-62210}" + sed -e "/\[memcached-servers\]/akey = 127.0.0.1:${SVN_TEST_FSFS_MEMCACHED_PORT}" -i subversion/tests/tests.conf + memcached -dp "${SVN_TEST_FSFS_MEMCACHED_PORT}" -P "${T}/memcached.pid" + fi + if [[ -n "${SVN_TEST_FSFS_SHARDING}" ]]; then + options+=" FSFS_SHARDING=${SVN_TEST_FSFS_SHARDING}" + fi + if [[ -n "${SVN_TEST_FSFS_PACKING}" ]]; then + options+=" FSFS_PACKING=1" + fi +# if [[ -n "${SVN_TEST_SASL}" ]]; then +# options+=" ENABLE_SASL=1" +# fi + + sleep 6 + + for ra_type in ${ra_types}; do + for fs_type in ${fs_types}; do + [[ "${ra_type}" == "local" && "${fs_type}" == "bdb" ]] && continue + print + print --blue "Testing of ra_${ra_type} + $(echo ${fs_type} | tr '[:lower:]' '[:upper:]')" + print + set_tests_variables ${ra_type} + time emake check FS_TYPE="${fs_type}" BASE_URL="${base_url}" HTTP_LIBRARY="${http_library}" CLEANUP="1" ${options} || failed_tests="1" + mv tests.log "${T}/tests-ra_${ra_type}-${fs_type}.log" + done + done + unset base_url http_library + termination + trap - SIGINT SIGTERM + + if [[ -n "${SVN_TEST_BINDINGS}" ]]; then + local swig_lingua swig_linguas + local -A linguas + + if use ctypes-python; then + print + print --blue "Testing of Subversion Ctypes Python bindings" + print + ctypes_python_bindings_testing() { + rm -f subversion/bindings/ctypes-python + ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python + time emake check-ctypes-python || failed_tests="1" + } + python_execute_function \ + --action-message 'Testing of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \ + --failure-message 'Testing of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \ + ctypes_python_bindings_testing + fi + + if use python; then + print + print --blue "Testing of Subversion SWIG Python bindings" + print + swig_python_bindings_testing() { + rm -f subversion/bindings/swig/python + ln -s python-${PYTHON_ABI} subversion/bindings/swig/python + time emake PYTHON_VERSION="$(python_get_version)" check-swig-py || failed_tests="1" + } + python_execute_function \ + --action-message 'Testing of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \ + --failure-message 'Testing of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \ + swig_python_bindings_testing + fi + + use perl && swig_linguas+=" pl" + use ruby && swig_linguas+=" rb" + + linguas[pl]="Perl" + linguas[rb]="Ruby" + + for swig_lingua in ${swig_linguas}; do + print + print --blue "Testing of Subversion SWIG ${linguas[${swig_lingua}]} bindings" + print + time emake check-swig-${swig_lingua} || failed_tests="1" + done + + #if use java; then + #print + #print --blue "Testing of Subversion JavaHL library" + #print + #time emake check-javahl || failed_tests="1" + #fi + fi + + if [[ -n "${failed_tests}" ]]; then + ewarn + ewarn "\e[1;31mTests failed\e[0m" + ewarn + fi +} + +src_install() { + print + print "Installation of core of Subversion" + print + emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed" + + if use ctypes-python; then + print + print "Installation of Subversion Ctypes Python bindings" + print + ctypes_python_bindings_installation() { + rm -f subversion/bindings/ctypes-python + ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python + emake DESTDIR="${D}" install-ctypes-python + } + python_execute_function \ + --action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \ + --failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \ + ctypes_python_bindings_installation + fi + + if use python; then + print + print "Installation of Subversion SWIG Python bindings" + print + swig_python_bindings_installation() { + rm -f subversion/bindings/swig/python + ln -s python-${PYTHON_ABI} subversion/bindings/swig/python + emake -j1 \ + DESTDIR="${D}" \ + PYTHON_VERSION="$(python_get_version)" \ + swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \ + swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \ + install-swig-py + } + python_execute_function \ + --action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \ + --failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \ + swig_python_bindings_installation + + delete_static_libraries() { + find "${ED}$(python_get_sitedir)" -name "*.a" -print0 | xargs -0 rm -f + } + python_execute_function -q delete_static_libraries + fi + + if use ctypes-python || use python; then + python_clean_installation_image -q + fi + + if use perl; then + print + print "Installation of Subversion SWIG Perl bindings" + print + emake -j1 DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed" + fixlocalpod + find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr + fi + + if use ruby; then + print + print "Installation of Subversion SWIG Ruby bindings" + print + emake -j1 DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed" + find "${ED}usr/$(get_libdir)/ruby" "(" -name "*.a" -o -name "*.la" ")" -print0 | xargs -0 rm -f + fi + + #if use java; then + #print + #print "Installation of Subversion JavaHL library" + #print + #emake -j1 DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed" + #java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*.so + #java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar + #rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar + #fi + + # Install Apache module configuration. + if use apache2; then + mkdir -p "${D}${APACHE_MODULES_CONFDIR}" + cat << EOF > "${D}${APACHE_MODULES_CONFDIR}"/47_mod_dav_svn.conf + +LoadModule dav_svn_module modules/mod_dav_svn.so + +LoadModule authz_svn_module modules/mod_authz_svn.so + + +# Example configuration: +# +# DAV svn +# SVNPath ${SVN_REPOS_LOC}/repos +# AuthType Basic +# AuthName "Subversion repository" +# AuthUserFile ${SVN_REPOS_LOC}/conf/svnusers +# Require valid-user +# + +EOF + fi + + # Install Bash Completion, bug 43179. + dobashcompletion tools/client-side/bash_completion subversion + rm -f tools/client-side/bash_completion + + # Install hot backup script, bug 54304. + newbin tools/backup/hot-backup.py svn-hot-backup + rm -fr tools/backup + + # Install svn_load_dirs.pl. + if use perl; then + dobin contrib/client-side/svn_load_dirs/svn_load_dirs.pl + fi + rm -f contrib/client-side/svn_load_dirs/svn_load_dirs.pl + + # Install svnserve init-script and xinet.d snippet, bug 43245. + newinitd "${FILESDIR}"/svnserve.initd svnserve + newconfd "${FILESDIR}"/svnserve.confd svnserve + insinto /etc/xinetd.d + newins "${FILESDIR}"/svnserve.xinetd svnserve + + # Install documentation. + dodoc CHANGES COMMITTERS README + dodoc tools/xslt/svnindex.{css,xsl} + rm -fr tools/xslt + + # Install Vim syntax files. + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins contrib/client-side/vim/svn.vim + fi + rm -f contrib/client-side/vim/svn.vim + + # Install Emacs Lisps. + if use emacs; then + elisp-install ${PN} contrib/client-side/emacs/{dsvn,psvn}.{el,elc} doc/svn-doc.{el,elc} doc/tools/svnbook.{el,elc} || die "Installation of Emacs modules failed" + elisp-install ${PN}/compat contrib/client-side/emacs/vc-svn.{el,elc} || die "Installation of Emacs modules failed" + touch "${ED}${SITELISP}/${PN}/compat/.nosearch" + elisp-site-file-install "${FILESDIR}/70svn-gentoo.el" || die "Installation of Emacs site-init file failed" + fi + rm -fr contrib/client-side/emacs + + # Install extra files. + if use extras; then + print + print "Installation of contrib and tools" + print + + cat << EOF > 80subversion-extras +PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin" +ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin" +EOF + doenvd 80subversion-extras + + emake DESTDIR="${D}" contribdir="/usr/$(get_libdir)/subversion/bin" install-contrib || die "Installation of contrib failed" + emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed" + + find contrib tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr + rm -fr contrib/client-side/svn-push + rm -fr contrib/server-side/svnstsw + rm -fr tools/client-side/svnmucc + rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}* + rm -fr tools/{buildbot,dev,diff,po} + + insinto /usr/share/${PN} + doins -r contrib tools + fi + + if use doc; then + print + print "Installation of Subversion HTML documentation" + print + dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed" + + insinto /usr/share/doc/${PF} + doins -r notes + ecompressdir /usr/share/doc/${PF}/notes + +# if use ruby; then +# emake DESTDIR="${D}" install-swig-rb-doc +# fi + + #if use java; then + #java-pkg_dojavadoc doc/javadoc + #fi + fi +} + +pkg_preinst() { + # Compare versions of Berkeley DB, bug 122877. + if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then + OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")" + NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")" + if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then + CHANGED_BDB_VERSION="1" + fi + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + use perl && perl-module_pkg_postinst + + if use ctypes-python; then + python_mod_optimize csvn + fi + + if use python; then + python_mod_optimize libsvn svn + fi + + elog "Subversion Server Notes" + elog "-----------------------" + elog + elog "If you intend to run a server, a repository needs to be created using" + elog "svnadmin (see man svnadmin) or the following command to create it in" + elog "${SVN_REPOS_LOC}:" + elog + elog " emerge --config =${CATEGORY}/${PF}" + elog + elog "Subversion has multiple server types, take your pick:" + elog + elog " - svnserve daemon: " + elog " 1. Edit /etc/conf.d/svnserve" + elog " 2. Fix the repository permissions (see \"Fixing the repository permissions\")" + elog " 3. Start daemon: /etc/init.d/svnserve start" + elog " 4. Make persistent: rc-update add svnserve default" + elog + elog " - svnserve via xinetd:" + elog " 1. Edit /etc/xinetd.d/svnserve (remove disable line)" + elog " 2. Fix the repository permissions (see \"Fixing the repository permissions\")" + elog " 3. Restart xinetd.d: /etc/init.d/xinetd restart" + elog + elog " - svn over ssh:" + elog " 1. Fix the repository permissions (see \"Fixing the repository permissions\")" + elog " Additionally run:" + elog " groupadd svnusers" + elog " chown -R root:svnusers ${SVN_REPOS_LOC}/repos" + elog " 2. Create an svnserve wrapper in /usr/local/bin to set the umask you" + elog " want, for example:" + elog " #!/bin/bash" + elog " . /etc/conf.d/svnserve" + elog " umask 007" + elog " exec /usr/bin/svnserve \${SVNSERVE_OPTS} \"\$@\"" + elog + + if use apache2; then + elog " - http-based server:" + elog " 1. Edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\"" + elog " 2. Create an htpasswd file:" + elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME" + elog " 3. Fix the repository permissions (see \"Fixing the repository permissions\")" + elog " 4. Restart Apache: /etc/init.d/apache2 restart" + elog + fi + + elog " Fixing the repository permissions:" + elog " chmod -Rf go-rwx ${SVN_REPOS_LOC}/conf" + elog " chmod -Rf g-w,o-rwx ${SVN_REPOS_LOC}/repos" + elog " chmod -Rf g+rw ${SVN_REPOS_LOC}/repos/db" + elog " chmod -Rf g+rw ${SVN_REPOS_LOC}/repos/locks" + elog + + elog "If you intend to use svn-hot-backup, you can specify the number of" + elog "backups to keep per repository by specifying an environment variable." + elog "If you want to keep e.g. 2 backups, do the following:" + elog "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion" + elog "echo 'SVN_HOTBACKUP_BACKUPS_NUMBER=2' >> /etc/env.d/80subversion" + elog + + elog "Subversion contains support for the use of Memcached" + elog "to cache data of FSFS repositories." + elog "You should install \"net-misc/memcached\", start memcached" + elog "and configure your FSFS repositories, if you want to use this feature." + elog "See the documentation for details." + elog + + if [[ -n "${CHANGED_BDB_VERSION}" ]]; then + ewarn "You upgraded from an older version of Berkeley DB and may experience" + ewarn "problems with your repository. Run the following commands as root to fix it:" + ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos" + ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos" + fi +} + +pkg_postrm() { + use emacs && elisp-site-regen + use perl && perl-module_pkg_postrm + + if use ctypes-python; then + python_mod_cleanup csvn + fi + + if use python; then + python_mod_cleanup libsvn svn + fi +} + +pkg_config() { + einfo "Initializing the database in ${EROOT}${SVN_REPOS_LOC}..." + if [[ -e "${EROOT}${SVN_REPOS_LOC}/repos" ]]; then + echo "A Subversion repository already exists and I will not overwrite it." + echo "Delete \"${EROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version." + else + mkdir -p "${EROOT}${SVN_REPOS_LOC}/conf" + + einfo "Populating repository directory..." + # Create initial repository. + "${EROOT}usr/bin/svnadmin" create "${EROOT}${SVN_REPOS_LOC}/repos" + + einfo "Setting repository permissions..." + SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")" + SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")" + if use apache2; then + [[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache" + [[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache" + else + [[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn" + [[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers" + enewgroup "${SVNSERVE_GROUP}" + enewuser "${SVNSERVE_USER}" -1 -1 "${SVN_REPOS_LOC}" "${SVNSERVE_GROUP}" + fi + chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "${EROOT}${SVN_REPOS_LOC}/repos" + chmod -Rf go-rwx "${EROOT}${SVN_REPOS_LOC}/conf" + chmod -Rf o-rwx "${EROOT}${SVN_REPOS_LOC}/repos" + fi +}