mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
chore(dev-vcs/subversion): import from portage
Change-Id: I7b812b613a6d5358ea2bc577494e84cb1799ec66
This commit is contained in:
parent
e0694d623a
commit
f8ee11f0a0
2333
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/ChangeLog
vendored
Normal file
2333
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/ChangeLog
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +1,33 @@
|
||||
DIST subversion-1.6.17.tar.bz2 5504298 RMD160 b0937be80622774fee5d4557e740ad44f7f47172 SHA1 6e3ed7c87d98fdf5f0a999050ab601dcec6155a1 SHA256 d629c657e171616d30cc0cbddf1011a065770813bfc32f78c6940d09ca868124
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 47_mod_dav_svn.conf 422 SHA256 bdb10203ae3154da723655b07118f630ef1e83ec38a79e31a53e436e0c071d27 SHA512 05608aa7abca0ec55015232077db928453c92ccf8b595dd843ba13ed39703e01dcbe298c4ff57c638376679be9fea4b409e98953915b86dc6954e3e0de31b23d WHIRLPOOL 05f1048e41c9c59718fc794ae53de532565447186a2cef45a222bee3d45071976037cc2aa3d90b27df1c02c01ce262c7b8030c4ad021cd597f277b8b48c7d976
|
||||
AUX 70svn-gentoo.el 443 SHA256 23aa9effa5aea7ae73d14ae4df1a9269135137a5e483b4ff2a501dc130d7d1be SHA512 ab105533569ec81631491da4cd29488e77ae5713b5a2190afe1576e6434202a0c36fce7674cdf17a3e1e58650efba8915fb7e31c686def3701ef82803ecf8bea WHIRLPOOL 4f699ca38a1659ac2129f36de37ddd830d026520c1bf34562181ceb4763a38362cc3df516c3077ddbd66f36973d0c82f2d51d3a4657ba0af3722e61b29b4a53f
|
||||
AUX subversion-1.5.4-interix.patch 4375 SHA256 1cb7dec795921a89e90f792d0176c52239aa3d87064bafbd5af9ded4df981dbe SHA512 e63c49ae3935be14437702136175d38fac1a820ccc641eb9d94e51d89986847a408b49995c01dcfa4d45c3bf04c94134def117ff27802b3eb02a6268d6032b75 WHIRLPOOL 77d60f127f2132c6e5a8a00f4f6603dfeec8708b36dbbac8d806dc0bedcfd36426661adff6c49895c73dfb16883e18e0cdbc81f3a43d3f1ecace744a25a394a7
|
||||
AUX subversion-1.5.6-aix-dso.patch 787 SHA256 2790b21e035ea77358d33c14e7e7c3c8977e1b3f5d4150768912eea719e2cf6c SHA512 8cf3495c8239f47193d0f67084b88cd2a601586a0d933512a6326522f5c87310a636ab7928c1c13e4adf1cbaf756eca77f025be9af947dcff3f1661f0f2e9347 WHIRLPOOL 40c3397dcc9371ae9d6badd7aeb56b01d6de1729fd84dc4c17e27c0f723869354b04cb4b21749890af5f9366f504789d1c2f63287a15e6bad566760a36e24625
|
||||
AUX subversion-1.6.0-disable_linking_against_unneeded_libraries.patch 1769 SHA256 a54a4dd37e197d030b9d56b2954e4cd38f8a7f1b191cfe59f863b75a164d5f96 SHA512 62369a0046e4c0a786a0b0a355630425f86514ebe7c9efb8757acebf9ceafb1bda7c075e6941a3fa0d1b763d5cea6b407e63cb2dfe9f773c268435823db219fb WHIRLPOOL 65f55fc690b5a1b03b1afd9c55aa15121940df16c3feb6e236c2c33e6b45049f679368791729e22e5f1c7c435dbd165fd2b9fb55d856a45cc3cfbbd4546bf00e
|
||||
AUX subversion-1.6.2-local_library_preloading.patch 6412 SHA256 50b83dd31eaf5ed577b7656dcd06e314d3acd31814089f4e3eba014a1efa442d SHA512 df37e02c4c1354d854be252368f4eef4b6fcf1b28b8fc81788a41619bae77a470962950eabb7eca0e9fd7d84bfd15c319d9140acacbaf4bd7ebed41b4a5962c4 WHIRLPOOL 5d8fbfd1bbc6b642696d0cfef0bf2bfe60a874f707f7cf1dac1adee38a1a898bd2ebc66210ab6faf6b32dc8521ade79b88a592c229c19f18f06d59cbb5133d1b
|
||||
AUX subversion-1.6.3-hpux-dso.patch 627 SHA256 0fa69598635ea9630e95e3e8b693cd5f1b853784900e34d58ffe9e03d8c65b36 SHA512 4ca24738d527c8f845e0d255950f0121a445ec1357bea03e2c3cd0c1ca077f8aefd6769eb4dc4bc3787c593c9542f3a64ad283ae5154201a7fcf2392e7ea076b WHIRLPOOL d90944d8cb30db9e8f88606f5054cc54af0a2f496125f6462237b964b2f4faefdde94b26c9a80e9273d19fffbce71cbf89dba961300c3a764de4c21782499533
|
||||
AUX subversion-1.6.3-kwallet_window.patch 10012 SHA256 5304f39189bed6f83a8342593f23819cf2e12c2288c9daba23dcd78913fd79de SHA512 e21fc601ee23ca75ebf089627e425696e39015fc9ceb55defc85d758e3a9ee191c11a7af8b78857b32c821730313b75b237b674d1eec31e51292b82f4fe10352 WHIRLPOOL 74fcd09ff7f4e6831ef1708970794f7b16e711fe0d264c4d5748afae7ed071b301ef72021076d14260d9032be873930d59ca87c0b92cbb6174d3a0cab1c071f5
|
||||
AUX subversion-1.7.6-kwallet.patch 1624 SHA256 61a1f2c9a05553ab874a07765e9680bcf7af5adc843fcfaf7f6c4c0a1e5454a7 SHA512 90b8b2e8200f54deeb2da7b79d133b57863b3279dc7bb169e1d71ee54c9c727bda5cd60abdfb5076f25a6273bd64ccfa3c577e55d70545fa252dd1092eefcdde WHIRLPOOL fcb1ca01e3b2e510d9a9bb2614d0a4893414d0093a05e2930edb98ef1c2d7cb2e136b1f714172858a327db4beea7995274e37db8ebf98f4fcb7cc8ad6063144c
|
||||
AUX subversion-1.7.6-revert-mod_dontdothat-move.patch 6001 SHA256 c01a12f8fd96c6470caabce97c7a3ef651b4fbe8dd8656bc8854fc3f65e4f7dd SHA512 927be300babe1692f4ca942e8e9fc3e4211aa3890c22adf6a70804c7293761335015da98040ed3acdee3f151b7f92a8d15014589b718711165ebf638f35b56a3 WHIRLPOOL 65d01a348c11dcfe6f23d6f0761f47ee328774b0dc954c56194fed12fe6945d4c408be55d852cba5f541aff4efc118abc07d2cfd1a45c4a6b77d7528b4da1d45
|
||||
AUX subversion-fix-parallel-build-support-for-perl-bindings.patch 515 SHA256 c7a9fe0f095de7e49e219af5cabdff28751ee39aa42e712c4b8b3bc0ed64d50c SHA512 c24cf217e3d5c8e31b28c38d63e994ef131b410a7a6ab00b31772a0863f216d9d3482810928ab2cf7025baf632a415435653fd3fd2fd3780013b70a53ccf5cad WHIRLPOOL e7bb2c833d2393f82f769007d5df35e97ed8766cea5f9f5c64e41ed6369950a6aa8c73e44e9803656ec2ac21706e69cc3cf05f45a5dd1abe85fdb2cb9d0894bf
|
||||
AUX svnserve.confd 322 SHA256 45f2dc1a718aed885559e71d98112e670c92bd6b4f19c5cf593eced6cd2bbd97 SHA512 c84d96dad0deb40a04963654c5d0874697f2b270751b3ec41bec64847d61d9e88e336e2ee5da438a527b9d8b8b24d7ddbeacdd4bd4ce02db3629fc0972e0c289 WHIRLPOOL c91f8454f4a6d7fc9823bfbded1432993da14574693cfb4ffd6902fce136b2a14dc23616b523cf89e06493f96317ed0520a586af022d2cb1bea025ec99e53ed8
|
||||
AUX svnserve.initd 818 SHA256 4f9d38d5b32d4436dcb302f7e3c7284e67d6339b25b0f057a306b978f4a06142 SHA512 aa5493c364a761bef8728187bdbf9ed89f341121be502d3dabfc377c43b973d71eba38145c7e2679a0d457000396af164e5ca8f6f7d23c8a5fb61134f55297d7 WHIRLPOOL 5b0114b76ee2d8c6e8925a6d294826b5d08afcf4c98145cceed9c59459740e40a8cac58493d5838d58004e44f32ef77dc8bdba2475fba4742e47c28b6c4ba8ca
|
||||
AUX svnserve.initd2 828 SHA256 8f123253c3bfb9bbe87210a9e1facc7f52df371747dbc188396740a5cf4fa713 SHA512 48729e3befc9fb9f26bbb58f3e3694cecec491df65eb7251af85bec1aa16f6d1b406f2ef072c93c9136e261d8ce64aa658bf41f812c1a555c7014521c2ff775f WHIRLPOOL bbff4d5010a0f6ceb0e9e2f76984c9935f610b18163e7e5c426059a48f84451e5cbeae86582d6dd22d9a59dc47f71b253b19cce9ed6761a29013877a32cb5d81
|
||||
AUX svnserve.xinetd 332 SHA256 267f30c78ef6428aeeb97d3c64c06b9acfba4bc624766fc3c6a6d2c4133799a2 SHA512 80b486507d03f430e189ef65901ed185f487651400bada5709f544954eb6175d20a11cf98893f80ec963e434c5db5642bf9d1603d698ad8bbf96b88fa45ddbae WHIRLPOOL 0c5ed79630859706f18b56fbb910b4b2dc6b480cdf72a929f7d33232f23ee1eb7110b98c4a8e06cd06c620b9f4ff081bfae23edd1f6a65fade2ac5081dbf3962
|
||||
DIST subversion-1.6.17.tar.bz2 5504298 SHA256 d629c657e171616d30cc0cbddf1011a065770813bfc32f78c6940d09ca868124 SHA512 ec034b979f127e9338664a4ca0061c252f6fab7c094eee58eddaa175543456c1e1e1211a123f1e4ea1417f5f6c5c9b87abfb9d4039eb14f31cac38185934eb97 WHIRLPOOL 0d1d664c9410576c68bc10d772136193f6474947bacf10788636fdbd516e637df13d8ad70bab7c7e122713e747f8d494c0c54eca7da9d4ca518613d51331553b
|
||||
DIST subversion-1.7.6.tar.bz2 6006767 SHA256 d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05 SHA512 bced624139b3a284918edce59419a9933080ecfd861e8eaf3a7abc56c72c1e9b50d8ff3fc6185783d5b537c5be87c1e328ad42288bc063103b456c3d376c42ce WHIRLPOOL 7425ad97d27cb127a6e45845ccc419d5f9bc61101c6d675565f08af96bb8f27ea06ecd1116f214f23e8465529aa17aee53c33319b618ac12e4e912e707bce2a8
|
||||
DIST subversion-1.7.7.tar.bz2 6023686 SHA256 fc85a9341d1dc275b279e470776014b02328a028e48a7ac7868ac07d4a40a321 SHA512 0ce0a22e05c76132d9a1650cee3d7fdf6eb7606eb7197ee604e48129e6e3ba7ebc910d71c756ef2aced7100c8cd9a7d1dc3da8744315be0a8c506fdafa8ada19 WHIRLPOOL d0c82ab9abd8e95cbd5a5cf0d082a5b1eda7451bfaa5754d33a10279d94548f8c1457b3089c4bbb3347569b96be293e04371c05965ab2019aa38084831bc111d
|
||||
EBUILD subversion-1.6.17-r7.ebuild 16378 SHA256 be56ed7e650e8cb529f8056fa7722bdab5137a8f7f1cbef419fbcc633430ccd8 SHA512 c4edda843f685ac18b5b8dbacc9160b27f397b34ec7619a4493558945d15248c0e2a0bf04dc66855889d48f5205dfca9d0909d045f0b3b9a8c6c9c58040e6c68 WHIRLPOOL d581a5211295a13131b2a4ac5ffb2a9b0702cdf0e78d9c1d25877b6a1e588d537d4ca32dd441cba040887c74b5d0cd607b4cb5325fdfedd9b1b90ad428c34760
|
||||
EBUILD subversion-1.7.6.ebuild 15754 SHA256 0091087f29c193141eacd222f69c3980fd5eca113356b90c552344e7942e0a4a SHA512 711502b245ea0d906fedb94bda975e6587848c610c1278e2ff8aa8545e7380df01519f107dcba2a39d07075e11e5cb0e0725ad3bcbb36883f87a16d97ff69e0a WHIRLPOOL 1cf5d84a0bc43c9b1119896e3b9e5de485cc9e44ca1f30057dc0ae48ad07737579f841b0220eb017a04b202e9c299c03e13a065c68fb28ab5a03cfaf02a7c3f9
|
||||
EBUILD subversion-1.7.7.ebuild 16236 SHA256 6f9363afc1adddd3f5eb3bbc358efb67b68aa25d61c0da1a12ac81269b0ddc6c SHA512 9a4a4eafa9d91b348eaf4f6ce68dc822fd3e232c1a10dbabd153ac776be56068cef74f8c1351ad82147ea4b6549fbc40d1117f6c39f61d7ee4537136989a68a7 WHIRLPOOL f29469a4d0025dc5c15691d1d08b008c8fef3b916f683043784f37d9d63525f7932933ad744d97d21d0a5260acb19fcfbfd0858e977ea93a6ec3594d42d76ee3
|
||||
MISC ChangeLog 87794 SHA256 49eeab7d200a6173328299f7a8a322507bb26af9e16ea65d1ca5210107c722d5 SHA512 e3e47b96cb1089f999ef2413769e68bb92e5b3262627665c1afba526ab636c04abd83ec259379017b4470bd0b3dad9546d1898089aebff1e05605885a8d46747 WHIRLPOOL 541599a485f5c8653b62a008e38c27b9ea720c629566dca96e4d5cf17b5b8a98d295036d13e266652226ca7a288a9bfd10666b2903616fd55a78912c91389b03
|
||||
MISC metadata.xml 628 SHA256 b3715692f57550cecbca66df385d0cc48ef3d6707b4832b88add2f689c35969d SHA512 2c1f375df0efee06e088db3c7c19b96e23b615053aaaa98bc45b5d4945a39a3c21a868c80b938be88ff840824b2e8aebe9379633f106d2cfead4b3fd74cff927 WHIRLPOOL 1387297f9b5b7feb6e90cbda59b0cd61519d0395ec94fb315d2ec97adb66c37a9aa59736d968920eab7229342105846805458b8789dc84ef9ecbd40e452c02c8
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (Darwin)
|
||||
|
||||
iEYEAREIAAYFAlEEFhkACgkQX3X2B8XHTomUQQCfYa1U+XrpzDuTBoaqhWtAogy5
|
||||
IkQAni9cTo2J0EDjDiNAXmiEwLTjWbkg
|
||||
=RA38
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
--- subversion/trunk/subversion/libsvn_auth_kwallet/kwallet.cpp 2012/03/21 18:22:15 1303489
|
||||
+++ subversion/trunk/subversion/libsvn_auth_kwallet/kwallet.cpp 2012/06/03 18:54:26 1345740
|
||||
@@ -60,6 +60,9 @@
|
||||
/* KWallet simple provider, puts passwords in KWallet */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
+static int q_argc = 1;
|
||||
+static char q_argv0[] = "svn"; // Build non-const char * from string constant
|
||||
+static char *q_argv[] = { q_argv0 };
|
||||
|
||||
static const char *
|
||||
get_application_name(apr_hash_t *parameters,
|
||||
@@ -212,12 +215,11 @@
|
||||
QCoreApplication *app;
|
||||
if (! qApp)
|
||||
{
|
||||
- int argc = 1;
|
||||
- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"});
|
||||
+ int argc = q_argc;
|
||||
+ app = new QCoreApplication(argc, q_argv);
|
||||
}
|
||||
|
||||
- KCmdLineArgs::init(1,
|
||||
- (char *[1]) {(char *) "svn"},
|
||||
+ KCmdLineArgs::init(q_argc, q_argv,
|
||||
get_application_name(parameters, pool),
|
||||
"subversion",
|
||||
ki18n(get_application_name(parameters, pool)),
|
||||
@@ -289,12 +291,11 @@
|
||||
QCoreApplication *app;
|
||||
if (! qApp)
|
||||
{
|
||||
- int argc = 1;
|
||||
- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"});
|
||||
+ int argc = q_argc;
|
||||
+ app = new QCoreApplication(argc, q_argv);
|
||||
}
|
||||
|
||||
- KCmdLineArgs::init(1,
|
||||
- (char *[1]) {(char *) "svn"},
|
||||
+ KCmdLineArgs::init(q_argc, q_argv,
|
||||
get_application_name(parameters, pool),
|
||||
"subversion",
|
||||
ki18n(get_application_name(parameters, pool)),
|
||||
@ -0,0 +1,48 @@
|
||||
--- build-outputs.mk 2012-08-21 20:38:31.000000000 +0200
|
||||
+++ build-outputs.mk.new 2012-08-21 20:45:08.000000000 +0200
|
||||
@@ -825,7 +825,7 @@
|
||||
# Section 6: Install-Group build targets
|
||||
########################################
|
||||
|
||||
-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
|
||||
+apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la
|
||||
|
||||
bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
|
||||
|
||||
@@ -877,16 +877,17 @@
|
||||
|
||||
test: subversion/tests/cmdline/atomic-ra-revprop-change$(EXEEXT) subversion/tests/libsvn_subr/auth-test$(EXEEXT) subversion/tests/libsvn_subr/cache-test$(EXEEXT) subversion/tests/libsvn_subr/checksum-test$(EXEEXT) subversion/tests/libsvn_client/client-test$(EXEEXT) subversion/tests/libsvn_subr/compat-test$(EXEEXT) subversion/tests/libsvn_subr/config-test$(EXEEXT) subversion/tests/libsvn_wc/db-test$(EXEEXT) subversion/tests/libsvn_diff/diff-diff3-test$(EXEEXT) subversion/tests/libsvn_subr/dirent_uri-test$(EXEEXT) subversion/tests/libsvn_wc/entries-compat-test$(EXEEXT) subversion/tests/cmdline/entries-dump$(EXEEXT) subversion/tests/libsvn_subr/error-test$(EXEEXT) subversion/tests/libsvn_fs_fs/fs-pack-test$(EXEEXT) subversion/tests/libsvn_fs/fs-test$(EXEEXT) subversion/tests/libsvn_subr/hashdump-test$(EXEEXT) subversion/tests/libsvn_test-1.la subversion/tests/libsvn_fs/locks-test$(EXEEXT) subversion/tests/libsvn_subr/mergeinfo-test$(EXEEXT) subversion/tests/libsvn_wc/op-depth-test$(EXEEXT) subversion/tests/libsvn_subr/opt-test$(EXEEXT) subversion/tests/libsvn_diff/parse-diff-test$(EXEEXT) subversion/tests/libsvn_subr/path-test$(EXEEXT) subversion/tests/libsvn_wc/pristine-store-test$(EXEEXT) subversion/tests/libsvn_ra_local/ra-local-test$(EXEEXT) subversion/tests/libsvn_delta/random-test$(EXEEXT) subversion/tests/libsvn_repos/repos-test$(EXEEXT) subversion/tests/libsvn_subr/revision-test$(EXEEXT) subversion/tests/libsvn_subr/skel-test$(EXEEXT) subversion/tests/libsvn_subr/stream-test$(EXEEXT) subversion/tests/libsvn_subr/string-test$(EXEEXT) subversion/tests/libsvn_subr/subst_translate-test$(EXEEXT) subversion/tests/libsvn_delta/svndiff-test$(EXEEXT) subversion/tests/libsvn_subr/target-test$(EXEEXT) subversion/tests/libsvn_subr/time-test$(EXEEXT) subversion/tests/libsvn_subr/translate-test$(EXEEXT) subversion/tests/libsvn_wc/tree-conflict-data-test$(EXEEXT) subversion/tests/libsvn_subr/utf-test$(EXEEXT) subversion/tests/libsvn_delta/vdelta-test$(EXEEXT) subversion/tests/libsvn_wc/wc-incomplete-tester$(EXEEXT) subversion/tests/libsvn_wc/wc-lock-tester$(EXEEXT) subversion/tests/libsvn_delta/window-test$(EXEEXT)
|
||||
|
||||
-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnmucc/svnmucc$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
|
||||
+tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnmucc/svnmucc$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
|
||||
|
||||
|
||||
########################################
|
||||
# Section 7: Install-Group install targets
|
||||
########################################
|
||||
|
||||
-install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_authz_svn/mod_authz_svn.la
|
||||
+install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_authz_svn/mod_authz_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la
|
||||
cd subversion/mod_dav_svn ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dav_svn mod_dav_svn.la
|
||||
cd subversion/mod_authz_svn ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n authz_svn mod_authz_svn.la
|
||||
+ cd tools/server-side/mod_dontdothat ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dontdothat mod_dontdothat.la
|
||||
|
||||
install-bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
|
||||
$(MKDIR) $(DESTDIR)$(bdb_libdir)
|
||||
@@ -1036,7 +1037,7 @@
|
||||
$(MKDIR) $(DESTDIR)$(swig_rb_libdir)
|
||||
cd subversion/bindings/swig/ruby/libsvn_swig_ruby ; $(INSTALL_SWIG_RB_LIB) libsvn_swig_ruby-1.la $(DESTDIR)$(swig_rb_libdir)/libsvn_swig_ruby-1.la
|
||||
|
||||
-install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnmucc/svnmucc$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la
|
||||
+install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/client-side/svnmucc/svnmucc$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
|
||||
$(MKDIR) $(DESTDIR)$(toolsdir)
|
||||
cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT)
|
||||
cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT)
|
||||
@@ -1046,7 +1047,6 @@
|
||||
cd tools/server-side ; $(INSTALL_TOOLS) svnauthz-validate$(EXEEXT) $(DESTDIR)$(toolsdir)/svnauthz-validate$(EXEEXT)
|
||||
cd tools/client-side/svnmucc ; $(INSTALL_TOOLS) svnmucc$(EXEEXT) $(DESTDIR)$(toolsdir)/svnmucc$(EXEEXT)
|
||||
cd tools/dev/svnraisetreeconflict ; $(INSTALL_TOOLS) svnraisetreeconflict$(EXEEXT) $(DESTDIR)$(toolsdir)/svnraisetreeconflict$(EXEEXT)
|
||||
- cd tools/server-side/mod_dontdothat ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dontdothat mod_dontdothat.la
|
||||
|
||||
|
||||
########################################
|
||||
@ -0,0 +1,11 @@
|
||||
--- Makefile.in 2011-07-16 13:50:53.000000000 +0200
|
||||
+++ Makefile.in.new 2012-03-11 12:13:57.000000000 +0100
|
||||
@@ -732,7 +732,7 @@
|
||||
extraclean-swig-headers: clean-swig-headers
|
||||
$(EXTRACLEAN_SWIG_HEADERS)
|
||||
|
||||
-$(SWIG_PL_DIR)/native/Makefile.PL: $(SWIG_SRC_DIR)/perl/native/Makefile.PL.in
|
||||
+$(SWIG_PL_DIR)/native/Makefile.PL: $(SWIG_SRC_DIR)/perl/native/Makefile.PL.in libsvn_swig_perl
|
||||
./config.status subversion/bindings/swig/perl/native/Makefile.PL
|
||||
|
||||
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
|
||||
26
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/files/svnserve.initd
vendored
Normal file
26
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/files/svnserve.initd
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/files/svnserve.initd,v 1.1 2010/06/22 18:17:21 arfrever Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting svnserve"
|
||||
# Ensure that we run from a readable working dir, and that we do not
|
||||
# lock filesystems when being run from such a location.
|
||||
cd /
|
||||
start-stop-daemon --start --quiet --background --make-pidfile \
|
||||
--pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \
|
||||
--chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \
|
||||
--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping svnserve"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/svnserve.pid
|
||||
eend $?
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2004-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/files/svnserve.initd2,v 1.1 2011/08/18 09:51:23 chainsaw Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/files/svnserve.initd2,v 1.2 2012/01/14 19:46:34 tommy Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
@ -14,7 +14,7 @@ start() {
|
||||
cd /
|
||||
start-stop-daemon --start --quiet --background --make-pidfile \
|
||||
--pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \
|
||||
--user ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \
|
||||
--user ${SVNSERVE_USER:-apache} --group ${SVNSERVE_GROUP:-apache} -- \
|
||||
--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}
|
||||
eend $?
|
||||
}
|
||||
|
||||
15
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/metadata.xml
vendored
Normal file
15
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/metadata.xml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>tommy@gentoo.org</email>
|
||||
<name>Thomas Sachau</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="ctypes-python">Build and install Ctypes Python bindings</flag>
|
||||
<flag name="dso">Enable runtime module search</flag>
|
||||
<flag name="extras">Install extra scripts (examples, tools, hooks)</flag>
|
||||
<flag name="webdav-neon">Enable WebDAV support using <pkg>net-libs/neon</pkg></flag>
|
||||
<flag name="webdav-serf">Enable WebDAV support using <pkg>net-libs/serf</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@ -1,14 +1,14 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.6.17-r7.ebuild,v 1.7 2011/11/06 16:07:18 ranger Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.6.17-r7.ebuild,v 1.13 2012/08/20 20:31:05 tommy Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
|
||||
WANT_AUTOMAKE="none"
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
inherit autotools base bash-completion db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python
|
||||
inherit autotools base bash-completion db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python user
|
||||
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Subversion"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso emacs extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
|
||||
|
||||
CDEPEND=">=dev-db/sqlite-3.4
|
||||
@ -29,13 +29,13 @@ CDEPEND=">=dev-db/sqlite-3.4
|
||||
ctypes-python? ( =dev-lang/python-2* )
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||
kde? ( sys-apps/dbus x11-libs/qt-core x11-libs/qt-dbus x11-libs/qt-gui >=kde-base/kdelibs-4 )
|
||||
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( =dev-lang/python-2* )
|
||||
ruby? ( >=dev-lang/ruby-1.8.2 )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
webdav-neon? ( >=net-libs/neon-0.28 )
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0 )"
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0:0 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
@ -46,11 +46,11 @@ DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( dev-util/pkgconfig )
|
||||
gnome-keyring? ( virtual/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( dev-util/pkgconfig )
|
||||
kde? ( virtual/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
webdav-neon? ( dev-util/pkgconfig )"
|
||||
webdav-neon? ( virtual/pkgconfig )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.6.0-disable_linking_against_unneeded_libraries.patch"
|
||||
|
||||
455
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/subversion-1.7.6.ebuild
vendored
Normal file
455
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/subversion-1.7.6.ebuild
vendored
Normal file
@ -0,0 +1,455 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.6.ebuild,v 1.5 2012/10/25 17:04:23 tommy Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
|
||||
WANT_AUTOMAKE="none"
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
inherit autotools bash-completion-r1 db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python eutils
|
||||
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
SRC_URI="http://www.apache.org/dist/${PN}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Subversion GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
|
||||
|
||||
CDEPEND=">=dev-db/sqlite-3.4
|
||||
>=dev-libs/apr-1.3:1
|
||||
>=dev-libs/apr-util-1.3:1
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
berkdb? ( >=sys-libs/db-4.0.14 )
|
||||
ctypes-python? ( =dev-lang/python-2* )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( =dev-lang/python-2* )
|
||||
ruby? ( >=dev-lang/ruby-1.8.2:1.8 )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
webdav-neon? ( >=net-libs/neon-0.28 )
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
kde? ( kde-base/kwalletd )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-perl/URI )"
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( virtual/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( virtual/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
webdav-neon? ( virtual/pkgconfig )"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
|
||||
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
|
||||
| sed 's:.*b::')"
|
||||
einfo
|
||||
if [[ -z "${SVN_BDB_VERSION}" ]]; then
|
||||
if [[ -n "${apu_bdb_version}" ]]; then
|
||||
SVN_BDB_VERSION="${apu_bdb_version}"
|
||||
einfo "Matching db version to apr-util"
|
||||
else
|
||||
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||
fi
|
||||
fi
|
||||
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||
einfo
|
||||
|
||||
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||
eerror "Aborting to avoid possible run-time crashes."
|
||||
die "Berkeley DB version mismatch"
|
||||
fi
|
||||
fi
|
||||
|
||||
depend.apache_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
|
||||
if ! use webdav-neon && ! use webdav-serf; then
|
||||
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||
ewarn "access repositories through the HTTP protocol."
|
||||
ewarn "Consider enabling one of the following USE-flags:"
|
||||
ewarn " webdav-neon webdav-serf"
|
||||
echo -ne "\a"
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||
fi
|
||||
|
||||
# Allow for custom repository locations.
|
||||
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
|
||||
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-hpux-dso.patch \
|
||||
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch \
|
||||
"${FILESDIR}"/${P}-revert-mod_dontdothat-move.patch \
|
||||
"${FILESDIR}"/${P}-kwallet.patch
|
||||
|
||||
fperms +x build/transform_libtool_scripts.sh
|
||||
|
||||
sed -i \
|
||||
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||
|
||||
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
|
||||
|
||||
# this bites us in particular on Solaris
|
||||
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
|
||||
die "/bin/sh is not POSIX shell!"
|
||||
|
||||
eautoconf
|
||||
elibtoolize
|
||||
|
||||
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use python || use perl || use ruby; then
|
||||
myconf+=" --with-swig"
|
||||
else
|
||||
myconf+=" --without-swig"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
myconf+=" --without-junit"
|
||||
fi
|
||||
|
||||
if use kde || use nls; then
|
||||
myconf+=" --enable-nls"
|
||||
else
|
||||
myconf+=" --disable-nls"
|
||||
fi
|
||||
|
||||
case ${CHOST} in
|
||||
*-aix*)
|
||||
# avoid recording immediate path to sharedlibs into executables
|
||||
append-ldflags -Wl,-bnoipath
|
||||
;;
|
||||
*-interix*)
|
||||
# loader crashes on the LD_PRELOADs...
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-solaris*)
|
||||
# need -lintl to link
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
#workaround for bug 387057
|
||||
has_version =dev-vcs/subversion-1.6* && myconf+=" --disable-disallowing-of-undefined-references"
|
||||
|
||||
#force ruby-1.8 for bug 399105
|
||||
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby18 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc18 \
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_with apache2 apxs "${APXS}") \
|
||||
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||
$(use_enable dso runtime-module-search) \
|
||||
$(use_with gnome-keyring) \
|
||||
$(use_enable java javahl) \
|
||||
$(use_with java jdk "${JAVA_HOME}") \
|
||||
$(use_with kde kwallet) \
|
||||
$(use_with sasl) \
|
||||
$(use_with webdav-neon neon) \
|
||||
$(use_with webdav-serf serf "${EPREFIX}/usr") \
|
||||
${myconf} \
|
||||
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||
--disable-experimental-libtool \
|
||||
--without-jikes \
|
||||
--enable-local-library-preloading \
|
||||
--disable-mod-activation \
|
||||
--disable-neon-version-check \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake local-all || die "Building of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
python_copy_sources subversion/bindings/ctypes-python
|
||||
rm -fr subversion/bindings/ctypes-python
|
||||
ctypes_python_bindings_building() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_building
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_copy_sources subversion/bindings/swig/python
|
||||
rm -fr subversion/bindings/swig/python
|
||||
swig_python_bindings_building() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_building
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
|
||||
fi
|
||||
|
||||
if use extras; then
|
||||
emake tools || die "Building of tools failed"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
ctypes_python_bindings_installation() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake DESTDIR="${D}" install-ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
swig_python_bindings_installation() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
install-swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_clean_installation_image -q
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
|
||||
fixlocalpod
|
||||
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
|
||||
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
|
||||
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||
fi
|
||||
|
||||
# Install Apache module configuration.
|
||||
if use apache2; then
|
||||
keepdir "${APACHE_MODULES_CONFDIR}"
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}/47_mod_dav_svn.conf"
|
||||
fi
|
||||
|
||||
# Install Bash Completion, bug 43179.
|
||||
newbashcomp tools/client-side/bash_completion subversion
|
||||
rm -f tools/client-side/bash_completion
|
||||
|
||||
# Install hot backup script, bug 54304.
|
||||
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||
rm -fr tools/backup
|
||||
|
||||
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
|
||||
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||
|
||||
#adjust default user and group with disabled apache2 USE flag, bug 381385
|
||||
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
|
||||
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
|
||||
-i "${ED}"etc/init.d/svnserve || die
|
||||
use apache2 || sed -e "0,/apache/s//svn/" \
|
||||
-e "s:apache:svnusers:" \
|
||||
-i "${ED}"etc/xinetd.d/svnserve || die
|
||||
|
||||
# Install documentation.
|
||||
dodoc CHANGES COMMITTERS README
|
||||
dodoc tools/xslt/svnindex.{css,xsl}
|
||||
rm -fr tools/xslt
|
||||
|
||||
# Install extra files.
|
||||
if use extras; then
|
||||
cat << EOF > 80subversion-extras
|
||||
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
EOF
|
||||
doenvd 80subversion-extras
|
||||
|
||||
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
|
||||
|
||||
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||
rm -fr tools/client-side/svnmucc
|
||||
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||
rm -fr tools/{buildbot,dev,diff,po}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
python_convert_shebangs -r 2 tools
|
||||
doins -r tools
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
|
||||
|
||||
cd "${ED}"usr/share/locale
|
||||
for i in * ; do
|
||||
[[ $i == *$LINGUAS* ]] || { rm -r $i || die ; }
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Compare versions of Berkeley DB, bug 122877.
|
||||
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
|
||||
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
|
||||
CHANGED_BDB_VERSION="1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use perl && perl-module_pkg_postinst
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_optimize csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_optimize libsvn svn
|
||||
fi
|
||||
|
||||
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
|
||||
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
|
||||
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use perl && perl-module_pkg_postrm
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_cleanup csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_cleanup libsvn svn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
|
||||
# already has EPREFIX in it
|
||||
einfo "Initializing the database in ${SVN_REPOS_LOC}..."
|
||||
if [[ -e "${SVN_REPOS_LOC}/repos" ]]; then
|
||||
echo "A Subversion repository already exists and I will not overwrite it."
|
||||
echo "Delete \"${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||
else
|
||||
mkdir -p "${SVN_REPOS_LOC}/conf"
|
||||
|
||||
einfo "Populating repository directory..."
|
||||
# Create initial repository.
|
||||
"${EROOT}usr/bin/svnadmin" create "${SVN_REPOS_LOC}/repos"
|
||||
|
||||
einfo "Setting repository permissions..."
|
||||
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||
if use apache2; then
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||
else
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||
fi
|
||||
chmod -Rf go-rwx "${SVN_REPOS_LOC}/conf"
|
||||
chmod -Rf o-rwx "${SVN_REPOS_LOC}/repos"
|
||||
echo "Please create \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Afterwards please create \"${SVNSERVE_USER}\" user with homedir \"${SVN_REPOS_LOC}\""
|
||||
echo "and as part of the \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Finally, execute \"chown -Rf ${SVNSERVE_USER}:${SVNSERVE_GROUP} ${SVN_REPOS_LOC}/repos\""
|
||||
echo "to finish the configuration."
|
||||
fi
|
||||
}
|
||||
467
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/subversion-1.7.7.ebuild
vendored
Normal file
467
sdk_container/src/third_party/portage-stable/dev-vcs/subversion/subversion-1.7.7.ebuild
vendored
Normal file
@ -0,0 +1,467 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.7.ebuild,v 1.12 2013/01/26 17:44:46 grobian Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
|
||||
WANT_AUTOMAKE="none"
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
inherit autotools bash-completion-r1 db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python eutils
|
||||
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
SRC_URI="mirror://apache/${PN}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Subversion GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
|
||||
|
||||
CDEPEND=">=dev-db/sqlite-3.4
|
||||
>=dev-libs/apr-1.3:1
|
||||
>=dev-libs/apr-util-1.3:1
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
berkdb? ( >=sys-libs/db-4.0.14 )
|
||||
ctypes-python? ( =dev-lang/python-2* )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( =dev-lang/python-2* )
|
||||
ruby? ( >=dev-lang/ruby-1.8.2:1.8 )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
webdav-neon? ( >=net-libs/neon-0.28 )
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
kde? ( kde-base/kwalletd )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-perl/URI )"
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( virtual/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( virtual/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
webdav-neon? ( virtual/pkgconfig )"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
|
||||
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
|
||||
| sed 's:.*b::')"
|
||||
einfo
|
||||
if [[ -z "${SVN_BDB_VERSION}" ]]; then
|
||||
if [[ -n "${apu_bdb_version}" ]]; then
|
||||
SVN_BDB_VERSION="${apu_bdb_version}"
|
||||
einfo "Matching db version to apr-util"
|
||||
else
|
||||
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||
fi
|
||||
fi
|
||||
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||
einfo
|
||||
|
||||
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||
eerror "Aborting to avoid possible run-time crashes."
|
||||
die "Berkeley DB version mismatch"
|
||||
fi
|
||||
fi
|
||||
|
||||
depend.apache_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
|
||||
if ! use webdav-neon && ! use webdav-serf; then
|
||||
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||
ewarn "access repositories through the HTTP protocol."
|
||||
ewarn "Consider enabling one of the following USE-flags:"
|
||||
ewarn " webdav-neon webdav-serf"
|
||||
echo -ne "\a"
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||
fi
|
||||
|
||||
# Allow for custom repository locations.
|
||||
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
|
||||
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-hpux-dso.patch \
|
||||
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch \
|
||||
"${FILESDIR}"/${PN}-1.7.6-kwallet.patch
|
||||
|
||||
fperms +x build/transform_libtool_scripts.sh
|
||||
|
||||
sed -i \
|
||||
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||
|
||||
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
|
||||
|
||||
# this bites us in particular on Solaris
|
||||
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
|
||||
die "/bin/sh is not POSIX shell!"
|
||||
|
||||
eautoconf
|
||||
elibtoolize
|
||||
|
||||
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use python || use perl || use ruby; then
|
||||
myconf+=" --with-swig"
|
||||
else
|
||||
myconf+=" --without-swig"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
myconf+=" --without-junit"
|
||||
fi
|
||||
|
||||
if use kde || use nls; then
|
||||
myconf+=" --enable-nls"
|
||||
else
|
||||
myconf+=" --disable-nls"
|
||||
fi
|
||||
|
||||
case ${CHOST} in
|
||||
*-aix*)
|
||||
# avoid recording immediate path to sharedlibs into executables
|
||||
append-ldflags -Wl,-bnoipath
|
||||
;;
|
||||
*-interix*)
|
||||
# loader crashes on the LD_PRELOADs...
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-solaris*)
|
||||
# need -lintl to link
|
||||
use nls && append-libs intl
|
||||
# this breaks installation, on x64 echo replacement is 32-bits
|
||||
myconf+=" --disable-local-library-preloading"
|
||||
;;
|
||||
*-mint*)
|
||||
myconf+=" --enable-all-static --disable-local-library-preloading"
|
||||
;;
|
||||
*)
|
||||
# inject LD_PRELOAD entries for easy in-tree development
|
||||
myconf+=" --enable-local-library-preloading"
|
||||
;;
|
||||
esac
|
||||
|
||||
#workaround for bug 387057
|
||||
has_version =dev-vcs/subversion-1.6* && myconf+=" --disable-disallowing-of-undefined-references"
|
||||
|
||||
#version 1.7.7 again tries to link against the older installed version and fails, when trying to
|
||||
#compile for x86 on amd64, so workaround this issue again
|
||||
#check newer versions, if this is still/again needed
|
||||
myconf+=" --disable-disallowing-of-undefined-references"
|
||||
|
||||
#force ruby-1.8 for bug 399105
|
||||
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby18 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc18 \
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_with apache2 apxs "${APXS}") \
|
||||
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||
$(use_enable dso runtime-module-search) \
|
||||
$(use_with gnome-keyring) \
|
||||
$(use_enable java javahl) \
|
||||
$(use_with java jdk "${JAVA_HOME}") \
|
||||
$(use_with kde kwallet) \
|
||||
$(use_with sasl) \
|
||||
$(use_with webdav-neon neon) \
|
||||
$(use_with webdav-serf serf "${EPREFIX}/usr") \
|
||||
${myconf} \
|
||||
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||
--disable-experimental-libtool \
|
||||
--without-jikes \
|
||||
--disable-mod-activation \
|
||||
--disable-neon-version-check \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake local-all || die "Building of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
python_copy_sources subversion/bindings/ctypes-python
|
||||
rm -fr subversion/bindings/ctypes-python
|
||||
ctypes_python_bindings_building() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_building
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_copy_sources subversion/bindings/swig/python
|
||||
rm -fr subversion/bindings/swig/python
|
||||
swig_python_bindings_building() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_building
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
|
||||
fi
|
||||
|
||||
if use extras; then
|
||||
emake tools || die "Building of tools failed"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
ctypes_python_bindings_installation() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake DESTDIR="${D}" install-ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
swig_python_bindings_installation() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
install-swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_clean_installation_image -q
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
|
||||
fixlocalpod
|
||||
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
|
||||
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
|
||||
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||
fi
|
||||
|
||||
# Install Apache module configuration.
|
||||
if use apache2; then
|
||||
keepdir "${APACHE_MODULES_CONFDIR}"
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}/47_mod_dav_svn.conf"
|
||||
fi
|
||||
|
||||
# Install Bash Completion, bug 43179.
|
||||
newbashcomp tools/client-side/bash_completion subversion
|
||||
rm -f tools/client-side/bash_completion
|
||||
|
||||
# Install hot backup script, bug 54304.
|
||||
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||
rm -fr tools/backup
|
||||
|
||||
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
|
||||
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||
|
||||
#adjust default user and group with disabled apache2 USE flag, bug 381385
|
||||
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
|
||||
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
|
||||
-i "${ED}"etc/init.d/svnserve || die
|
||||
use apache2 || sed -e "0,/apache/s//svn/" \
|
||||
-e "s:apache:svnusers:" \
|
||||
-i "${ED}"etc/xinetd.d/svnserve || die
|
||||
|
||||
# Install documentation.
|
||||
dodoc CHANGES COMMITTERS README
|
||||
dodoc tools/xslt/svnindex.{css,xsl}
|
||||
rm -fr tools/xslt
|
||||
|
||||
# Install extra files.
|
||||
if use extras; then
|
||||
cat << EOF > 80subversion-extras
|
||||
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
EOF
|
||||
doenvd 80subversion-extras
|
||||
|
||||
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
|
||||
|
||||
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||
rm -fr tools/client-side/svnmucc
|
||||
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||
rm -fr tools/{buildbot,dev,diff,po}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
python_convert_shebangs -r 2 tools
|
||||
doins -r tools
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
|
||||
|
||||
cd "${ED}"usr/share/locale
|
||||
for i in * ; do
|
||||
[[ $i == *$LINGUAS* ]] || { rm -r $i || die ; }
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Compare versions of Berkeley DB, bug 122877.
|
||||
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
|
||||
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
|
||||
CHANGED_BDB_VERSION="1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use perl && perl-module_pkg_postinst
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_optimize csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_optimize libsvn svn
|
||||
fi
|
||||
|
||||
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
|
||||
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
|
||||
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use perl && perl-module_pkg_postrm
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_cleanup csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_cleanup libsvn svn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
|
||||
# already has EPREFIX in it
|
||||
einfo "Initializing the database in ${SVN_REPOS_LOC}..."
|
||||
if [[ -e "${SVN_REPOS_LOC}/repos" ]]; then
|
||||
echo "A Subversion repository already exists and I will not overwrite it."
|
||||
echo "Delete \"${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||
else
|
||||
mkdir -p "${SVN_REPOS_LOC}/conf"
|
||||
|
||||
einfo "Populating repository directory..."
|
||||
# Create initial repository.
|
||||
"${EROOT}usr/bin/svnadmin" create "${SVN_REPOS_LOC}/repos"
|
||||
|
||||
einfo "Setting repository permissions..."
|
||||
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||
if use apache2; then
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||
else
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||
fi
|
||||
chmod -Rf go-rwx "${SVN_REPOS_LOC}/conf"
|
||||
chmod -Rf o-rwx "${SVN_REPOS_LOC}/repos"
|
||||
echo "Please create \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Afterwards please create \"${SVNSERVE_USER}\" user with homedir \"${SVN_REPOS_LOC}\""
|
||||
echo "and as part of the \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||
echo "Finally, execute \"chown -Rf ${SVNSERVE_USER}:${SVNSERVE_GROUP} ${SVN_REPOS_LOC}/repos\""
|
||||
echo "to finish the configuration."
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user