dev-util/subversion renamed to dev-vcs/subversion.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Tue, 22 Jun 2010 18:17:21 +0000 (18:17 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Tue, 22 Jun 2010 18:17:21 +0000 (18:17 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

13 files changed:
dev-vcs/subversion/ChangeLog [new file with mode: 0644]
dev-vcs/subversion/Manifest [new file with mode: 0644]
dev-vcs/subversion/files/70svn-gentoo.el [new file with mode: 0644]
dev-vcs/subversion/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch [new file with mode: 0644]
dev-vcs/subversion/files/subversion-1.6.2-local_library_preloading.patch [new file with mode: 0644]
dev-vcs/subversion/files/subversion-1.6.3-kwallet_window.patch [new file with mode: 0644]
dev-vcs/subversion/files/svnserve.confd [new file with mode: 0644]
dev-vcs/subversion/files/svnserve.initd [new file with mode: 0644]
dev-vcs/subversion/files/svnserve.xinetd [new file with mode: 0644]
dev-vcs/subversion/files/vc-svn.el [new file with mode: 0644]
dev-vcs/subversion/metadata.xml [new file with mode: 0644]
dev-vcs/subversion/subversion-1.6.11.ebuild [new file with mode: 0644]
dev-vcs/subversion/subversion-1.6.9.ebuild [new file with mode: 0644]

diff --git a/dev-vcs/subversion/ChangeLog b/dev-vcs/subversion/ChangeLog
new file mode 100644 (file)
index 0000000..84d46bd
--- /dev/null
@@ -0,0 +1,1916 @@
+# ChangeLog for dev-vcs/subversion
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/ChangeLog,v 1.1 2010/06/22 18:17:20 arfrever Exp $
+
+  22 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  +subversion-1.6.11.ebuild:
+  Version bump. Set SUPPORT_PYTHON_ABIS.
+
+  28 Mar 2010; Raúl Porcel <armin76@gentoo.org> subversion-1.6.9.ebuild:
+  alpha/arm/ia64/s390/sh/sparc stable wrt #306343
+
+  23 Mar 2010; Brent Baude <ranger@gentoo.org> subversion-1.6.9.ebuild:
+  Marking subversion-1.6.9 ppc for bug 306343
+
+  11 Mar 2010; Sebastian Pipping <sping@gentoo.org> 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 <jer@gentoo.org> subversion-1.6.9.ebuild:
+  Stable for HPPA (bug #306343).
+
+  28 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  subversion-1.6.9.ebuild:
+  x86 stable wrt bug #306343
+
+  26 Feb 2010; Brent Baude <ranger@gentoo.org> subversion-1.6.9.ebuild:
+  Marking subversion-1.6.9 ppc64 for bug 306343
+
+  23 Feb 2010; Markos Chandras <hwoarang@gentoo.org>
+  subversion-1.6.9.ebuild:
+  Stable on amd64 wrt bug #306343
+
+  24 Jan 2010; Raúl Porcel <armin76@gentoo.org> 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 <arfrever@gentoo.org>
+  +subversion-1.6.9.ebuild:
+  Version bump.
+
+  01 Jan 2010; Tobias Klausmann <klausman@gentoo.org>
+  subversion-1.6.6.ebuild:
+  Stable on alpha, bug #294077
+
+  08 Dec 2009; nixnut <nixnut@gentoo.org> subversion-1.6.6.ebuild:
+  ppc stable #294077
+
+  26 Nov 2009; Markus Meier <maekke@gentoo.org> subversion-1.6.6.ebuild:
+  arm stable, bug #294077
+
+  25 Nov 2009; Jeroen Roovers <jer@gentoo.org> subversion-1.6.6.ebuild:
+  Stable for HPPA (bug #294077).
+
+  23 Nov 2009; Markus Meier <maekke@gentoo.org> subversion-1.6.6.ebuild:
+  amd64/x86 stable, bug #294077
+
+  23 Nov 2009; Brent Baude <ranger@gentoo.org> 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 <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  -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 <armin76@gentoo.org> subversion-1.6.5.ebuild:
+  ia64/s390/sh/sparc stable wrt #286002
+
+  03 Oct 2009; Tobias Klausmann <klausman@gentoo.org>
+  subversion-1.6.5.ebuild:
+  Stable on alpha, bug #286002
+
+  29 Sep 2009; Markus Meier <maekke@gentoo.org> subversion-1.6.5.ebuild:
+  arm stable, bug #286002
+
+  27 Sep 2009; Markus Meier <maekke@gentoo.org> subversion-1.6.5.ebuild:
+  amd64/x86 stable, bug #286002
+
+  27 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> subversion-1.6.5.ebuild:
+  Stable for ppc. Bug 286002
+
+  25 Sep 2009; Brent Baude <ranger@gentoo.org> subversion-1.6.5.ebuild:
+  Marking subversion-1.6.5 ppc64 for bug 286002
+
+  23 Sep 2009; Jeroen Roovers <jer@gentoo.org> 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 <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  +subversion-1.6.5.ebuild:
+  Version bump.
+
+  09 Aug 2009; Raúl Porcel <armin76@gentoo.org> subversion-1.6.4.ebuild:
+  alpha/arm/ia64/sh/sparc stable wrt #280494
+
+  09 Aug 2009; nixnut <nixnut@gentoo.org> subversion-1.6.4.ebuild:
+  ppc stable #280494
+
+  08 Aug 2009; Brent Baude <ranger@gentoo.org> 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 <arfrever@gentoo.org>
+  +subversion-1.6.4.ebuild, +subversion-1.6.4-r10.ebuild:
+  Version bump (bug #280494).
+
+  05 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -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 <jer@gentoo.org> subversion-1.6.3.ebuild:
+  Stable for HPPA (bug #278623).
+
+  28 Jul 2009; Raúl Porcel <armin76@gentoo.org> subversion-1.6.3.ebuild:
+  alpha/arm/ia64/s390/sh/sparc stable wrt #278623
+
+  27 Jul 2009; Robert Piasek <dagger@gentoo.org> subversion-1.6.3.ebuild:
+  arm stable (bug #278623)
+
+  27 Jul 2009; nixnut <nixnut@gentoo.org> subversion-1.6.3.ebuild:
+  ppc stable #278623
+
+  26 Jul 2009; Marcus D. Hanwell <cryos@gentoo.org> subversion-1.6.3.ebuild:
+  Stable on amd64, bug 278623.
+
+  22 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
+  subversion-1.6.3.ebuild:
+  stable x86, bug 278623
+
+*subversion-1.6.3-r10 (22 Jul 2009)
+
+  22 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  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 <ranger@gentoo.org> subversion-1.6.2.ebuild:
+  Marking subversion-1.6.2 ppc64 and ppc for bug 273304
+
+  26 Jun 2009; Alexis Ballier <aballier@gentoo.org> subversion-1.6.3.ebuild:
+  keyword ~x86-fbsd, bug #263337
+
+*subversion-1.6.3 (22 Jun 2009)
+
+  22 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +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 <armin76@gentoo.org> subversion-1.6.2.ebuild:
+  Really mark stable...
+
+  16 Jun 2009; Raúl Porcel <armin76@gentoo.org> 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 <maekke@gentoo.org> subversion-1.6.2.ebuild:
+  amd64 stable, bug #273304
+
+  10 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
+  subversion-1.6.2.ebuild:
+  stable x86, bug 273304
+
+  09 Jun 2009; Jeroen Roovers <jer@gentoo.org> subversion-1.6.2.ebuild:
+  Stable for HPPA (bug #273304).
+
+  09 Jun 2009; Ferris McCormick <fmccor@gentoo.org> 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 <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  -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 <maekke@gentoo.org> subversion-1.5.6.ebuild:
+  amd64 stable, bug #267270
+
+  26 Apr 2009; Raúl Porcel <armin76@gentoo.org> subversion-1.5.6.ebuild:
+  alpha/arm/ia64/s390/sh/sparc/x86 stable wrt #267270
+
+  24 Apr 2009; Brent Baude <ranger@gentoo.org> subversion-1.5.6.ebuild:
+  stable ppc, bug 267270
+
+  24 Apr 2009; Brent Baude <ranger@gentoo.org> subversion-1.5.6.ebuild:
+  stable ppc64, bug 267270
+
+  24 Apr 2009; Jeroen Roovers <jer@gentoo.org> subversion-1.5.6:
+  Stable for HPPA (bug #267270).
+
+  23 Apr 2009; Raúl Porcel <armin76@gentoo.org> subversion-1.6.1.ebuild:
+  Add ~ia64 wrt #263337
+
+  15 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +files/subversion-1.6.1-fix_sqlite_configuration.patch,
+  subversion-1.6.1.ebuild:
+  Fix SQLite configuration (bug #264241).
+
+  12 Apr 2009; Tobias Klausmann <klausman@gentoo.org>
+  subversion-1.6.1.ebuild:
+  Keyworded on alpha, bug #263337
+
+  12 Apr 2009; Tobias Klausmann <klausman@gentoo.org>
+  subversion-1.6.0-r1.ebuild:
+  Keyworded on alpha, bug #263337
+
+  10 Apr 2009; Raúl Porcel <armin76@gentoo.org> 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 <arfrever@gentoo.org>
+  -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 <arfrever@gentoo.org>
+  subversion-1.6.0-r1.ebuild:
+  Improve error message (bug #264936).
+
+  04 Apr 2009; Markus Meier <maekke@gentoo.org> subversion-1.6.0-r1.ebuild:
+  add ~x86, bug #263337
+
+  04 Apr 2009; Brent Baude <ranger@gentoo.org> subversion-1.6.0.ebuild,
+  subversion-1.6.0-r1.ebuild:
+  Marking subversion-1.6* ~ppc64 for bug 263337
+
+  02 Apr 2009; Jeroen Roovers <jer@gentoo.org> subversion-1.6.0-r1.ebuild:
+  Marked ~hppa (bug #263337).
+
+  29 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  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 <darkside@gentoo.org> metadata.xml:
+  fix metadata - missing herd element
+
+  25 Mar 2009; Joseph Jezak <josejx@gentoo.org> subversion-1.6.0.ebuild:
+  Marked ~ppc for bug #263337.
+
+  24 Mar 2009; Benedikt Böhm <hollow@gentoo.org> metadata.xml:
+  remove myself from metadata.xml
+
+  23 Mar 2009; Jeroen Roovers <jer@gentoo.org> subversion-1.6.0.ebuild:
+  Marked ~hppa (bug #263337).
+
+  22 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  subversion-1.6.0.ebuild:
+  Don't print messages related to Berkeley DB when USE="-berkdb".
+
+  22 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  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 <arfrever@gentoo.org>
+  +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 <arfrever@gentoo.org>
+  +subversion-1.5.6.ebuild:
+  Version bump (bug #260636).
+
+  06 Mar 2009; Jeroen Roovers <jer@gentoo.org> subversion-1.5.5.ebuild:
+  Stable for HPPA (bug #259046).
+
+  17 Feb 2009; Raúl Porcel <armin76@gentoo.org> subversion-1.5.5.ebuild:
+  arm/ia64/s390/sh/sparc stable wrt #259046
+
+  16 Feb 2009; Brent Baude <ranger@gentoo.org> subversion-1.5.5.ebuild:
+  stable ppc64, bug 259046
+
+  16 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
+  subversion-1.5.5.ebuild:
+  Stable on alpha, bug 259046
+
+  15 Feb 2009; Brent Baude <ranger@gentoo.org> subversion-1.5.5.ebuild:
+  stable ppc, bug 259046
+
+  15 Feb 2009; Markus Meier <maekke@gentoo.org> subversion-1.5.5.ebuild:
+  amd64/x86 stable, bug #259046
+
+*subversion-1.5.5 (15 Jan 2009)
+
+  15 Jan 2009; Benedikt Böhm <hollow@gentoo.org> -subversion-1.5.2.ebuild,
+  +subversion-1.5.5.ebuild:
+  version bump wrt #252211
+
+  25 Nov 2008; Raúl Porcel <armin76@gentoo.org> subversion-1.5.4.ebuild:
+  alpha/arm/ia64 stable wrt #247072
+
+  22 Nov 2008; Markus Meier <maekke@gentoo.org> subversion-1.5.4.ebuild:
+  amd64/x86 stable, bug #247072
+
+  21 Nov 2008; Ferris McCormick <fmccor@gentoo.org> subversion-1.5.4.ebuild:
+  Sparc stable --- Bug #247072 --- looks good to me.
+
+  21 Nov 2008; Jeroen Roovers <jer@gentoo.org> subversion-1.5.4.ebuild:
+  Stable for HPPA (bug #247072).
+
+  20 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  subversion-1.5.4.ebuild:
+  ppc stable, bug #247072
+
+  20 Nov 2008; Brent Baude <ranger@gentoo.org> subversion-1.5.4.ebuild:
+  stable ppc64, bug 247072
+
+  16 Nov 2008; Benedikt Böhm <hollow@gentoo.org> -subversion-1.4.5.ebuild,
+  -subversion-1.5.1.ebuild, subversion-1.5.4.ebuild:
+  fix #238347; cleanup
+
+  12 Nov 2008; Peter Volkov <pva@gentoo.org> subversion-1.5.4.ebuild:
+  ~mips keyword back, bug #212056.
+
+  04 Nov 2008; Mike Frysinger <vapier@gentoo.org> 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 <yoswink@gentoo.org>
+  subversion-1.5.2.ebuild:
+  alpha stable wrt bug #241584
+
+*subversion-1.5.4 (25 Oct 2008)
+
+  25 Oct 2008; Benedikt Böhm <hollow@gentoo.org>
+  -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 <armin76@gentoo.org> subversion-1.5.2.ebuild:
+  ia64 stable wrt #241584
+
+  16 Oct 2008; Markus Meier <maekke@gentoo.org> subversion-1.5.2.ebuild:
+  x86 stable, bug #241584
+
+  15 Oct 2008; Jeroen Roovers <jer@gentoo.org> subversion-1.5.2.ebuild:
+  Stable for HPPA (bug #241584).
+
+  15 Oct 2008; Friedrich Oslage <bluebird@gentoo.org>
+  subversion-1.5.2.ebuild:
+  Stable on sparc, bug #241584
+
+  14 Oct 2008; Thomas Anderson <gentoofan23@gentoo.org>
+  subversion-1.5.2.ebuild:
+  stable amd64, bug 241584
+
+  14 Oct 2008; Brent Baude <ranger@gentoo.org> subversion-1.5.2.ebuild:
+  stable ppc, bug 241584
+
+  14 Oct 2008; Brent Baude <ranger@gentoo.org> subversion-1.5.2.ebuild:
+  stable ppc64, bug 241584
+
+*subversion-1.5.2 (21 Sep 2008)
+
+  21 Sep 2008; Ben de Groot <yngwin@gentoo.org> +subversion-1.5.2.ebuild:
+  Version bump, using patch from bug 236223.
+
+  10 Sep 2008; Jeroen Roovers <jer@gentoo.org> subversion-1.5.1.ebuild:
+  Stable for HPPA (bug #236131).
+
+  07 Sep 2008; Raúl Porcel <armin76@gentoo.org> subversion-1.5.1.ebuild:
+  ia64 stable wrt #236131
+
+  07 Sep 2008; Markus Meier <maekke@gentoo.org> subversion-1.5.1.ebuild:
+  amd64/x86 stable, bug #236131
+
+  06 Sep 2008; Jose Luis Rivero <yoswink@gentoo.org>
+  subversion-1.5.1.ebuild:
+  Stable on alpha wrt bug #236131
+
+  06 Sep 2008; Friedrich Oslage <bluebird@gentoo.org>
+  subversion-1.5.1.ebuild:
+  Stable on sparc, bug #236131
+
+  04 Sep 2008; Brent Baude <ranger@gentoo.org> subversion-1.5.1.ebuild:
+  stable ppc64, bug 236131
+
+  04 Sep 2008; Brent Baude <ranger@gentoo.org> subversion-1.5.1.ebuild:
+  stable ppc, bug 236131
+
+  30 Aug 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+  subversion-1.5.1.ebuild:
+  Improved sed used on previous commit.
+
+  30 Aug 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+  subversion-1.5.1.ebuild:
+  Added a small fix to subversion-1.5.1 as requested by Arfrever Frehtes
+  Taifersar Arahesis <Arfrever.FTA@GMail.Com> 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 <hollow@gentoo.org>
+  -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 <hollow@gentoo.org> +subversion-1.5.0.ebuild:
+  version bump wrt #228653
+
+*subversion-1.5.0_rc9-r1 (16 Jun 2008)
+
+  16 Jun 2008; Benedikt Böhm <hollow@gentoo.org>
+  +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 <hollow@gentoo.org>
+  -subversion-1.5.0_rc5.ebuild, subversion-1.5.0_rc9.ebuild:
+  fix #226577
+
+  14 Jun 2008; nixnut <nixnut@gentoo.org> subversion-1.5.0_rc9.ebuild:
+  Added ~ppc
+
+*subversion-1.5.0_rc9 (11 Jun 2008)
+
+  11 Jun 2008; Benedikt Böhm <hollow@gentoo.org>
+  +subversion-1.5.0_rc9.ebuild:
+  version bump wrt #224751
+
+  07 Jun 2008; Alexis Ballier <aballier@gentoo.org>
+  subversion-1.5.0_rc5.ebuild:
+  keyword ~sparc-fbsd
+
+  07 Jun 2008; Alexis Ballier <aballier@gentoo.org>
+  subversion-1.5.0_rc5.ebuild:
+  keyword ~x86-fbsd
+
+  01 Jun 2008; Benedikt Böhm <hollow@gentoo.org> 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 <fmccor@gentoo.org>
+  subversion-1.5.0_rc5.ebuild:
+  Restore ~sparc keyword, Bug #219882.
+
+  17 May 2008; Jeroen Roovers <jer@gentoo.org> subversion-1.5.0_rc5.ebuild:
+  Marked ~hppa (bug #219882).
+
+  12 May 2008; Raúl Porcel <armin76@gentoo.org>
+  subversion-1.5.0_rc5.ebuild:
+  Readd ~alpha/~ia64 wrt #219882
+
+  11 May 2008; Markus Rothe <corsair@gentoo.org>
+  subversion-1.5.0_rc5.ebuild:
+  Added ~ppc64; bug #219882
+
+*subversion-1.5.0_rc5 (07 May 2008)
+
+  07 May 2008; Benedikt Böhm <hollow@gentoo.org>
+  +subversion-1.5.0_rc5.ebuild:
+  version bump wrt #220793
+
+  01 May 2008; Benedikt Böhm <hollow@gentoo.org>
+  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 <hollow@gentoo.org>
+  subversion-1.5.0_rc4.ebuild:
+  do not inherit subversion
+
+*subversion-1.5.0_rc4 (30 Apr 2008)
+
+  30 Apr 2008; Benedikt Böhm <hollow@gentoo.org>
+  +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 <hollow@gentoo.org> 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 <hollow@gentoo.org> 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 <hollow@gentoo.org>
+  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 <hollow@gentoo.org>
+  +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 <angelos@gentoo.org> subversion-1.4.6.ebuild:
+  Stable on amd64, bug #207572
+
+  29 Jan 2008; Jeroen Roovers <jer@gentoo.org> subversion-1.4.6.ebuild:
+  Stable for HPPA (bug #207572).
+
+  29 Jan 2008; Benedikt Böhm <hollow@gentoo.org> subversion-1.4.5.ebuild,
+  subversion-1.4.6.ebuild:
+  fix depend.apache usage wrt #208033
+
+  28 Jan 2008; Raúl Porcel <armin76@gentoo.org> subversion-1.4.6.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #207572
+
+  28 Jan 2008; Brent Baude <ranger@gentoo.org> subversion-1.4.6.ebuild:
+  Marking subversion-1.4.6 ppc and ppc64 for bug 207572
+
+  27 Jan 2008; Benedikt Böhm <hollow@gentoo.org> subversion-1.4.5.ebuild,
+  subversion-1.4.6.ebuild:
+  remove obsolete apr_config/apu_config
+
+  27 Jan 2008; Benedikt Böhm <hollow@gentoo.org>
+  -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 <hollow@gentoo.org> subversion-1.4.6.ebuild:
+  fix #205807
+
+  28 Dec 2007; Benedikt Böhm <hollow@gentoo.org> subversion-1.4.6.ebuild:
+  fix #203564
+
+*subversion-1.4.6 (28 Dec 2007)
+
+  28 Dec 2007; Benedikt Böhm <hollow@gentoo.org>
+  -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 <wolf31o2@gentoo.org>
+  subversion-1.4.5.ebuild:
+  Stable on amd64 wrt bug #198590.
+
+  13 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  subversion-1.4.5.ebuild:
+  ppc stable, bug #198590
+
+  12 Nov 2007; Markus Rothe <corsair@gentoo.org> subversion-1.4.5.ebuild:
+  Stable on ppc64; bug #198590
+
+  12 Nov 2007; Jeroen Roovers <jer@gentoo.org> subversion-1.4.5.ebuild:
+  Stable for HPPA (bug #198590).
+
+  11 Nov 2007; Raúl Porcel <armin76@gentoo.org> subversion-1.4.5.ebuild:
+  alpha/ia64 stable wrt security #198590
+
+  11 Nov 2007; Markus Ullmann <jokey@gentoo.org> subversion-1.4.5.ebuild:
+  SPARC'enstein
+
+  11 Nov 2007; Dawid Węgliński <cla@gentoo.org> subversion-1.4.5.ebuild:
+  Stable on x86 (bug #198590)
+
+*subversion-1.4.5 (10 Nov 2007)
+
+  10 Nov 2007; Benedikt Böhm <hollow@gentoo.org>
+  -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 <caleb@gentoo.org> subversion-1.4.4-r4.ebuild:
+  Fix perl dep to be more...up to date
+
+  09 Sep 2007; Benedikt Böhm <hollow@gentoo.org>
+  subversion-1.4.4-r4.ebuild:
+  fix small typo
+
+*subversion-1.4.4-r4 (08 Sep 2007)
+
+  08 Sep 2007; Benedikt Böhm <hollow@gentoo.org>
+  +subversion-1.4.4-r4.ebuild:
+  fix #84887, #111507, #122877, #126725, #138321, #151576, #168256, #174442,
+  #188849, #191606
+
+  05 Sep 2007; <paul@gentoo.org> 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 <phreak@gentoo.org> 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 <ulm@gentoo.org> -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 <pylon@gentoo.org> subversion-1.3.2-r4.ebuild:
+  Stable on ppc; bug #178264.
+
+  27 Jun 2007; Jeroen Roovers <jer@gentoo.org> subversion-1.3.2-r4.ebuild:
+  Stable for HPPA (bug #178264).
+
+  22 Jun 2007; Luca Longinotti <chtekk@gentoo.org>
+  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 <chtekk@gentoo.org>
+  -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 <chtekk@gentoo.org>
+  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 <phreak@gentoo.org>
+  +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 <Arfrever.FTA at gmail.com>
+  in #182168).
+
+  17 Jun 2007; Christian Heim <phreak@gentoo.org> 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 <armin76@gentoo.org> subversion-1.3.2-r4.ebuild:
+  alpha/ia64/x86 stable wrt #178264
+
+  15 Jun 2007; Christian Heim <phreak@gentoo.org>
+  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 <phreak@gentoo.org>
+  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 <angelos@gentoo.org>
+  subversion-1.3.2-r4.ebuild:
+  Stable on amd64 wrt bug 178264
+
+*subversion-1.4.4 (14 Jun 2007)
+
+  14 Jun 2007; Christian Heim <phreak@gentoo.org> +subversion-1.4.4.ebuild:
+  Version bump (fixing #181838 - thanks to Timothy Stotts <devel at
+  tstotts.net>). 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 <gustavoz@gentoo.org>
+  subversion-1.3.2-r4.ebuild:
+  Stable on sparc wrt #178264
+
+  09 Jun 2007; Markus Rothe <corsair@gentoo.org> 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 <carlo@gentoo.org>
+  +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 <phreak@gentoo.org> 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 <tove@gentoo.org> 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 <opfer@gentoo.org>
+  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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> subversion-1.4.3.ebuild:
+  Fix a stupid bug from the apache2.2 detection from bug #152746
+
+  07 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
+  subversion-1.4.3.ebuild:
+  straightened update of Emacs files in pkg_postinstall
+
+  05 Mar 2007; Marius Mauch <genone@gentoo.org> 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 <pauldv@gentoo.org> 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 <bjt23@cornell.edu> and
+  Georgi Georgiev <chutz@gg3.net>.
+
+  03 Mar 2007; Paul de Vrieze <pauldv@gentoo.org> 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 <ulm@kph.uni-mainz.de> for providing this
+  solution.
+
+  02 Mar 2007; Paul de Vrieze <pauldv@gentoo.org> -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 <pauldv@gentoo.org>
+  +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 <chtekk@gentoo.org>
+  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 <grobian@gentoo.org>
+  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 <pauldv@gentoo.org> +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<billl@users.sf.net> and Yuval
+  Yaari <yuval@gentoo.org> for the bug (#123802)
+
+  20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
+  subversion-1.3.2-r3.ebuild:
+  Stable on Alpha.
+
+  18 Oct 2006; Roy Marples <uberlord@gentoo.org> subversion-1.4.0.ebuild:
+  Added ~sparc-fbsd keyword.
+
+  16 Oct 2006; Jason Wever <weeve@gentoo.org> subversion-1.3.2-r3.ebuild:
+  Stable on SPARC.
+
+  15 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  subversion-1.3.2-r3.ebuild:
+  ppc stable. bug #147254
+
+  15 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  subversion-1.3.2-r3.ebuild:
+  hppa stable
+
+  14 Oct 2006; Joshua Nichols <nichoj@gentoo.org>
+  subversion-1.3.2-r3.ebuild:
+  Stabilizing on amd64 as part of new Java system, bug #147254.
+
+  14 Oct 2006; Joshua Nichols <nichoj@gentoo.org>
+  subversion-1.3.2-r3.ebuild:
+  Stabilizing on ppc64 as part of new Java system, bug #147254.
+
+  14 Oct 2006; Joshua Jackson <tsunam@gentoo.org>
+  subversion-1.3.2-r3.ebuild:
+  New java stable on x86; bug #147254
+
+  01 Oct 2006; Guy Martin <gmsoft@gentoo.org> subversion-1.3.2-r1.ebuild:
+  Stable on hppa.
+
+  12 Sep 2006; Bryan Østergaard <kloeri@gentoo.org>
+  subversion-1.4.0.ebuild:
+  Revert ia64 keyword back to ~ia64, bug 147268.
+
+  12 Sep 2006; Joshua Kinard <kumba@gentoo.org> 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 <pauldv@gentoo.org>
+  +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 <kumba@gentoo.org> subversion-1.3.2-r3.ebuild:
+  Marked stable on mips.
+
+  30 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
+  subversion-1.3.2-r1.ebuild:
+  Marked stable on amd64 for bug #139507
+
+  28 Jul 2006; Paul de Vrieze <pauldv@gentoo.org>
+  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 <tcort@gentoo.org> 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 <nichoj@gentoo.org>
+  +subversion-1.3.2-r3.ebuild:
+  Revision bump to use new Java system. Resolves bugs #141465 and #99245.
+
+  23 Jul 2006; Akinori Hattori <hattya@gentoo.org>
+  subversion-1.3.2-r1.ebuild:
+  x86 stable, bug #139507
+
+  23 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  subversion-1.3.2-r1.ebuild:
+  ppc stable, bug #139507
+
+  20 Jul 2006; Markus Rothe <corsair@gentoo.org> subversion-1.3.2-r1.ebuild:
+  Stable on ppc64; bug #139507
+
+  13 Jul 2006; Aron Griffis <agriffis@gentoo.org>
+  subversion-1.3.2-r1.ebuild:
+  Mark 1.3.2-r1 stable on ia64. #139507
+
+  10 Jul 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  subversion-1.3.2-r1.ebuild:
+  Stable on sparc wrt #139507
+
+*subversion-1.3.2-r1 (05 Jul 2006)
+
+  05 Jul 2006; Steve Arnold <nerdboy@gentoo.org>
+  +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 <blubb@gentoo.org> subversion-1.3.1.ebuild:
+  stable on amd64
+
+  28 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  subversion-1.3.1.ebuild:
+  Stable on sparc wrt #138372
+
+  24 Jun 2006; Michael Cummings <mcummings@gentoo.org>
+  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 <hansmi@gentoo.org>
+  subversion-1.3.1.ebuild:
+  Stable on ppc.
+
+  09 Jun 2006; Markus Rothe <corsair@gentoo.org> subversion-1.3.1.ebuild:
+  Stable on ppc64
+
+*subversion-1.3.2 (05 Jun 2006)
+
+  05 Jun 2006; Paul de Vrieze <pauldv@gentoo.org> +subversion-1.3.2.ebuild:
+  New upstream version
+
+  04 Jun 2006; Paul de Vrieze <pauldv@gentoo.org> subversion-1.3.1.ebuild:
+  Mark stable
+
+  18 Apr 2006; Paul de Vrieze <pauldv@gentoo.org>
+  +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 <pauldv@gentoo.org>
+  +files/subversion-apr_cppflags.patch, subversion-1.3.1.ebuild:
+  Fix the compilation of the perl bindings with newer apr. Thanks to R.May 
+  <tinitus1@onlinehome.de> in bug #123222 for the patch.
+
+*subversion-1.3.1 (05 Apr 2006)
+
+  05 Apr 2006; <pauldv@gentoo.org>
+  +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ò <flameeyes@gentoo.org>
+  subversion-1.3.0.ebuild:
+  Add ~x86-fbsd keyword.
+
+  20 Mar 2006; <pauldv@gentoo.org> subversion-1.3.0.ebuild:
+  Make the ebuild respect LDFLAGS (bug #126964) thanks to flameeyes.
+
+  16 Mar 2006; Paul de Vrieze <pauldv@gentoo.org> 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 <mike@gaima.co.uk> in bug #114668.
+
+  10 Mar 2006; Paul de Vrieze <pauldv@gentoo.org>
+  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 <pauldv@gentoo.org>
+  +files/subversion-neon-config.patch, subversion-1.3.0.ebuild:
+  Make subversion work with the newer neon.
+
+  21 Feb 2006; Paul de Vrieze <pauldv@gentoo.org>
+  +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 <corsair@gentoo.org> subversion-1.2.3-r3.ebuild:
+  Stable on ppc64
+
+  06 Feb 2006; Aron Griffis <agriffis@gentoo.org>
+  subversion-1.2.3-r3.ebuild:
+  Mark 1.2.3-r3 stable on alpha
+
+  04 Feb 2006; Aron Griffis <agriffis@gentoo.org>
+  subversion-1.2.3-r3.ebuild:
+  Mark 1.2.3-r3 stable on ia64
+
+  27 Jan 2006; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> +subversion-1.3.0.ebuild:
+  New upstream version. Note that it no longer includes the book.
+
+  01 Jan 2006; Paul de Vrieze <pauldv@gentoo.org>
+  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ò <flameeyes@gentoo.org>
+  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 <killerfox@gentoo.org>
+  subversion-1.2.3-r3.ebuild:
+  Stable on hppa.
+
+  08 Dec 2005; Paul de Vrieze <pauldv@gentoo.org>
+  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; <pauldv@gentoo.org> 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 <pauldv@gentoo.org>
+  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; <pauldv@gentoo.org> +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; <pauldv@gentoo.org> subversion-1.2.3-r3.ebuild:
+  Fix dep to depend on newer swig version.
+
+  24 Oct 2005; <pauldv@gentoo.org> subversion-1.2.3-r3.ebuild:
+  Fix the runtime dependency on the jdk to only be a jre dependency. Bug 
+  #110322
+
+  21 Oct 2005; <pauldv@gentoo.org> subversion-1.2.3-r3.ebuild:
+  Add support for ruby bindings. Courtessy of Tom Payne <twp@gentoo.org> 
+  in bug #102543.
+
+*subversion-1.2.3-r3 (17 Oct 2005)
+
+  17 Oct 2005; <pauldv@gentoo.org> +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 <pauldv@gentoo.org>  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 <kugelfang@gentoo.org>
+  subversion-1.2.3-r1.ebuild:
+  Marked ~ppc-macos.
+
+  07 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  subversion-1.2.3-r1.ebuild:
+  Stable on sparc
+
+  04 Oct 2005; <pauldv@gentoo.org> 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 <agriffis@gentoo.org>
+  subversion-1.2.3-r1.ebuild:
+  Mark 1.2.3-r1 stable on ia64
+
+  29 Sep 2005; Fernando J. Pereda <ferdy@gentoo.org>
+  subversion-1.2.3-r1.ebuild:
+  stable on alpha
+
+  26 Sep 2005; <pauldv@gentoo.org> -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 <cryos@gentoo.org>
+  subversion-1.2.3-r1.ebuild:
+  Stable on amd64.
+
+  19 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
+  subversion-1.2.3-r1.ebuild:
+  Stable on hppa and ppc.
+
+  19 Sep 2005; Markus Rothe <corsair@gentoo.org> subversion-1.2.3-r1.ebuild:
+  Stable on ppc64 (bug #106421)
+
+  17 Sep 2005; Aron Griffis <agriffis@gentoo.org> subversion-1.2.3.ebuild:
+  Mark 1.2.3 stable on ia64
+
+  14 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> subversion-1.2.3.ebuild:
+  1.2.3 stable on mips.
+
+  12 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
+  subversion-1.2.3.ebuild:
+  Stable on ppc.
+
+  12 Sep 2005; Paul de Vrieze <pauldv@gentoo.org> subversion-1.2.3.ebuild,
+  subversion-1.2.3-r1:
+  Restrict the neon dependency
+
+  07 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  subversion-1.2.3.ebuild:
+  Stable on sparc
+
+  06 Sep 2005; Markus Rothe <corsair@gentoo.org> subversion-1.2.3.ebuild:
+  Stable on ppc64
+
+  31 Aug 2005; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> +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; <pauldv@gentoo.org> 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; <pauldv@gentoo.org> 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; <pauldv@gentoo.org> files/svnserve.xinetd,
+  subversion-1.2.1.ebuild:
+  Fix the svnserve xinet.d script (see bug #82262)
+
+  25 Aug 2005; <pauldv@gentoo.org> subversion-1.2.1.ebuild:
+  Make the subversion book be installed again. Thanks to Axel 
+  Dyks<XL@XLsigned.net> in bug #103576.
+
+  29 Jul 2005; Aaron Walker <ka0ttic@gentoo.org> 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 <pauldv@gentoo.org> +subversion-1.2.1.ebuild:
+  New upstream version
+
+  23 Jun 2005; Sven Wegener <swegener@gentoo.org> subversion-1.2.0.ebuild:
+  Correctly check for the perl USE flag before calling perl-module_pkg_postrm.
+
+  23 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org>
+  subversion-1.1.3.ebuild:
+  stable on alpha
+
+  27 May 2005; <pauldv@gentoo.org> +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; <pauldv@gentoo.org> +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; <pauldv@gentoo.org> +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; <pauldv@gentoo.org> +subversion-1.1.4-r1.ebuild:
+  Try to fix perl file collisions #82648
+
+  12 May 2005; Elfyn McBratney <beu@gentoo.org> subversion-1.1.3.ebuild:
+  Update *DEPEND.
+
+  05 May 2005; Sven Wegener <swegener@gentoo.org> 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 <pauldv@gentoo.org> 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 <hansmi@gentoo.org>
+  subversion-1.1.3.ebuild:
+  Stable on ppc.
+
+  21 Apr 2005; <pauldv@gentoo.org> 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 <pauldv@gentoo.org>
+  -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; <pauldv@gentoo.org> -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 <trapni@gentoo.org>
+  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 <trapni@gentoo.org>
+  +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; <pauldv@gentoo.org> -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 <pauldv@gentoo.org>
+  subversion-1.1.3-r1.ebuild:
+  Remove the autoconf check as the dependency should get this.
+
+  18 Mar 2005; Markus Rothe <corsair@gentoo.org> subversion-1.1.3.ebuild:
+  Stable on ppc64
+
+  11 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> subversion-1.1.3.ebuild:
+  Stable on sparc
+
+  09 Mar 2005; Marcus D. Hanwell <cryos@gentoo.org> subversion-1.1.3.ebuild:
+  Marked stable on amd64.
+
+  08 Mar 2005; <pauldv@gentoo.org> subversion-1.1.3.ebuild:
+  Mark 1.1.3 stable
+
+  27 Feb 2005; Paul de Vrieze <pauldv@gentoo.org>
+  subversion-1.1.3-r1.ebuild:
+  Use the new apache.depend eclass (bug #83445)
+
+  15 Feb 2005; Guy Martin <gmsoft@gentoo.org> subversion-1.1.1-r3.ebuild:
+  Stable on hppa.
+
+  15 Feb 2005; <pauldv@gentoo.org> subversion-1.1.3-r1.ebuild,
+  subversion-1.1.3.ebuild:
+  Add a patch from seemant to make nls support optional
+
+  31 Jan 2005; <pauldv@gentoo.org> subversion-1.1.3.ebuild:
+  Try to fix bug #80121
+
+  28 Jan 2005; Paul de Vrieze <pauldv@gentoo.org>
+  -subversion-1.1.2-r1.ebuild:
+  Remove broken testing ebuild
+
+  28 Jan 2005; Paul de Vrieze <pauldv@gentoo.org>
+  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 <trapni@gentoo.org>
+  +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 <agriffis@gentoo.org> subversion-1.1.1-r3.ebuild:
+  stable on ia64
+
+  18 Jan 2005; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> +subversion-1.1.3.ebuild:
+  New upstream version
+
+*subversion-1.1.2-r1 (10 Jan 2005)
+
+  10 Jan 2005; Christian Parpart <trapni@gentoo.org>
+  +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 <ciaranm@gentoo.org> :
+  Change encoding to UTF-8 for GLEP 31 compliance
+
+*subversion-1.1.2 (30 Dec 2004)
+
+  30 Dec 2004; Paul de Vrieze <pauldv@gentoo.org>
+  +files/subversion-1.1.2-perl.patch, +subversion-1.1.2.ebuild:
+  A new upstream version
+
+  19 Dec 2004; Bryan Østergaard <kloeri@gentoo.org>
+  subversion-1.1.1-r3.ebuild:
+  Stable on alpha.
+
+  16 Dec 2004; Markus Rothe <corsair@gentoo.org> subversion-1.1.1-r3.ebuild:
+  Stable on ppc64
+
+  16 Dec 2004; Dylan Carlson <absinthe@gentoo.org>
+  subversion-1.1.1-r3.ebuild:
+  Stable on amd64.
+
+  11 Dec 2004; Jason Wever <weeve@gentoo.org> subversion-1.1.1-r3.ebuild:
+  Stable on sparc.
+
+  08 Dec 2004; <pauldv@gentoo.org> subversion-1.1.1-r3.ebuild:
+  Fix the default authz module config file. Thanks to Benjamin Boksa 
+  <benjamin@boksa.de> in bug #73675
+
+  03 Dec 2004; <pauldv@gentoo.org> 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 
+  <jacius@gmail.com> in bug #73186 for pointing this out.
+
+  03 Dec 2004; <pauldv@gentoo.org> subversion-1.1.1-r3.ebuild:
+  Disable jikes for now as jikes is broken
+
+  30 Nov 2004; <pauldv@gentoo.org> subversion-1.1.1-r3.ebuild:
+  Mark stable
+
+  28 Nov 2004; Paul de Vrieze <pauldv@gentoo.org>
+  subversion-1.1.1-r3.ebuild:
+  Add an optional dependency on jikes, courtessy of Travis
+  Snoozy<ai2097@yahoo.com> in bug #72679
+
+*subversion-1.1.1-r3 (12 Nov 2004)
+
+  12 Nov 2004; Aron Griffis <agriffis@gentoo.org>
+  -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; <agriffis@gentoo.org> +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 <agriffis@gentoo.org>
+  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 <agriffis@gentoo.org>
+  +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 <agriffis@gentoo.org> subversion-1.1.1.ebuild:
+  Replace ~ppc64 and ~ia64 keywords which went missing
+
+  05 Nov 2004; Aron Griffis <agriffis@gentoo.org> subversion-1.0.9.ebuild:
+  Remove attempted installation of cvs2svn #47099
+
+*subversion-1.1.1 (05 Nov 2004)
+
+  05 Nov 2004; <pauldv@gentoo.org> +subversion-1.1.1.ebuild:
+  New upstream version
+
+  04 Nov 2004; Aron Griffis <agriffis@gentoo.org> subversion-1.0.9.ebuild,
+  subversion-1.1.0.ebuild:
+  add ia64 keywords
+
+  01 Nov 2004; Markus Rothe <corsair@gentoo.org> subversion-1.1.0.ebuild:
+  Marked ~ppc64; bug #63683
+
+  21 Oct 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-1.0.9.ebuild:
+  Backport the svn-revision.txt fix
+
+  19 Oct 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-1.1.0.ebuild:
+  Explicitly enable or disable javahl to fix bug #67681
+
+  19 Oct 2004; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> +subversion-1.0.9.ebuild:
+  A new upstream version that fixes some slowness with "svn ls"
+
+  09 Oct 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-1.1.0.ebuild:
+  Fix bug #63464 on compilation with jikes.
+
+  08 Oct 2004; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> +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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> -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 <pauldv@gentoo.org> +subversion-1.1.0.ebuild:
+  New upstream version
+
+  27 Sep 2004; Bryan Østergaard,,, <kloeri@gentoo.org>
+  subversion-1.0.8.ebuild:
+  Stable on alpha, bug 65085.
+
+  25 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> subversion-1.0.8.ebuild:
+  Stable on sparc wrt #65085
+
+  27 Sep 2004; Paul de Vrieze <pauldv@gentoo.org> 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; <SeJo@gentoo.org> subversion-1.0.8.ebuild:
+  stable on ppc GSLA bug: 65085
+
+*subversion-1.0.8 (23 Sep 2004)
+
+  23 Sep 2004; Paul de Vrieze <pauldv@gentoo.org> +subversion-1.0.8.ebuild,
+  +subversion-1.1.0_rc4.ebuild:
+  New upstream versions. They implement security fixes!!
+
+  21 Sep 2004; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> subversion-1.0.6.ebuild:
+  Fix the location of the jar archive (bug #64800)
+
+  06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> subversion-0.32.1.ebuild:
+  Switch to use epause and ebeep, bug #62950
+
+  05 Sep 2004; Paul de Vrieze,,, <paul@gentoo.org> 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 <pauldv@gentoo.org> subversion-1.1.0_rc2.ebuild:
+  Spelling fixes. Thanks to Marko Djukic <marko@oblo.com> in bug #63014
+
+  01 Sep 2004; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> +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 <ht_gentoo04@arcor.de> in bug #59693
+
+*subversion-1.1.0_rc2 (19 Aug 2004)
+
+  19 Aug 2004; Paul de Vrieze <pauldv@gentoo.org> +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 <pauldv@gentoo.org> 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 <lv@gentoo.org> subversion-1.0.6.ebuild:
+  stable on amd64
+
+  23 Jul 2004; Guy Martin <gmsoft@gentoo.org> subversion-1.0.6.ebuild:
+  Marked stable on hppa.
+
+  23 Jul 2004; Bryan Østergaard,,, <kloeri@gentoo.org>
+  subversion-1.0.6.ebuild:
+  Stable on alpha, see bug #57747.
+
+  20 Jul 2004; Ciaran McCreesh <ciaranm@gentoo.org> subversion-1.0.6.ebuild:
+  Stable on sparc for bug #57747
+
+  20 Jul 2004; Stuart Herbert <stuart@gentoo.org> subversion-1.0.6.ebuild:
+  Stable on x86
+
+*subversion-1.0.6 (20 Jul 2004)
+
+  20 Jul 2004; Stuart Herbert <stuart@gentoo.org> +subversion-1.0.6.ebuild:
+  Version bump for security problem; see bug #57747
+
+  24 Jun 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-1.0.4-r1.ebuild:
+  Clarify the ebuild config comment (bug #54940)
+
+  11 Jun 2004; Jason Wever <weeve@gentoo.org> subversion-1.0.4-r1.ebuild:
+  Stable on sparc wrt bug #53555.
+
+  11 Jun 2004; Guy Martin <gmsoft@gentoo.org> subversion-1.0.4-r1.ebuild:
+  Marked stable on hppa.
+
+  11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org>
+  subversion-1.0.4-r1.ebuild:
+  Stable on alpha, bug #53555.
+
+  10 Jun 2004; Kurt Lieber <klieber@gentoo.org> subversion-1.0.4-r1.ebuild:
+  marking stable on x86. fixes 53555.
+
+  10 Jun 2004; Jason Eric Huebel <jhuebel@gentoo.org>
+  subversion-1.0.4-r1.ebuild:
+  amd64 for bug #53555
+
+*subversion-1.0.4-r1 (07 Jun 2004)
+
+  07 Jun 2004; <solar@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <kloeri@gentoo.org> subversion-1.0.3.ebuild:
+  Keyworded ~alpha, requested in bug #51550.
+
+*subversion-1.0.3 (20 May 2004)
+
+  20 May 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-1.0.2.ebuild,
+  +subversion-1.0.3.ebuild:
+  Security fix
+
+  27 Apr 2004; Aron Griffis <agriffis@gentoo.org> subversion-1.0.1.ebuild,
+  subversion-1.0.2.ebuild:
+  Add inherit eutils
+
+  13 May 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-1.0.2.ebuild:
+  Mark stable
+
+*subversion-1.0.2 (27 Apr 2004)
+
+  27 Apr 2004; Paul de Vrieze <pauldv@gentoo.org> +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 <pauldv@gentoo.org> subversion-1.0.1.ebuild:
+  First stable subversion!
+
+  26 Apr 2004; Paul de Vrieze <pauldv@gentoo.org> -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 <pauldv@gentoo.org> subversion-1.0.1.ebuild:
+  Finally fix bug #31106 and add svn-config to the installed set
+
+  26 Mar 2004; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <seemant@gentoo.org> subversion-0.28.0.ebuild:
+  fix for bug #44712 by Michael Sterret <mr_bones_@gentoo.org>
+
+  10 Mar 2004; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <aliz@gentoo.org> subversion-1.0.0.ebuild:
+  Adding amd64 keyword. Closing #42693.
+
+  25 Feb 2004; David Holm <dholm@gentoo.org> 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 <weeve@gentoo.org> subversion-1.0.0.ebuild:
+  Added ~sparc keyword.
+
+  23 Feb 2004; Jason Wever <weeve@gentoo.org> 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 <pauldv@gentoo.org> 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 <dholm@gentoo.org> 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 <pauldv@gentoo.org> 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; <kloeri@gentoo.org> subversion-0.37.0-r1.ebuild:
+  Replace python-config with python_version.
+
+  13 Feb 2004; <paul@gentoo.org> subversion-0.37.0.ebuild:
+  Make emacs regeneration more tolerant (bug #41411)
+
+  11 Feb 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-0.37.0.ebuild:
+  Add optional emacs dependency
+
+  05 Feb 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-0.37.0.ebuild:
+  Some autoconf changes
+
+  04 Feb 2004; <paul@gentoo.org> subversion-0.37.0.ebuild:
+  Some more explanations
+
+  04 Feb 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-0.37.0.ebuild:
+  Take the new FHS's /srv directory into account, moving the default location
+  from /var
+
+  03 Feb 2004; <paul@gentoo.org> subversion-0.37.0.ebuild:
+  Hopefully fix emacs module compilation problems
+
+*subversion-0.37.0 (28 Jan 2004)
+
+  28 Jan 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-0.37.0.ebuild:
+  New upstream version. Also taking new apache locations into account
+
+  15 Jan 2004; Paul de Vrieze <pauldv@gentoo.org> subversion-0.35.1.ebuild:
+  Things actually work with autoconf-2.59, so changing the dependency.
+
+  11 Jan 2004; <paul@gentoo.org> 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 <pauldv@gentoo.org> subversion-0.35.1.ebuild:
+  New upstream version. Note that this version has deltification reenabled.
+
+  20 Dec 2003; <paul@gentoo.org> 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 <pauldv@gentoo.org> 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; <paul@gentoo.org> 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 <dholm@gentoo.org> subversion-0.32.1.ebuild:
+  Added to ~ppc.
+
+  22 Oct 2003; <paul@gentoo.org> 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 <pauldv@gentoo.org> 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; <paul@gentoo.org> subversion-0.31.0.ebuild:
+  Fix chown
+
+  10 Oct 2003; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <hattya@inter7.jp> in bug
+  #29586
+
+  25 Sep 2003; Martin Holzer <mholzer@gentoo.org> 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 <mholzer@gentoo.org> subversion-0.28.0.ebuild:
+  Added autoconf version. Closes #28198.
+
+  22 Sep 2003; <paul@gentoo.org> metadata.xml:
+  Fix metadata.xml
+
+*subversion-0.28.0 (01 Sep 2003)
+
+  01 Sep 2003; <iggy@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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; <paul@gentoo.org> 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; <paul@gentoo.org> subversion-0.25.0.ebuild:
+  New upstream version
+
+*subversion-0.24.2 (15 Jul 2003)
+  15 Jul 2003; <paul@gentoo.org> subversion-0.24.2-r1.ebuild:
+  Make repository location configurable by an environment variable
+
+  15 Jul 2003; <paul@gentoo.org> 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 <aliz@gentoo.org> :
+  Added missing changelog entry.
+
+  26 Jun 2003; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> subversion-0.24.1.ebuild:
+  Fixed an issue with a compilation failure together with the included libapr.
+  #23307
+
+  19 Jun 2003; Paul de Vrieze <pauldv@gentoo.org> 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
+  <e9427574@student.tuwien.ac.at>
+
+*subversion-0.24.1 (18 Jun 2003)
+
+  18 Jun 2003; Paul de Vrieze <pauldv@gentoo.org> 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 <pvdabeel@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <mholzer@gentoo.org> 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 <pauldv@gentoo.org> subversion-0.21.0-r1.ebuild:
+  Fix a stupid typo. Thanks to Cesar Eduardo Barros <cesarb@nitnet.com.br> for
+  helping in finding this.
+
+  08 May 2003; Patrick Kursawe <phosphan@gentoo.org>
+  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 <pauldv@gentoo.org> subversion-0.21.0-r1.ebuild:
+  Make subversion use an allready merged db4 instead of its own
+
+  30 Apr 2003; Paul de Vrieze <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> 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 <pauldv@gentoo.org> subversion-0.20.1.ebuild:
+  Added || die to the make install parts
+
+  15 Mar 2003; Martin Schlemmer <azarah@gentoo.org> subversion-0.10_pre1.ebuild :
+  Fix m4 depend.
+
+  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+ 
+*subversion-0.10_pre1 (26 Feb 2002)
+
+  29 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> 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 <gbevin@gentoo.org> 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 (file)
index 0000000..58ef735
--- /dev/null
@@ -0,0 +1,14 @@
+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
+AUX vc-svn.el 16847 RMD160 8665b9a34c8fd9acae40e18aac33026aff3a39d7 SHA1 4d1a5a9331ff96e943244a6d5538e4f0abeac9e7 SHA256 b4979d5df9fba02dbc8ad71d813229222e95ee1e8e89dec3060611d2d6be87aa
+DIST subversion-1.6.11.tar.bz2 5486069 RMD160 fbd41610f1044916a84c39bf786332e864d0e6d4 SHA1 36cf9d39c14e5bd8d713302ac770c3964fe196b3 SHA256 64bd000ae30470d343c0725758bdd8288143393308eedc511c7826bb6731e59c
+DIST subversion-1.6.9.tar.bz2 5478554 RMD160 5f085c053657dc8d0048944265dbe436892a94fb SHA1 477aa89e60de7974ac0aa921cc369b4c2907693c SHA256 05526f92fcb612bdc3bab0d5e218e25847bf10846e047ce244e33859b205111c
+EBUILD subversion-1.6.11.ebuild 30977 RMD160 4f139c46e478827b02779fa253aeedf6d1ab0c85 SHA1 90854a853c977307a11a79b252f84856b6bf9c73 SHA256 6996d4f60b205816aa5ddc093f88271dd1c9c5dd017675675e83e4c24d87b462
+EBUILD subversion-1.6.9.ebuild 27247 RMD160 6fa880143cddbac81e9298ba22a7ed62b489b13a SHA1 618f3fe65a8aa34587fbc0d426a8fc92226aa656 SHA256 213954c0a67dacebe4418e8ff41a92cd7ef3d46cd01855720bcdb487cd2fb9b9
+MISC ChangeLog 71244 RMD160 54db34480dc73f5f219c3c2211fec005478914ef SHA1 e9ff249acf853428203b7d1704b5fd85d69534df SHA256 093e2b2a60142743466694f3c0384344898f3e41996e99e8b14e11b6105a02c7
+MISC metadata.xml 772 RMD160 920c95fb59aa71731bb839c254d6316ee7695387 SHA1 ab21672020e43b2cb7938665e6d505efdc7c65d6 SHA256 fa653161d1943b17ee77482b7d01d278b6bbd71cc2793b2f9ba992361207cb64
diff --git a/dev-vcs/subversion/files/70svn-gentoo.el b/dev-vcs/subversion/files/70svn-gentoo.el
new file mode 100644 (file)
index 0000000..e5721e2
--- /dev/null
@@ -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 (file)
index 0000000..689b29c
--- /dev/null
@@ -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 (file)
index 0000000..704b300
--- /dev/null
@@ -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 (file)
index 0000000..4bb9c09
--- /dev/null
@@ -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 @@
+ \f
+ /*** Includes. ***/
+ 
++#include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+ 
+@@ -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 <dbus/dbus.h>
+ #include <QtCore/QCoreApplication>
++#include <QtCore/QList>
++#include <QtCore/QMap>
+ #include <QtCore/QString>
++#include <QtGui/QApplication>
++#include <QtGui/QX11Info>
+ 
+ #include <kaboutdata.h>
+ #include <kcmdlineargs.h>
+ #include <kcomponentdata.h>
+ #include <klocalizedstring.h>
+ #include <kwallet.h>
++#include <kwindowsystem.h>
++#include <netwm.h>
++#include <netwm_def.h>
+ 
+ \f
+ /*-----------------------------------------------------------------------*/
+@@ -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<pid_t, WId> process_info_list;
++      QList<WId> windows(KWindowSystem::windows());
++      QList<WId>::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<KWallet::Wallet *> (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<apr_hash_t *> (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 (file)
index 0000000..83997ce
--- /dev/null
@@ -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 (file)
index 0000000..b1ed7e6
--- /dev/null
@@ -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 (file)
index 0000000..e29f906
--- /dev/null
@@ -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/files/vc-svn.el b/dev-vcs/subversion/files/vc-svn.el
new file mode 100644 (file)
index 0000000..e591820
--- /dev/null
@@ -0,0 +1,414 @@
+;;;; vc-svn.el --- a VC backend for Subversion
+;;;; Jim Blandy <jimb@red-bean.com> --- July 2002
+
+;;; Writing this back end has shown up some problems in VC: bugs,
+;;; shortcomings in the back end interface, and so on.  But I want to
+;;; first produce code that Subversion users can use with an already
+;;; released Emacs distribution.
+;;;
+;;; So for now we're working within the limitations of the released
+;;; VC; once we've got something functional, then we can start writing
+;;; VC patches.
+
+
+;;; To make this file load on demand, put this file into a directory
+;;; in `load-path', and add this line to a startup file:
+;;;
+;;;     (add-to-list 'vc-handled-backends 'SVN)
+
+
+;;; To do here:
+;;; Provide more of the optional VC backend functions: 
+;;; - dir-state
+;;; - merge across arbitrary revisions
+;;;
+;;; Maybe we want more info in mode-line-string.  Status of props?  Status 
+;;; compared to what's in the repository (svn st -u) ? 
+;;;
+;;; VC passes the vc-svn-register function a COMMENT argument, which
+;;; is like the file description in CVS and RCS.  Could we store the
+;;; COMMENT as a Subversion property?  Would that show up in fancy DAV
+;;; web folder displays, or would it just languish in obscurity, the
+;;; way CVS and RCS descriptions do?
+;;;
+;;; After manual merging, need some way to run `svn resolved'.  Perhaps
+;;; we should just prompt for approval when somebody tries to commit a
+;;; conflicted file?
+;;;
+;;; vc-svn ought to handle more gracefully an attempted commit that
+;;; fails with "Transaction is out of date".  Probably the best
+;;; approach is to ask "file is not up-to-date; do you want to merge
+;;; now?"  I think vc-cvs does this.
+;;;
+;;; Perhaps show the "conflicted" marker in the modeline?
+;;;
+;;; If conflicted, before committing or merging, ask the user if they
+;;; want to mark the file as resolved.
+;;;
+;;; Won't searching for strings in svn output cause trouble if the
+;;; locale language is not English?
+;;;
+;;; After merging news, need to recheck our idea of which workfile
+;;; version we have.  Reverting the file does this but we need to
+;;; force it.  Note that this can be necessary even if the file has
+;;; not changed.
+;;;
+;;; Does everything work properly if we're rolled back to an old
+;;; revision?
+;;;
+;;; Perhaps need to implement vc-svn-latest-on-branch-p?
+
+
+;;; To do in VC:
+;;;
+;;; Make sure vc's documentation for `workfile-unchanged-p' default
+;;; function mentions that it must not run asynchronously, and the
+;;; symptoms if it does.
+;;; 
+;;; Fix logic for finding log entries.
+;;;
+;;; Allow historical diff to choose an appropriate default previous
+;;; revision number.  I think this entails moving vc-previous-revision
+;;; et al into the back end.
+;;;
+;;; Should vc-BACKEND-checkout really have to set the workfile version
+;;; itself?
+;;;
+;;; Fix smerge for svn conflict markers.
+;;;
+;;; We can have files which are not editable for reasons other than
+;;; needing to be checked out.  For example, they might be a read-only
+;;; view of an old revision opened with [C-x v ~].  (See vc-merge)
+;;;
+;;; Would be nice if there was a way to mark a file as
+;;; just-checked-out, aside from updating the checkout-time property
+;;; which in theory is not to be changed by backends.
+
+
+(add-to-list 'vc-handled-backends 'SVN)
+
+(defcustom vc-svn-program-name "svn"
+  "*Name of Subversion client program, for use by Emacs's VC package."
+  :type 'string
+  :group 'vc
+  :version "21.2.90.2")
+
+(defcustom vc-svn-diff-switches nil
+  "*A string or list of strings specifying extra switches for `svn diff' under VC."
+  :type '(repeat string)
+  :group 'vc
+  :version "21.2.90.2")
+
+(defun vc-svn-registered (file)
+  "Return true if FILE is registered under Subversion."
+  ;; First, a quick false positive test: is there a `.svn/entries' file?
+  (and (file-exists-p (expand-file-name ".svn/entries"
+                                        (file-name-directory file)))
+       (not (null (vc-svn-run-status file)))))
+
+
+(put 'vc-svn-with-output-buffer 'lisp-indent-function 0)
+(defmacro vc-svn-with-output-buffer (&rest body)
+  "Save excursion, switch to buffer ` *Subversion Output*', and erase it."
+  `(save-excursion
+     ;; Let's not delete this buffer when we're done --- leave
+     ;; it around for debugging.
+     (set-buffer (get-buffer-create " *Subversion Output*"))
+     (erase-buffer)
+     ,@body))
+
+
+(defun vc-svn-pop-up-error (&rest args)
+  "Pop up the Subversion output buffer, and raise an error with ARGS."
+  (pop-to-buffer " *Subversion Output*")
+  (goto-char (point-min))
+  (shrink-window-if-larger-than-buffer)
+  (apply 'error args))
+
+
+(defun vc-svn-run-status (file &optional update)
+  "Run `svn status -v' on FILE, and return the result.
+If optional arg UPDATE is true, pass the `-u' flag to check against
+the repository, across the network.
+See `vc-svn-parse-status' for a description of the result."
+  (vc-svn-with-output-buffer
+
+    ;; We should call vc-do-command here, but Subversion exits with an
+    ;; error status if FILE isn't under its control, and we want to
+    ;; return that as nil, not display it to the user.  We can tell
+    ;; vc-do-command to
+    
+    (let ((status (apply 'call-process vc-svn-program-name nil t nil
+                         (append '("status" "-v")
+                                 (if update '("-u") '())
+                                 (list file)))))
+      (goto-char (point-min))
+      (if (not (equal 0 status)) ; not zerop; status can be a string
+          ;; If you ask for the status of a file that isn't even in a
+          ;; Subversion-controlled directory, then Subversion exits with
+          ;; this error.
+          (if (or (looking-at "\\(.*\n\\)*.*is not a working copy")
+                  (looking-at "\\(.*\n\\)*.*is not a versioned resource")
+                  (looking-at "\\(.*\n\\)*.*: No such file or directory"))
+              nil
+            ;; Other errors we should actually report to the user.
+            (vc-svn-pop-up-error
+             "Error running Subversion to check status of `%s'"
+             (file-name-nondirectory file)))
+
+        ;; Otherwise, we've got valid status output in the buffer, so
+        ;; just parse that.
+        (vc-svn-parse-status)))))
+
+
+(defun vc-svn-parse-status ()
+  "Parse the output from `svn status -v' at point.
+We return nil for a file not under Subversion's control,
+or (STATE LOCAL CHANGED) for files that are, where:
+STATE is the file's VC state (see the documentation for `vc-state'),
+LOCAL is the base revision in the working copy, and
+CHANGED is the last revision in which it was changed.
+Both LOCAL and CHANGED are strings, not numbers.
+If we passed `svn status' the `-u' flag, then CHANGED could be a later
+revision than LOCAL.
+If the file is newly added, LOCAL is \"0\" and CHANGED is nil."
+  (let ((state (vc-svn-parse-state-only)))
+    (cond
+     ((not state) nil)
+     ;; A newly added file has no revision.
+     ((looking-at "....\\s-+\\(\\*\\s-+\\)?[-0]\\s-+\\?")
+      (list state "0" nil))
+     ((looking-at "....\\s-+\\(\\*\\s-+\\)?\\([0-9]+\\)\\s-+\\([0-9]+\\)")
+      (list state
+            (match-string 2)
+            (match-string 3)))
+     ((looking-at "^I +") nil)       ;; An ignored file
+     ((looking-at " \\{40\\}") nil)  ;; A file that is not in the wc nor svn?
+     (t (error "Couldn't parse output from `svn status -v'")))))
+
+
+(defun vc-svn-parse-state-only ()
+  "Parse the output from `svn status -v' at point, and return a state.
+The documentation for the function `vc-state' describes the possible values."
+  (cond
+   ;; Be careful --- some of the later clauses here could yield false
+   ;; positives, if the clauses preceding them didn't screen those
+   ;; out.  Making a pattern more selective could break something.
+
+   ;; nil                 The given file is not under version control,
+   ;;                     or does not exist.
+   ((looking-at "\\?\\|^$") nil)
+
+   ;; 'needs-patch        The file has not been edited by the
+   ;;                     user, but there is a more recent version
+   ;;                     on the current branch stored in the
+   ;;                     master file.
+   ((looking-at "  ..\\s-+\\*") 'needs-patch)
+
+   ;; 'up-to-date         The working file is unmodified with
+   ;;                     respect to the latest version on the
+   ;;                     current branch, and not locked.
+   ;;
+   ;;                     This is also returned for files which do not
+   ;;                     exist, as will be the case when finding a
+   ;;                     new file in a svn-controlled directory.  That
+   ;;                     case is handled in vc-svn-parse-status.
+   ((looking-at "  ") 'up-to-date)
+
+   ;; 'needs-merge        The file has been edited by the user,
+   ;;                     and there is also a more recent version
+   ;;                     on the current branch stored in the
+   ;;                     master file.  This state can only occur
+   ;;                     if locking is not used for the file.
+   ((looking-at "\\S-+\\s-+\\*") 'needs-merge)
+
+   ;; 'edited             The working file has been edited by the
+   ;;                     user.  If locking is used for the file,
+   ;;                     this state means that the current
+   ;;                     version is locked by the calling user.
+   (t 'edited)))
+
+
+;;; Is it really safe not to check for updates?  I haven't seen any
+;;; cases where failing to check causes a problem that is not caught
+;;; in some other way.  However, there *are* cases where checking
+;;; needlessly causes network delay, such as C-x v v.  The common case
+;;; is for the commit to be OK; we can handle errors if they occur. -- mbp
+(defun vc-svn-state (file)
+  "Return the current version control state of FILE.
+For a list of possible return values, see `vc-state'.
+
+This function should do a full and reliable state computation; it is
+usually called immediately after `C-x v v'.  `vc-svn-state-heuristic'
+provides a faster heuristic when visiting a file.
+
+For svn this does *not* check for updates in the repository, because
+that needlessly slows down vc when the repository is remote.  Instead,
+we rely on Subversion to trap situations such as needing a merge
+before commit."
+  (car (vc-svn-run-status file)))
+
+
+(defun vc-svn-state-heuristic (file)
+  "Estimate the version control state of FILE at visiting time.
+For a list of possible values, see the doc string of `vc-state'.
+This is supposed to be considerably faster than `vc-svn-state'.  It
+just runs `svn status -v', without the `-u' flag, so it's a strictly
+local operation."
+  (car (vc-svn-run-status file)))
+
+
+
+(defun vc-svn-workfile-version (file)
+  "Return the current workfile version of FILE."
+  (cadr (vc-svn-run-status file)))
+
+
+(defun vc-svn-checkout-model (file)
+  'implicit)
+
+
+(defun vc-svn-register (file &optional rev comment)
+  "Register FILE with Subversion.
+REV is an initial revision; Subversion ignores it.
+COMMENT is an initial description of the file; currently this is ignored."
+  (vc-svn-with-output-buffer
+    (let ((status (call-process vc-svn-program-name nil t nil "add" file)))
+      (or (equal 0 status) ; not zerop; status can be a string
+          (vc-svn-pop-up-error "Error running Subversion to add `%s'"
+                               (file-name-nondirectory file))))))
+
+
+(defun vc-svn-checkin (file rev comment)
+  (apply 'vc-do-command nil 0 vc-svn-program-name file 
+         "commit" (if comment (list "-m" comment) '())))
+
+
+(defun vc-svn-checkout (file &optional editable rev destfile)
+  "Check out revision REV of FILE into the working area.
+The EDITABLE argument must be non-nil, since Subversion doesn't
+support locking.
+If REV is non-nil, that is the revision to check out (default is
+current workfile version).  If REV is the empty string, that means to
+check out the head of the trunk.  For Subversion, that's equivalent to
+passing nil.
+If optional arg DESTFILE is given, it is an alternate filename to
+write the contents to; we raise an error."
+  (unless editable
+    (error "VC asked Subversion to check out a read-only copy of file"))
+  (when destfile
+    (error "VC asked Subversion to check out a file under another name"))
+  (when (equal rev "")
+    (setq rev nil))
+  (apply 'vc-do-command nil 0 vc-svn-program-name file
+         "update" (if rev (list "-r" rev) '()))
+  (vc-file-setprop file 'vc-workfile-version nil))
+
+
+(defun vc-svn-revert (file &optional contents-done)
+  "Revert FILE back to the current workfile version.
+If optional arg CONTENTS-DONE is non-nil, then the contents of FILE
+have already been reverted from a version backup, and this function
+only needs to update the status of FILE within the backend.  This
+function ignores the CONTENTS-DONE argument."
+  (vc-do-command nil 0 vc-svn-program-name file "revert"))
+
+
+(defun vc-svn-merge-news (file)
+  "Merge recent changes into FILE.
+
+This calls `svn update'.  In the case of conflicts, Subversion puts
+conflict markers into the file and leaves additional temporary files
+containing the `ancestor', `mine', and `other' files.
+
+You may need to run `svn resolved' by hand once these conflicts have
+been resolved.  
+
+Returns a vc status, which is used to determine whether conflicts need
+to be merged."
+  (prog1
+      (vc-do-command nil 0 vc-svn-program-name file "update")
+    
+    ;; This file may not have changed in the revisions which were
+    ;; merged, which means that its mtime on disk will not have been
+    ;; updated.  However, the workfile version may still have been
+    ;; updated, and we want that to be shown correctly in the
+    ;; modeline.
+
+    ;; vc-cvs does something like this
+    (vc-file-setprop file 'vc-checkout-time 0)
+    (vc-file-setprop file 'vc-workfile-version
+                     (vc-svn-workfile-version file))))
+
+
+(defun vc-svn-print-log (file)
+  "Insert the revision log of FILE into the *vc* buffer."
+  (vc-do-command nil 'async vc-svn-program-name file "log"))
+
+
+(defun vc-svn-show-log-entry (version)
+  "Search the log entry for VERSION in the current buffer.
+Make sure it is displayed in the buffer's window."
+  (when (re-search-forward (concat "^-+\n\\(rev\\) "
+                                   (regexp-quote version)
+                                   ":[^|]+|[^|]+| [0-9]+ lines?"))
+    (goto-char (match-beginning 1))
+    (recenter 1)))
+
+
+(defun vc-svn-diff (file &optional rev1 rev2)
+  "Insert the diff for FILE into the *vc-diff* buffer.
+If REV1 and REV2 are non-nil, report differences from REV1 to REV2.
+If REV1 is nil, use the current workfile version (as found in the
+repository) as the older version; if REV2 is nil, use the current
+workfile contents as the newer version.
+This function returns a status of either 0 (no differences found), or
+1 (either non-empty diff or the diff is run asynchronously)."
+  (let* ((diff-switches-list
+          ;; In Emacs 21.3.50 or so, the `vc-diff-switches-list' macro
+          ;; started requiring its symbol argument to be quoted.
+          (condition-case nil
+              (vc-diff-switches-list svn)
+            (void-variable (vc-diff-switches-list 'SVN))))
+         (status (vc-svn-run-status file))
+         (local (elt status 1))
+         (changed (elt status 2))
+         
+         ;; If rev1 is the default (the base revision) set it to nil.
+         ;; This is nice because it lets us recognize when the diff
+         ;; will run locally, and thus when we shouldn't bother to run
+         ;; it asynchronously.  But it's also necessary, since a diff
+         ;; for vc-default-workfile-unchanged-p *must* run
+         ;; synchronously, or else you'll end up with two diffs in the
+         ;; *vc-diff* buffer.  `vc-diff-workfile-unchanged-p' passes
+         ;; the base revision explicitly, but this kludge lets us
+         ;; recognize that we can run the diff synchronously anyway.
+         ;; Fragile, no?
+         (rev1 (if (and rev1 (not (equal rev1 local))) rev1))
+
+         (rev-switches-list
+          (cond
+           ;; Given base rev against given rev.
+           ((and rev1 rev2) (list "-r" (format "%s:%s" rev1 rev2)))
+           ;; Given base rev against working copy.
+           (rev1 (list "-r" rev1))
+           ;; Working copy base against given rev.
+           (rev2 (list "-r" (format "%s:%s" local rev2)))
+           ;; Working copy base against working copy.
+           (t '())))
+
+         ;; Run diff asynchronously if we're going to have to go
+         ;; across the network.
+         (async (or rev1 rev2)))
+
+    (let ((status (apply 'vc-do-command "*vc-diff*" (if async 'async 0)
+                         vc-svn-program-name file
+                         (append '("diff") rev-switches-list))))
+      (if (or async (> (buffer-size (get-buffer "*vc-diff*")) 0))
+          1 0))))
+
+(defun vc-svn-find-version (file rev buffer)
+  (vc-do-command buffer 0 vc-svn-program-name file 
+         "cat" "-r" rev))
+
+(provide 'vc-svn)
diff --git a/dev-vcs/subversion/metadata.xml b/dev-vcs/subversion/metadata.xml
new file mode 100644 (file)
index 0000000..e04bcbe
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>no-herd</herd>
+       <maintainer>
+               <email>arfrever@gentoo.org</email>
+               <name>Arfrever Frehtes Taifersar Arahesis</name>
+               <description>Gentoo Subversion maintainer and Subversion upstream representative</description>
+       </maintainer>
+       <use>
+               <flag name="ctypes-python">Build and install Ctypes Python bindings</flag>
+               <flag name="dso">Enable runtime module search</flag>
+               <flag name="extras">Install extra scripts (examples, tools, hooks)</flag>
+               <flag name="webdav-neon">Enable WebDAV support using <pkg>net-libs/neon</pkg></flag>
+               <flag name="webdav-serf">Enable WebDAV support using <pkg>net-libs/serf</pkg></flag>
+       </use>
+</pkgmetadata>
diff --git a/dev-vcs/subversion/subversion-1.6.11.ebuild b/dev-vcs/subversion/subversion-1.6.11.ebuild
new file mode 100644 (file)
index 0000000..d52d2e5
--- /dev/null
@@ -0,0 +1,894 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.6.11.ebuild,v 1.1 2010/06/22 18:17:20 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+WANT_AUTOMAKE="none"
+
+inherit autotools bash-completion db-use depend.apache elisp-common eutils flag-o-matic java-pkg-opt-2 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 ~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-misc/neon-0.28 )
+       webdav-serf? ( =net-libs/serf-0.3* )"
+RDEPEND="${CDEPEND}
+       apache2? ( www-servers/apache[apache2_modules_dav] )
+       java? ( >=virtual/jre-1.5 )
+       kde? ( kde-base/kwalletd )
+       nls? ( virtual/libintl )
+       perl? ( dev-perl/URI )"
+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}
+       >=sys-apps/sandbox-1.6
+       ctypes-python? ( dev-python/ctypesgen )
+       doc? ( app-doc/doxygen )
+       gnome-keyring? ( dev-util/pkgconfig )
+       java? ( >=virtual/jdk-1.5 )
+       kde? ( dev-util/pkgconfig )
+       nls? ( sys-devel/gettext )
+       test? (
+               =dev-lang/python-2*
+               webdav-neon? ( ${APACHE_TEST_DEPEND} )
+               webdav-serf? ( ${APACHE_TEST_DEPEND} )
+       )
+       webdav-neon? ( dev-util/pkgconfig )"
+RESTRICT_PYTHON_ABIS="3.*"
+
+want_apache
+
+S="${WORKDIR}/${P/_/-}"
+
+# Allow for custom repository locations.
+# This can't be in pkg_setup() because the variable needs to be available to pkg_config().
+: ${SVN_REPOS_LOC:=/var/svn}
+
+pkg_setup() {
+       if use kde && ! use nls; then
+               eerror "Support for KWallet (KDE) requires Native Language Support (NLS)."
+               die "Enable \"nls\" USE flag"
+       fi
+
+       if use berkdb; then
+               einfo
+               if [[ -z "${SVN_BDB_VERSION}" ]]; then
+                       SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/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 "${ROOT}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
+
+       java-pkg-opt-2_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
+               elog
+               elog "\e[1;31m************************************************************************************************\e[0m"
+               elog
+               elog "NOTES ABOUT TESTS"
+               elog
+               elog "You can set the following variables to enable testing of some features and configure testing:"
+               if use webdav-neon || use webdav-serf; then
+                       elog "  SVN_TEST_APACHE_PORT=integer          - Set Apache port number (Default value: 62208)"
+               fi
+               elog "  SVN_TEST_SVNSERVE_PORT=integer        - Set svnserve port number (Default value: 62209)"
+               elog "  SVN_TEST_FSFS_MEMCACHED=1             - Enable using of Memcached for FSFS repositories"
+               elog "  SVN_TEST_FSFS_MEMCACHED_PORT=integer  - Set Memcached port number (Default value: 62210)"
+               elog "  SVN_TEST_FSFS_SHARDING=integer        - Enable sharding of FSFS repositories and set default shard size for FSFS repositories"
+               elog "  SVN_TEST_FSFS_PACKING=1               - Enable packing of FSFS repositories"
+               elog "                                          (SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING)"
+#              if use sasl; then
+#                      elog "  SVN_TEST_SASL=1                       - Enable SASL authentication"
+#              fi
+               if use ctypes-python || use java || use perl || use python || use ruby; then
+                       elog "  SVN_TEST_BINDINGS=1                   - Enable testing of bindings"
+               fi
+               if use java || use perl || use python || use ruby; then
+                       elog "                                          (Testing of bindings requires ${CATEGORY}/${PF})"
+               fi
+               if use java; then
+                       elog "                                          (Testing of JavaHL library requires dev-java/junit:4)"
+               fi
+               elog
+               elog "\e[1;31m************************************************************************************************\e[0m"
+               elog
+
+               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
+                       if use java && ! has_version dev-java/junit:4; then
+                               die "dev-java/junit:4 must be installed"
+                       fi
+               fi
+       fi
+
+       if use debug; then
+               append-cppflags -DSVN_DEBUG -DAP_DEBUG
+       fi
+}
+
+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=/usr/share/junit-4/lib/junit.jar"
+               else
+                       myconf+=" --without-junit"
+               fi
+       fi
+
+       econf --libdir="/usr/$(get_libdir)" \
+               $(use_with apache2 apxs "${APXS}") \
+               $(use_with berkdb berkeley-db "db.h:/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
+               $(use_with ctypes-python ctypesgen /usr) \
+               $(use_enable dso runtime-module-search) \
+               $(use_with gnome-keyring) \
+               $(use_enable java javahl) \
+               $(use_with java jdk "${JAVA_HOME}") \
+               $(use_with kde kwallet) \
+               $(use_enable nls) \
+               $(use_with sasl) \
+               $(use_with webdav-neon neon) \
+               $(use_with webdav-serf serf /usr) \
+               ${myconf} \
+               --with-apr=/usr/bin/apr-1-config \
+               --with-apr-util=/usr/bin/apu-1-config \
+               --disable-experimental-libtool \
+               --without-jikes \
+               --enable-local-library-preloading \
+               --disable-mod-activation \
+               --disable-neon-version-check \
+               --with-sqlite=/usr
+}
+
+src_compile() {
+       einfo
+       einfo "Building of core of Subversion"
+       einfo
+       emake local-all || die "Building of core of Subversion failed"
+
+       if use ctypes-python; then
+               einfo
+               einfo "Building of Subversion Ctypes Python bindings"
+               einfo
+               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
+               einfo
+               einfo "Building of Subversion SWIG Python bindings"
+               einfo
+               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$(python_get_includedir)" \
+                               PYTHON_VERSION="$(python_get_version)" \
+                               swig_pydir="$(python_get_sitedir)/libsvn" \
+                               swig_pydir_extra="$(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
+               einfo
+               einfo "Building of Subversion SWIG Perl bindings"
+               einfo
+               emake -j1 swig-pl || die "Building of Subversion SWIG Perl bindings failed"
+       fi
+
+       if use ruby; then
+               einfo
+               einfo "Building of Subversion SWIG Ruby bindings"
+               einfo
+               emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
+       fi
+
+       if use java; then
+               einfo
+               einfo "Building of Subversion JavaHL library"
+               einfo
+               emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
+       fi
+
+       if use emacs; then
+               einfo
+               einfo "Compilation of Emacs modules"
+               einfo
+               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
+               einfo
+               einfo "Building of contrib and tools"
+               einfo
+               emake contrib || die "Building of contrib failed"
+               emake tools || die "Building of tools failed"
+       fi
+
+       if use doc; then
+               einfo
+               einfo "Building of Subversion HTML documentation"
+               einfo
+               doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
+
+               if use java; then
+                       einfo
+                       einfo "Building of Subversion JavaHL library HTML documentation"
+                       einfo
+                       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
+
+<Directory />
+       AllowOverride None
+</Directory>
+
+<Location /svn-test-work/repositories>
+       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
+</Location>
+
+<Location /svn-test-work/local_tmp/repos>
+       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
+</Location>
+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
+                       einfo
+                       einfo "\e[1;34mTesting of ra_${ra_type} + $(echo ${fs_type} | tr '[:lower:]' '[:upper:]')\e[0m"
+                       einfo
+                       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
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion Ctypes Python bindings\e[0m"
+                       einfo
+                       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
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion SWIG Python bindings\e[0m"
+                       einfo
+                       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
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion SWIG ${linguas[${swig_lingua}]} bindings\e[0m"
+                       einfo
+                       time emake check-swig-${swig_lingua} || failed_tests="1"
+               done
+
+               if use java; then
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion JavaHL library\e[0m"
+                       einfo
+                       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() {
+       einfo
+       einfo "Installation of core of Subversion"
+       einfo
+       emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
+
+       if use ctypes-python; then
+               einfo
+               einfo "Installation of Subversion Ctypes Python bindings"
+               einfo
+               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
+               einfo
+               einfo "Installation of Subversion SWIG Python bindings"
+               einfo
+               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="$(python_get_sitedir)/libsvn" \
+                               swig_pydir_extra="$(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
+       fi
+
+       if use ctypes-python || use python; then
+               python_clean_installation_image -q
+       fi
+
+       if use perl; then
+               einfo
+               einfo "Installation of Subversion SWIG Perl bindings"
+               einfo
+               emake -j1 DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
+               fixlocalpod
+               find "${D}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
+       fi
+
+       if use ruby; then
+               einfo
+               einfo "Installation of Subversion SWIG Ruby bindings"
+               einfo
+               emake -j1 DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
+       fi
+
+       if use java; then
+               einfo
+               einfo "Installation of Subversion JavaHL library"
+               einfo
+               emake -j1 DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
+               java-pkg_regso "${D}"usr/$(get_libdir)/libsvnjavahl*.so
+               java-pkg_dojar "${D}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
+               rm -fr "${D}"usr/$(get_libdir)/svn-javahl/*.jar
+       fi
+
+       # Install Apache module configuration.
+       if use apache2; then
+               dodir "${APACHE_MODULES_CONFDIR}"
+               cat << EOF > "${D}${APACHE_MODULES_CONFDIR}"/47_mod_dav_svn.conf
+<IfDefine SVN>
+LoadModule dav_svn_module modules/mod_dav_svn.so
+<IfDefine SVN_AUTHZ>
+LoadModule authz_svn_module modules/mod_authz_svn.so
+</IfDefine>
+
+# Example configuration:
+#<Location /svn/repos>
+#      DAV svn
+#      SVNPath ${SVN_REPOS_LOC}/repos
+#      AuthType Basic
+#      AuthName "Subversion repository"
+#      AuthUserFile ${SVN_REPOS_LOC}/conf/svnusers
+#      Require valid-user
+#</Location>
+</IfDefine>
+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 "${D}${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
+               einfo
+               einfo "Installation of contrib and tools"
+               einfo
+
+               cat << EOF > 80subversion-extras
+PATH="/usr/$(get_libdir)/subversion/bin"
+ROOTPATH="/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
+               einfo
+               einfo "Installation of Subversion HTML documentation"
+               einfo
+               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 "${ROOT}usr/bin/svn" ]]; then
+               OLD_BDB_VERSION="$(scanelf -nq "${ROOT}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
+               NEW_BDB_VERSION="$(scanelf -nq "${D}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 ${ROOT}${SVN_REPOS_LOC} ..."
+       if [[ -e "${ROOT}${SVN_REPOS_LOC}/repos" ]]; then
+               echo "A Subversion repository already exists and I will not overwrite it."
+               echo "Delete \"${ROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
+       else
+               mkdir -p "${ROOT}${SVN_REPOS_LOC}/conf"
+
+               einfo ">>> Populating repository directory ..."
+               # Create initial repository.
+               "${ROOT}usr/bin/svnadmin" create "${ROOT}${SVN_REPOS_LOC}/repos"
+
+               einfo ">>> Setting repository permissions ..."
+               SVNSERVE_USER="$(. "${ROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
+               SVNSERVE_GROUP="$(. "${ROOT}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}" "${ROOT}${SVN_REPOS_LOC}/repos"
+               chmod -Rf go-rwx "${ROOT}${SVN_REPOS_LOC}/conf"
+               chmod -Rf o-rwx "${ROOT}${SVN_REPOS_LOC}/repos"
+       fi
+}
diff --git a/dev-vcs/subversion/subversion-1.6.9.ebuild b/dev-vcs/subversion/subversion-1.6.9.ebuild
new file mode 100644 (file)
index 0000000..2043cf1
--- /dev/null
@@ -0,0 +1,808 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.6.9.ebuild,v 1.1 2010/06/22 18:17:20 arfrever Exp $
+
+EAPI="2"
+
+WANT_AUTOMAKE="none"
+
+inherit autotools bash-completion db-use depend.apache elisp-common eutils flag-o-matic java-pkg-opt-2 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 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* )
+       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 )
+       ruby? ( >=dev-lang/ruby-1.8.2 )
+       sasl? ( dev-libs/cyrus-sasl )
+       webdav-neon? ( >=net-misc/neon-0.28 )
+       webdav-serf? ( >=net-libs/serf-0.3.0 )"
+RDEPEND="${CDEPEND}
+       apache2? ( www-servers/apache[apache2_modules_dav] )
+       java? ( >=virtual/jre-1.5 )
+       kde? ( kde-base/kwalletd )
+       nls? ( virtual/libintl )
+       perl? ( dev-perl/URI )"
+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}
+       >=sys-apps/sandbox-1.6
+       ctypes-python? ( dev-python/ctypesgen )
+       doc? ( app-doc/doxygen )
+       gnome-keyring? ( dev-util/pkgconfig )
+       java? ( >=virtual/jdk-1.5 )
+       kde? ( dev-util/pkgconfig )
+       nls? ( sys-devel/gettext )
+       test? (
+               webdav-neon? ( ${APACHE_TEST_DEPEND} )
+               webdav-serf? ( ${APACHE_TEST_DEPEND} )
+       )
+       webdav-neon? ( dev-util/pkgconfig )"
+
+want_apache
+
+S="${WORKDIR}/${P/_/-}"
+
+# Allow for custom repository locations.
+# This can't be in pkg_setup() because the variable needs to be available to pkg_config().
+: ${SVN_REPOS_LOC:=/var/svn}
+
+pkg_setup() {
+       if use kde && ! use nls; then
+               eerror "Support for KWallet (KDE) requires Native Language Support (NLS)."
+               die "Enable \"nls\" USE flag"
+       fi
+
+       if use berkdb; then
+               einfo
+               if [[ -z "${SVN_BDB_VERSION}" ]]; then
+                       SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/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 "${ROOT}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
+
+       java-pkg-opt-2_pkg_setup
+
+       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
+               ebeep
+       fi
+
+       if use test; then
+               elog
+               elog "\e[1;31m************************************************************************************************\e[0m"
+               elog
+               elog "NOTES ABOUT TESTS"
+               elog
+               elog "You can set the following variables to enable testing of some features and configure testing:"
+               if use webdav-neon || use webdav-serf; then
+                       elog "  SVN_TEST_APACHE_PORT=integer          - Set Apache port number (Default value: 62208)"
+               fi
+               elog "  SVN_TEST_SVNSERVE_PORT=integer        - Set svnserve port number (Default value: 62209)"
+               elog "  SVN_TEST_FSFS_MEMCACHED=1             - Enable using of Memcached for FSFS repositories"
+               elog "  SVN_TEST_FSFS_MEMCACHED_PORT=integer  - Set Memcached port number (Default value: 62210)"
+               elog "  SVN_TEST_FSFS_SHARDING=integer        - Enable sharding of FSFS repositories and set default shard size for FSFS repositories"
+               elog "  SVN_TEST_FSFS_PACKING=1               - Enable packing of FSFS repositories"
+               elog "                                          (SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING)"
+#              if use sasl; then
+#                      elog "  SVN_TEST_SASL=1                       - Enable SASL authentication"
+#              fi
+               if use ctypes-python || use java || use perl || use python || use ruby; then
+                       elog "  SVN_TEST_BINDINGS=1                   - Enable testing of bindings"
+               fi
+               if use java || use perl || use python || use ruby; then
+                       elog "                                          (Testing of bindings requires ${CATEGORY}/${PF})"
+               fi
+               if use java; then
+                       elog "                                          (Testing of JavaHL library requires dev-java/junit:4)"
+               fi
+               elog
+               elog "\e[1;31m************************************************************************************************\e[0m"
+               elog
+               ebeep
+               epause 24
+
+               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
+                       if use java && ! has_version dev-java/junit:4; then
+                               die "dev-java/junit:4 must be installed"
+                       fi
+               fi
+       fi
+
+       if use debug; then
+               append-cppflags -DSVN_DEBUG -DAP_DEBUG
+       fi
+}
+
+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
+
+       eautoconf
+       elibtoolize
+}
+
+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=/usr/share/junit-4/lib/junit.jar"
+               else
+                       myconf+=" --without-junit"
+               fi
+       fi
+
+       econf --libdir="/usr/$(get_libdir)" \
+               $(use_with apache2 apxs "${APXS}") \
+               $(use_with berkdb berkeley-db "db.h:/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
+               $(use_with ctypes-python ctypesgen /usr) \
+               $(use_enable dso runtime-module-search) \
+               $(use_with gnome-keyring) \
+               $(use_enable java javahl) \
+               $(use_with java jdk "${JAVA_HOME}") \
+               $(use_with kde kwallet) \
+               $(use_enable nls) \
+               $(use_with sasl) \
+               $(use_with webdav-neon neon) \
+               $(use_with webdav-serf serf /usr) \
+               ${myconf} \
+               --with-apr=/usr/bin/apr-1-config \
+               --with-apr-util=/usr/bin/apu-1-config \
+               --disable-experimental-libtool \
+               --without-jikes \
+               --enable-local-library-preloading \
+               --disable-mod-activation \
+               --disable-neon-version-check \
+               --with-sqlite=/usr
+}
+
+src_compile() {
+       einfo
+       einfo "Building of core of Subversion"
+       einfo
+       emake local-all || die "Building of core of Subversion failed"
+
+       if use ctypes-python; then
+               einfo
+               einfo "Building of Subversion Ctypes Python bindings"
+               einfo
+               emake ctypes-python || die "Building of Subversion Ctypes Python bindings failed"
+       fi
+
+       if use python; then
+               einfo
+               einfo "Building of Subversion SWIG Python bindings"
+               einfo
+               emake swig_pydir="$(python_get_sitedir)/libsvn" swig_pydir_extra="$(python_get_sitedir)/svn" swig-py \
+                       || die "Building of Subversion SWIG Python bindings failed"
+       fi
+
+       if use perl; then
+               einfo
+               einfo "Building of Subversion SWIG Perl bindings"
+               einfo
+               emake -j1 swig-pl || die "Building of Subversion SWIG Perl bindings failed"
+       fi
+
+       if use ruby; then
+               einfo
+               einfo "Building of Subversion SWIG Ruby bindings"
+               einfo
+               emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
+       fi
+
+       if use java; then
+               einfo
+               einfo "Building of Subversion JavaHL library"
+               einfo
+               emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl \
+                       || die "Building of Subversion JavaHL library failed"
+       fi
+
+       if use emacs; then
+               einfo
+               einfo "Compilation of Emacs modules"
+               einfo
+               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
+               einfo
+               einfo "Building of contrib and tools"
+               einfo
+               emake contrib || die "Building of contrib failed"
+               emake tools || die "Building of tools failed"
+       fi
+
+       if use doc; then
+               einfo
+               einfo "Building of Subversion HTML documentation"
+               einfo
+               doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
+
+               if use java; then
+                       einfo
+                       einfo "Building of Subversion JavaHL library HTML documentation"
+                       einfo
+                       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
+
+<Directory />
+       AllowOverride None
+</Directory>
+
+<Location /svn-test-work/repositories>
+       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
+</Location>
+
+<Location /svn-test-work/local_tmp/repos>
+       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
+</Location>
+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
+                       einfo
+                       einfo "\e[1;34mTesting of ra_${ra_type} + $(echo ${fs_type} | tr '[:lower:]' '[:upper:]')\e[0m"
+                       einfo
+                       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
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion Ctypes Python bindings\e[0m"
+                       einfo
+                       time emake check-ctypes-python || failed_tests="1"
+               fi
+
+               use perl && swig_linguas+=" pl"
+               use python && swig_linguas+=" py"
+               use ruby && swig_linguas+=" rb"
+
+               linguas[pl]="Perl"
+               linguas[py]="Python"
+               linguas[rb]="Ruby"
+
+               for swig_lingua in ${swig_linguas}; do
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion SWIG ${linguas[${swig_lingua}]} bindings\e[0m"
+                       einfo
+                       time emake check-swig-${swig_lingua} || failed_tests="1"
+               done
+
+               if use java; then
+                       einfo
+                       einfo "\e[1;34mTesting of Subversion JavaHL library\e[0m"
+                       einfo
+                       time emake check-javahl || failed_tests="1"
+               fi
+       fi
+
+       if [[ -n "${failed_tests}" ]]; then
+               ewarn
+               ewarn "\e[1;31mSome tests failed\e[0m"
+               ewarn
+               ebeep 12
+       fi
+}
+
+src_install() {
+       einfo
+       einfo "Installation of core of Subversion"
+       einfo
+       emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
+
+       if use ctypes-python; then
+               einfo
+               einfo "Installation of Subversion Ctypes Python bindings"
+               einfo
+               emake DESTDIR="${D}" install-ctypes-python || die "Installation of Subversion Ctypes Python bindings failed"
+       fi
+
+       if use python; then
+               einfo
+               einfo "Installation of Subversion SWIG Python bindings"
+               einfo
+               emake -j1 DESTDIR="${D}" swig_pydir="$(python_get_sitedir)/libsvn" swig_pydir_extra="$(python_get_sitedir)/svn" install-swig-py \
+                       || die "Installation of Subversion SWIG Python bindings failed"
+       fi
+
+       if use perl; then
+               einfo
+               einfo "Installation of Subversion SWIG Perl bindings"
+               einfo
+               emake -j1 DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
+               fixlocalpod
+               find "${D}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
+       fi
+
+       if use ruby; then
+               einfo
+               einfo "Installation of Subversion SWIG Ruby bindings"
+               einfo
+               emake -j1 DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
+       fi
+
+       if use java; then
+               einfo
+               einfo "Installation of Subversion JavaHL library"
+               einfo
+               emake -j1 DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
+               java-pkg_regso "${D}"usr/$(get_libdir)/libsvnjavahl*.so
+               java-pkg_dojar "${D}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
+               rm -fr "${D}"usr/$(get_libdir)/svn-javahl/*.jar
+       fi
+
+       # Install Apache module configuration.
+       if use apache2; then
+               dodir "${APACHE_MODULES_CONFDIR}"
+               cat << EOF > "${D}${APACHE_MODULES_CONFDIR}"/47_mod_dav_svn.conf
+<IfDefine SVN>
+LoadModule dav_svn_module modules/mod_dav_svn.so
+<IfDefine SVN_AUTHZ>
+LoadModule authz_svn_module modules/mod_authz_svn.so
+</IfDefine>
+
+# Example configuration:
+#<Location /svn/repos>
+#      DAV svn
+#      SVNPath ${SVN_REPOS_LOC}/repos
+#      AuthType Basic
+#      AuthName "Subversion repository"
+#      AuthUserFile ${SVN_REPOS_LOC}/conf/svnusers
+#      Require valid-user
+#</Location>
+</IfDefine>
+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 "${D}${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
+               einfo
+               einfo "Installation of contrib and tools"
+               einfo
+
+               cat << EOF > 80subversion-extras
+PATH="/usr/$(get_libdir)/subversion/bin"
+ROOTPATH="/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
+               einfo
+               einfo "Installation of Subversion HTML documentation"
+               einfo
+               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 "${ROOT}usr/bin/svn" ]]; then
+               OLD_BDB_VERSION="$(scanelf -nq "${ROOT}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
+               NEW_BDB_VERSION="$(scanelf -nq "${D}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 "$(python_get_sitedir)/csvn"
+       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
+       epause 6
+
+       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 "$(python_get_sitedir)/csvn"
+       fi
+}
+
+pkg_config() {
+       einfo ">>> Initializing the database in ${ROOT}${SVN_REPOS_LOC} ..."
+       if [[ -e "${ROOT}${SVN_REPOS_LOC}/repos" ]]; then
+               echo "A Subversion repository already exists and I will not overwrite it."
+               echo "Delete \"${ROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
+       else
+               mkdir -p "${ROOT}${SVN_REPOS_LOC}/conf"
+
+               einfo ">>> Populating repository directory ..."
+               # Create initial repository.
+               "${ROOT}usr/bin/svnadmin" create "${ROOT}${SVN_REPOS_LOC}/repos"
+
+               einfo ">>> Setting repository permissions ..."
+               SVNSERVE_USER="$(. "${ROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
+               SVNSERVE_GROUP="$(. "${ROOT}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}" "${ROOT}${SVN_REPOS_LOC}/repos"
+               chmod -Rf go-rwx "${ROOT}${SVN_REPOS_LOC}/conf"
+               chmod -Rf o-rwx "${ROOT}${SVN_REPOS_LOC}/repos"
+       fi
+}