Compare commits

...

301 Commits

Author SHA1 Message Date
Joe Orton
d5d79903b7 improve library versioning so filenames are unique across releases 2022-07-29 10:52:39 +01:00
Fedora Release Engineering
a369b2c68c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 09:34:39 +00:00
Joe Orton
3ef9dd2eb3 disable libmagic during test runs 2022-07-05 16:08:46 +01:00
Joe Orton
28a8371292 update for new Java arches and bump to JDK 17 (#2103909)
Resolves: rhbz#2103909
2022-07-05 14:30:11 +01:00
Python Maint
66f78b6f0b Rebuilt for Python 3.11 2022-06-13 15:27:35 +02:00
Jitka Plesnikova
dfc31038ae Perl 5.36 rebuild 2022-05-31 22:09:00 +02:00
Joe Orton
786c0a870c update to 1.14.2 (#2073852, CVE-2021-28544, CVE-2022-24070) 2022-05-04 10:35:59 +01:00
Jiri
55cb565526 Rebuilt for java-17-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java17
2022-02-06 00:21:36 +01:00
Mamoru TASAKA
8936f2a567 F-36: rebuild against ruby31 2022-01-27 10:38:03 +09:00
Timm Bäder
9928155ef9 Disable automatic .la file removal
https://fedoraproject.org/wiki/Changes/RemoveLaFiles
2022-01-24 15:07:31 +01:00
Fedora Release Engineering
6a438d0695 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 01:48:20 +00:00
Richard Lescak
230cf0ba53 Replaced deprecated method readfp() in gen_base.py to build with Python 3.11 (#2019019) 2021-12-16 20:39:17 +01:00
Joe Orton
fc99096be2 fix intermittent FTBFS in tests (#1956806)
Resolves: rhbz#1956806
2021-12-01 11:40:05 +00:00
Fedora Release Engineering
af1f9fda49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 18:25:15 +00:00
Python Maint
295a35219d Rebuilt for Python 3.10 2021-06-04 21:15:48 +02:00
Jitka Plesnikova
7da0927bea Perl 5.34 rebuild 2021-05-22 23:31:41 +02:00
Jitka Plesnikova
5683ab8094 Temporary disable the tests for Perl mass rebuil 2021-05-20 08:08:59 +02:00
Zbigniew Jędrzejewski-Szmek
3a98fb6357 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:14 +01:00
Joe Orton
467f0d7692 update to 1.14.1 (#1927265, #1768698)
Resolves: rhbz#1768698
Resolves: rhbz#1927265
2021-02-10 14:39:01 +00:00
Fedora Release Engineering
9972e74622 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 21:10:32 +00:00
Tom Stellard
0fda095229 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-12 00:03:29 +00:00
Mamoru TASAKA
b84c8bd57c F-34: rebuild against ruby 3.0 2021-01-06 20:29:30 +09:00
Joe Orton
9e1c54f621 strip libdir from pkgconfig files
add missing -libs dep from python3-subversion
2020-12-11 16:58:50 +00:00
Joe Orton
fcaaaff855 fix KWallet conditional (#1902598)
Resolves: rhbz#1902598
2020-12-03 10:31:42 +00:00
Joe Orton
499cd8e83d Reorder bconds. 2020-12-02 14:34:32 +00:00
Jan Grulich
eeb81e6a40 Disable KWallet for RHEL and ELN
Resolves: bz#1902598
2020-11-30 18:53:22 +01:00
Joe Orton
3d5f8d900a bump required apr-devel
BR gcc, gcc-c++
2020-09-29 16:30:19 +01:00
Fedora Release Engineering
665f365e99 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:14:36 +00:00
Fedora Release Engineering
7625a18e28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 11:37:01 +00:00
Jitka Plesnikova
98a6fa5e22 Perl 5.32 rebuild 2020-06-23 10:51:49 +02:00
Joe Orton
e8ea94364e Fix chronology, again. 2020-06-03 12:13:49 +01:00
Merlin Mathesius
3ebdabd841 Minor conditional fixes for ELN 2020-06-03 12:13:22 +01:00
Joe Orton
c9e6813bbd Fix chronology more. 2020-06-03 10:41:52 +01:00
Joe Orton
620cccab98 use minor version as libtool library revision number 2020-06-03 10:03:10 +01:00
Joe Orton
b0d36c8372 Amend changelog. 2020-06-03 08:28:20 +01:00
Joe Orton
a324bcd12d Seems the ruby bindings failure was a false -ve, though libsvn_swig_ruby
only builds with many mismatched callback pointer types, so looks dubious.
2020-06-03 08:27:29 +01:00
Joe Orton
c8b62eed2a - disable Ruby bindings, failing tests with Ruby 2.7 2020-06-02 16:50:54 +01:00
Joe Orton
5deb44b230 - remove duplicated %changelog entries 2020-06-02 16:49:54 +01:00
Joe Orton
d4cfdbde97 enable Python swig bindings by default for f32+ 2020-06-02 16:25:48 +01:00
Joe Orton
f8836c5c33 update to 1.14.0 (#1840565, #1812195)
Resolves: rhbz#1812195
Resolves: rhbz#1840565
2020-06-02 15:10:26 +01:00
Joe Orton
7f9b0e8ee8 revise %changelog history to restore chronological order 2020-06-01 16:11:48 +01:00
Joe Orton
775848c5c0 Merge branch 'unstable' 2020-06-01 16:09:57 +01:00
Jitka Plesnikova
8ee227cefc Updated build-requires for java and qt5
Switch back to java-11.
2020-05-19 11:01:32 +01:00
Joe Orton
880dc2d088 switch subpackages to lock-step requires on -libs rather than subversion 2020-05-19 10:52:49 +01:00
Joe Orton
15003a7b63 drop Berkeley DB support for Fedora > 32
BR java-11-openjdk-devel
2020-04-30 09:51:47 +01:00
Joe Orton
dba71be6b7 Fix for -rc 2020-04-28 17:19:16 +01:00
Jitka Plesnikova
9feed5d046 fixed the build-requires 2020-04-28 15:19:56 +02:00
Jitka Plesnikova
8a826512a3 Updated build-requires for java and qt5 2020-04-28 08:10:16 +02:00
Joe Orton
3751cb1185 - BR py3c-devel 2020-04-24 11:25:11 +01:00
Joe Orton
60ad19a1c4 update to 1.14.0-rc2 2020-04-23 16:51:19 +01:00
Joe Orton
7cd62e93ad - fix FTBFS on 32-bit arches 2020-02-12 13:44:04 +00:00
Joe Orton
0e0c958468 fix FTBFS on 32-bit arches (#1800120)
Resolves: rhbz#1800120
2020-02-12 12:48:53 +00:00
Mamoru TASAKA
3bff10eb40 F-32: fix include path for ruby 2.7 2020-02-12 09:46:45 +00:00
Joe Orton
e210879fdd conditionally package bdb tools in -tools 2020-02-12 09:43:37 +00:00
Fedora Release Engineering
dde0722d8b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 00:29:12 +00:00
Mamoru TASAKA
282e2f908f F-32: fix include path for ruby 2.7
Rebuild for ruby 2.7
2020-01-21 15:11:37 +09:00
Joe Orton
4dacd0cc9a conditionally package bdb tools in -tools 2020-01-17 09:13:34 +00:00
Joe Orton
fb7f2749f3 update for KDE 5 (Phil O, #1768693)
Resolves: rhbz#1768693
2020-01-17 09:12:37 +00:00
Joe Orton
44728be640 update for KDE 5 (Phil O, #1768693)
Resolves: rhbz#1768693
2020-01-06 08:24:17 +00:00
Joe Orton
37f54c869d Tweak issue links. 2019-11-28 12:41:27 +00:00
Joe Orton
df7a8d4302 update to 1.13.0 2019-11-01 08:00:29 +00:00
Joe Orton
b92333397b subversion.spec
- update to 1.13.0
2019-11-01 08:00:12 +00:00
Joe Orton
1009d9c401 switch to Python 3 for F32+ (#1737928)
Resolves: rhbz#1737928
2019-08-30 13:11:42 +01:00
Joe Orton
7a2266fa94 update to 1.12.2 2019-07-25 09:09:59 +01:00
Joe Orton
d3d820b4ed Catch issues better in markdown conversion. 2019-07-25 08:59:10 +01:00
Jitka Plesnikova
f5c1dc7ba6 Perl 5.30 rebuild 2019-06-01 20:21:53 +02:00
Joe Orton
a25a62dd94 - merge pie/rpath patches into one; drop PIE stuff
which shouldn't be needed any more with current Fedora?
2019-05-02 10:02:21 +01:00
Joe Orton
5ad5346643 update to 1.12.0 (#1702471)
Resolves: rhbz#1702471
2019-05-01 17:12:36 +01:00
Joe Orton
c5a1e6a57b Add pullrev.sh script. 2019-04-17 09:29:18 +01:00
Joe Orton
57362d6ecd fix build with APR 1.7.0 (upstream r1857391) 2019-04-17 09:29:02 +01:00
Fedora Release Engineering
064aa48b41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 08:47:16 +00:00
Igor Gnatenko
6c3bff4b0c Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:51 +01:00
Igor Gnatenko
69fda208d9
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:41:05 +01:00
Mamoru TASAKA
90f80dcf5f F-30: rebuild against ruby26 2019-01-21 17:56:51 +09:00
Björn Esser
02f5184175
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:17:41 +01:00
Joe Orton
784b518a86 update to 1.11.1 2019-01-11 15:33:40 +00:00
Joe Orton
4df5cd53fb Updated sed script to convert CHANGES to markdown. 2018-11-01 08:31:45 +00:00
Joe Orton
ac4378f0e5 update to 1.11.0 2018-10-31 11:51:37 +00:00
Joe Orton
d06508e65b update to 1.10.3 2018-10-11 09:24:44 +01:00
Joe Orton
a6aa7f6ff5 Remove obsolete patches. 2018-07-20 15:33:53 +01:00
Joe Orton
26d2f416ea update to 1.10.2 (#1603197)
Resolves: rhbz#1603197
2018-07-20 15:32:34 +01:00
Fedora Release Engineering
165709cbf9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:51:16 +00:00
Jitka Plesnikova
aaba982dde Perl 5.28 rebuild 2018-06-29 22:06:59 +02:00
Joe Orton
8c2c8c9b5b fix test suite invocation 2018-06-28 17:16:59 +01:00
Joe Orton
7417b32a9b Narrow swig-disabling to just Python bindings. 2018-06-28 16:26:25 +01:00
Joe Orton
730bad37b5 Remove old source. 2018-06-28 09:00:15 +01:00
Joe Orton
5d1d84ed52 really disable Berkeley DB support if required by bcond
add build conditional to disable swig binding subpackages
2018-06-27 17:44:23 +01:00
Joe Orton
28a2e483e9 remove build and -devel deps on libgnome-keyring-devel 2018-05-01 18:04:51 +01:00
Joe Orton
13ecf2b759 drop -devel dep on libserf-devel 2018-05-01 15:15:50 +01:00
Joe Orton
80ac0e0da3 add bdb, tests as build conditional 2018-04-24 17:34:09 +01:00
Joe Orton
fdcd0773c4 add bdb build conditional 2018-04-24 09:11:58 +01:00
Joe Orton
1a45152b26 move new tools to -tools 2018-04-17 09:32:29 +01:00
Joe Orton
2e3dd3de30 update to 1.10.0 (#1566493)
Resolves: rhbz#1566493
2018-04-16 10:30:49 +01:00
Joe Orton
5ac98aab34 - more python2 fixes for #1552079 2018-03-27 21:33:56 +01:00
Joe Orton
98ddd79d86 add build conditionals for python2, python3 and kwallet
Resolves: rhbz#1552079
2018-03-27 20:48:07 +01:00
Joe Orton
193e2e3a7d More Python2/3 improvements. 2018-03-27 19:07:50 +01:00
Joe Orton
826f2c3689 For Subversion 1.9, only run test suite with Py2 (Py3 supported with 1.10). 2018-03-27 18:39:23 +01:00
Joe Orton
0006eb7232 add build conditionals for python2, python3 and kwallet 2018-03-27 17:11:44 +01:00
Joe Orton
f71da83290 force use of Python2 in test suite 2018-02-09 13:21:12 +00:00
Joe Orton
a2f1b0bc3e force use of Python2 in test suite 2018-02-08 16:58:19 +00:00
Joe Orton
65bb8921ac Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/subversion 2018-02-01 08:09:40 +00:00
Iryna Shcherbina
368c5a91e6 Update Python 2 dependency declarations to new packaging standards 2018-02-01 03:35:20 +01:00
Björn Esser
729170108e
Rebuilt for switch to libxcrypt 2018-01-20 23:08:36 +01:00
Mamoru TASAKA
ddb4d58f79 F-28: rebuild for ruby25 2018-01-05 17:02:14 +09:00
Joe Orton
63c8e7d81d trim changelog, remove mailer tests from -tools 2018-01-02 09:11:26 +00:00
Zbigniew Jędrzejewski-Szmek
8fefc4d3ae Python 2 binary package renamed to python2-subversion 2017-12-17 12:47:13 -05:00
Joe Orton
cf4f0b2340 update to 1.9.7 (CVE-2017-9800, #1480402)
add Documentation= to svnserve.service
Resolves: rhbz#1480335
Resolves: rhbz#1480402
2017-08-11 08:29:12 +01:00
Fedora Release Engineering
d7124a3c1f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:56:10 +00:00
Fedora Release Engineering
3ea10e4bad - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 19:27:10 +00:00
Joe Orton
6225a77f14 move javahl .so to -libs (#1469158)
Resolves: rhbz#1469158
2017-07-17 10:17:13 +01:00
Joe Orton
5b21ca64df Merge branch 'f26' 2017-07-10 10:43:45 +01:00
Joe Orton
a52dae1fd4 disable tests on ppc64 2017-07-10 08:16:41 +01:00
Joe Orton
fa677f6a83 update to 1.9.6 (#1467890)
update to latest upstream psvn.el
move libsvnjavahl to -libs, build -javahl noarch
fix javahl Requires
2017-07-06 19:37:56 +01:00
Joe Orton
0114678efc fix build. 2017-07-06 15:38:57 +01:00
Joe Orton
3ccba7dffd update to 1.9.6 (#1467890)
update to latest upstream psvn.el
move libsvnjavahl to -libs, build -javahl noarch
Resolves: rhbz#1467890
2017-07-06 14:13:40 +01:00
Joe Orton
f4b58f8836 update to 1.9.6 (#1467890)
update to latest upstream psvn.el
Resolves: rhbz#1467890
2017-07-06 12:42:09 +01:00
Joe Orton
684d60f4c9 merge 2017-07-06 12:42:06 +01:00
Jitka Plesnikova
4f24860076 Perl 5.26 rebuild 2017-06-04 08:08:55 +02:00
Joe Orton
470c32c558 Fix to use JIRA links. 2017-05-16 16:22:00 +01:00
Joe Orton
567b1233b0 Remove unnecessary whitespace. 2017-05-16 16:22:00 +01:00
Fedora Release Engineering
2c175edca3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 14:05:35 +00:00
Mamoru TASAKA
cf5ce10eef F-26: rebuild for ruby24 2017-01-13 13:46:26 +09:00
Joe Orton
8b7160d5ae update to 1.9.5 (#1400040, CVE-2016-8734)
Resolves: rhbz#1400040
Resolves: rhbz#1399871
Resolves: rhbz#888755
2017-01-02 13:23:24 +00:00
Fedora Release Engineering
a2b9f7990d - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:43:34 +00:00
Petr Písař
5f5fc2fff9 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:19:21 +02:00
Jitka Plesnikova
ae530f1de4 Enable tests; Revert one of Ruby 2.2 fixes 2016-05-26 09:38:46 +02:00
Jitka Plesnikova
a8b52ca121 Perl 5.24 rebuild 2016-05-17 03:45:13 +02:00
Peter Robinson
f9f97b2487 - Update to 1.9.4 (#1331222) CVE-2016-2167 CVE-2016-2168
- Move tools in docs to tools subpackage (rhbz 1171757 1199761)
- Disable make check to work around FTBFS
2016-05-08 16:44:20 +01:00
Fedora Release Engineering
39e1e2ef8f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 00:47:50 +00:00
Joe Orton
f24891a459 rebuild for Ruby 2.3 2016-01-21 10:58:48 +00:00
Joe Orton
83917310da update to 1.9.3 (#1291683)
- use private /tmp in svnserve.service
Resolves: rhbz#1291683
2015-12-15 17:41:00 +00:00
Joe Orton
683bd34be9 Add script to turn CHANGES into markdown for bodhi. 2015-09-25 13:29:29 +01:00
Joe Orton
43cb7cd92b update to 1.9.2 (#1265447)
Resolves: rhbz#1265447
2015-09-24 13:27:42 +01:00
Joe Orton
5dedbe2642 update to 1.9.1 (#1259099)
Resolves: rhbz#1259099
2015-09-14 09:45:55 +01:00
Joe Orton
a647369260 - package pkgconfig files 2015-08-24 15:55:22 +01:00
Joe Orton
9c77a54c51 update to 1.9.0 (#1207835)
Resolves: rhbz#1207835
2015-08-24 14:14:04 +01:00
Joe Orton
081fa7e906 - restore dep on systemd (#1183873) 2015-07-14 10:31:53 +01:00
Joe Orton
fdc9874194 - move svnmucc man page to -tools 2015-07-14 09:53:27 +01:00
Joe Orton
3b7e840817 move svnauthz to -tools; make svnauthz-validate a symlink 2015-07-14 09:47:40 +01:00
Joe Orton
2157a2c792 Merge branch 'master' of ssh://pkgs.fedoraproject.org/subversion 2015-07-10 19:17:48 +01:00
Joe Orton
98de9c6e86 rebuild with tests enabled 2015-07-10 19:16:51 +01:00
Dennis Gilmore
fc7f48ab63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:54:44 +00:00
Ville Skyttä
c36f77c125 Own bash-completion dirs not owned by anything in dep chain 2015-06-15 22:03:47 +03:00
Jitka Plesnikova
6a142b792e Perl 5.22 rebuild 2015-06-06 18:24:16 +02:00
Peter Robinson
856d71750c Disable tests to fix swig test issues 2015-04-21 19:22:35 +01:00
Vít Ondruch
962179d29e Fix Ruby's test suite.
Please note that the test suite was adjusted to work with test-unit as
well as test-unit wrapper (which uses Minitest in background) as
provided by Ruby < 2.2.

Some tips were provided by original author of Ruby bindings and
test-unit maintainer in one person
(https://github.com/test-unit/test-unit/issues/99#issuecomment-90532326).
I did not followed all, since I think that as long as RHEL 6 is
maintained, we might need Ruby 1.8.7 support.
2015-04-08 18:06:31 +02:00
Joe Orton
3de07540b7 update to 1.8.13 (#1207835)
- attempt to patch around SWIG issues
Resolves: rhbz#1207835
2015-04-08 09:57:35 +01:00
Jitka Plesnikova
f2b92773c4 Revert "SWIG Test Rebuild"
This reverts commit 42181af8e7.
2015-02-24 16:10:24 +01:00
Jitka Plesnikova
42181af8e7 SWIG Test Rebuild 2015-02-24 15:54:15 +01:00
Joe Orton
c19bd09743 Remove old sources. 2014-12-16 13:19:52 +00:00
Joe Orton
0624185906 update to 1.8.11 (#1174521)
- require newer libserf (#1155670)
Resolves: rhbz#1155670
Resolves: rhbz#1174521
2014-12-16 10:06:54 +00:00
Joe Orton
ace894fcdd prevents assert()ions in library code (#1058693) 2014-09-23 22:31:05 +01:00
Joe Orton
855d57b75c drop sysv conversion trigger (#1133786)
Resolves: rhbz#1133786
2014-09-23 21:32:18 +01:00
Joe Orton
31859da2f7 move svn-bench, fsfs-* to -tools 2014-09-23 21:15:40 +01:00
Jitka Plesnikova
0d19e6bada Perl 5.20 rebuild 2014-08-27 01:48:21 +02:00
Kevin Fenzi
7e293c5596 Rebuild for rpm bug 1131960 2014-08-21 11:52:10 -06:00
Joe Orton
d46c2c15c8 Merge. 2014-08-18 14:24:09 +01:00
Joe Orton
0a70261bb1 update to 1.8.10 (#1129100, #1128884, #1125800)
Resolves: rhbz#1128884
Resolves: rhbz#1129100
Resolves: rhbz#1125800
2014-08-18 14:23:32 +01:00
Peter Robinson
b89ac102f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 04:01:39 +00:00
Dennis Gilmore
3064333c67 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 02:25:24 -05:00
Joe Orton
389c7486ad update to 1.8.9 (#1100779) 2014-05-28 14:12:22 +01:00
Joe Orton
02cf076710 update to 1.8.9 (#1100779) 2014-05-28 14:12:14 +01:00
Joe Orton
56ef4a666b update to 1.8.9 (#1100779)
Resolves: rhbz#1100779
2014-05-28 14:02:26 +01:00
Joe Orton
95a7555199 update to 1.8.9 (#1100779) 2014-05-28 13:35:09 +01:00
Joe Orton
facc4d363d update to 1.8.9 (#1100779)
Resolves: rhbz#1100779
2014-05-28 13:32:48 +01:00
Joe Orton
5785136d94 merge 2014-05-28 13:14:13 +01:00
Joe Orton
0aafcfdfdc update to 1.8.9 (#1100779) 2014-05-28 13:13:35 +01:00
Vít Ondruch
db6a750dc2 Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1 2014-04-29 09:41:19 +02:00
Joe Orton
b73dd8d18a remove debugging test run 2014-04-23 10:13:16 +01:00
Joe Orton
1ec24d0013 require minitest 4 to fix tests for Ruby bindings (#1089252)
Resolves: rhbz#1089252
2014-04-23 10:12:37 +01:00
Joe Orton
3ae86f55f6 rebuild with rubygem-test-unit (#1089252) 2014-04-22 20:06:09 +01:00
Joe Orton
9fef6333f5 rebuild 2014-04-22 09:34:02 +01:00
Joe Orton
f3c95b624b drop conditional support for db4 2014-03-05 14:33:36 +00:00
Joe Orton
7fad3e53b9 update to 1.8.8 2014-02-28 18:54:39 +00:00
Joe Orton
e4cb5b45ca fix _httpd_mmn expansion in absence of httpd-devel 2014-01-23 10:59:29 +00:00
Joe Orton
cc5db16cb4 bump release. 2014-01-06 09:49:46 +00:00
Joe Orton
f96159c11d fix permissions of /run/svnserve (#1048422)
Resolves: rhbz#1048422
2014-01-06 09:45:28 +00:00
Joe Orton
c6fc6f5dbd remove empty patches 2013-12-10 17:00:04 +00:00
Joe Orton
2fcfd109eb remove empty patch. 2013-12-10 16:59:42 +00:00
Joe Orton
260cfa25de don't drop -Wall when building swig Perl bindings (#1037341)
Resolves: rhbz#1037341
2013-12-10 16:58:58 +00:00
Joe Orton
8fecbab208 Fix diff again. 2013-12-02 09:34:50 +00:00
Joe Orton
253c84ac54 rediff 2013-12-02 08:52:55 +00:00
Joe Orton
2e00506699 - update SQLite 3.8 patches, thanks to Andreas Stieger 2013-12-02 08:38:58 +00:00
Joe Orton
fe1ae3d4ec - update SQLite 3.8 support patches, thanks to Andreas Stieger 2013-12-02 08:38:28 +00:00
Joe Orton
5ed5d9f677 Fix spello. 2013-11-26 17:02:49 +00:00
Joe Orton
11039e7d6e update to 1.8.5 (#1034130)
- add fix for wc-queries-test breakage (h/t Andreas Steiger, r1542774)
Resolves: rhbz#985582
Resolves: rhbz#1034130
2013-11-26 16:59:34 +00:00
Joe Orton
45b051edd1 add fix for ppc breakage (Andreas Stieger, #985582)
Resolves: rhbz#985582
2013-11-18 22:34:22 +00:00
Joe Orton
d25854b52d update to 1.8.4 2013-10-29 16:38:22 +00:00
Joe Orton
cd81c66f93 move bash completions out of /etc (#922993) 2013-09-03 09:22:12 +02:00
Joe Orton
3ac1914e80 update to 1.8.3 2013-09-03 09:10:44 +02:00
Adam Williamson
4d4e94a5ab rebuild for perl 5.18 (again) 2013-08-06 13:17:24 -07:00
Joe Orton
da76088dbf update to 1.8.1 2013-07-25 08:40:28 +01:00
Joe Orton
5e04a2c47a temporarily ignore test suite failures on ppc* (#985582)
Resolves: rhbz#985582
2013-07-19 23:07:31 +01:00
Joe Orton
073f1eabc1 Merge branch 'master' of ssh://pkgs.fedoraproject.org/subversion 2013-07-18 15:48:05 +01:00
Petr Písař
4e09ee7e82 Perl 5.18 rebuild 2013-07-17 13:55:53 +02:00
Joe Orton
25383aa5f0 fix serf requirement 2013-06-20 16:24:17 +01:00
Joe Orton
0764e57af4 fix DSO install dir 2013-06-18 20:22:47 +01:00
Joe Orton
7bad70a905 - fix BR for apr-util-openssl to be a BR 2013-06-18 18:48:21 +01:00
Joe Orton
5324cf799f add 1.8.0 sources 2013-06-18 16:57:46 +01:00
Joe Orton
4d6de3b2bb add 1.8.0 sources 2013-06-18 16:57:43 +01:00
Joe Orton
cf226578fa - use full relro in mod_dav_svn build (#973694) 2013-06-18 16:48:48 +01:00
Joe Orton
5f612c9ef9 update patches for 1.8.0 2013-06-18 16:48:20 +01:00
Joe Orton
b3a52efdbf renumber patches. 2013-06-18 16:39:10 +01:00
Joe Orton
83f457fbef update to 1.8.0; switch to serf 2013-06-18 16:36:04 +01:00
Joe Orton
2d9bfc5de0 update to 1.7.10 (#970014)
- fix aarch64 build issues (Dennis Gilmore, #926578)
Resolves: CVE-2013-1968
2013-06-03 11:49:22 +01:00
Joe Orton
0aff876c83 fix spurious failures in ruby test suite (upstream r1327373) 2013-05-09 16:37:49 +01:00
Joe Orton
bf858c512b try harder to avoid svnserve bind failures in ruby binding tests
- enable verbose output for ruby binding tests
Resolves: rhbz#960127
2013-05-09 12:25:30 +01:00
Joe Orton
eaa8715820 update to 1.7.9 2013-04-09 15:34:04 +01:00
Vít Ondruch
e15ed24b56 Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
Drop Ruby version checks from configuration script.
Fix and enable Ruby test suite.
2013-03-29 17:25:31 +01:00
Joe Orton
423e8da9ea Merge from master. 2013-03-15 09:16:11 +00:00
Joe Orton
741adf9dba drop specific dep on ruby(abi) 2013-03-14 09:22:46 +00:00
Dennis Gilmore
7a5b6b9916 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 18:44:22 -06:00
Joe Orton
d9a7f5f597 update to latest psvn.el 2013-01-08 16:52:25 +00:00
Joe Orton
3e37f78f24 fix %date 2013-01-08 16:33:13 +00:00
Joe Orton
7efe6ae259 Scriptlets replaced with new systemd macros (#850410)
Resolves: rhbz#850410
2013-01-08 16:32:33 +00:00
Joe Orton
d47b5d6c52 update to 1.7.8 2013-01-04 15:07:44 +00:00
Joe Orton
c527ae69a5 update to 1.7.7 2012-10-11 15:37:32 +01:00
Joe Orton
d633e560e3 update to 1.7.6 2012-08-17 11:42:56 +01:00
Dennis Gilmore
4dd4180de2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 16:32:44 -05:00
Joe Orton
3be5242bc4 merge 2012-07-16 09:28:15 +01:00
Joe Orton
fdfc8e1c34 switch svnserve pidfile to use /run, use /usr/lib/tmpfiles.d (#840195)
Resolves: rhbz#840195
2012-07-16 09:27:06 +01:00
Petr Písař
642a42e5ae Perl 5.16 rebuild 2012-06-28 14:53:17 +02:00
Dan Horák
f525aae7df fix build with recent gcc 4.7 (svn rev 1345740) 2012-06-18 16:44:43 +02:00
Petr Písař
d510ec3feb Perl 5.16 rebuild 2012-06-08 15:48:41 +02:00
Joe Orton
8a2548890d remove patches merged upstream. 2012-05-22 12:39:08 +01:00
Joe Orton
9350f61924 update to 1.7.5 2012-05-22 12:24:48 +01:00
Joe Orton
88c922219d drop strict sqlite version requirement (#815396) 2012-04-24 08:18:42 +01:00
Joe Orton
2cfa41d072 switch to libdb-devel (#814090)
Resolves: rhbz#814090
2012-04-23 19:56:40 +01:00
Joe Orton
de106c6ac6 adapt for conf.modules.d with httpd 2.4
- add possible workaround for kwallet crasher (#810861)
Resolves: rhbz#810861
2012-04-19 09:19:07 +01:00
Joe Orton
0caf5ab92a - possible fix/workaround for 810861 2012-04-17 15:46:36 +01:00
Joe Orton
bc0273b5f5 fix comment grammar 2012-04-10 13:00:56 +01:00
Joe Orton
8bc4866090 re-enable test suite 2012-03-30 21:47:50 +01:00
Joe Orton
96c0dce4da disable tests, enable kwallet 2012-03-30 21:09:45 +01:00
Joe Orton
061c4e0e93 fix build with httpd 2.4 2012-03-30 20:05:57 +01:00
Joe Orton
696a60d5ac test w/o kwallet again. 2012-03-30 17:17:15 +01:00
Joe Orton
cf9cd946d8 restore necessary hashorder fix 2012-03-12 15:07:35 +00:00
Joe Orton
3ee8fd7773 update to 1.7.4
- fix build with httpd 2.4
2012-03-12 11:47:54 +00:00
Joe Orton
47a13c0606 re-enable kwallet (#791031)
Resolves: rhbz#791031
2012-03-01 08:23:01 +00:00
Joe Orton
f89e89ba89 update psvn 2012-02-29 16:29:45 +00:00
Joe Orton
856c4a9f8a add tools subpackage (#648015)
Resolves: rhbz#648015
2012-02-29 12:42:07 +00:00
Joe Orton
052327b622 better trim doc dir to avoid breaking svnmucc tests 2012-02-29 11:06:50 +00:00
Joe Orton
51d0a3b38f further hash order fix from upstream 2012-02-28 16:45:12 +00:00
Joe Orton
a6a338f92a trim contents of doc dic (#746433) 2012-02-28 16:02:43 +00:00
Joe Orton
542cd5bd10 re-enable test suite 2012-02-28 15:44:26 +00:00
Joe Orton
e805758439 %files fixes to infinity 2012-02-28 15:26:45 +00:00
Joe Orton
957fb58449 yet another %files fix 2012-02-28 15:11:13 +00:00
Joe Orton
167d3d2dd5 fix %files 2012-02-28 14:57:58 +00:00
Joe Orton
7c2b6640c1 fix %install 2012-02-28 14:57:30 +00:00
Joe Orton
f787d3dc53 more hash order fixes 2012-02-28 14:42:50 +00:00
Joe Orton
b9a743cd23 build w/o test suite 2012-02-28 14:32:21 +00:00
Joe Orton
d9257f6c5e more files list fixes, remove init script 2012-02-28 13:52:17 +00:00
Joe Orton
1bfb4ba3bd correct files list 2012-02-28 13:37:10 +00:00
Joe Orton
4d30986a91 fix ruby sitedir name 2012-02-28 13:34:48 +00:00
Joe Orton
7dacfa74b3 fix config file location 2012-02-28 13:25:07 +00:00
Joe Orton
72a39f6395 convert svnserve to systemd (#754074) 2012-02-28 13:20:29 +00:00
Joe Orton
2953a390d1 use ruby vendorlib directory (#798203) 2012-02-28 12:43:43 +00:00
Joe Orton
7fbff7dd7a - add upstream test suite fixes for APR hash change (r1293602, r1293811) 2012-02-28 12:42:52 +00:00
Joe Orton
4d6de6da6f ship, enable mod_dontdothat# 2012-02-13 16:44:45 +00:00
Joe Orton
14f6ae3688 update to 1.7.3 2012-02-13 15:42:26 +00:00
Joe Orton
1c7f325d37 require ruby 1.9.1 abi 2012-02-13 10:06:21 +00:00
Joe Orton
215a29df4e - add Vincent Batts' Ruby 1.9 fixes from dev@ 2012-02-09 10:50:24 +00:00
Joe Orton
ad3e5e0233 update to 1.7.2 2012-02-09 10:29:18 +00:00
Peter Robinson
a8b558c4e7 fix gnome-keyring build deps 2012-02-05 21:39:44 +00:00
Dennis Gilmore
ee588b3111 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 22:31:09 -06:00
Joe Orton
d882fd1d57 fix sans-kwallet build 2011-12-01 16:17:45 +00:00
Joe Orton
6264eabccb update to 1.7.1
(temporarily) disable failing kwallet support
2011-12-01 13:42:09 +00:00
Ville Skyttä
b60c078aa2 Build with libmagic support. 2011-11-27 16:27:44 +02:00
Ville Skyttä
c4444b4cbe Fix apr Conflicts syntax in -libs.
Fix obsolete chown syntax in subversion.conf.
Fix use of spaces vs tabs in specfile.
2011-10-15 21:24:00 +03:00
Joe Orton
55db97a19b more %install fixes 2011-10-12 15:34:11 +01:00
Joe Orton
caa3c5a2d6 fix installed docs 2011-10-12 13:11:51 +01:00
Joe Orton
a3c03d56bf - attempt to fix javahl build 2011-10-12 10:28:17 +01:00
Joe Orton
f598f3d4c6 Merge branch 'master' of ssh://pkgs.fedoraproject.org/subversion
Conflicts:
	subversion.spec
2011-10-12 09:55:13 +01:00
Joe Orton
41a6b204af update to 1.7.0
drop svn2cl (no longer shipped in upstream tarball)
2011-10-12 09:52:51 +01:00
Petr Sabata
84ce3d5836 Perl mass rebuild 2011-07-21 18:29:43 +02:00
Joe Orton
4ea09c491c enable javahl correctly 2011-07-20 11:08:21 +01:00
Joe Orton
cdf5e0d71f run javahl tests (Blair Zajac, #723338) 2011-07-20 09:50:52 +01:00
Joe Orton
83638c4128 Merge branch 'master' of ssh://pkgs.fedoraproject.org/subversion
Conflicts:
	subversion.spec
2011-07-20 09:28:10 +01:00
Marcela Mašláňová
e89dfaff32 Use upstream version of patch
http://svn.apache.org/viewvc?view=revision&revision=1145203
2011-07-18 14:12:48 +02:00
Marcela Mašláňová
5d570fa978 change cflags in Makefile.PL to work with Perl 5.14.1 2011-07-01 19:18:28 +02:00
Joe Orton
e9cc4c898f split out python bindings 2011-06-24 13:05:16 +01:00
Marcela Mašláňová
85a35a5f40 Perl mass rebuild 2011-06-15 09:17:25 +02:00
Joe Orton
69857115be drop old java patch 2011-06-02 11:03:58 +01:00
Joe Orton
b2eee59779 drop old java patch 2011-06-02 11:03:04 +01:00
Joe Orton
bab987a2fb remove old sources 2011-06-02 09:44:02 +01:00
Joe Orton
bc55ea1a17 update to 1.6.17 (#709952) 2011-06-02 09:40:11 +01:00
Joe Orton
77997e46fe update to 1.6.17 (#709952) 2011-06-02 09:20:03 +01:00
Joe Orton
fd283cda3b update to 1.6.16 (#682203)
tweak arch-specific requires
2011-03-04 14:41:27 +00:00
Joe Orton
a960fbc241 update to 1.6.16 (#682203)
tweak arch-specific requires
2011-03-04 14:39:10 +00:00
Dennis Gilmore
2490d2caaf - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 10:27:32 -06:00
Joe Orton
f31cdf6cf6 remove old sources 2010-11-28 14:44:00 +00:00
Joe Orton
4132eef877 add 1.6.15 sources 2010-11-28 14:41:58 +00:00
Joe Orton
de42b54d86 - update to 1.6.15 2010-11-28 14:23:12 +00:00
Joe Orton
47e89b610a - trim tools/buildbot, tools/dist from docdir 2010-10-12 14:48:57 +01:00
Joe Orton
2df1e85ead - update to 1.6.13 2010-10-05 09:56:02 +01:00
Joe Orton
17c7655427 - move PIE flag to Makefile 2010-09-07 14:36:59 +01:00
Joe Orton
9f9154686d - add svnserve init script
- split out -libs subpackage
2010-09-07 14:16:00 +01:00
Joe Orton
60a65b1119 - restore PIE support 2010-09-03 15:49:26 +01:00
Joe Orton
d9d021d68b - restore PIE support 2010-09-03 15:47:21 +01:00
Fedora Release Engineering
4e0d1d395d dist-git conversion 2010-07-29 13:18:35 +00:00
dmalcolm
2bc69a90b7 for now, disable python cases that fail against python 2.7 (patch 9) 2010-07-24 22:10:39 +00:00
dmalcolm
9eab564366 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 06:40:17 +00:00
27 changed files with 1286 additions and 1346 deletions

View File

@ -1,2 +0,0 @@
subversion-1.6.12.tar.bz2
*.rpm

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/subversion-*.tar.bz2
/subversion-1\.[0-9]*\.[0-9]*/
/results_subversion/

View File

@ -1,22 +0,0 @@
# Makefile for source rpm: subversion
# $Id: Makefile,v 1.4 2007/10/15 19:24:42 notting Exp $
NAME := subversion
SPECFILE = $(firstword $(wildcard *.spec))
UPSTREAM_CHECKS := asc
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

27
clog2markdown Executable file
View File

@ -0,0 +1,27 @@
#!/bin/sh
version=$1
echo "This update includes the latest stable release of _Apache Subversion_, version **${1}**".
echo
curl --silent -n "http://svn.apache.org/repos/asf/subversion/tags/$1/CHANGES" | \
sed -n "
/^#/d;
/^Version ${1/-rc*/}/,/^Version /{
/, from \/branches/d;
/repos\/asf\/subversion\/tags/d;
s,#\([0-9]*\),[SVN-\1](https://issues.apache.org/jira/browse/SVN-\1),;
s/(r[0-9, retal]+)\*//g;
s/^ *//;
s/ +/ /g;
s/^ *- \(.*\)$/#### \1/;
s/\(.*visible changes.*:\)$/### \1/;
/^ *$/d;
/Windows/d
/^Version /d
s,(r1.*),,g
s,\(@[0-9]*\),\\\1,g
p;
}
" -

233
psvn.el
View File

@ -1,8 +1,9 @@
;;; psvn.el --- Subversion interface for emacs ;;; psvn.el --- Subversion interface for emacs
;; Copyright (C) 2002-2009 by Stefan Reichoer ;; Copyright (C) 2002-2015 by Stefan Reichoer
;; Author: Stefan Reichoer <stefan@xsteve.at> ;; Author: Stefan Reichoer <stefan@xsteve.at>
;; $Id: psvn.el 40299 2009-10-29 19:38:54Z xsteve $ ;; Note: This version is currently not under svn control
;; For the revision date see svn-psvn-revision below
;; psvn.el is free software; you can redistribute it and/or modify ;; psvn.el is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by ;; it under the terms of the GNU General Public License as published by
@ -22,7 +23,7 @@
;;; Commentary ;;; Commentary
;; psvn.el is tested with GNU Emacs 21.3 on windows, debian linux, ;; psvn.el is tested with GNU Emacs 21.3 on windows, debian linux,
;; freebsd5, red hat el4, ubuntu intrepid with svn 1.5.1 ;; freebsd5, red hat el4, ubuntu 11.10 with svn 1.6.12
;; psvn.el needs at least svn 1.1.0 ;; psvn.el needs at least svn 1.1.0
;; if you upgrade to a higher version, you need to do a fresh checkout ;; if you upgrade to a higher version, you need to do a fresh checkout
@ -137,8 +138,6 @@
;; The latest version of psvn.el can be found at: ;; The latest version of psvn.el can be found at:
;; http://www.xsteve.at/prg/emacs/psvn.el ;; http://www.xsteve.at/prg/emacs/psvn.el
;; Or you can check it out from the subversion repository:
;; svn co http://svn.collab.net/repos/svn/trunk/contrib/client-side/emacs emacs-svn
;; TODO: ;; TODO:
;; * shortcut for svn propset svn:keywords "Date" psvn.el ;; * shortcut for svn propset svn:keywords "Date" psvn.el
@ -242,6 +241,9 @@
;;; Code: ;;; Code:
(defconst svn-psvn-revision "2015-07-20, 21:42:00" "The revision date of psvn.")
(require 'easymenu) (require 'easymenu)
(eval-when-compile (require 'dired)) (eval-when-compile (require 'dired))
@ -256,8 +258,6 @@
(require 'diff-mode)) (require 'diff-mode))
(error nil)) (error nil))
(defconst svn-psvn-revision "$Id: psvn.el 40299 2009-10-29 19:38:54Z xsteve $"
"The revision number of psvn.")
;;; user setable variables ;;; user setable variables
(defcustom svn-status-verbose t (defcustom svn-status-verbose t
@ -360,6 +360,11 @@ Possible values are: commit, revert."
:type 'boolean :type 'boolean
:group 'psvn) :group 'psvn)
(defcustom svn-status-indentation 2
"*Indenation per directory level in the `svn-status-buffer-name' buffer."
:type 'integer
:group 'psvn)
(defcustom svn-status-negate-meaning-of-arg-commands '() (defcustom svn-status-negate-meaning-of-arg-commands '()
"*List of operations that should use a negated meaning of the prefix argument. "*List of operations that should use a negated meaning of the prefix argument.
The supported functions are `svn-status' and `svn-status-set-user-mark'." The supported functions are `svn-status' and `svn-status-set-user-mark'."
@ -666,7 +671,7 @@ See psvn.el for an example function.")
(defvar svn-process-cmd nil) (defvar svn-process-cmd nil)
(defvar svn-status-info nil) (defvar svn-status-info nil)
(defvar svn-status-filename-to-buffer-position-cache (make-hash-table :test 'equal :weakness t)) (defvar svn-status-filename-to-buffer-position-cache (make-hash-table :test 'equal :weakness t))
(defvar svn-status-base-info nil "The parsed result from the svn info command.") (defvar svn-status-base-info nil "The parsed result from the svn info command as a plist.")
(defvar svn-status-initial-window-configuration nil) (defvar svn-status-initial-window-configuration nil)
(defvar svn-status-default-column 23) (defvar svn-status-default-column 23)
(defvar svn-status-default-revision-width 4) (defvar svn-status-default-revision-width 4)
@ -696,14 +701,16 @@ This is nil if the log entry is for a new commit.")
(defvar svn-status-update-previous-process-output nil) (defvar svn-status-update-previous-process-output nil)
(defvar svn-pre-run-asynch-recent-keys nil) (defvar svn-pre-run-asynch-recent-keys nil)
(defvar svn-pre-run-mode-line-process nil) (defvar svn-pre-run-mode-line-process nil)
(defvar svn-arg-file-content nil)
(defvar svn-status-temp-dir (defvar svn-status-temp-dir
(file-name-as-directory
(expand-file-name (expand-file-name
(or (or
(when (boundp 'temporary-file-directory) temporary-file-directory) ;emacs (when (boundp 'temporary-file-directory) temporary-file-directory) ;emacs
;; XEmacs 21.4.17 can return "/tmp/kalle" from (temp-directory). ;; XEmacs 21.4.17 can return "/tmp/kalle" from (temp-directory).
;; `file-name-as-directory' adds a slash so we can append a file name. ;; `file-name-as-directory' adds a slash so we can append a file name.
(when (fboundp 'temp-directory) (file-name-as-directory (temp-directory))) (when (fboundp 'temp-directory) (temp-directory))
"/tmp/")) "The directory that is used to store temporary files for psvn.") "/tmp/"))) "The directory that is used to store temporary files for psvn.")
;; Because `temporary-file-directory' is not a risky local variable in ;; Because `temporary-file-directory' is not a risky local variable in
;; GNU Emacs 22.0.51, we don't mark `svn-status-temp-dir' as such either. ;; GNU Emacs 22.0.51, we don't mark `svn-status-temp-dir' as such either.
(defvar svn-temp-suffix (make-temp-name ".")) (defvar svn-temp-suffix (make-temp-name "."))
@ -1112,12 +1119,18 @@ inside loops."
(defun svn-checkout (repos-url path) (defun svn-checkout (repos-url path)
"Run svn checkout REPOS-URL PATH." "Run svn checkout REPOS-URL PATH."
(interactive (list (read-string "Checkout from repository Url: ") (interactive (list (read-string "Checkout from repository Url: ")
(svn-read-directory-name "Checkout to directory: "))) (expand-file-name
(svn-read-directory-name "Checkout to directory: "))))
(svn-run t t 'checkout "checkout" repos-url (expand-file-name path))) (svn-run t t 'checkout "checkout" repos-url (expand-file-name path)))
;;;###autoload (defalias 'svn-examine 'svn-status) ;;;###autoload (defalias 'svn-examine 'svn-status)
(defalias 'svn-examine 'svn-status) (defalias 'svn-examine 'svn-status)
;;;###autoload
(defun svn-version-controlled-dir-p (dir)
"Return t if DIR is part of a Subversion workarea."
(= 0 (call-process svn-status-svn-executable nil nil nil "info" dir)))
;;;###autoload ;;;###autoload
(defun svn-status (dir &optional arg) (defun svn-status (dir &optional arg)
"Examine the status of Subversion working copy in directory DIR. "Examine the status of Subversion working copy in directory DIR.
@ -1127,20 +1140,17 @@ For every other non nil ARG pass the -u argument to `svn status', which
asks svn to connect to the repository and check to see if there are updates asks svn to connect to the repository and check to see if there are updates
there. there.
If there is no .svn directory, examine if there is CVS and run If DIR is not an SVN working copy, examine if there is CVS and run
`cvs-examine'. Otherwise ask if to run `dired'." `cvs-examine'. Otherwise ask if to run `dired'."
(interactive (list (svn-read-directory-name "SVN status directory: " (interactive (list (expand-file-name
nil default-directory nil) (svn-read-directory-name "SVN status directory: "
nil default-directory nil))
current-prefix-arg)) current-prefix-arg))
(let ((svn-dir (format "%s%s"
(file-name-as-directory dir)
(svn-wc-adm-dir-name)))
(cvs-dir (format "%sCVS" (file-name-as-directory dir))))
(cond (cond
((file-directory-p svn-dir) ((svn-version-controlled-dir-p (expand-file-name dir))
(setq arg (svn-status-possibly-negate-meaning-of-arg arg 'svn-status)) (setq arg (svn-status-possibly-negate-meaning-of-arg arg 'svn-status))
(svn-status-1 dir arg)) (svn-status-1 dir arg))
((and (file-directory-p cvs-dir) ((and (file-directory-p (concat (file-name-as-directory dir) "CVS"))
(fboundp 'cvs-examine)) (fboundp 'cvs-examine))
(cvs-examine dir nil)) (cvs-examine dir nil))
(t (t
@ -1153,7 +1163,7 @@ If there is no .svn directory, examine if there is CVS and run
"Run dired instead? ") "Run dired instead? ")
dir dir
(svn-wc-adm-dir-name))) (svn-wc-adm-dir-name)))
(dired dir)))))) (dired dir)))))
(defvar svn-status-display-new-status-buffer nil) (defvar svn-status-display-new-status-buffer nil)
(defun svn-status-1 (dir &optional arg) (defun svn-status-1 (dir &optional arg)
@ -1189,7 +1199,6 @@ If there is no .svn directory, examine if there is CVS and run
(set-buffer proc-buf) (set-buffer proc-buf)
(setq default-directory dir (setq default-directory dir
svn-status-remote (when arg t)) svn-status-remote (when arg t))
(set-buffer cur-buf)
(if want-edit (if want-edit
(let ((svn-status-edit-svn-command t)) (let ((svn-status-edit-svn-command t))
(svn-run t t 'status "status" svn-status-default-status-arguments status-option)) (svn-run t t 'status "status" svn-status-default-status-arguments status-option))
@ -1289,16 +1298,15 @@ The hook svn-pre-run-hook allows to monitor/modify the ARGLIST."
(setq svn-pre-run-mode-line-process mode-line-process) (setq svn-pre-run-mode-line-process mode-line-process)
(setq mode-line-process 'svn-status-mode-line-process)) (setq mode-line-process 'svn-status-mode-line-process))
(setq svn-status-pre-run-svn-buffer (current-buffer)) (setq svn-status-pre-run-svn-buffer (current-buffer))
(let* ((proc-buf (get-buffer-create svn-process-buffer-name)) (let* ((pre-run-buffer-default-directory default-directory)
(proc-buf (get-buffer-create svn-process-buffer-name))
(svn-exe svn-status-svn-executable) (svn-exe svn-status-svn-executable)
(svn-proc)) (svn-proc))
(when (listp (car arglist)) (when (listp (car arglist))
(setq arglist (car arglist))) (setq arglist (car arglist)))
(save-excursion (save-excursion
(set-buffer proc-buf) (set-buffer proc-buf)
(unless (file-executable-p default-directory) (setq default-directory pre-run-buffer-default-directory)
(message "psvn: workaround in %s needed: %s no longer exists" (current-buffer) default-directory)
(cd (expand-file-name "~")))
(setq buffer-read-only nil) (setq buffer-read-only nil)
(buffer-disable-undo) (buffer-disable-undo)
(fundamental-mode) (fundamental-mode)
@ -1310,7 +1318,9 @@ The hook svn-pre-run-hook allows to monitor/modify the ARGLIST."
(setq svn-status-mode-line-process-status (format " running %s" cmdtype)) (setq svn-status-mode-line-process-status (format " running %s" cmdtype))
(svn-status-update-mode-line) (svn-status-update-mode-line)
(save-excursion (sit-for 0.1)) (save-excursion (sit-for 0.1))
(ring-insert svn-last-cmd-ring (list (current-time-string) arglist default-directory)) (ring-insert svn-last-cmd-ring (list (current-time-string) arglist default-directory svn-arg-file-content))
(setq svn-arg-file-content nil)
(setq svn-process-handle-error-msg nil)
(if run-asynchron (if run-asynchron
(progn (progn
;;(message "running asynchron: %s %S" svn-exe arglist) ;;(message "running asynchron: %s %S" svn-exe arglist)
@ -1508,11 +1518,11 @@ The hook svn-pre-run-hook allows to monitor/modify the ARGLIST."
When this function resets `svn-process-handle-error-msg' to nil, the default error handling When this function resets `svn-process-handle-error-msg' to nil, the default error handling
(just show the error message) is not executed.") (just show the error message) is not executed.")
(defun svn-process-handle-error (error-msg) (defun svn-process-handle-error (error-msg)
(let ((svn-process-handle-error-msg error-msg)) (setq svn-process-handle-error-msg error-msg)
(when (functionp svn-handle-error-function) (when (functionp svn-handle-error-function)
(funcall svn-handle-error-function error-msg)) (funcall svn-handle-error-function error-msg))
(when svn-process-handle-error-msg (when svn-process-handle-error-msg
(electric-helpify 'svn-process-help-with-error-msg)))) (electric-helpify 'svn-process-help-with-error-msg)))
(defun svn-process-help-with-error-msg () (defun svn-process-help-with-error-msg ()
(interactive) (interactive)
@ -2884,7 +2894,7 @@ Symbolic links to directories count as directories (see `file-directory-p')."
dir-name)) dir-name))
'svn-status-directory-face) 'svn-status-directory-face)
;; showing all files, so add indentation ;; showing all files, so add indentation
(make-string (* 2 (svn-status-count-/ (make-string (* svn-status-indentation (svn-status-count-/
(svn-status-line-info->filename line-info))) (svn-status-line-info->filename line-info)))
32)) 32))
;;symlinks get a different face ;;symlinks get a different face
@ -3082,32 +3092,27 @@ non-interactive use."
(defun svn-status-parse-info-result () (defun svn-status-parse-info-result ()
"Parse the result from the svn info command. "Parse the result from the svn info command.
Put the found values in `svn-status-base-info'." Put the found values in `svn-status-base-info'."
(let ((url)
(repository-root)
(last-changed-author))
(save-excursion (save-excursion
(setq svn-status-base-info ())
(set-buffer svn-process-buffer-name) (set-buffer svn-process-buffer-name)
(goto-char (point-min)) (goto-char (point-min))
(let ((case-fold-search t)) (let ((case-fold-search t)
(search-forward "url: ") (key)
(setq url (buffer-substring-no-properties (point) (svn-point-at-eol))) (val))
(when (search-forward "repository root: " nil t) (loop while (looking-at "\\(.*?\\)\\s-*:\\s-*\\(.*\\)$")
(setq repository-root (buffer-substring-no-properties (point) (svn-point-at-eol)))) do (setq key (intern (concat ":" (downcase (subst-char-in-string ?\ ?- (match-string 1))))))
(when (search-forward "last changed author: " nil t) (setq val (match-string 2))
(setq last-changed-author (buffer-substring-no-properties (point) (svn-point-at-eol)))))) (setq svn-status-base-info (plist-put svn-status-base-info
(setq svn-status-base-info `((url ,url) (repository-root ,repository-root) (last-changed-author ,last-changed-author))))) key val))
until (< 0 (forward-line))))))
(defun svn-status-base-info->url () (defun svn-status-base-info->url ()
"Extract the url part from `svn-status-base-info'." "Extract the url part from `svn-status-base-info'."
(if svn-status-base-info (plist-get svn-status-base-info :url))
(cadr (assoc 'url svn-status-base-info))
""))
(defun svn-status-base-info->repository-root () (defun svn-status-base-info->repository-root ()
"Extract the repository-root part from `svn-status-base-info'." "Extract the repository-root part from `svn-status-base-info'."
(if svn-status-base-info (plist-get svn-status-base-info :repository-root))
(cadr (assoc 'repository-root svn-status-base-info))
""))
(defun svn-status-checkout-prefix-path () (defun svn-status-checkout-prefix-path ()
"When only a part of the svn repository is checked out, return the file path for this checkout." "When only a part of the svn repository is checked out, return the file path for this checkout."
@ -3643,20 +3648,18 @@ if no files have been marked."
svn-status-ui-information)) svn-status-ui-information))
(defun svn-status-create-arg-file (file-name prefix file-info-list postfix) (defun svn-status-create-arg-file (file-info-list)
"Create an svn client argument file" "Create an svn client argument file"
;; create the arg file on the remote host when we will run svn on this host! ;; create the arg file on the remote host when we will run svn on this host!
(setq file-name (svn-expand-filename-for-remote-access file-name)) (let ((file-name (svn-expand-filename-for-remote-access svn-status-temp-arg-file)))
;; (message "svn-status-create-arg-file %s: %s" default-directory file-name) ;; (message "svn-status-create-arg-file %s: %s" default-directory file-name)
(with-temp-file file-name (with-temp-file file-name
(insert prefix)
(let ((st-info file-info-list)) (let ((st-info file-info-list))
(while st-info (while st-info
(insert (svn-status-line-info->filename (car st-info))) (insert (svn-status-line-info->filename (car st-info)))
(insert "\n") (insert "\n")
(setq st-info (cdr st-info))) (setq st-info (cdr st-info)))
(setq svn-arg-file-content (buffer-substring-no-properties (point-min) (point-max)))))))
(insert postfix))))
(defun svn-status-show-process-buffer-internal (&optional scroll-to-top) (defun svn-status-show-process-buffer-internal (&optional scroll-to-top)
(let ((cur-buff (current-buffer))) (let ((cur-buff (current-buffer)))
@ -3722,7 +3725,7 @@ See `svn-status-marked-files' for what counts as selected."
(let ((switches (svn-status-svn-log-switches arg)) (let ((switches (svn-status-svn-log-switches arg))
(svn-status-get-line-information-for-file t)) (svn-status-get-line-information-for-file t))
;; (message "svn-status-show-svn-log %S" arg) ;; (message "svn-status-show-svn-log %S" arg)
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "") (svn-status-create-arg-file (svn-status-marked-files))
(svn-run t t 'log "log" "--targets" svn-status-temp-arg-file switches))) (svn-run t t 'log "log" "--targets" svn-status-temp-arg-file switches)))
(defun svn-status-version () (defun svn-status-version ()
@ -3739,7 +3742,7 @@ The version number of the client is cached in `svn-client-version'."
(with-current-buffer svn-status-last-output-buffer-name (with-current-buffer svn-status-last-output-buffer-name
(goto-char (point-min)) (goto-char (point-min))
(setq svn-client-version (setq svn-client-version
(when (re-search-forward "svn, version \\([0-9\.]+\\) " nil t) (when (re-search-forward "svn, version \\([0-9\.]+\\)" nil t)
(mapcar 'string-to-number (split-string (match-string 1) "\\.")))) (mapcar 'string-to-number (split-string (match-string 1) "\\."))))
(let ((buffer-read-only nil)) (let ((buffer-read-only nil))
(goto-char (point-min)) (goto-char (point-min))
@ -3751,11 +3754,16 @@ The version number of the client is cached in `svn-client-version'."
(set-window-configuration window-conf) (set-window-configuration window-conf)
version-string)))) version-string))))
(defun svn-compute-svn-client-version ()
"Ensure that svn-client-version is available."
(unless svn-client-version
(svn-status-version)))
(defun svn-status-info () (defun svn-status-info ()
"Run `svn info' on all selected files. "Run `svn info' on all selected files.
See `svn-status-marked-files' for what counts as selected." See `svn-status-marked-files' for what counts as selected."
(interactive) (interactive)
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "") (svn-status-create-arg-file (svn-status-marked-files))
(svn-run t t 'info "info" "--targets" svn-status-temp-arg-file)) (svn-run t t 'info "info" "--targets" svn-status-temp-arg-file))
(defun svn-status-info-for-path (path) (defun svn-status-info-for-path (path)
@ -3962,7 +3970,7 @@ See `svn-status-marked-files' for what counts as selected.
When this function is called with a prefix argument, use the actual file instead." When this function is called with a prefix argument, use the actual file instead."
(interactive "P") (interactive "P")
(message "adding: %S" (svn-status-get-file-list-names (not arg))) (message "adding: %S" (svn-status-get-file-list-names (not arg)))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list (not arg)) "") (svn-status-create-arg-file (svn-status-get-file-list (not arg)))
(svn-run t t 'add "add" "--targets" svn-status-temp-arg-file)) (svn-run t t 'add "add" "--targets" svn-status-temp-arg-file))
(defun svn-status-add-file (arg) (defun svn-status-add-file (arg)
@ -3973,7 +3981,7 @@ See `svn-status-marked-files' for what counts as selected.
When this function is called with a prefix argument, use the actual file instead." When this function is called with a prefix argument, use the actual file instead."
(interactive "P") (interactive "P")
(message "adding: %S" (svn-status-get-file-list-names (not arg))) (message "adding: %S" (svn-status-get-file-list-names (not arg)))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list (not arg)) "") (svn-status-create-arg-file (svn-status-get-file-list (not arg)))
(svn-run t t 'add "add" "--non-recursive" "--targets" svn-status-temp-arg-file)) (svn-run t t 'add "add" "--non-recursive" "--targets" svn-status-temp-arg-file))
(defun svn-status-lock (arg) (defun svn-status-lock (arg)
@ -3981,7 +3989,7 @@ When this function is called with a prefix argument, use the actual file instead
See `svn-status-marked-files' for what counts as selected." See `svn-status-marked-files' for what counts as selected."
(interactive "P") (interactive "P")
(message "locking: %S" (svn-status-get-file-list-names t)) (message "locking: %S" (svn-status-get-file-list-names t))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list t) "") (svn-status-create-arg-file (svn-status-get-file-list t))
(svn-run t t 'lock "lock" "--targets" svn-status-temp-arg-file)) (svn-run t t 'lock "lock" "--targets" svn-status-temp-arg-file))
(defun svn-status-unlock (arg) (defun svn-status-unlock (arg)
@ -3989,7 +3997,7 @@ See `svn-status-marked-files' for what counts as selected."
See `svn-status-marked-files' for what counts as selected." See `svn-status-marked-files' for what counts as selected."
(interactive "P") (interactive "P")
(message "unlocking: %S" (svn-status-get-file-list-names t)) (message "unlocking: %S" (svn-status-get-file-list-names t))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-get-file-list t) "") (svn-status-create-arg-file (svn-status-get-file-list t))
(svn-run t t 'unlock "unlock" "--targets" svn-status-temp-arg-file)) (svn-run t t 'unlock "unlock" "--targets" svn-status-temp-arg-file))
(defun svn-status-make-directory (dir) (defun svn-status-make-directory (dir)
@ -4047,9 +4055,10 @@ user can enter a new file name, or an existing directory: this is used as the ar
(svn-status-line-info->full-path (car marked-files)))) (svn-status-line-info->full-path (car marked-files))))
;;TODO: (when file-exists-p but-no-dir-p dest (error "%s already exists" dest)) ;;TODO: (when file-exists-p but-no-dir-p dest (error "%s already exists" dest))
;;multiple files selected, so prompt for existing directory to mv them into. ;;multiple files selected, so prompt for existing directory to mv them into.
(setq dest (svn-read-directory-name (setq dest (expand-file-name
(svn-read-directory-name
(format "%s %d files to directory: " manyprompt num-of-files) (format "%s %d files to directory: " manyprompt num-of-files)
(svn-status-directory-containing-point t) nil t)) (svn-status-directory-containing-point t) nil t)))
(unless (file-directory-p dest) (unless (file-directory-p dest)
(error "%s is not a directory" dest))) (error "%s is not a directory" dest)))
(when (string= dest "") (when (string= dest "")
@ -4155,7 +4164,7 @@ See `svn-status-marked-files' for what counts as selected."
(format "Revert %s? " (svn-status-line-info->filename (car marked-files))) (format "Revert %s? " (svn-status-line-info->filename (car marked-files)))
(format "Revert %d files? " num-of-files))) (format "Revert %d files? " num-of-files)))
(message "reverting: %S" (svn-status-marked-file-names)) (message "reverting: %S" (svn-status-marked-file-names))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "") (svn-status-create-arg-file (svn-status-marked-files))
(svn-run t t 'revert "revert" "--targets" svn-status-temp-arg-file)))) (svn-run t t 'revert "revert" "--targets" svn-status-temp-arg-file))))
(defun svn-file-revert () (defun svn-file-revert ()
@ -4178,7 +4187,7 @@ Forcing the deletion can also be used to delete files not under svn control."
(format "%sRemove %s? " (if force "Force " "") (svn-status-line-info->filename (car marked-files))) (format "%sRemove %s? " (if force "Force " "") (svn-status-line-info->filename (car marked-files)))
(format "%sRemove %d files? " (if force "Force " "") num-of-files))) (format "%sRemove %d files? " (if force "Force " "") num-of-files)))
(message "removing: %S" (svn-status-marked-file-names)) (message "removing: %S" (svn-status-marked-file-names))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "") (svn-status-create-arg-file (svn-status-marked-files))
(if force (if force
(save-excursion (save-excursion
(svn-run t t 'rm "rm" "--force" "--targets" svn-status-temp-arg-file) (svn-run t t 'rm "rm" "--force" "--targets" svn-status-temp-arg-file)
@ -4202,8 +4211,7 @@ When called with a negative prefix argument, only update the selected files."
(format "Selected entries: Run svn update -r ") (format "Selected entries: Run svn update -r ")
(format "Directory: %s: Run svn update -r " default-directory)) (format "Directory: %s: Run svn update -r " default-directory))
(if selective-update "HEAD" nil))))) (if selective-update "HEAD" nil)))))
(unless svn-client-version (svn-compute-svn-client-version)
(svn-status-version))
(if (and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 5)) (if (and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 5))
(setq update-extra-arg (list "--non-interactive")) ;; svn version < 1.5 (setq update-extra-arg (list "--non-interactive")) ;; svn version < 1.5
(setq update-extra-arg (list "--accept" "postpone"))) ;; svn version >= 1.5 (setq update-extra-arg (list "--accept" "postpone"))) ;; svn version >= 1.5
@ -4313,7 +4321,7 @@ See `svn-status-marked-files' for what counts as selected."
(format "Resolve %s? " (svn-status-line-info->filename (car marked-files))) (format "Resolve %s? " (svn-status-line-info->filename (car marked-files)))
(format "Resolve %d files? " num-of-files))) (format "Resolve %d files? " num-of-files)))
(message "resolving: %S" (svn-status-marked-file-names)) (message "resolving: %S" (svn-status-marked-file-names))
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-marked-files) "") (svn-status-create-arg-file (svn-status-marked-files))
(svn-run t t 'resolved "resolved" "--targets" svn-status-temp-arg-file)))) (svn-run t t 'resolved "resolved" "--targets" svn-status-temp-arg-file))))
@ -4566,9 +4574,12 @@ names are relative to the directory where `svn-status' was run."
(progn (progn
(message "Getting revision %s of %s, target: %s" revision file-name (message "Getting revision %s of %s, target: %s" revision file-name
(expand-file-name(concat default-directory file-name-with-revision))) (expand-file-name(concat default-directory file-name-with-revision)))
(svn-compute-svn-client-version)
(let ((content (let ((content
(with-temp-buffer (with-temp-buffer
(if (string= revision "BASE") (if (and (and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 7))
(string= revision "BASE"))
;; Shortcut: Take the file from the file system when using svn client < v1.7
(insert-file-contents (concat (svn-wc-adm-dir-name) (insert-file-contents (concat (svn-wc-adm-dir-name)
"/text-base/" "/text-base/"
(file-name-nondirectory file-name) (file-name-nondirectory file-name)
@ -5066,8 +5077,7 @@ Commands:
(setq svn-status-temp-file-to-remove (svn-expand-filename-for-remote-access svn-propedit-file-name)) (setq svn-status-temp-file-to-remove (svn-expand-filename-for-remote-access svn-propedit-file-name))
(write-region (point-min) (point-max) svn-status-temp-file-to-remove nil 1) (write-region (point-min) (point-max) svn-status-temp-file-to-remove nil 1)
(when svn-status-propedit-file-list ; there are files to change properties (when svn-status-propedit-file-list ; there are files to change properties
(svn-status-create-arg-file svn-status-temp-arg-file "" (svn-status-create-arg-file svn-status-propedit-file-list)
svn-status-propedit-file-list "")
(setq svn-status-propedit-file-list nil) (setq svn-status-propedit-file-list nil)
(svn-run async t 'propset "propset" (svn-run async t 'propset "propset"
svn-status-propedit-property-name svn-status-propedit-property-name
@ -5194,7 +5204,7 @@ Commands:
(setq svn-status-operated-on-dot (setq svn-status-operated-on-dot
(and (= 1 (length svn-status-files-to-commit)) (and (= 1 (length svn-status-files-to-commit))
(string= "." (svn-status-line-info->filename (car svn-status-files-to-commit))))) (string= "." (svn-status-line-info->filename (car svn-status-files-to-commit)))))
(svn-status-create-arg-file svn-status-temp-arg-file "" svn-status-files-to-commit "") (svn-status-create-arg-file svn-status-files-to-commit)
(svn-run t t 'commit "commit" (svn-run t t 'commit "commit"
(unless svn-status-recursive-commit "--non-recursive") (unless svn-status-recursive-commit "--non-recursive")
"--targets" svn-status-temp-arg-file "--targets" svn-status-temp-arg-file
@ -5802,9 +5812,6 @@ Currently is the output from the svn update command known."
"Toggle svn blame minor mode. "Toggle svn blame minor mode.
With ARG, turn svn blame minor mode on if ARG is positive, off otherwise. With ARG, turn svn blame minor mode on if ARG is positive, off otherwise.
Note: This mode does not yet work on XEmacs...
It is probably because the revisions are in 'before-string properties of overlays
Key bindings: Key bindings:
\\{svn-blame-mode-map}" \\{svn-blame-mode-map}"
(interactive "P") (interactive "P")
@ -5834,12 +5841,12 @@ The current buffer must contain a valid output from svn blame"
;; (when (overlay-get ov 'svn-blame-line-info) ;; (when (overlay-get ov 'svn-blame-line-info)
;; (delete-overlay ov))) ;; (delete-overlay ov)))
(while (and (not (eobp)) (< (point) limit)) (while (and (not (eobp)) (< (point) limit))
(setq s (buffer-substring-no-properties (svn-point-at-bol) (+ (svn-point-at-bol) info-end-col)))
(delete-region (svn-point-at-bol) (+ (svn-point-at-bol) info-end-col))
(setq ov (make-overlay (point) (point))) (setq ov (make-overlay (point) (point)))
(overlay-put ov 'svn-blame-line-info t) (overlay-put ov 'svn-blame-line-info t)
(setq s (buffer-substring-no-properties (svn-point-at-bol) (+ (svn-point-at-bol) info-end-col)))
(overlay-put ov 'before-string (propertize s 'face 'svn-status-blame-rev-number-face)) (overlay-put ov 'before-string (propertize s 'face 'svn-status-blame-rev-number-face))
(overlay-put ov 'rev-info (delete "" (split-string s " "))) (overlay-put ov 'rev-info (delete "" (split-string s " ")))
(delete-region (svn-point-at-bol) (+ (svn-point-at-bol) info-end-col))
(forward-line) (forward-line)
(setq line (1+ line))))) (setq line (1+ line)))))
(let* ((buf-name (format "*svn-blame: %s <%s>*" (let* ((buf-name (format "*svn-blame: %s <%s>*"
@ -6009,18 +6016,12 @@ You can send raw data to the process via \\[svn-process-send-string]."
(with-current-buffer (get-buffer-create svn-process-buffer-name) (with-current-buffer (get-buffer-create svn-process-buffer-name)
(setq old-process-default-dir default-directory) (setq old-process-default-dir default-directory)
(setq default-directory directory)) ;; update the default-directory for the *svn-process* buffer (setq default-directory directory)) ;; update the default-directory for the *svn-process* buffer
(svn-run nil t 'parse-info "info" ".") (svn-status-parse-info t)
(with-current-buffer svn-process-buffer-name (or (plist-get svn-status-base-info :repository-root)
;; (message "svn-status-repo-for-path: %s: default-directory: %s directory: %s old-process-default-dir: %s" svn-process-buffer-name default-directory directory old-process-default-dir) (if (plist-get svn-status-base-info :repository-uuid)
(setq default-directory old-process-default-dir) (concat "Svn Repo UUID: " (plist-get svn-status-base-info :repository-uuid))
(goto-char (point-min))
(let ((case-fold-search t))
(if (search-forward "repository root: " nil t)
(buffer-substring-no-properties (point) (svn-point-at-eol))
(when (search-forward "repository uuid: " nil t)
(message "psvn.el: Detected an old svn working copy in '%s'. Please check it out again to get a 'Repository Root' entry in the svn info output." (message "psvn.el: Detected an old svn working copy in '%s'. Please check it out again to get a 'Repository Root' entry in the svn info output."
default-directory) default-directory)))))
(concat "Svn Repo UUID: " (buffer-substring-no-properties (point) (svn-point-at-eol)))))))))
(defun svn-status-base-dir (&optional start-directory) (defun svn-status-base-dir (&optional start-directory)
"Find the svn root directory for the current working copy. "Find the svn root directory for the current working copy.
@ -6031,16 +6032,49 @@ Return nil, if not in a svn working copy."
(if (not (eq base-dir 'not-found)) (if (not (eq base-dir 'not-found))
base-dir base-dir
;; (message "calculating base-dir for %s" start-dir) ;; (message "calculating base-dir for %s" start-dir)
(unless svn-client-version (svn-compute-svn-client-version)
(svn-status-version)) ;; (message "repository-root: %s start-dir: %s" repository-root start-dir)
(let* ((base-dir start-dir) (cond
((and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 3))
(setq base-dir (svn-status-base-dir-for-ancient-svn-client start-dir))) ;; svn version < 1.3
((and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 7))
(setq base-dir (svn-status-base-dir-for-old-svn-client start-dir))) ;; svn version < 1.7
(t
(setq base-dir (svn-status-base-dir-1 start-dir))))
(when base-dir
(svn-puthash start-dir base-dir svn-status-base-dir-cache))
(svn-status-message 7 "svn-status-base-dir %s => %s" start-dir base-dir)
base-dir)))
(defun svn-status-base-dir-1 (&optional start-directory)
"Find the svn root directory for the current working copy.
Return nil, if not in a svn working copy.
This function is used for svn clients version 1.7 and up."
(let ((default-directory (if start-directory
(expand-file-name start-directory)
(symbol-value 'default-directory)))
parent
wc-root)
(when (svn-version-controlled-dir-p default-directory)
(svn-status-parse-info t)
(setq wc-root (file-name-as-directory (plist-get svn-status-base-info :working-copy-root-path)))
(when wc-root
;; traversing up the hierarchy shortens the path name. Stop if
;; it doesn't, e.g we reached / already.
(setq parent (expand-file-name (concat wc-root "..")))
(or (and (< (length parent) (length wc-root))
(svn-status-base-dir-1 (expand-file-name (concat wc-root ".."))))
wc-root)))))
(defun svn-status-base-dir-for-old-svn-client (&optional start-directory)
"Find the svn root directory for the current working copy.
Return nil, if not in a svn working copy.
This function is used for svn clients version 1.6 and below."
(let* ((base-dir (expand-file-name (or start-directory default-directory)))
(repository-root (svn-status-repo-for-path base-dir)) (repository-root (svn-status-repo-for-path base-dir))
(dot-svn-dir (concat base-dir (svn-wc-adm-dir-name))) (dot-svn-dir (concat base-dir (svn-wc-adm-dir-name)))
(in-tree (and repository-root (file-exists-p dot-svn-dir))) (in-tree (and repository-root (file-exists-p dot-svn-dir)))
(dir-below (expand-file-name base-dir))) (dir-below (expand-file-name base-dir)))
;; (message "repository-root: %s start-dir: %s" repository-root start-dir)
(if (and (<= (car svn-client-version) 1) (< (cadr svn-client-version) 3))
(setq base-dir (svn-status-base-dir-for-ancient-svn-client start-dir)) ;; svn version < 1.3
(while (when (and dir-below (file-exists-p dot-svn-dir)) (while (when (and dir-below (file-exists-p dot-svn-dir))
(setq base-dir (file-name-directory dot-svn-dir)) (setq base-dir (file-name-directory dot-svn-dir))
(string-match "\\(.+/\\).+/" dir-below) (string-match "\\(.+/\\).+/" dir-below)
@ -6052,10 +6086,7 @@ Return nil, if not in a svn working copy."
(if (string= (svn-status-repo-for-path dir-below) repository-root) (if (string= (svn-status-repo-for-path dir-below) repository-root)
(setq dot-svn-dir (concat dir-below (svn-wc-adm-dir-name))) (setq dot-svn-dir (concat dir-below (svn-wc-adm-dir-name)))
(setq dir-below nil))))) (setq dir-below nil)))))
(setq base-dir (and in-tree base-dir))) (and in-tree base-dir)))
(svn-puthash start-dir base-dir svn-status-base-dir-cache)
(svn-status-message 7 "svn-status-base-dir %s => %s" start-dir base-dir)
base-dir))))
(defun svn-status-base-dir-for-ancient-svn-client (&optional start-directory) (defun svn-status-base-dir-for-ancient-svn-client (&optional start-directory)
"Find the svn root directory for the current working copy. "Find the svn root directory for the current working copy.
@ -6447,7 +6478,11 @@ working directory."
(setq string-prefix "")) (setq string-prefix ""))
(with-output-to-string (with-output-to-string
(dolist (e (ring-elements svn-last-cmd-ring)) (dolist (e (ring-elements svn-last-cmd-ring))
(princ (format "%s%s: svn %s <%s>\n" string-prefix (nth 0 e) (mapconcat 'concat (nth 1 e) " ") (nth 2 e)))))) (princ (format "%s%s: svn %s <%s>\n" string-prefix (nth 0 e) (mapconcat 'concat (nth 1 e) " ") (nth 2 e)))
(when (nth 3 e)
(princ (format "%s<arg-file-content>\n" string-prefix))
(princ (nth 3 e))
(princ (format "%s</arg-file-content>\n" string-prefix))))))
;; -------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------
;; reporting bugs ;; reporting bugs
@ -6474,6 +6509,9 @@ working directory."
(dolist (elem (svn-process-environment)) (dolist (elem (svn-process-environment))
(when (member (car (split-string elem "=")) '("LC_MESSAGES" "LC_ALL" "LANG")) (when (member (car (split-string elem "=")) '("LC_MESSAGES" "LC_ALL" "LANG"))
(insert (format " %s\n" elem)))) (insert (format " %s\n" elem))))
(when svn-process-handle-error-msg
(insert "\nsvn client error message:\n")
(svn-insert-indented-lines svn-process-handle-error-msg))
(insert "\nLast svn commands:\n") (insert "\nLast svn commands:\n")
(svn-insert-indented-lines (svn-status-last-commands)) (svn-insert-indented-lines (svn-status-last-commands))
(insert (format "\nContent of the <%s> buffer:\n" last-output-buffer-name)) (insert (format "\nContent of the <%s> buffer:\n" last-output-buffer-name))
@ -6519,5 +6557,6 @@ A variable will keep its value, if it is specified in `svn-prepare-for-reload-do
;; Local Variables: ;; Local Variables:
;; indent-tabs-mode: nil ;; indent-tabs-mode: nil
;; time-stamp-pattern: "300/(defconst svn-psvn-revision \"%:y-%02m-%02d, %02H:%02M:%02S\" \"The revision date of psvn.\")$"
;; End: ;; End:
;;; psvn.el ends here ;;; psvn.el ends here

53
pullrev.sh Executable file
View File

@ -0,0 +1,53 @@
#!/bin/sh -e
if [ $# -lt 1 ]; then
echo "What?"
exit 1
fi
repo="https://svn.apache.org/repos/asf/subversion/trunk"
#repo="https://svn.apache.org/repos/asf/subversion/branches/1.11.x"
prefix=`rpmspec -q --queryformat='%{name}-%{version}\n' ./subversion.spec | sed 1q`
suffix="r$1${2:++}"
fn="${prefix}-${suffix}.patch"
vcurl="http://svn.apache.org/viewvc?view=revision&revision="
if test -f ${fn}; then
mv -v -f ${fn} ${fn}\~
echo "# $0 $*" > ${fn}
sed '1{/#.*pullrev/d;};/^--- /,$d' < ${fn}\~ >> ${fn}
else
echo "# $0 $*" > ${fn}
fi
new=0
for r in $*; do
if ! grep -q "${vcurl}${r}" ${fn}; then
echo "${vcurl}${r}"
new=1
fi
done >> ${fn}
[ $new -eq 0 ] || echo >> ${fn}
prev=/dev/null
for r in $*; do
echo "+ fetching ${r}"
this=`mktemp /tmp/pullrevXXXXXX`
svn diff -c ${r} ${repo} | filterdiff --remove-timestamps --clean -x 'CHANGES' -x 'next-number' -x 'STATUS' \
--addprefix="${prefix}/" > ${this}
next=`mktemp /tmp/pullrevXXXXXX`
combinediff --quiet ${prev} ${this} > ${next}
rm -f "${this}"
[ "${prev}" = "/dev/null" ] || rm -f "${prev}"
prev=${next}
done
cat ${prev} >> ${fn}
vi "${fn}"
echo "+ git add ${fn}"
git add "${fn}"
echo "+ spec template:"
echo "PatchN: ${fn}"
echo "%patchN -p1 -b .${suffix}"

View File

@ -1 +1 @@
a4b1d0d7f3a4587c59da9c1acf9dedd0 subversion-1.6.12.tar.bz2 SHA512 (subversion-1.14.2.tar.bz2) = 20ada4688ca07d9fb8da4b7d53b5084568652a3b9418c65e688886bae950a16a3ff37710fcfc9c29ef14a89e75b2ceec4e9cf35d5876a7896ebc2b512cfb9ecc

View File

@ -1,11 +0,0 @@
--- subversion-1.4.3/build/ac-macros/java.m4.java
+++ subversion-1.4.3/build/ac-macros/java.m4
@@ -82,7 +82,7 @@
if test "$os_arch" = "Darwin"; then
AC_MSG_WARN([You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates.])
fi
- JDK_SUITABLE=no
+ JDK_SUITABLE=yes
fi
AC_MSG_RESULT([$JDK_SUITABLE])

View File

@ -0,0 +1,84 @@
Fix the way libtool is used to match standard practice:
a) link ONLY libraries using -rpath $(libdir), not executables
.. this avoids adding an RPATH for $libdir to executables
b) link non-installable test binaries using -no-install
.. only for convenience but should speed up builds slightly(?)
--- subversion-1.12.0/build.conf.linking
+++ subversion-1.12.0/build.conf
@@ -572,7 +572,7 @@
path = subversion/bindings/swig/python/libsvn_swig_py
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
apriconv apr python swig
-link-cmd = $(LINK)
+link-cmd = $(LINK_LIB)
install = swig-py-lib
# need special build rule to include -DSWIGPYTHON
compile-cmd = $(COMPILE_SWIG_PY)
@@ -598,7 +598,7 @@
lang = ruby
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
install = swig-rb-lib
# need special build rule to include
compile-cmd = $(COMPILE_SWIG_RB)
@@ -769,6 +769,7 @@
libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
msvc-static = yes
undefined-lib-symbols = yes
+link-cmd = $(LINK_TEST_LIB)
# ----------------------------------------------------------------------------
# Tests for libsvn_fs_base
--- subversion-1.12.0/build/generator/gen_base.py.linking
+++ subversion-1.12.0/build/generator/gen_base.py
@@ -599,7 +599,7 @@
self.install = options.get('install')
self.compile_cmd = options.get('compile-cmd')
self.sources = options.get('sources', '*.c *.cpp')
- self.link_cmd = options.get('link-cmd', '$(LINK)')
+ self.link_cmd = options.get('link-cmd', '$(LINK_LIB)')
self.external_lib = options.get('external-lib')
self.external_project = options.get('external-project')
@@ -659,6 +659,14 @@
self.msvc_force_static = options.get('msvc-force-static') == 'yes'
+ if self.install in ['test', 'bdb-test', 'sub-test', ]:
+ self.link_cmd = '$(LINK_TEST)'
+ elif self.install in ['bin', 'tools']:
+ self.link_cmd = '$(LINK_EXE)'
+ elif self.link_cmd == '$(LINK_LIB)':
+ raise GenError('ERROR: Unknown executable link type for ' + self.name + \
+ ': ' + self.link_cmd + ' (' + self.install + ')')
+
def add_dependencies(self):
TargetLinked.add_dependencies(self)
--- subversion-1.12.0/Makefile.in.linking
+++ subversion-1.12.0/Makefile.in
@@ -268,11 +268,14 @@
COMPILE_SVNXX = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) -o $@ -c
COMPILE_SVNXX_TEST = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) $(BOOST_TEST_CPPFLAGS) -o $@ -c
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
-LINK_LIB = $(LINK) $(LT_SO_VERSION)
-LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
-LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
-LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS)
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
+LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
+LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS)
+LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION) -rpath $(libdir)
+LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS) -no-install
+LINK_TEST = $(LINK) -no-install
+LINK_TEST_LIB = $(LINK_TEST) -avoid-version
+LINK_EXE = $(LINK)
# special link rule for mod_dav_svn
LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module $(APACHE_LDFLAGS) -shared

View File

@ -0,0 +1,14 @@
Suppress gcc 10 warning.
--- subversion-1.14.0/subversion/tests/svn_test.h.testwarn
+++ subversion-1.14.0/subversion/tests/svn_test.h
@@ -128,7 +128,7 @@
return svn_error_createf(SVN_ERR_TEST_FAILED, NULL, \
"Strings not equal\n Expected: '%s'\n Found: '%s'" \
"\n at %s:%d", \
- tst_str2, tst_str1, __FILE__, __LINE__); \
+ tst_str2 ? tst_str2 : "(NULL)", tst_str1 ? tst_str1 : "(NULL)", __FILE__, __LINE__); \
} while(0)
/** Handy macro for testing integer equality.

View File

@ -0,0 +1,30 @@
See upstream dev@subversion thread. Fixes intermittent failure of
javahl tests, particularly reproducible on aarch64.
Message-ID: <11de5f5c-5059-b973-95a1-385e7913a63a@syntevo.com>
From: Alexandr Miloslavskiy
--- subversion-1.14.1/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java.fixjavatests
+++ subversion-1.14.1/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
@@ -4676,7 +4676,19 @@
// RuntimeException("Test exception") is expected here
}
- tunnelAgent.joinAndTest();
+ // In this test, there is a race condition that sometimes results in
+ // IOException when 'WAIT_TUNNEL' tries to read from a pipe that
+ // already has its read end closed. This is not an error, but
+ // it's hard to distinguish this case from other IOException which
+ // indicate a problem. To reproduce, simply wrap this test's body in
+ // a loop. The workaround is to ignore any detected IOException.
+ //
+ // tunnelAgent.joinAndTest();
+ try {
+ tunnelAgent.join();
+ } catch (InterruptedException e) {
+ e.printStackTrace ();
+ }
}
/**

View File

@ -0,0 +1,14 @@
Use read_file instead of deprecated readfp - removed in Python 3.11
diff -ur subversion-1.14.1/build/generator/gen_base.py subversion-1.14.1-patched/build/generator/gen_base.py
--- subversion-1.14.1/build/generator/gen_base.py 2019-11-04 06:59:36.000000000 +0100
+++ subversion-1.14.1-patched/build/generator/gen_base.py 2021-12-15 14:04:50.041649320 +0100
@@ -76,7 +76,7 @@
# Now read and parse build.conf
parser = configparser.ConfigParser()
- parser.readfp(open(fname))
+ parser.read_file(open(fname))
self.conf = build_path(os.path.abspath(fname))

View File

@ -0,0 +1,14 @@
Fix intermittent failures when "svn add" guesses a near-empty file is binary and hence
the output is different.
--- subversion-1.14.1/subversion/tests/cmdline/svntest/main.py.testnoautoprops
+++ subversion-1.14.1/subversion/tests/cmdline/svntest/main.py
@@ -691,6 +691,7 @@
[miscellany]
interactive-conflicts = false
+enable-magic-file = no
"""
if exclusive_wc_locks:
config_contents += """

View File

@ -0,0 +1,23 @@
Subversion libraries don't get properly versioned so the library
names are always "libsvn_foo-1.so.0.0.0". Provide proper
versioning information to libtool *without* changing the soname
for compatibility with upstream, so on-disk filenames are
unique across different releases.
--- subversion-1.14.2/configure.ac.soversion
+++ subversion-1.14.2/configure.ac
@@ -112,7 +112,12 @@
SVN_APR_MAJOR_VERSION=1
fi
AC_SUBST(SVN_APR_MAJOR_VERSION)
-SVN_LT_SOVERSION="-version-info $svn_lib_ver"
+
+m4_define([svn_ver_minor], m4_bpatsubst(AC_PACKAGE_VERSION, [[0-9]*\.\([0-9]*\)\.[0-9]*], [\1]))
+m4_define([svn_ver_patch], m4_bpatsubst(AC_PACKAGE_VERSION, [[0-9]*\.[0-9]*\.\([0-9]*\)], [\1]))
+svn_ver_current="`expr $svn_lib_ver + svn_ver_minor`"
+
+SVN_LT_SOVERSION="-version-info $svn_ver_current:svn_ver_patch:svn_ver_minor"
AC_SUBST(SVN_LT_SOVERSION)
AC_DEFINE_UNQUOTED(SVN_SOVERSION, $svn_lib_ver,
[Subversion library major verson])

View File

@ -1,30 +0,0 @@
--- subversion-1.6.0/build/ac-macros/apr.m4.deplibs
+++ subversion-1.6.0/build/ac-macros/apr.m4
@@ -76,9 +76,9 @@ AC_DEFUN(SVN_LIB_APR,
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`"
--- subversion-1.6.0/build/ac-macros/aprutil.m4.deplibs
+++ subversion-1.6.0/build/ac-macros/aprutil.m4
@@ -77,11 +77,9 @@ AC_DEFUN(SVN_LIB_APRUTIL,
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`"

View File

@ -1,62 +0,0 @@
--- subversion-1.6.0/build.conf.pie
+++ subversion-1.6.0/build.conf
@@ -472,7 +472,7 @@ type = swig_lib
lang = python
path = subversion/bindings/swig/python/libsvn_swig_py
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_PY_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_PY_LIBS)
install = swig-py-lib
# need special build rule to include -DSWIGPYTHON
compile-cmd = $(COMPILE_SWIG_PY)
@@ -495,7 +495,7 @@ type = swig_lib
lang = ruby
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
install = swig-rb-lib
# need special build rule to include
compile-cmd = $(COMPILE_SWIG_RB)
--- subversion-1.6.0/build/generator/gen_base.py.pie
+++ subversion-1.6.0/build/generator/gen_base.py
@@ -413,6 +413,9 @@ class TargetExe(TargetLinked):
self.manpages = options.get('manpages', '')
self.testing = options.get('testing')
+ if self.install == 'test' or self.install == 'bdb-test':
+ self.link_cmd = '$(LINK_TEST)'
+
def add_dependencies(self):
TargetLinked.add_dependencies(self)
@@ -455,8 +458,11 @@ class TargetLib(TargetLinked):
self.msvc_fake = options.get('msvc-fake') == 'yes' # has fake target
self.msvc_export = options.get('msvc-export', '').split()
- ### hmm. this is Makefile-specific
- self.link_cmd = '$(LINK_LIB)'
+ ### more Makefile-specific stuff:
+ if self.install == 'test':
+ self.link_cmd = '$(LINK_TEST_LIB)'
+ elif self.link_cmd == '$(LINK)':
+ self.link_cmd = '$(LINK_LIB)'
class TargetApacheMod(TargetLib):
--- subversion-1.6.0/Makefile.in.pie
+++ subversion-1.6.0/Makefile.in
@@ -184,8 +185,11 @@ COMPILE_JAVAHL_CXX = $(LIBTOOL) $(LTCXXF
COMPILE_JAVAHL_JAVAC = $(JAVAC) $(JAVAC_FLAGS)
COMPILE_JAVAHL_JAVAH = $(JAVAH)
-LINK_LIB = $(LINK) -rpath $(libdir)
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
+BASE_LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
+LINK = $(BASE_LINK) -pie
+LINK_TEST = $(BASE_LINK) -no-install
+LINK_LIB = $(BASE_LINK) -rpath $(libdir)
+LINK_TEST_LIB = $(BASE_LINK)
LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
# special link rule for mod_dav_svn

View File

@ -1,54 +0,0 @@
Libraries should be linked with -rpath $libdir but programs should not.
Doing so for the latter means that a redundant RPATH entry of $libdir
will end up in the binaries.
The redundant RPATH can also cause obscure build failures by causing
in-build binaries to pick up libraries from the system environment,
which libtool will otherwise avoid.
--- subversion-1.6.1/build.conf.rpath
+++ subversion-1.6.1/build.conf
@@ -472,7 +472,7 @@ type = swig_lib
lang = python
path = subversion/bindings/swig/python/libsvn_swig_py
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_PY_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_PY_LIBS)
install = swig-py-lib
# need special build rule to include -DSWIGPYTHON
compile-cmd = $(COMPILE_SWIG_PY)
@@ -495,7 +495,7 @@ type = swig_lib
lang = ruby
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
install = swig-rb-lib
# need special build rule to include
compile-cmd = $(COMPILE_SWIG_RB)
--- subversion-1.6.1/build/generator/gen_base.py.rpath
+++ subversion-1.6.1/build/generator/gen_base.py
@@ -455,6 +455,10 @@ class TargetLib(TargetLinked):
self.msvc_fake = options.get('msvc-fake') == 'yes' # has fake target
self.msvc_export = options.get('msvc-export', '').split()
+ ### hmm. this is Makefile-specific
+ if self.link_cmd == '$(LINK)':
+ self.link_cmd = '$(LINK_LIB)'
+
class TargetApacheMod(TargetLib):
def __init__(self, name, options, gen_obj):
--- subversion-1.6.1/Makefile.in.rpath
+++ subversion-1.6.1/Makefile.in
@@ -184,7 +184,8 @@ COMPILE_JAVAHL_CXX = $(LIBTOOL) $(LTCXXF
COMPILE_JAVAHL_JAVAC = $(JAVAC) $(JAVAC_FLAGS)
COMPILE_JAVAHL_JAVAH = $(JAVAH)
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
+LINK_LIB = $(LINK) -rpath $(libdir)
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
# special link rule for mod_dav_svn

View File

@ -1,56 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEABECAAYFAkwavKUACgkQCwOubk4kUXwEGwCgq4c5SrxIzAFHD7GhouIQIIRh
VxsAn0h8GTJosXz8+fmwTcwVZ6kcXxb9
=RjTT
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkwbbakACgkQNR8z5DU+JbxSlACfY125bw9ZzJO238Fd6C5zOgr7
SrIAn243aBcaBg9Q1lKPHlnKhuAHzTR2
=MI8n
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkwbHIoACgkQ9o1G+2zNQDj95ACeKao3zsdgFdc7z71Au+2QBaYb
NUYAnj/yswEyiPmtiwPUj4BJOaXvYAir
=5WOC
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEcBAABCAAGBQJMG4FCAAoJEHbXiOHtGlmcOj8H/A0Jq9uje2XZLfIoGD0TQn6v
4U+ymtTp1Z8EYExlyDqgYYv6Q6CcJ5jSWzMcN/XGPxOK8F29f95BT0H6KRZzNMmE
mTKV2w44koiTFcffzI99JYHq+jwqWTA0QAfBYpvTOJ7bmZsujlvBye9x7j00ZXdD
sZiMPI/mq9yMzs5BgdqnafYgcR0Ae5CmZzmWL5pwqag4iiN1amVp1rKH754ulKO/
dbj/jhYexwiwaEUMc7xeDQJEr6Ou/r7ILazdc89TefREfdcN4/Py4ccnHe6xG1/a
EY6t++Dt0yfppdJMmSWeVcxBL4e+nVOFoq1kvriRRACVMrzZpA/tNIm/iKLH2lk=
=FgAM
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iQIcBAABAgAGBQJMHmrfAAoJEFU3/w1zlLfgsAsP/AoS+XzwSghdGzezHdcshBYu
SEhTKUKCbd4qC6ItZV/pdg4wmsiP8GQsJSyUq+6MJ+FSy5JK1pMJ5T23oVncZX1G
4YI1o42+iI4UmyLatBgflLsf5QFBGLIsNdUX9228PwL9i99CTYIGozPGy+y5DCX2
xOEUpa/sxFGq7wVJZ8JxOuQ/8sWlhEBB+zB+/qP/MGsBkriXkIt2g2CuK0WoI2+o
1p74hNpB5HB7COC27dRDqDZkUGUH+WSGP2941BdBEWmR6qwHlGOsKRW2hUGbLcuR
14nGMOfNliVvyixSrdno6ZycNIDrfkUfDBryQ8kWy5pVeXgqNs3uR2aPSqX2lSwg
UYVW6P+hg01A3YX5AFikh8Zv5aKa08y5b/jUFzvnVsFJwzQIjI+7N1hhmYDH9rM/
5meTfC6QoMFJDpg40jWesKQxfYRyPpvISCWZ7nFp03KV+eRnVncJtmuHzQ8f+c1c
yuKeZ+/FDZ4EHwk4zQdM9WUa9ietWfy4dbtz938llFicIqh6E7mMUI96yX+MP3kx
QSgnOTD9sXx7WP15kqis8iNkmgHRlWtbWEOVfqhLBOGIEbE60b5Vc8MerA2Lob+V
flFKb1j5JV42EdVyDnHriPwddFO3+P6xL0ExPGBpPAdj5jOAqMUngc8z8LW3IAXk
SUDpwhfPjYbzb6YO6oxh
=AlUg
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)
iEYEABECAAYFAkwfPacACgkQ/P1jBZgh97Ih+gCfcUPk6sG/RnQDuw8ynjcrs3nL
RiUAoMwxqZMnj1cYxf2HWPjVcT3Kd38L
=G4JG
-----END PGP SIGNATURE-----

View File

@ -1,273 +0,0 @@
diff -up svn2cl-0.11/svn2cl.xsl~ svn2cl-0.11/svn2cl.xsl
--- svn2cl-0.11/svn2cl.xsl~ 2008-12-21 17:41:20.000000000 +0200
+++ svn2cl-0.11/svn2cl.xsl 2009-11-02 22:29:34.000000000 +0200
@@ -55,12 +55,6 @@
-->
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY tab "&#9;">
- <!ENTITY newl "&#38;#xA;">
- <!ENTITY space "&#32;">
-]>
-
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -119,7 +113,7 @@
</xsl:otherwise>
</xsl:choose>
<!-- add newlines at the end of the changelog -->
- <xsl:text>&newl;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
</xsl:template>
<!-- format one entry from the log -->
@@ -149,33 +143,33 @@
<xsl:if test="($prevdate!=$date) or ($prevauthor!=$author)">
<!-- add newline -->
<xsl:if test="not(position()=1)">
- <xsl:text>&newl;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
</xsl:if>
<!-- date -->
<xsl:value-of select="$date" />
<!-- two spaces -->
- <xsl:text>&space;&space;</xsl:text>
+ <xsl:text>&#32;&#32;</xsl:text>
<!-- author's name -->
<xsl:apply-templates select="author" />
<!-- two newlines -->
- <xsl:text>&newl;</xsl:text>
- <xsl:if test="$separate-daylogs!='yes'"><xsl:text>&newl;</xsl:text></xsl:if>
+ <xsl:text>&#10;</xsl:text>
+ <xsl:if test="$separate-daylogs!='yes'"><xsl:text>&#10;</xsl:text></xsl:if>
</xsl:if>
</xsl:when>
<!-- write the log header -->
<xsl:otherwise>
<!-- add newline -->
<xsl:if test="not(position()=1)">
- <xsl:text>&newl;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
</xsl:if>
<!-- date -->
<xsl:apply-templates select="date" />
<!-- two spaces -->
- <xsl:text>&space;&space;</xsl:text>
+ <xsl:text>&#32;&#32;</xsl:text>
<!-- author's name -->
<xsl:apply-templates select="author" />
<!-- two newlines -->
- <xsl:text>&newl;&newl;</xsl:text>
+ <xsl:text>&#10;&#10;</xsl:text>
</xsl:otherwise>
</xsl:choose>
<!-- get paths string -->
@@ -187,7 +181,7 @@
<xsl:if test="$include-rev='yes'">
<xsl:text>[r</xsl:text>
<xsl:value-of select="@revision" />
- <xsl:text>]&space;</xsl:text>
+ <xsl:text>]&#32;</xsl:text>
</xsl:if>
</xsl:variable>
<!-- trim trailing newlines -->
@@ -195,7 +189,7 @@
<!-- add a line break before the log message -->
<xsl:choose>
<xsl:when test="$breakbeforemsg='yes'">
- <xsl:text>&newl;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
</xsl:when>
<xsl:when test="number($breakbeforemsg)&gt;0">
<xsl:call-template name="newlines">
@@ -208,14 +202,14 @@
</xsl:call-template>
</xsl:variable>
<!-- add newline here if separate-daylogs is in effect -->
- <xsl:if test="$groupbyday='yes' and $separate-daylogs='yes'"><xsl:text>&newl;</xsl:text></xsl:if>
+ <xsl:if test="$groupbyday='yes' and $separate-daylogs='yes'"><xsl:text>&#10;</xsl:text></xsl:if>
<!-- first line is indented (other indents are done in wrap template) -->
- <xsl:text>&tab;*&space;</xsl:text>
+ <xsl:text>&#9;*&#32;</xsl:text>
<!-- set up the text to wrap -->
<xsl:variable name="txt">
<xsl:value-of select="$rev" />
<xsl:if test="$paths!=''">
- <xsl:value-of select="concat($paths,':&space;')" />
+ <xsl:value-of select="concat($paths,':&#32;')" />
</xsl:if>
<xsl:value-of select="$msg" />
</xsl:variable>
@@ -232,7 +226,7 @@
<xsl:value-of select="substring($date,1,10)" />
<!-- output time part -->
<xsl:if test="$groupbyday!='yes'">
- <xsl:text>&space;</xsl:text>
+ <xsl:text>&#32;</xsl:text>
<xsl:value-of select="substring($date,12,5)" />
</xsl:if>
</xsl:template>
@@ -306,7 +300,7 @@
<xsl:sort select="normalize-space(.)" data-type="text" />
<!-- unless we are the first entry, add a comma -->
<xsl:if test="not(position()=1)">
- <xsl:text>,&space;</xsl:text>
+ <xsl:text>,&#32;</xsl:text>
</xsl:if>
<!-- print the path name -->
<xsl:call-template name="printpath">
@@ -324,7 +318,7 @@
<xsl:sort select="normalize-space(.)" data-type="text" />
<!-- unless we are the first entry, add a comma -->
<xsl:if test="not(position()=1)">
- <xsl:text>,&space;</xsl:text>
+ <xsl:text>,&#32;</xsl:text>
</xsl:if>
<!-- print the path name -->
<xsl:value-of select="normalize-space(.)" />
@@ -382,23 +376,23 @@
<xsl:param name="txt" />
<xsl:variable name="normtxt" select="normalize-space($txt)" />
<xsl:choose>
- <xsl:when test="contains($txt,'&newl;')">
+ <xsl:when test="contains($txt,'&#10;')">
<!-- text contains newlines, do the first line -->
<xsl:call-template name="wrap">
- <xsl:with-param name="txt" select="substring-before($txt,'&newl;')" />
+ <xsl:with-param name="txt" select="substring-before($txt,'&#10;')" />
</xsl:call-template>
<!-- print tab -->
- <xsl:text>&tab;&space;&space;</xsl:text>
+ <xsl:text>&#9;&#32;&#32;</xsl:text>
<!-- wrap the rest of the text -->
<xsl:call-template name="wrap">
- <xsl:with-param name="txt" select="substring-after($txt,'&newl;')" />
+ <xsl:with-param name="txt" select="substring-after($txt,'&#10;')" />
</xsl:call-template>
</xsl:when>
<xsl:when test="(string-length($normtxt) &lt; (($linelen)-9)) or not(contains($normtxt,' '))">
<!-- this is easy, nothing to do -->
<xsl:value-of select="$normtxt" />
<!-- add newline -->
- <xsl:text>&newl;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
</xsl:when>
<xsl:otherwise>
<!-- find the first line -->
@@ -420,7 +414,7 @@
<!-- print line -->
<xsl:value-of select="$line" />
<!-- print newline and tab -->
- <xsl:text>&newl;&tab;&space;&space;</xsl:text>
+ <xsl:text>&#10;&#9;&#32;&#32;</xsl:text>
<!-- wrap the rest of the text -->
<xsl:call-template name="wrap">
<xsl:with-param name="txt" select="normalize-space(substring($normtxt,string-length($line)+1))" />
@@ -449,26 +443,26 @@
<xsl:param name="txt" />
<xsl:choose>
<!-- find starting newlines -->
- <xsl:when test="substring($txt,1,1) = '&newl;'">
+ <xsl:when test="substring($txt,1,1) = '&#10;'">
<xsl:call-template name="trim-newln">
<xsl:with-param name="txt" select="substring($txt,2)" />
</xsl:call-template>
</xsl:when>
<!-- find trailing newlines -->
- <xsl:when test="substring($txt,string-length($txt),1) = '&newl;'">
+ <xsl:when test="substring($txt,string-length($txt),1) = '&#10;'">
<xsl:call-template name="trim-newln">
<xsl:with-param name="txt" select="substring($txt,1,string-length($txt)-1)" />
</xsl:call-template>
</xsl:when>
<!-- if the message has paragrapgs, find the first one -->
- <xsl:when test="$reparagraph='yes' and contains($txt,'&newl;&newl;')">
+ <xsl:when test="$reparagraph='yes' and contains($txt,'&#10;&#10;')">
<!-- remove newlines from first paragraph -->
- <xsl:value-of select="normalize-space(substring-before($txt,'&newl;&newl;'))" />
+ <xsl:value-of select="normalize-space(substring-before($txt,'&#10;&#10;'))" />
<!-- paragraph separator -->
- <xsl:text>&newl;&newl;</xsl:text>
+ <xsl:text>&#10;&#10;</xsl:text>
<!-- do the rest of the text -->
<xsl:call-template name="trim-newln">
- <xsl:with-param name="txt" select="substring-after($txt,'&newl;&newl;')" />
+ <xsl:with-param name="txt" select="substring-after($txt,'&#10;&#10;')" />
</xsl:call-template>
</xsl:when>
<!-- remove more single newlines -->
@@ -485,7 +479,7 @@
<!-- insert a number of newlines -->
<xsl:template name="newlines">
<xsl:param name="count" />
- <xsl:text>&newl;</xsl:text>
+ <xsl:text>&#10;</xsl:text>
<xsl:if test="$count&gt;1">
<xsl:call-template name="newlines">
<xsl:with-param name="count" select="($count)-1" />
diff -up svn2cl-0.11/svn2html.xsl~ svn2cl-0.11/svn2html.xsl
--- svn2cl-0.11/svn2html.xsl~ 2008-12-21 17:41:20.000000000 +0200
+++ svn2cl-0.11/svn2html.xsl 2009-11-02 22:30:11.000000000 +0200
@@ -47,11 +47,6 @@
-->
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY newl "&#38;#xA;">
- <!ENTITY space "&#32;">
-]>
-
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -134,7 +129,7 @@
<li class="changelog_entry">
<!-- date -->
<span class="changelog_date"><xsl:value-of select="$date" /></span>
- <xsl:text>&space;</xsl:text>
+ <xsl:text>&#32;</xsl:text>
<!-- author's name -->
<span class="changelog_author"><xsl:apply-templates select="author" /></span>
</li>
@@ -145,7 +140,7 @@
<li class="changelog_entry">
<!-- date -->
<span class="changelog_date"><xsl:apply-templates select="date" /></span>
- <xsl:text>&space;</xsl:text>
+ <xsl:text>&#32;</xsl:text>
<!-- author's name -->
<span class="changelog_author"><xsl:apply-templates select="author" /></span>
</li>
@@ -167,10 +162,10 @@
<span class="changelog_revision">
<a id="r{@revision}" href="{$revlink}">[r<xsl:value-of select="@revision" />]</a>
</span>
- <xsl:text>&space;</xsl:text>
+ <xsl:text>&#32;</xsl:text>
<!-- get paths string -->
<span class="changelog_files"><xsl:apply-templates select="paths" /></span>
- <xsl:text>&space;</xsl:text>
+ <xsl:text>&#32;</xsl:text>
<!-- get message text -->
<xsl:variable name="msg">
<xsl:call-template name="trim-newln">
@@ -189,14 +184,14 @@
<xsl:template name="newlinestobr">
<xsl:param name="txt" />
<xsl:choose>
- <xsl:when test="contains($txt,'&newl;')">
+ <xsl:when test="contains($txt,'&#10;')">
<!-- text contains newlines, do the first line -->
- <xsl:value-of select="substring-before($txt,'&newl;')" />
+ <xsl:value-of select="substring-before($txt,'&#10;')" />
<!-- print new line -->
<br />
<!-- wrap the rest of the text -->
<xsl:call-template name="newlinestobr">
- <xsl:with-param name="txt" select="substring-after($txt,'&newl;')" />
+ <xsl:with-param name="txt" select="substring-after($txt,'&#10;')" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>

View File

@ -1,25 +0,0 @@
The first half of this is certainly upstream-worthy, but the second half is presumably
some Fedora-specific KDE packaging thing. It's not obvious how to get
kde4-config to report the directory which contains the .so files.
--- subversion-1.6.6/build/ac-macros/kwallet.m4.kwallet
+++ subversion-1.6.6/build/ac-macros/kwallet.m4
@@ -47,14 +47,14 @@ AC_DEFUN(SVN_LIB_KWALLET,
fi
done
qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
- kde_dir="`$kde4_config --prefix`"
- SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
+ kde_include_dirs="-I`$kde4_config --path include`"
+ SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs $kde_include_dirs"
qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
LIBS="$LIBS $SVN_KWALLET_LIBS"
qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
- LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L$kde_dir/lib`$kde4_config --libsuffix`"
+ LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L$libdir/kde4/devel"
AC_LANG(C++)
AC_LINK_IFELSE([
#include <kwallet.h>

View File

@ -0,0 +1,24 @@
Try a little harder to avoid svnserve() bind failures.
--- subversion-1.8.0/subversion/bindings/swig/ruby/test/util.rb.rubybind
+++ subversion-1.8.0/subversion/bindings/swig/ruby/test/util.rb
@@ -39,7 +39,8 @@ module SvnTestUtil
@realm = "sample realm"
@svnserve_host = "127.0.0.1"
- @svnserve_ports = (64152..64282).collect{|x| x.to_s}
+ sport = (50000 + rand(100) * 100)
+ @svnserve_ports = (sport..sport + 99).collect{|x| x.to_s}
@tmp_path = Dir.mktmpdir
@wc_path = File.join(@tmp_path, "wc")
@@ -252,6 +253,8 @@ realm = #{@realm}
"--listen-port", port,
"-d", "--foreground")
}
+ # wait a while for svnserve to attempt a bind() and possibly fail
+ sleep(1)
pid, status = Process.waitpid2(@svnserve_pid, Process::WNOHANG)
if status and status.exited?
if $DEBUG

View File

@ -0,0 +1,16 @@
Don't drop -Wall in the swig Perl bindings, otherwise building with
e.g. -Wformat-security might break.
https://bugzilla.redhat.com/show_bug.cgi?id=1037341
--- subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in.swigplWall
+++ subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in
@@ -54,7 +54,6 @@ my $includes = ' -I/usr/include/apr-1
# SWIG is using C++ style comments in an extern "C" code.
$cflags =~ s/-ansi\s+//g;
$cflags =~ s/-std=c89\s+//g;
-$cflags =~ s/-Wall//g;
$cflags =~ s/-Wunused//g;
$cflags =~ s/-Wshadow//g;
$cflags =~ s/-Wstrict-prototypes//g;

View File

@ -1,6 +1,7 @@
LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so
LoadModule dontdothat_module modules/mod_dontdothat.so
# #
# Example configuration to enable HTTP access for a directory # Example configuration to enable HTTP access for a directory
@ -19,7 +20,7 @@ LoadModule authz_svn_module modules/mod_authz_svn.so
# #
# # cd /var/www/svn # # cd /var/www/svn
# # svnadmin create stuff # # svnadmin create stuff
# # chown -R apache.apache stuff # # chown -R apache:apache stuff
# # chcon -R -t httpd_sys_content_t stuff # # chcon -R -t httpd_sys_content_t stuff
# #

File diff suppressed because it is too large Load Diff

13
svnserve.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Subversion protocol daemon
After=syslog.target network.target
Documentation=man:svnserve(8)
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/svnserve
ExecStart=/usr/bin/svnserve --daemon --pid-file=/run/svnserve/svnserve.pid $OPTIONS
PrivateTmp=yes
[Install]
WantedBy=multi-user.target

4
svnserve.sysconf Normal file
View File

@ -0,0 +1,4 @@
# OPTIONS is used to pass command-line arguments to svnserve.
#
# Specify the repository location in -r parameter:
OPTIONS="-r /var/svn"

1
svnserve.tmpfiles Normal file
View File

@ -0,0 +1 @@
D /run/svnserve 0700 root root -