parent
1a0af72363
commit
e269ac1c15
@ -1,4 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST ec2-ami-tools-1.4.0.5.zip 139373 SHA256 e5a8f49826c85c9df2421e36d618fb9bc1951bb0eeb45680c4379a0362c50d6e SHA512 e9754b26b61e168760002ac3c15d83c8d9f702e478c2295df42ae9e08e7d1788c73b60f7292867d8df553225a82e70ac335419dbcc226e3f0e251f1950a66621 WHIRLPOOL c71b102824595ceeeee693ad5cfca5dd7120510b2f4165fd7010f9cf9de3d4bcb5242166ee58b8295f4ff7f2a1dccaa834bb277ccf325928ede9307bd18da980
|
||||
DIST ec2-ami-tools-1.5.6.zip 156541 SHA256 7aa6f2e581d52febf8850b3657a2f01c2f0180d91d33bdb1c246d485c1194708 SHA512 77ce82acbccf32bb1b900ef0b8c7440d4fc05e9b883081432935c6fef94b1f27191a0147e73c9eec680eca94c62075ab81bb8b0c33bec56bb2b861876de0129d WHIRLPOOL 1c7d20edde821e307eb8190413658e48d49a9c17d73b6c67a93b89f6b22512b1149c524d0a8111c5e6d36ca26465ae4a7f44cf4adf523318692dbef9213ce1ac
|
||||
EBUILD ec2-ami-tools-1.4.0.5-r3.ebuild 1502 SHA256 684cb10bb3d6e7644812d7d2594362d59e066ef327504ac1a9acfaff83b5f1da SHA512 e49481794c4022d574ba81bf54111dbef2e45aebc26b312c0a919e70e2e20b7e6653e4c479ce376f42183a46938b9fbb39fa5218321943a3f51c139e930df5b7 WHIRLPOOL 1f0f6617e21914b6d4ec7e79c87371e1c9d2488175fe0442058915acf34705ca86700848056aacb4ce2ccb4426f59c47f15bf68a3daec9f0dc17e19568d2a6f0
|
||||
MISC ChangeLog 3961 SHA256 570271216b1bfda2999176cd2b5d83fa82d000a76de3d8ed1885265c3a66b0af SHA512 54b33d453e2040e0951a247fc0483e6f8054acd8b050557bc092ac81e6c8d7cb43404d3a8e9fa2b2c66aa4faf00a86871d648bbc36483c315dabf64b314348b6 WHIRLPOOL 9467f02e672e2bde97d866f070d84db47fa1f98c62d8c921e18827c1bb54ef7e30844f69b1d18a91322272b027d5f0f6876f87d18b4a39078e7bbdb1c4289b16
|
||||
EBUILD ec2-ami-tools-1.5.6.ebuild 1498 SHA256 02222e30656dc4f32e81c319adfc23dd95cf56abd4d44b9ec096ab980ea1798d SHA512 0421f4b270cc56e398bd07341cc1ba853c9ac19d2479aa21014f60525b8a31c9d954dccfe9a54638d59fbf11c54e6c61963149bc0712be763021b4b6e5387aed WHIRLPOOL 59949c7496b24a38b3a3b68338831580b9858adbacbc03a493dcee520c16705605eaf8d9f021227fed3c36383ae73de50b8578682b55f0d50175e0d17333b2f3
|
||||
MISC ChangeLog 4172 SHA256 02b3de152cfd1e791de422abc914ee66e366ad1f8f488b5dbb7ff70119cafae8 SHA512 c8aa37175b6b910dd65d114103041ec907be6742c111af812efed4550ea119c4ffc0d2382e5dc74e6a836570eda8c85b8153c803da338aa66ea5bb0581ba0a39 WHIRLPOOL e1534feef8de431bfac294cd44cceadf04b7508c6d0aa1e087f77537d34a7780360d22f9311d7de169a8c084c7edffdef7a9a1f3606ed3037b980887cfe90a64
|
||||
MISC metadata.xml 349 SHA256 f94624e0a3380efe18d74c69d54f76054e1e54b911052cd9012849cfe17340fe SHA512 c2dced90461ef57100d2b0c057207457ca76291d2c0cd091b9167c0b050e123179f42335eedb013b37b95ae6f23c931c5bf2cc6895cd70252dac9e4d5947d056 WHIRLPOOL 50a39dc046923e6ce9ac7da7936b9aeab414b7b8d0835d0a230b15e841a4ac3e937162cf04813ae640170112ae4a8961aaf840baeda77f1f224b481f7a96f21b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJVDy37AAoJEJOE+m71LUu6nD8P/3jQ/w+HOxh2Ul+aetIPfuBI
|
||||
pYqU3G3xF8p8gJyRGt6CZcbPPOD/rq6/m66Hq+7wtTeZKlOD2SSr8EDGqKzKvzeY
|
||||
pkBctaJu00P2tJt5TO4vEPrWmq0djhBazQvs/HK0F3psRaixzXsC2UxIuiQQWFPx
|
||||
tMew1Nw6nyBtT3qjnrpYAM6zwrYLRbcLWQ3j7OF7+mUy6MZrQ+4foBjUhQHWn4o/
|
||||
wK1noo2XSBa+wviW9u2GytSWEjQN6KQ/bGkKF7PgbAZlWYMB8Pohzifoob+k4A1C
|
||||
wlxx4GDZPjfAuRp1Go9GhApotydzSp1h9Qs3IED157qUprj/dnPI9gzeVugW9slH
|
||||
9oXQxTLV9n7j6GL+FSOFDoU2mLgFBkMdqx0Twa/9pFrh4SciW/DMbNH5dK7UygSi
|
||||
lQ8RrtgtAYoMlqH3SWuIpRbp7jeaYPBKtAron7zHRoCb7eywWeqXAsbFYUg4BgdS
|
||||
VLHNIpIVfsP/8eOVd7Gaon/LzdjFzLfSFaUER10wOMw0SCMC3R1xMfwcgEeo1GDk
|
||||
a6A/kFLoJi+nxYOOmD3VKRSrZHSPT4fJRjDuQQ6uOdDQGetvUUyXTtrP33J0hiaZ
|
||||
8Kx01eb3qjoEUEN4QToGmDpXGN8JjxLdKec6SXC0vpzvWhULcDBnoQRkVMDzgM7g
|
||||
Oe9XYPdwvHGr4dpd/srp
|
||||
=yI1r
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild,v 1.1 2015/03/22 21:01:29 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service"
|
||||
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88"
|
||||
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${P}.zip"
|
||||
|
||||
LICENSE="Amazon
|
||||
|| ( Ruby GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_slot="2.0"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="dev-lang/ruby:${ruby_slot}[ssl]
|
||||
net-misc/rsync
|
||||
net-misc/curl"
|
||||
|
||||
src_prepare() {
|
||||
# Simplify the scripts to always run Ruby 20, since Gentoo supports
|
||||
# alternative implementations as well it is not guaranteed that ruby is ruby19.
|
||||
sed -i -e "\$s:^ruby:exec ruby${ruby_slot/./}:" bin/* || die 'Sed failed.'
|
||||
|
||||
# Remove a left behind license file.
|
||||
rm lib/ec2/oem/LICENSE.txt || die 'Removal of LICENSE failed.'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
|
||||
insinto /usr
|
||||
doins -r lib
|
||||
|
||||
insinto /etc/ec2/amitools
|
||||
doins etc/ec2/amitools/*
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "EC2_AMITOOL_HOME=/usr" >> "${T}"/99${PN} || die "Can't write environment variable."
|
||||
doenvd "${T}"/99${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Remember to run \`env-update && source /etc/profile\` if you plan"
|
||||
ewarn "to use these tools in a shell before logging out (or restarting"
|
||||
ewarn "your login manager)."
|
||||
}
|
@ -1,14 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST restart_services-0.10.0.tgz 19786 SHA256 207a0861084b0e18dd1098f46b2fa502d2fc6cd08048cf6e490d8b62efadfcbc SHA512 dcd171bc584998b36316229e426f142a9cd93c42310e8d58e0b1d3561b2b09ce817b22703dd8aba3f8dcea7ebf1a469c26a80582fc7579d73eff0c5e5104fb34 WHIRLPOOL 24b1c036f55b6bd1807a135f21dce1cdb8b4a2189913f00b060b05dc3ef57051d333a1b51274f3b7f0fc19e0871b0f900354aa385d3e79b099b243f98951dd61
|
||||
EBUILD restart_services-0.10.0.ebuild 711 SHA256 12c174cb80a56b3c7e0b36d25001d72b92ad43a389beed6ebd78ac32f4732a16 SHA512 fe094076fe7cdfac31ec7e6aa4e611e9dd88b409a7064a1635fe2644fd32d5ab84f3a2d561a37a72ed6ce231c235b467723af62d4829bca9ebe469c90229a36d WHIRLPOOL ef2446f43f2d3bfd37d3a47b529285d56771053d35eac7e9b171991852ef641208d43e117e792a061217432825169efa105976b3927620a61ab4194e79bc1198
|
||||
MISC ChangeLog 931 SHA256 906ad971efbf42f61a8f87589e7c5bd18101d3b9715cd41665b2fc1d71eb447b SHA512 0a627cefb64ab1511cb41e7b63609ba603b7c8490127fca496cf03b7aa21af246108d4eb674ff0cc8a53753ddb6b8307b2fab257fafd33c95b3e9f6cbda98b51 WHIRLPOOL 3f7028519a476f8d96996a4231be0b5213f6eb15f3fadf31dc71259adc0b65d4d0e72c981410d65bd7815571097646c42479e12f137e963fdad02d380a7b6dc3
|
||||
EBUILD restart_services-0.10.0.ebuild 690 SHA256 bf9df462384ad9eeb03c097d772bee808dce88445fd376bb560ce1c8afcf2269 SHA512 082c0e3e380dfd384133c563194b6bc39f880275eb50707924387e4ba1f194eb5a5033ecd9fce1dfed52d2dc1fe53325f9a09d7036e1e991b285863eaa2b4dfb WHIRLPOOL addf2cfe8f8d3dc14bd25bb772c0ca84cd713dc4de14612fe73e483010a8fa907453d663d8d3f14d5ebda2319db7f2286d452ea959131d8dde43325fa1716d4e
|
||||
MISC ChangeLog 1060 SHA256 a5dd133314347b2089312adc8b986233c37c7f174c4a58fe5ed8bf53b270b0c0 SHA512 12d61752e903b64b4cd100fce3a6d2899bbac12fbb1932729d27d98ec3979dd4ead32d15a8d9b25eda0f77297a6d4e24cee683f000f6b7f5038b3d6aa1a74c47 WHIRLPOOL 9778188b50faada8d6375dbd695112b7e2a16d996102cc30f1271354c42fd85a257638f3a4ba414617e99dd353fb85d9eb9e89302498a7e8d96867c6633c4d70
|
||||
MISC metadata.xml 236 SHA256 f55443c9b3d97fcc9437b9aeba1b3beae39e38599620bd520d0693bb8948b531 SHA512 842ec0962624e280c2c3909e6da541cdaf35532f0f00d76cc9ca0e03dfb8c3dc83a426ae370bc37d73d0c4b1fdd4983171a0586220546b967afe3a3f5dd78ce4 WHIRLPOOL 8ee0a6397a1bae24973eba9b31e1ac64bac9726ca45e5f2127a3ffc991627479030060c605c7cf0957891c184f5e5d01fb2387f94c3a68693c988e4a180c7260
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iD8DBQFVANzcKWxsyjWmQTQRCPumAJ0ToG9A5DyFkAo0nFL3H4UCdHF/8QCfaWMs
|
||||
W3IJXC4DOwQtxQ+/qQICUkg=
|
||||
=OFcj
|
||||
iQJ8BAEBCgBmBQJVDd1GXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirXXcQAJToe6Nt7jnHjherkjgNroBO
|
||||
5mvLGwYXBfY6wkV1XalLq11BzbDoNIRnOewEaduDE0CxkTsftlSybF6d/I2lIru7
|
||||
V4Vjw1it6YS0+FZckfBvWz0dO/OP0LpAsspuXX42VdlJMMHpwzQvxmqAXesCo1aj
|
||||
NMpTs2DVEx5AVcpl++QAm7aFI+3ja66nMvtkMgB7mOcci8gTGg8bgtHnmHT9uWrD
|
||||
eYBDiRozSyxP6wLA69ynay9wb6wCe5zzo82HHKOjmg6M87G5cjfHsSTUgPFP3e+S
|
||||
CVVVGOUjNeycDOAJnZjNLENJbzGZLiXHAky6WWsL7P7eTwMqklMsGlZQl8yNC4oi
|
||||
eYOmz8L+0YNjgBmM1oWGukss/gT7H/528I+BxYiHkejNGfOyYz7aMOflXu/TqnDm
|
||||
LLadtK4tUEkVsGhfktddEdFPfZvuKf/oEl/UPJkOe6sN0jdjdD2WtLYAWeoJO1PF
|
||||
AcYV7Q3K3/zPP/s2rWsIlrvCSctaMUTfIZ6E0YTGprUrVNYduSnOAvAJwvhe5tL5
|
||||
4/BaL/fVDrdeT7LJxhxlTqKCN3viEcR/tSdm/84hkZByq6XYqR7K7fhAg8PjBCym
|
||||
9zIUiyulXxhCYDznHyqRo9Mcw0Fw5rLgECiT567DmM89+Qwx/FDt1RHJxP6aSskr
|
||||
W5c4MHxlLaRi76OkwfJZ
|
||||
=XHx6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,17 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX obnam-1.9-setup-man.diff 414 SHA256 71c1f842d2f90c309ea924a49ba3c173340693bfad7717241f9d99bdc7f3a6f3 SHA512 4cd7eda9d34a81d7344fa90d967b7f8914a53ddd682e9b49fe262693a2e2fae11846c3bcc1495b4d3fecf991f7385f00f295383726c49712ad78397e7c533b2d WHIRLPOOL f7ab9203f3c2e0f6f23c3462104d32dd70ed1a5d3992b939f44813f71ae1f0c10ef9fc474cd0651868729403e57299f06c630e1317c2d8e55b3ee819f01c6be5
|
||||
AUX obnam.conf 2366 SHA256 2a609d1243d5ea3e063a413e78421ede02eda5cbbfd984c211f78ff0239cb5bb SHA512 7fdeb7c51e3ee80c60cf857117ad9571f38a4657fb8e3f95767e6fa0d0eae9b31cd54d5e2e8aa93e1e5255bd2c116c462594b5cd01f0efc0059d2d9ee07efc1c WHIRLPOOL 9766794181bed1e6aef1b15b5be69412dada2d075292c177a4edfa550d29612b8291e2f1b6170ee1d61c735d217ef8d94d3a2fb5b78271f1212e186af1b622de
|
||||
DIST obnam-1.9.tar.gz 340103 SHA256 7e0182efb16597d63916d052ac36546e7c597ee75ba40ae23b2dc9afbb959f82 SHA512 f170a4223b84d2b26617c412524e9ec6efcf3b7bb7bb1a4bfc7333c138e9b9066658c54da9aa8c41b4ea3c3335da3bcd1c26b911b2cce7eb98eabf52d72af67f WHIRLPOOL 73b72c8fe7bbf2958714ef05dba518839471aea91aa02d60f8015481c30440de985f2db0a610bcf08d29eaa86e074cf7b39e975c3847cb1e78c0adf27d793b31
|
||||
DIST obnam_1.7.4.orig.tar.gz 264769 SHA256 9c3ca22f08a3639ec2d5a2cd6291c4c6ac6ec31cdb63c9bd22b379c3cf0af4d4 SHA512 b08bc5256dc5d2fe61920db1dc210e78a46c4baa0ac0ccb3931a15118f147820ed782607af790c7053dcc6a5cbe6f8338b952ee41fe6382fe6429bfe22963717 WHIRLPOOL 65d0f9e539ad208b68e155cd552b4ba8a1f89bd06c10c1fd32caf896082cc0ab781d4200308afd55c38d88dbf45325ec1a710ab07fb7de01e0295d9886fc2d46
|
||||
DIST obnam_1.8.orig.tar.gz 287488 SHA256 f70469c29e3d16c7080dffb433c8027ea5f2fb8f0112cd7b32b83958ccf72005 SHA512 02752227eda5d73e5ad292ea2347e5c7cf1a86b7a6c08cc9f3471a3d50f2c2b181fdb326aa0bf55d920a6c5a653aa9e4a7601b895774de33dd950dec767ee9fb WHIRLPOOL aabf7e5f9eeb9467e4daecf2d7ea81abd1bf35cfd38b195f600d93da3dcd0a72c3efff48108b512b0867a21725db153752627029a9c7eb7041882408ebc8c9d8
|
||||
EBUILD obnam-1.7.4.ebuild 1292 SHA256 8ad0915fb4b00479d85927cc42d6290a3b1a82b35233e694a3f2b2858ab6c408 SHA512 02573b53cd73a0a569b8ba3040a9b884b67fb514bcec269bcbceeb64e6f30f95fca56b10b1e9dbea06546318c05e2adb6e7cfa49591327f00c7866e35044f3f1 WHIRLPOOL 0ca0a3ba46d3ebd2db129a7be57a36872959d081c84389afc44990281e2b043f5c414c0289bff137351152442427fd6391a6bb75679637f447c78fa5c23bcc10
|
||||
EBUILD obnam-1.8-r1.ebuild 1357 SHA256 83ed2d8b6e745c7d6386ce6e21a3bbc5fd67e7fc8dc8770e42ff9a48bf83a62f SHA512 c8630cd1833dda6e29a16eda19d8dc0e099349dc6d3abca2f5b3c20db812339ec03e20784f94de6e81e42b94f5790e7cea4db53e3edc6f137736e04883f9ba8f WHIRLPOOL 6b26ccaa38672712b92f2b62340ecb692c97fa52d99029c1bdaccfd92417aa9e251e5b1b186ccad4b775cceeed978e53ae874478b56b327426a5648b264b83de
|
||||
MISC ChangeLog 4223 SHA256 13d8111b2b5f455a17ac0f73a37e689d3ef9d43207a4635b01d0cd97dfcae0f2 SHA512 9f9ac1e52f94a80558db077dcae902d2f3577449cf3266f68d09458e6669c2f8c168f4ddacf510c9d3a2bde34250d9d0bfae58b0d622f40d5a7b54fca6d8fe21 WHIRLPOOL 1efff95dd95405a3491d8f8113832d73ded2af79a85e37d982c39a401008fa91d3eb74c692c15ec3039076d40d32b750af7ef3f538e0f1f2fe5f8dff37eadf96
|
||||
EBUILD obnam-1.9.ebuild 1370 SHA256 b7dd5efd272947616d49fd8ced03d8407e4cebc6f180a2746698e1b95f7bf378 SHA512 3f092edfa73089a8e298b632e815cbf56bed68f4bc71e5b9d64aaf7cb9d715fa338b09cdebb9d22e2a0d63ea564e89a3238b723f46a093da46e99ac869f17361 WHIRLPOOL dad107c313e69163f82d9d1ad83b0a570ee02e91c88f3e760002f4cdd07715445408e8c4ef4044208842f3d9f14de761e65f74d807cc9a740e313c9a8b41f1be
|
||||
MISC ChangeLog 4372 SHA256 2df483f9e638a69720c064b311c2900ff55c43eec95d1ccaee5d3bdb248e0294 SHA512 842617084cc6fd168896c33ecfaa646c567d9374d3e2df497d27f3140f52d928b8709192d13be08f170667646ff5799e0095dbd3cfb42659cbaac51a17f682e9 WHIRLPOOL e9537afea1bb2086b4a64c293442bd094469554de4fd9e636c6e5f58a508b1b68933d52b0ffaf1fe771d2e741308ab79aa7e8dcff0055f61b3a29d240a7bcd7f
|
||||
MISC metadata.xml 236 SHA256 f55443c9b3d97fcc9437b9aeba1b3beae39e38599620bd520d0693bb8948b531 SHA512 842ec0962624e280c2c3909e6da541cdaf35532f0f00d76cc9ca0e03dfb8c3dc83a426ae370bc37d73d0c4b1fdd4983171a0586220546b967afe3a3f5dd78ce4 WHIRLPOOL 8ee0a6397a1bae24973eba9b31e1ac64bac9726ca45e5f2127a3ffc991627479030060c605c7cf0957891c184f5e5d01fb2387f94c3a68693c988e4a180c7260
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iF4EAREIAAYFAlSgSjsACgkQC77qH+pIQ6SwrQD/VJF04wW3k6IqLuHxs3Cw1siF
|
||||
RVVRhL40xMm1wHp7mMQA+wTxZcKCd8VJ/A4oBEA9qzt7/pEKWsUWnrwjjJ6vdWUg
|
||||
=K07Y
|
||||
iD8DBQFVD1buKWxsyjWmQTQRCHznAJ0b4Ka9/WhCqIOey2jQ3pb13U75qQCfeWXr
|
||||
fP+mnDdS+Bt5M9hiSxgsrrI=
|
||||
=g+9O
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2015-03-23 00:11:50.833110091 +0100
|
||||
+++ setup.py 2015-03-23 00:12:19.892915511 +0100
|
||||
@@ -78,7 +78,7 @@
|
||||
env['MANWIDTH'] = '80'
|
||||
with open('%s.1.txt' % program, 'w') as f:
|
||||
cliapp.runcmd(
|
||||
- ['man', '-l', '%s.1' % program],
|
||||
+ ['man', './%s.1' % program],
|
||||
['col', '-b'],
|
||||
stdout=f,
|
||||
env=env)
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.9.ebuild,v 1.1 2015/03/22 23:57:28 mschiff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="A backup program that supports encryption and deduplication"
|
||||
HOMEPAGE="http://obnam.org/"
|
||||
SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/cliapp
|
||||
dev-python/fuse-python
|
||||
dev-python/larch
|
||||
!=dev-python/paramiko-1.13.0
|
||||
|| ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
|
||||
dev-python/tracing
|
||||
dev-python/ttystatus
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( ${FILESDIR}/${P}-setup-man.diff )
|
||||
|
||||
src_compile() {
|
||||
addwrite /proc/self/comm
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
find "${D}" -name "obnam-viewprof*" -delete
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/obnam.conf
|
||||
keepdir /var/log/obnam
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $REPLACING_VERSIONS < "1.2" ]]; then
|
||||
elog "You will need to setup a config file before running obnam for the first time."
|
||||
elog "For details, please see the obnam(1) manual page."
|
||||
elog "An example file has been installed as /etc/obnam.conf for your convenience."
|
||||
fi
|
||||
}
|
@ -1,31 +1,32 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX spideroak-bin-5.0.1-headless.patch 462 SHA256 c7f8ef0ff49cdc3381c72f23da9e64c4982c3b30db2bdf9d676531738979f28c SHA512 0bc91900322fb11864a233a601a8e513f41edc570c86b5cdc3a278f543ea823b789a7db115a968e63d99c4f7e6f4b795d107c1c076663a34648af75bc2fd0879 WHIRLPOOL afad68a97589d1195febc4aac6a105e7eaf432fab64b057c3689be0456d8dcd8634f2967f476608aeac131e5b30c54b058ae16b3d3cc29f5ae85c4c08abbde8e
|
||||
DIST spideroak-bin-5.0.3_amd64.deb 25230410 SHA256 c83cafcb4d65192d30b8bb99ba1bc53a359a869bcf7bf93cf9edabe806b12947 SHA512 f2a5a943ff2221bafd14d3696302890dbbea2da97fb704e44a94e7ec77b9e0958bf604416e5036e2605b8957353a070e0a317e03ab6ac6220f911e9057026321 WHIRLPOOL 1a5eb5c911eb0c2ecdf051d49f7dfab8e1cbb3f8cce8eaa68cf3306f1d6608137d3c3f27f123101daf5544645a7adfa29f36c8986e820582a296b09e8ca388b0
|
||||
DIST spideroak-bin-5.0.3_x86.deb 24913558 SHA256 6a09cc9b448b8fe808ac0ed0007849c56933ddf91a8d6183348d9204d40db609 SHA512 dd408161f4e3776b2d0ade2582255e3d26b8ba24e1474ba413aa38274a2a9c9d0a418eba9b07c4c4e7dbb20170a712bdc9b8248ebcc2239695effa87ac1bd872 WHIRLPOOL 57de0c3b52db03f7d6d198353639cc02702ea36e6825c58a2266444386bc37d842f91796d3ee00f4977a7550bd458b39e4973d80eb64b4ecd74eb2dd5c10f4e8
|
||||
DIST spideroak-bin-5.1.10_amd64.deb 20095946 SHA256 88e80b19a4d6265673f565f82bd535549846deb663d641c77074f20f48c9cad1 SHA512 e605219bb055989b4e6a118e9617c6717329b7d3f7e009a6b84cc8dc9b329130b615d1a46e346f661ba39b52ace0eb77f8b61ac13fa3b030cc6163e698151c27 WHIRLPOOL 7155a35bf98eef7f70e2b97225cb4c466621b89c87b243db185bb2d9b501b3cf924c019c3229e1bf33cb8a9c1961f866241cd6745fe83588dbd1fd480640e9d1
|
||||
DIST spideroak-bin-5.1.10_x86.deb 19453796 SHA256 6f486db4b9ee8297a46d64041aa20430e5d8a02219ab1527d569342fb0c4b7d6 SHA512 d7b2cb4fdccee60cd542871746c8d03a19d805cea532556a8fc66635a4a6cf5c6e0196b5e966d7a2952079912e27bbaf5b4c986780ae6448eced16d3e59c956a WHIRLPOOL a4e184707e891927ddebc607c4f0de27c8acecfff6b8fafa88a03b48ae348f4b505b8a6c12d507a060090a29808271439da1ee7bec5b26d32c3cbc2ca43a01d2
|
||||
DIST spideroak-bin-5.1.8_amd64.deb 20000116 SHA256 b91f3077c2238bbb1123361afc597682a9c224b9ce22422a253fe5212851cfcf SHA512 357e8a45175fd9c92cec733f456452d0e0cd7f369df66a4692d1a9b2c471b4f62c7ee9b72073fc4af5596fa18cf121c690ec960f07f686a78bc7ca4fb76838ca WHIRLPOOL 4721271bef4dbf9563df61ee1d39d1040e9e0cd0528b43753edff995ae9b7a2e67618d39f365b716be1e5a478e2042c3568776ee4077291de28ae92e6953a062
|
||||
DIST spideroak-bin-5.1.8_x86.deb 19361954 SHA256 806aae6ac96cb47443c50bfc3bc3f5f7b00abc0b5d978cc2746d10cb1f6b6742 SHA512 43242b9fcd577fc51b838de72215fa971f385ae1f6ea7c606cc198b2dacd0bbca9b693ea2452c2c957c3af6dc97625d6bd15176067542dfdcbc1505a50c8b42b WHIRLPOOL 5f88e3b699be60151471c71998b2aad2d7e5a42a1c179ccb10a168940dd4ea291f812e6d6e9eb475345b53f403aa3a09cd785759413a0cf50edc9b92300af14f
|
||||
EBUILD spideroak-bin-5.0.3.ebuild 2550 SHA256 c217b7ada9f8f1d4e476fe89485f712692218494e0def9d7cf452a3e5bd3223f SHA512 9c518a9ad365bb00390010e66ddf7eeddf71b585559dbb16c42aae7d50a9379e542ba8fbcd3004d324d1660ecddaa437d7199041d65b313be6b42b0ac72c23e1 WHIRLPOOL 6edb2a1b3cb3969751519d0a9b2de1f6ab9d6d4b69bf9d3aecfd3e2bb9cd77187c1e57c1f52e911ac3212f5cbdebddaa225480829c4a91fc5124b0d5b72c9cd7
|
||||
EBUILD spideroak-bin-5.1.10.ebuild 2479 SHA256 df505612fc49fbd5f51973e2d07bf34d7517c59bf1a73e68bfe72d725a785bbc SHA512 baa5264b6cdf47d9e9f9db33fdb295fd0761cf8834432001d97156abbc95ef1617c2ba934d214ba81b3d97acd67fc9385dc7c7d1f76bcc8e6e2eaa0d029fdb33 WHIRLPOOL d67f52b8587fba4100af52fab00ede752dc71986666aa2ce139a0d47fda3c5898c10cae718a5027196eef9a45568d840f744452c1c98dd26c8f20f1603e8450c
|
||||
EBUILD spideroak-bin-5.1.8-r2.ebuild 2457 SHA256 d02ee68460031f105e37e6668153e4bb40cd37528051584ef817569871b74f12 SHA512 48f892c07cfb1bb5ac8bc2c32da5782a0cbf00be9bcebbdfe8eecda4c9e68acff21b83fecf3e4605e52333089ff0f3566ea7066c0120c5c18a66a8efc2ff1e45 WHIRLPOOL dcde37b42c0ff0d5ecfcd3bf7a7c57f954f2eb2fc207b3365d447722375a5940a5890a5b3def04b54a294beaf1cfe463802128b5a9407dac093ca7f061ef71fd
|
||||
MISC ChangeLog 9421 SHA256 603f876c7dd02bafc063c60a8db9d2ad10ac88c17876b615261aa8c926654422 SHA512 0d64504d0c214bca392b6c7b01e4815d41f68dd1b3f890acffe09e670bf7b4bfc2cf8cfba3932b0b19ccfee70c86d454edeb264046cfacace13427893657249c WHIRLPOOL 8deeef47b652991e8daec9709d58e8a9c2cd34a104d308d41919bb8dc69d692f66adf20904e5525654063009fb2c20c71f33821ecde1c8d021381f5d420e1dc5
|
||||
MISC ChangeLog 9566 SHA256 71936a859b0deff8b0c48455eff99dff2af588e7801cc89bfdd9df55042af509 SHA512 459ba1797552ce85a1b7faffffd871ffc38f837b5b29f87fbfdf47569ed176b5d5d12504da13db1a1d9fcd6cb879b2746460d895c92f7418b0a4506f4ad2eca9 WHIRLPOOL c42269f3136c557927f55fbe355fc7a6d3eee3e9b57fb9b58a62cb1041f9cfddc03d24737f1589e7fe7ffba004b642c02b6c9c10be52f057ba3933c324d4e29e
|
||||
MISC metadata.xml 471 SHA256 cc1df516f4dde319e7a5f1679209f19baeb1e38f0af9eae151a7d14ba8b0c4ce SHA512 9d0b18d28c361c5f22817b265ba715a58e9da6ba7f7ab0bd786170839c943db9ded3cab71079400bc7bba881cf21d138342b9a52006b51bda029470e585bfdc4 WHIRLPOOL 9fc301e0aa8666671878086fb4e6680e6dbe33896bc6ad6e64ecf82fce607925d548f286efb8fcc295c520cb84a356a0d05989e3f84130c3e970c6a336bf15a7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCgBmBQJVDScrXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVir7l4P/jESd742icPocAtSnj+eHEMf
|
||||
4rR4qvu6LR+08XYikBU4SOeuEnMB/AZXokv9Z7fQ0neBTlxlKdG0+t9XC+WbIwOg
|
||||
VEUI+NSb3/5al7fyT9ggQ/JHSxhgU1j4D6RI26V4iMebcYgWMfhjUILoJX/nEHRU
|
||||
75Mx+R09PV/7pqjhkRQXq5zoufZSiIDPLbj4HGVrkjCogrgXDIrnetxSJZBF0msJ
|
||||
LW/ZZgEFUC+XZqYtdINhV7atxAdpomaYMI7J6G7JlyayT3SGo3UG0xSYgEzTbg/s
|
||||
xsqeH2H2jQSm57YOXU1aUiqgVkdNGA1oHgU01ybR1kkzD9k7qf/Vt97Z0copf00A
|
||||
mHjgaXhcTmE/F75TsXFDQgQpE3JupNue1+2dVv7Kt+A4ZYUtk8G9ROF7snytJ9Oz
|
||||
Kz1QGDVoI/pNqu9JAOCOI9edVMUMJhOWrB4mrG5T4QSayJJs04ZqxiCYxKVEHbO0
|
||||
GXLzIOwOT9GdTgDAXrUs9xGmtYJBsysQ4eNYo5dKAyxDCY2V2yuoYMR4SF1oV2zB
|
||||
xEIy4pXOCMfJxMWH1SXG9/UzPVGRGXuTMycsxG7/XJTl++X3YlSaEj7qaD4L6n9Q
|
||||
CxNaFUQkyJUVbp9DE86FYbbT3WFU2pDzHeFno7I2kTJr0aPbxXGwm8M3xyWMxb/4
|
||||
2nfOVHO3CNeYEXR6WtCf
|
||||
=izeK
|
||||
iQIcBAEBCAAGBQJVDiFyAAoJEJOE+m71LUu6YDAQAKsOHJG5qOrwyUcCwFLilEba
|
||||
wEwTZBXCzj8keOJdVdUIgmClUGfcpYwzPYZYmoTM3p/1SL6+/AcM3RBJtcWyTvvJ
|
||||
vKTT0d75wxveazoMVdz/3PJQYlBZ0ODo5Anwa8BRGVtOrPU07mvfH9M3oD/WCJBB
|
||||
uOcr2RgLVfmWcCqbl450VVOVTqMwzEmwtGObwui++HqNDRfG6P4U+x/aUxxT74PE
|
||||
OXsMSzKuf46DtcUSAXKJdBq3QFWIYSvqK1irm0yZ51q7lOKnOSbGxrhLCKBcoPP0
|
||||
PIebTxFsfxqXJXIlEpaphe/uxfar0HmhZ5HFupeZS5dwN5605reimKGUeg2bdmPz
|
||||
QqesQFSLUQK5ITrh8MGXAkvCzsAFlgxh2VgoKFHW/qFlzAHuz3PbD1ZCPokkfoY0
|
||||
9Xol33iZSPPX/5eEjIgWPLuL7qGS4h4m5osbzf13sijWE39WXiCLCrNl7oWR+a5J
|
||||
7gxnliRtlOCbG7YdZZzcfIoewr5qKi+eYsLAjSlWtPCUfj+ukcFQnjjIn7ypTw6f
|
||||
dFVcdORzxkBinjCumuWnOv9sem4ZexhCphVP8yUQmfy9SAv80N2Zz1H+fP59x5RX
|
||||
LBhgMeqz6unDzqL68FNCbTkNkM+4HxhC/oggEYYGmdcIighIUhxV/XYMaB0TD/5c
|
||||
3JkwZPikq2YJWCq7qLmZ
|
||||
=g+YJ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.10.ebuild,v 1.1 2015/03/22 01:55:45 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils unpacker
|
||||
|
||||
SRC_URI_BASE="https://spideroak.com/getbuild?platform=ubuntu"
|
||||
|
||||
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system"
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&version=${PV} -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}&arch=x86_64&version=${PV} -> ${P}_amd64.deb )"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus X"
|
||||
|
||||
DEPEND="dev-util/patchelf"
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5[keyutils]
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_prepare() {
|
||||
# Set RPATH for preserve-libs handling (bug #400979).
|
||||
cd "${S}/opt/SpiderOak/lib" || die
|
||||
local x
|
||||
for x in `find` ; do
|
||||
# Use \x7fELF header to separate ELF executables and libraries
|
||||
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
|
||||
patchelf --set-rpath '$ORIGIN' "${x}" || \
|
||||
die "patchelf failed on ${x}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the wrapper script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOak
|
||||
|
||||
# inotify_dir_watcher needs to be marked executable, bug #453266
|
||||
#chmod a+rx opt/SpiderOak/lib/inotify_dir_watcher
|
||||
|
||||
#install the executable
|
||||
exeinto /opt/SpiderOak/lib
|
||||
doexe opt/SpiderOak/lib/SpiderOak
|
||||
doexe opt/SpiderOak/lib/inotify_dir_watcher
|
||||
rm -f opt/SpiderOak/lib/{SpiderOak,inotify_dir_watcher}
|
||||
|
||||
#install the prebundled libraries
|
||||
insinto /opt/SpiderOak
|
||||
doins -r opt/SpiderOak/lib
|
||||
|
||||
#install the config files
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the manpage
|
||||
doman usr/share/man/man1/SpiderOak.1.gz
|
||||
|
||||
if use X; then
|
||||
domenu usr/share/applications/spideroak.desktop
|
||||
doicon usr/share/pixmaps/SpiderOak.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use X; then
|
||||
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0-r3.ebuild,v 1.1 2015/03/22 15:09:04 k_f Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils autotools multilib eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="clipboard gtk ncurses qt4 caps static"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect-pinentry
|
||||
caps? ( sys-libs/libcap )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
ppc-aix? ( dev-libs/gnulib )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
|| ( ncurses gtk qt4 )
|
||||
gtk? ( !static )
|
||||
qt4? ( !static )
|
||||
static? ( ncurses )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
if use qt4; then
|
||||
local f
|
||||
for f in qt4/*.moc; do
|
||||
"$(qt4_get_bindir)"/moc ${f/.moc/.h} > ${f} || die
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-texi.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.9.0-accessibility.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
if [[ ${CHOST} == *-aix* ]] ; then
|
||||
append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include"
|
||||
append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)"
|
||||
append-libs -lgnu
|
||||
fi
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--enable-pinentry-tty \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use qt4 && use_enable clipboard pinentry-qt4-clipboard) \
|
||||
$(use_with caps libcap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
fi
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
From b97783fd33b4d9897c149d7a14747aa4969bd9e9 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Thu, 19 Mar 2015 07:56:04 +0100
|
||||
Subject: Reapply various changes conflicting with Maarten Lankhorst's
|
||||
gstreamer hack v5.
|
||||
|
||||
---
|
||||
dlls/ntdll/thread.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
|
||||
index 1e7f231..cf0461d 100644
|
||||
--- a/dlls/ntdll/thread.c
|
||||
+++ b/dlls/ntdll/thread.c
|
||||
@@ -461,6 +461,8 @@ static void exit_thread_common( int status )
|
||||
static void *prev_teb;
|
||||
TEB *teb;
|
||||
#endif
|
||||
+ shmlocal_t *shmlocal;
|
||||
+ sigset_t sigset;
|
||||
|
||||
if (status) /* send the exit code to the server (0 is already the default) */
|
||||
{
|
||||
@@ -502,6 +504,11 @@ static void exit_thread_common( int status )
|
||||
reap_thread(NtCurrentTeb());
|
||||
#endif
|
||||
|
||||
+ sigemptyset( &sigset );
|
||||
+ sigaddset( &sigset, SIGQUIT );
|
||||
+ pthread_sigmask( SIG_BLOCK, &sigset, NULL );
|
||||
+ if (interlocked_xchg_add( &nb_threads, -1 ) <= 1) _exit( status );
|
||||
+
|
||||
close( ntdll_get_thread_data()->wait_fd[0] );
|
||||
close( ntdll_get_thread_data()->wait_fd[1] );
|
||||
close( ntdll_get_thread_data()->reply_fd );
|
||||
--
|
||||
2.3.2
|
||||
|
@ -0,0 +1,40 @@
|
||||
From 1527fb44c331f2c61224514beb758895a5f85c8d Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Thu, 19 Mar 2015 07:51:48 +0100
|
||||
Subject: Revert various changes conflicting with Maarten Lankhorst's gstreamer
|
||||
hack v5.
|
||||
|
||||
Note: These changes have to be reapplied with the corresponding -post patchset
|
||||
afterwards.
|
||||
---
|
||||
dlls/ntdll/thread.c | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
|
||||
index 30a4720..843be0f 100644
|
||||
--- a/dlls/ntdll/thread.c
|
||||
+++ b/dlls/ntdll/thread.c
|
||||
@@ -385,8 +385,6 @@ void terminate_thread( int status )
|
||||
void exit_thread( int status )
|
||||
{
|
||||
static void *prev_teb;
|
||||
- shmlocal_t *shmlocal;
|
||||
- sigset_t sigset;
|
||||
TEB *teb;
|
||||
|
||||
if (status) /* send the exit code to the server (0 is already the default) */
|
||||
@@ -425,11 +423,6 @@ void exit_thread( int status )
|
||||
}
|
||||
}
|
||||
|
||||
- sigemptyset( &sigset );
|
||||
- sigaddset( &sigset, SIGQUIT );
|
||||
- pthread_sigmask( SIG_BLOCK, &sigset, NULL );
|
||||
- if (interlocked_xchg_add( &nb_threads, -1 ) <= 1) _exit( status );
|
||||
-
|
||||
close( ntdll_get_thread_data()->wait_fd[0] );
|
||||
close( ntdll_get_thread_data()->wait_fd[1] );
|
||||
close( ntdll_get_thread_data()->reply_fd );
|
||||
--
|
||||
2.3.2
|
||||
|
@ -0,0 +1,532 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.39.ebuild,v 1.1 2015/03/22 19:58:44 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools-utils eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="2.36"
|
||||
MV="4.5.6"
|
||||
STAGING_P="wine-staging-${PV}"
|
||||
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||
WINE_GENTOO="wine-gentoo-2015.03.07"
|
||||
GST_P="wine-1.7.34-gstreamer-v5"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
gstreamer? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${GST_P}.patch.bz2 )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
STAGING_EGIT_REPO_URI="git://github.com/wine-compholio/wine-staging.git"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )
|
||||
pulseaudio? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png +prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test +threads +truetype +udisks v4l vaapi +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
pipelight? ( staging )
|
||||
s3tc? ( staging )
|
||||
vaapi? ( staging )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
NATIVE_DEPEND="
|
||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
udisks? ( sys-apps/dbus )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
netapi? ( net-fs/samba[netapi(+)] )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pcap? ( net-libs/libpcap )
|
||||
staging? ( sys-apps/attr )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
vaapi? ( x11-libs/libva[X] )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!amd64? ( ${NATIVE_DEPEND} )
|
||||
amd64? (
|
||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
||||
abi_x86_32? (
|
||||
truetype? ( || (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development,-abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
|
||||
) )
|
||||
ncurses? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
||||
) )
|
||||
udisks? ( || (
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development,-abi_x86_32(-)]
|
||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
||||
) )
|
||||
fontconfig? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
||||
) )
|
||||
gphoto2? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
||||
>=media-libs/libgphoto2-2.5.3.1[abi_x86_32(-)]
|
||||
) )
|
||||
openal? ( || (
|
||||
app-emulation/emul-linux-x86-sdl[development,-abi_x86_32(-)]
|
||||
>=media-libs/openal-1.15.1[abi_x86_32(-)]
|
||||
) )
|
||||
gstreamer? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
||||
(
|
||||
>=media-libs/gstreamer-0.10.36-r2:0.10[abi_x86_32(-)]
|
||||
>=media-libs/gst-plugins-base-0.10.36:0.10[abi_x86_32(-)]
|
||||
)
|
||||
) )
|
||||
X? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
||||
(
|
||||
>=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
|
||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXi-1.7.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
||||
)
|
||||
) )
|
||||
xinerama? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
||||
>=x11-libs/libXinerama-1.1.3[abi_x86_32(-)]
|
||||
) )
|
||||
alsa? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[alsa,development,-abi_x86_32(-)]
|
||||
>=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
|
||||
) )
|
||||
cups? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=net-print/cups-1.7.1-r1[abi_x86_32(-)]
|
||||
) )
|
||||
opencl? ( >=virtual/opencl-0-r3[abi_x86_32(-)] )
|
||||
opengl? ( || (
|
||||
app-emulation/emul-linux-x86-opengl[development,-abi_x86_32(-)]
|
||||
(
|
||||
>=virtual/glu-9.0-r1[abi_x86_32(-)]
|
||||
>=virtual/opengl-7.0-r1[abi_x86_32(-)]
|
||||
)
|
||||
) )
|
||||
gsm? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
||||
>=media-sound/gsm-1.0.13-r1[abi_x86_32(-)]
|
||||
) )
|
||||
jpeg? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=virtual/jpeg-0-r2:0[abi_x86_32(-)]
|
||||
) )
|
||||
ldap? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=net-nds/openldap-2.4.38-r1:=[abi_x86_32(-)]
|
||||
) )
|
||||
lcms? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=media-libs/lcms-2.5:2[abi_x86_32(-)]
|
||||
) )
|
||||
mp3? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
||||
>=media-sound/mpg123-1.15.4[abi_x86_32(-)]
|
||||
) )
|
||||
netapi? ( >=net-fs/samba-3.6.23-r1[netapi(+),abi_x86_32(-)] )
|
||||
nls? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
|
||||
) )
|
||||
odbc? ( || (
|
||||
app-emulation/emul-linux-x86-db[development,-abi_x86_32(-)]
|
||||
>=dev-db/unixODBC-2.3.2:=[abi_x86_32(-)]
|
||||
) )
|
||||
osmesa? ( || (
|
||||
>=app-emulation/emul-linux-x86-opengl-20121028[development,-abi_x86_32(-)]
|
||||
>=media-libs/mesa-9.1.6[osmesa,abi_x86_32(-)]
|
||||
) )
|
||||
pcap? ( net-libs/libpcap[abi_x86_32(-)] )
|
||||
pulseaudio? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
||||
>=media-sound/pulseaudio-5.0[abi_x86_32(-)]
|
||||
) )
|
||||
staging? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
||||
) )
|
||||
xml? ( || (
|
||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development,-abi_x86_32(-)]
|
||||
(
|
||||
>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)]
|
||||
>=dev-libs/libxslt-1.1.28-r1[abi_x86_32(-)]
|
||||
)
|
||||
) )
|
||||
scanner? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
||||
>=media-gfx/sane-backends-1.0.23:=[abi_x86_32(-)]
|
||||
) )
|
||||
ssl? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=net-libs/gnutls-2.12.23-r6:=[abi_x86_32(-)]
|
||||
) )
|
||||
png? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.6.10:0[abi_x86_32(-)]
|
||||
) )
|
||||
v4l? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
||||
>=media-libs/libv4l-0.9.5[abi_x86_32(-)]
|
||||
) )
|
||||
vaapi? ( x11-libs/libva[X,abi_x86_32(-)] )
|
||||
xcomposite? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
||||
>=x11-libs/libXcomposite-0.4.4-r1[abi_x86_32(-)]
|
||||
) )
|
||||
)
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dos? ( games-emulation/dosbox )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
s3tc? ( >=media-libs/libtxc_dxtn-1.0.1-r1[${MULTILIB_USEDEP}] )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
||||
|
||||
# tools/make_requests requires perl
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
||||
staging? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-r3_src_unpack
|
||||
if use staging || use pulseaudio; then
|
||||
EGIT_REPO_URI=${STAGING_EGIT_REPO_URI}
|
||||
unset ${PN}_LIVE_REPO;
|
||||
EGIT_CHECKOUT_DIR=${STAGING_DIR} git-r3_src_unpack
|
||||
fi
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
use staging || use pulseaudio && unpack "${STAGING_P}.tar.gz"
|
||||
fi
|
||||
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
use gstreamer && unpack "${GST_P}.patch.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
)
|
||||
if use gstreamer; then
|
||||
# See http://bugs.winehq.org/show_bug.cgi?id=30557
|
||||
ewarn "Applying experimental patch to fix GStreamer support. Note that"
|
||||
ewarn "this patch has been reported to cause crashes in certain games."
|
||||
|
||||
# Wine-Staging 1.7.38 "ntdll: Fix race-condition when threads are killed
|
||||
# during shutdown" patch and "Added patch to implement shared memory
|
||||
# wineserver communication for various user32 functions" prevents the
|
||||
# gstreamer patch from applying cleanly.
|
||||
# So undo the staging patch, apply gstreamer, then re-apply rebased staging
|
||||
# patch on top.
|
||||
if use staging; then
|
||||
PATCHES+=(
|
||||
"${FILESDIR}/${PN}-1.7.39-gstreamer-v5-staging-pre.patch"
|
||||
"${WORKDIR}/${GST_P}.patch"
|
||||
"${FILESDIR}/${PN}-1.7.39-gstreamer-v5-staging-post.patch" )
|
||||
else
|
||||
PATCHES+=( "${WORKDIR}/${GST_P}.patch" )
|
||||
fi
|
||||
fi
|
||||
if use staging; then
|
||||
ewarn "Applying the unofficial Wine-Staging patchset which is unsupported"
|
||||
ewarn "by Wine developers. Please don't report bugs to Wine bugzilla"
|
||||
ewarn "unless you can reproduce them with USE=-staging"
|
||||
|
||||
local STAGING_EXCLUDE=""
|
||||
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||
|
||||
# Launch wine-staging patcher in a subshell, using epatch as a backend, and gitapply.sh as a backend for binary patches
|
||||
ebegin "Running Wine-Staging patch installer"
|
||||
(
|
||||
set -- DESTDIR="${S}" --backend=epatch --no-autoconf --all ${STAGING_EXCLUDE}
|
||||
cd "${STAGING_DIR}/patches"
|
||||
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||
)
|
||||
eend $?
|
||||
elif use pulseaudio; then
|
||||
PATCHES+=( "${STAGING_DIR}/patches/winepulse-PulseAudio_Support"/*.patch )
|
||||
fi
|
||||
autotools-utils_src_prepare
|
||||
|
||||
# Modification of the server protocol requires regenerating the server requests
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with pcap)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
if use pulseaudio || use staging; then
|
||||
myconf+=( $(use_with pulseaudio pulse) )
|
||||
fi
|
||||
use staging && myconf+=(
|
||||
--with-xattr
|
||||
$(use_with vaapi va)
|
||||
)
|
||||
|
||||
local PKG_CONFIG AR RANLIB
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myconf+=( --enable-win64 )
|
||||
else
|
||||
myconf+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myconf[@]}"
|
||||
emake depend
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||
Xemake test
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
local l
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,186 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20141019.3.17.4.ebuild,v 1.1 2015/03/22 00:07:09 vapier Exp $
|
||||
|
||||
# The Debian ca-certificates package merely takes the CA database as it exists
|
||||
# in the nss package and repackages it for use by openssl.
|
||||
#
|
||||
# The issue with using the compiled debs directly is two fold:
|
||||
# - they do not update frequently enough for us to rely on them
|
||||
# - they pull the CA database from nss tip of tree rather than the release
|
||||
#
|
||||
# So we take the Debian source tools and combine them with the latest nss
|
||||
# release to produce (largely) the same end result. The difference is that
|
||||
# now we know our cert database is kept in sync with nss and, if need be,
|
||||
# can be sync with nss tip of tree more frequently to respond to bugs.
|
||||
|
||||
# When triaging bugs from users, here's some handy tips:
|
||||
# - To see what cert is hitting errors, use openssl:
|
||||
# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
|
||||
# Focus on the errors written to stderr.
|
||||
#
|
||||
# - Look at the upstream log as to why certs were added/removed:
|
||||
# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
|
||||
#
|
||||
# - If people want to add/remove certs, tell them to file w/mozilla:
|
||||
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-any-r1
|
||||
|
||||
if [[ ${PV} == *.* ]] ; then
|
||||
# Compile from source ourselves.
|
||||
PRECOMPILED=false
|
||||
inherit versionator
|
||||
|
||||
DEB_VER=$(get_version_component_range 1)
|
||||
NSS_VER=$(get_version_component_range 2-)
|
||||
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
|
||||
else
|
||||
# Debian precompiled version.
|
||||
PRECOMPILED=true
|
||||
inherit unpacker
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
|
||||
NMU_PR=""
|
||||
if ${PRECOMPILED} ; then
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
|
||||
else
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
|
||||
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
|
||||
cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )"
|
||||
fi
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE=""
|
||||
${PRECOMPILED} || IUSE+=" +cacert"
|
||||
|
||||
DEPEND=""
|
||||
if ${PRECOMPILED} ; then
|
||||
# platforms like AIX don't have a good ar
|
||||
DEPEND+="
|
||||
kernel_AIX? ( app-arch/deb2targz )
|
||||
!<sys-apps/portage-2.1.10.41"
|
||||
fi
|
||||
# openssl: we run `c_rehash`
|
||||
# debianutils: we run `run-parts`
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/openssl
|
||||
sys-apps/debianutils"
|
||||
|
||||
if ! ${PRECOMPILED}; then
|
||||
DEPEND+=" ${PYTHON_DEPS}"
|
||||
fi
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
# For the conversion to having it in CONFIG_PROTECT_MASK,
|
||||
# we need to tell users about it once manually first.
|
||||
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|
||||
|| ewarn "You should run update-ca-certificates manually after etc-update"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
${PRECOMPILED} || default
|
||||
|
||||
mv ${PN}-*/ ${PN} || die
|
||||
|
||||
# Do all the work in the image subdir to avoid conflicting with source
|
||||
# dirs in $WORKDIR. Need to perform everything in the offset #381937
|
||||
mkdir -p "image/${EPREFIX}"
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
${PRECOMPILED} && unpacker_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
mkdir -p usr/sbin
|
||||
cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
|
||||
|
||||
if use cacert ; then
|
||||
pushd "${S}"/nss-${NSS_VER} >/dev/null
|
||||
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch
|
||||
popd >/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-20141019-root.patch
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
python_setup
|
||||
local d="${S}/${PN}/mozilla"
|
||||
# Grab the database from the nss sources.
|
||||
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
|
||||
emake -C "${d}"
|
||||
|
||||
# Now move the files to the same places that the precompiled would.
|
||||
mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla
|
||||
if use cacert ; then
|
||||
mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org}
|
||||
mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die
|
||||
mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die
|
||||
fi
|
||||
mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die
|
||||
else
|
||||
mv usr/share/doc/{ca-certificates,${PF}} || die
|
||||
fi
|
||||
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd usr/share/ca-certificates
|
||||
find * -name '*.crt' | LC_ALL=C sort
|
||||
) > etc/ca-certificates.conf
|
||||
|
||||
sh usr/sbin/update-ca-certificates --root "${S}/image" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR image/* "${D}"/ || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
cd ca-certificates
|
||||
doman sbin/*.8
|
||||
dodoc debian/README.* examples/ca-certificates-local/README
|
||||
fi
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
|
||||
doenvd 98ca-certificates
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
|
||||
# if the user has local certs, we need to rebuild again
|
||||
# to include their stuff in the db.
|
||||
# However it's too overzealous when the user has custom certs in place.
|
||||
# --fresh is to clean up dangling symlinks
|
||||
"${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}"
|
||||
fi
|
||||
|
||||
local c badcerts=0
|
||||
for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
|
||||
ewarn "Broken symlink for a certificate at $c"
|
||||
badcerts=1
|
||||
done
|
||||
if [ $badcerts -eq 1 ]; then
|
||||
ewarn "Removing the following broken symlinks:"
|
||||
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
|
||||
fi
|
||||
}
|
@ -0,0 +1,116 @@
|
||||
add a --root option so we can generate with DESTDIR installs
|
||||
|
||||
--- a/usr/sbin/update-ca-certificates
|
||||
+++ b/usr/sbin/update-ca-certificates
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
verbose=0
|
||||
fresh=0
|
||||
+ROOT=""
|
||||
+RELPATH=""
|
||||
while [ $# -gt 0 ];
|
||||
do
|
||||
case $1 in
|
||||
@@ -30,18 +32,23 @@ do
|
||||
verbose=1;;
|
||||
--fresh|-f)
|
||||
fresh=1;;
|
||||
+ --root|-r)
|
||||
+ ROOT=$(readlink -f "$2")
|
||||
+ # needed as c_rehash wants to read the files directly
|
||||
+ RELPATH="../../.."
|
||||
+ shift;;
|
||||
--help|-h|*)
|
||||
- echo "$0: [--verbose] [--fresh]"
|
||||
+ echo "$0: [--verbose] [--fresh] [--root <dir>]"
|
||||
exit;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
-CERTSCONF=/etc/ca-certificates.conf
|
||||
-CERTSDIR=/usr/share/ca-certificates
|
||||
-LOCALCERTSDIR=/usr/local/share/ca-certificates
|
||||
+CERTSCONF="$ROOT/etc/ca-certificates.conf"
|
||||
+CERTSDIR="$ROOT/usr/share/ca-certificates"
|
||||
+LOCALCERTSDIR="$ROOT/usr/local/share/ca-certificates"
|
||||
CERTBUNDLE=ca-certificates.crt
|
||||
-ETCCERTSDIR=/etc/ssl/certs
|
||||
+ETCCERTSDIR="$ROOT/etc/ssl/certs"
|
||||
|
||||
cleanup() {
|
||||
rm -f "$TEMPBUNDLE"
|
||||
@@ -66,7 +73,7 @@ add() {
|
||||
-e 's/,/_/g').pem"
|
||||
if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ]
|
||||
then
|
||||
- ln -sf "$CERT" "$PEM"
|
||||
+ ln -sf "${RELPATH}${CERT#$ROOT}" "$PEM"
|
||||
echo +$PEM >> "$ADDED"
|
||||
fi
|
||||
# Add trailing newline to certificate, if it is missing (#635570)
|
||||
@@ -79,36 +86,36 @@ remove() {
|
||||
if test -L "$PEM"
|
||||
then
|
||||
rm -f "$PEM"
|
||||
- echo -$PEM >> "$REMOVED"
|
||||
+ echo "-$PEM" >> "$REMOVED"
|
||||
fi
|
||||
}
|
||||
|
||||
-cd $ETCCERTSDIR
|
||||
+cd "$ETCCERTSDIR"
|
||||
if [ "$fresh" = 1 ]; then
|
||||
- echo -n "Clearing symlinks in $ETCCERTSDIR..."
|
||||
+ printf "Clearing symlinks in $ETCCERTSDIR..."
|
||||
find . -type l -print | while read symlink
|
||||
do
|
||||
- case $(readlink $symlink) in
|
||||
- $CERTSDIR*) rm -f $symlink;;
|
||||
+ case $(readlink "$symlink") in
|
||||
+ "$CERTSDIR"*) rm -f "$symlink";;
|
||||
esac
|
||||
done
|
||||
find . -type l -print | while read symlink
|
||||
do
|
||||
- test -f $symlink || rm -f $symlink
|
||||
+ test -f "$symlink" || rm -f "$symlink"
|
||||
done
|
||||
echo "done."
|
||||
fi
|
||||
|
||||
-echo -n "Updating certificates in $ETCCERTSDIR... "
|
||||
+printf "Updating certificates in $ETCCERTSDIR... "
|
||||
|
||||
# Handle certificates that should be removed. This is an explicit act
|
||||
# by prefixing lines in the configuration files with exclamation marks (!).
|
||||
-sed -n -e '/^$/d' -e 's/^!//p' $CERTSCONF | while read crt
|
||||
+sed -n -e '/^$/d' -e 's/^!//p' "$CERTSCONF" | while read crt
|
||||
do
|
||||
remove "$CERTSDIR/$crt"
|
||||
done
|
||||
|
||||
-sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
|
||||
+sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt
|
||||
do
|
||||
if ! test -f "$CERTSDIR/$crt"
|
||||
then
|
||||
@@ -151,14 +158,14 @@ mv -f "$TEMPBUNDLE" "$CERTBUNDLE"
|
||||
|
||||
echo "$ADDED_CNT added, $REMOVED_CNT removed; done."
|
||||
|
||||
-HOOKSDIR=/etc/ca-certificates/update.d
|
||||
-echo -n "Running hooks in $HOOKSDIR...."
|
||||
+HOOKSDIR="$ROOT/etc/ca-certificates/update.d"
|
||||
+printf "Running hooks in $HOOKSDIR...."
|
||||
VERBOSE_ARG=
|
||||
[ "$verbose" = 0 ] || VERBOSE_ARG=--verbose
|
||||
-eval run-parts $VERBOSE_ARG --test -- $HOOKSDIR | while read hook
|
||||
+eval run-parts $VERBOSE_ARG --test -- \""$HOOKSDIR"\" | while read hook
|
||||
do
|
||||
( cat $ADDED
|
||||
- cat $REMOVED ) | $hook || echo E: $hook exited with code $?.
|
||||
+ cat $REMOVED ) | "$hook" || echo E: "$hook" exited with code $?.
|
||||
done
|
||||
echo "done."
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-3.14.2-r1.ebuild,v 1.1 2015/03/22 19:47:18 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Simple document viewer for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||
SLOT="0/evd3.4-evv3.3"
|
||||
IUSE="djvu dvi gnome +introspection libsecret nautilus nsplugin +postscript t1lib tiff xps"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
|
||||
# Since 2.26.2, can handle poppler without cairo support. Make it optional ?
|
||||
# not mature enough
|
||||
# atk used in libview
|
||||
# gdk-pixbuf used all over the place
|
||||
# libX11 used for totem-screensaver
|
||||
COMMON_DEPEND="
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.36:2[dbus]
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.14:3[introspection?]
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/cairo-1.10:=
|
||||
>=app-text/poppler-0.24:=[cairo]
|
||||
djvu? ( >=app-text/djvu-3.5.17:= )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
dev-libs/kpathsea:=
|
||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
||||
gnome? ( gnome-base/gnome-desktop:3 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1 )
|
||||
libsecret? ( >=app-crypt/libsecret-0.5 )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
|
||||
postscript? ( >=app-text/libspectre-0.2:= )
|
||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs
|
||||
gnome-base/librsvg
|
||||
|| (
|
||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||
>=x11-themes/gnome-icon-theme-2.17.1
|
||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
||||
x11-themes/gnome-icon-theme-symbolic
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
app-text/yelp-tools
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf needs:
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=29942
|
||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
||||
-i configure || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--enable-pdf \
|
||||
--enable-comics \
|
||||
--enable-thumbnailer \
|
||||
--with-platform=gnome \
|
||||
--enable-dbus \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_with libsecret keyring) \
|
||||
$(use_enable gnome libgnome-desktop) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable nautilus) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps) \
|
||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
@ -1,16 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
AUX pylize-pillow.patch 375 SHA256 bc0418683b27603039f51268ad929ff223be901d321d47d4936f7dc461c34cd2 SHA512 5e6beeb1a0192328039d581eeaf568e606a1fa002f8d91ddb397e27d873e23834fda67cd88a5afb24563a515cb37c234ed2d8c913472ce9fccd431249be852dc WHIRLPOOL e4028c39276230ebbd2356034d00e1935789478628a466e72a695e399a570aef65b18ac8b340111ca71939a0a603dcf3cedf28e11e3266e32559cb536d8c337e
|
||||
DIST pylize-1.3b.tar.bz2 70979 SHA256 8de876e2581a556e23d538b3ed5b970929a51c236b24c1fd5161c26c8c42bb44 SHA512 271be57bdebb605566a7ee0340d34247f8ede4df7ba729c85c23f6df1ca24cadb25c870cce5b1ac35544205d90e716742cd31e150b9a8f98b2dcfae441a76454 WHIRLPOOL cc81f7000fedf10d3aae1922c3334bd00575a45c0a17bcdcb899e6b5229c621637b3f7815e5af8c08303ffa57d7db9073be675419fd8e9afe0e70e4eecf7f679
|
||||
EBUILD pylize-1.3b-r1.ebuild 1151 SHA256 7883bbbd04a2a9c7d111ad9d60c6a33345cc313b476c9bbae4ae8cd95b53595a SHA512 06383cea6bd7c2b6cdfabb1396f5e8b03a8e1bee0424e2b8e1ab5d626ae15596c6adfbf9033a58ea1849bc28d1fe5cf2ef7c0bfedd2053ae8875b22e3307a2ef WHIRLPOOL 07d193bdd44b0ca64431522e65ac8641229ea0983b20130f307d3aa584fd8547da5f6ae4c4ba4d501bf49bbea38b45b9da24a7111d75f5858106dcd8763379fc
|
||||
EBUILD pylize-1.3b.ebuild 1343 SHA256 fbdf8d6660f5befdd5c43bba3ed465b0f75f95e43c9a80dc332f3d0e68548b4a SHA512 3ebc3599e1f1a3257f064cc5ca2816725367110c78801699caa59278a64e548ea4a5f875341b3e5eb763763fa1fb22eb3001aaf3c985a1f3d157817f1d497207 WHIRLPOOL 0e066e54f7d8a9a15a8620b16d511d9cd4dad685c2034e8689905b9b0b20551f271671338cfcc9f67d4be2e639a7a55aa18e850d78aac8afe1970cab1e196095
|
||||
MISC ChangeLog 2381 SHA256 f6a45af157155042b3cbce226f038fc08a1871084044c3c2aa71457440df869d SHA512 90a3f804bf742c293a8ae59bf8bcfa09f069f4b4886daf4d76d096a0970fa54638b873d472722edbef7d7816a8b216952a7789c0f9b9e04f4470ed9449bf833b WHIRLPOOL d85ba8a9ce95c53ae3401908f9731f551a61dd265d5ca6309e5b56b1e1711ac5881e440ba03c22d4e27c97cf4fc6a5421f542499e4cfc245efe5dc2992ad7b08
|
||||
MISC metadata.xml 536 SHA256 8c9933d9f6a4cd262ef6ad324eac510a3a374af22cb6b2ff01a06eb05a92b2c0 SHA512 26e4ec412d7542d7a6dd769cd4e40c739003f1d1619d066a222017d09502432b4c8502d533116c9001d3d863a295e2b6fe90765f1b49dfc7d1409c8173376483 WHIRLPOOL fa0f997a6f53d2be8e6eec28bfa2ad0356ad88b9ccb31ca8a21463bec4af6218daf73579d25bfef99eccf20ed9bfde3f317a5c0dde13e70a0144c0bbf21daba8
|
||||
MISC ChangeLog 2476 SHA256 a81e2363b105f984b63153a7460bd57b68f9f3d88c6a9f1b55f518fe049c6887 SHA512 61c2360ecef9dfabe162d38175755b550bf4310602e3dfa8554c227232ce8dba78ac98957b4545bc5268671131537174990a1a4a962bb3acdeb03b289e97898b WHIRLPOOL 9257cb166de7ee8fea7a5d1d2b208a0b1fd7a4751c000ba22bf51c60daf9a855ff5d937d26c12c6a8812e3b4449e26e44071f7f99d2d8f7b20cff5de74a100d0
|
||||
MISC metadata.xml 540 SHA256 627d220d57fa2abf351ac6adf9d0738818296c071d64fe26ee4049524809d5f4 SHA512 eeeee0bccb69d8143e528472b7b05604f347487cee02e2bdda71c110d23d1b3f21fbd301c400709baebd63e6907269c7283deb50db616626da01004624edbf0a WHIRLPOOL 6127c65a9076b77191023d3e082d3258adda57d882f8bede0573eda99455a9231fd751ddf117d83654c4cfdc04672ebe3cdf940f28c034781856cd3ae510bef6
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iEYEAREIAAYFAlT83UsACgkQCaWpQKGI+9SO1QCfc9lqTQYtNH6VTHh3+1IsP6ih
|
||||
1icAnAkHaka1jprRfx/adjczAPTgQZjb
|
||||
=A+Ms
|
||||
iQJ8BAEBCgBmBQJVDsZIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirzGIQAIuIwqF/0QwHQW6bmG5+VtiQ
|
||||
j+pA7wsINMZJk28CA1wYrJo+jdMsLuDx5QKiMgofwLPGTG5cWsRSGw0MldQlZBZ/
|
||||
00IN+3kwI968h5jg7NW6TqYTyg2KT3+xk3J/NR476yk0CSGCrXQf1C0Fd2k+yiLN
|
||||
yCOoQshCf9NNzxrjIjbaDyFhFtQ1ZYyR691gz8I6tc6of5qG/BTT55BEBcTUeMLZ
|
||||
VxDrM7KHeiXYtDb+GZHE2m11WyNrA86DM6Bae1c33/RS2CCAsIvolb/vHTrcbY2/
|
||||
NdrIdqW9UKl3v6xxBAWJRUXq9q+//AHPdeB4+MwYX/n/Y2vj0B1Df54Yo56K8B6J
|
||||
zPbfa0U/wWTyHPDRNTeyf1FBM+ZpYzxPiGOkRTUJRh7DxME7+bzyaHn2119Jfdqp
|
||||
a2aQL5FBOG4G/tVi7vy+OAvwn2JNE/EqGMqZOU7szRVfYswqLx/nNU8D6uqE/5d+
|
||||
5W1uEss32iuU3CC0xKh/cAyCWAz4O3W9SgFqYgAp08zmW6Z+iGUfq0FGK299pcmt
|
||||
SMI+VKhOwpZdik0nXrc8ysoLLI95TrzEjo8KSYqppeeUCo5CXZmj5a6FIbescJK/
|
||||
N4BIB9NqqD0ypf42AKLme9aNKHuj7CWA4WvNVMuEos3SsimaR7f3Axkc5S3ZYx/w
|
||||
qu4f78x7zs0pA9H1vc2l
|
||||
=dxFP
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pylize/pylize-1.3b.ebuild,v 1.4 2010/03/29 20:50:03 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Python HTML Slideshow Generator using HTML and CSS"
|
||||
HOMEPAGE="http://www.chrisarndt.de/en/software/pylize/"
|
||||
SRC_URI="http://www.chrisarndt.de/en/software/pylize/download/${P}.tar.bz2"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
|
||||
DEPEND="dev-python/empy
|
||||
dev-python/imaging"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
"$(PYTHON)" install.py "${ED}usr" || die "Installation failed"
|
||||
|
||||
# Fix paths in pylize.
|
||||
sed \
|
||||
-e "s:^sys_libdir.*:sys_libdir = \'/usr/share/pylize\':" \
|
||||
-e "s:sys.path.insert(0, sys_libdir):sys.path.remove('/usr/bin'):" \
|
||||
-e "s:from roman import dec2roman:from pylize_roman import dec2roman:" \
|
||||
-i "${ED}usr/bin/pylize" || die "sed failed"
|
||||
|
||||
# Rename roman.py to pylize_roman.py to avoid collision.
|
||||
rm -f "${ED}usr/share/pylize/roman.py"
|
||||
insinto $(python_get_sitedir)
|
||||
newins lib/roman.py pylize_roman.py
|
||||
|
||||
dodoc Changelog README README.empy TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize pylize_roman.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup pylize_roman.py
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.36.0-r1.ebuild,v 1.1 2015/03/22 20:08:22 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_ORG_MODULE="${PN/pp/++}"
|
||||
|
||||
inherit gnome2 multilib-minimal
|
||||
|
||||
DESCRIPTION="C++ wrapper for the libxml2 XML parser library"
|
||||
HOMEPAGE="http://libxmlplusplus.sourceforge.net/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.7.3[${MULTILIB_USEDEP}]
|
||||
>=dev-cpp/glibmm-2.32[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
multilib_src_prepare() {
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" gnome2_src_configure \
|
||||
$(use_enable doc documentation)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
gnome2_src_install
|
||||
}
|
@ -1,290 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-2.5.3.26780.0.ebuild,v 1.1 2014/12/11 11:51:32 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit flag-o-matic eutils autotools multilib user readme.gentoo versionator
|
||||
|
||||
MY_P=${PN/f/F}-$(replace_version_separator 4 -)
|
||||
#MY_P=${PN/f/F}-${PV/_rc/-ReleaseCandidate}
|
||||
|
||||
DESCRIPTION="A relational database offering many ANSI SQL:2003 and some SQL:2008 features"
|
||||
HOMEPAGE="http://www.firebirdsql.org/"
|
||||
SRC_URI="mirror://sourceforge/firebird/${MY_P}.tar.bz2
|
||||
doc? ( ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )"
|
||||
|
||||
LICENSE="IDPL Interbase-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -ia64 ~x86"
|
||||
|
||||
IUSE="doc client superserver xinetd examples debug"
|
||||
REQUIRED_USE="
|
||||
client? ( !superserver )
|
||||
client? ( !xinetd )
|
||||
superserver? ( !xinetd )
|
||||
"
|
||||
|
||||
RESTRICT="userpriv"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libedit
|
||||
dev-libs/icu:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/btyacc-3.0-r2
|
||||
doc? ( app-arch/unzip )
|
||||
"
|
||||
RDEPEND="${RDEPEND}
|
||||
xinetd? ( virtual/inetd )
|
||||
!sys-cluster/ganglia
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup firebird 450
|
||||
enewuser firebird 450 /bin/bash /usr/$(get_libdir)/firebird firebird
|
||||
}
|
||||
|
||||
function check_sed() {
|
||||
MSG="sed of $3, required $2 lines modified $1"
|
||||
einfo "${MSG}"
|
||||
[[ $1 -ge $2 ]] || die "${MSG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use doc; then
|
||||
# Unpack docs
|
||||
mkdir "${WORKDIR}/manuals"
|
||||
cd "${WORKDIR}/manuals"
|
||||
unpack ib_b60_doc.zip
|
||||
cd "${WORKDIR}"
|
||||
fi
|
||||
unpack "${MY_P}.tar.bz2"
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# This patch might be portable, and not need to be duplicated per version
|
||||
# also might no longer be necessary to patch deps or libs, just flags
|
||||
epatch "${FILESDIR}/${PN}-2.5.1.26351.0-deps-flags.patch"
|
||||
|
||||
use client && epatch "${FILESDIR}/${PN}-2.5.1.26351.0-client.patch"
|
||||
if ! use superserver ; then
|
||||
epatch "${FILESDIR}/${PN}-2.5.1.26351.0-superclassic.patch"
|
||||
fi
|
||||
|
||||
# Rename references to isql to fbsql
|
||||
# sed vs patch for portability and addtional location changes
|
||||
check_sed "$(sed -i -e 's:"isql :"fbsql :w /dev/stdout' \
|
||||
src/isql/isql.epp | wc -l)" "1" "src/isql/isql.epp" # 1 line
|
||||
check_sed "$(sed -i -e 's:isql :fbsql :w /dev/stdout' \
|
||||
src/msgs/history2.sql | wc -l)" "4" "src/msgs/history2.sql" # 4 lines
|
||||
check_sed "$(sed -i -e 's:--- ISQL:--- FBSQL:w /dev/stdout' \
|
||||
-e 's:isql :fbsql :w /dev/stdout' \
|
||||
-e 's:ISQL :FBSQL :w /dev/stdout' \
|
||||
src/msgs/messages2.sql | wc -l)" "6" "src/msgs/messages2.sql" # 6 lines
|
||||
|
||||
find "${S}" -name \*.sh -print0 | xargs -0 chmod +x
|
||||
rm -rf "${S}"/extern/{btyacc,editline,icu}
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -fprefetch-loop-arrays
|
||||
filter-mfpmath sse
|
||||
|
||||
econf \
|
||||
--prefix=/usr/$(get_libdir)/firebird \
|
||||
$(use_enable superserver superserver) \
|
||||
$(use_enable debug) \
|
||||
--with-editline \
|
||||
--with-system-editline \
|
||||
--with-system-icu \
|
||||
--with-fbbin=/usr/bin \
|
||||
--with-fbsbin=/usr/sbin \
|
||||
--with-fbconf=/etc/${PN} \
|
||||
--with-fblib=/usr/$(get_libdir) \
|
||||
--with-fbinclude=/usr/include \
|
||||
--with-fbdoc=/usr/share/doc/${P} \
|
||||
--with-fbudf=/usr/$(get_libdir)/${PN}/UDF \
|
||||
--with-fbsample=/usr/share/doc/${P}/examples \
|
||||
--with-fbsample-db=/usr/share/doc/${P}/examples/db \
|
||||
--with-fbhelp=/usr/$(get_libdir)/${PN}/help \
|
||||
--with-fbintl=/usr/$(get_libdir)/${PN}/intl \
|
||||
--with-fbmisc=/usr/share/${PN} \
|
||||
--with-fbsecure-db=/etc/${PN} \
|
||||
--with-fbmsg=/usr/$(get_libdir)/${PN} \
|
||||
--with-fblog=/var/log/${PN}/ \
|
||||
--with-fbglock=/var/run/${PN} \
|
||||
--with-fbplugins=/usr/$(get_libdir)/${PN}/plugins \
|
||||
--with-gnu-ld \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="${MAKEOPTS/-j*/-j1} ${MAKEOPTS/-j/CPU=}"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/gen/${PN}"
|
||||
|
||||
if use doc; then
|
||||
dodoc "${S}"/doc/*.pdf
|
||||
find "${WORKDIR}"/manuals -type f -iname "*.pdf" -exec dodoc '{}' + || die
|
||||
fi
|
||||
|
||||
insinto /usr/include
|
||||
doins include/*
|
||||
|
||||
rm lib/libfbstatic.a
|
||||
|
||||
insinto /usr/$(get_libdir)
|
||||
dolib.so lib/*.so*
|
||||
|
||||
# links for backwards compatibility
|
||||
dosym libfbclient.so /usr/$(get_libdir)/libgds.so
|
||||
dosym libfbclient.so /usr/$(get_libdir)/libgds.so.0
|
||||
dosym libfbclient.so /usr/$(get_libdir)/libfbclient.so.1
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins *.msg
|
||||
|
||||
use client && return
|
||||
|
||||
einfo "Renaming isql -> fbsql"
|
||||
mv bin/isql bin/fbsql
|
||||
|
||||
local bins="fbsql fbsvcmgr fbtracemgr gbak gdef gfix gpre gsec gstat nbackup qli"
|
||||
for bin in ${bins[@]}; do
|
||||
dobin bin/${bin}
|
||||
done
|
||||
|
||||
dosbin bin/fb_lock_print
|
||||
# SuperServer
|
||||
if use superserver ; then
|
||||
dosbin bin/{fbguard,fbserver}
|
||||
# ClassicServer
|
||||
elif use xinetd ; then
|
||||
dosbin bin/fb_inet_server
|
||||
# SuperClassic
|
||||
else
|
||||
dosbin bin/{fbguard,fb_smp_server}
|
||||
|
||||
#Temp should not be necessary, need to patch/fix
|
||||
dosym "${D}"/usr/$(get_libdir)/libib_util.so /usr/$(get_libdir)/${PN}/lib/libib_util.so
|
||||
fi
|
||||
|
||||
exeinto /usr/bin/${PN}
|
||||
exeopts -m0755
|
||||
doexe bin/{changeRunUser,restoreRootRunUser,changeDBAPassword}.sh
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}/help
|
||||
doins help/help.fdb
|
||||
|
||||
exeinto /usr/$(get_libdir)/firebird/intl
|
||||
dolib.so intl/libfbintl.so
|
||||
dosym "${D}"/usr/$(get_libdir)/libfbintl.so /usr/$(get_libdir)/${PN}/intl/fbintl
|
||||
dosym "${D}"/etc/firebird/fbintl.conf /usr/$(get_libdir)/${PN}/intl/fbintl.conf
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}/plugins
|
||||
dolib.so plugins/libfbtrace.so
|
||||
dosym "${D}"/usr/$(get_libdir)/libfbtrace.so /usr/$(get_libdir)/${PN}/plugins/libfbtrace.so
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}/UDF
|
||||
doexe UDF/*.so
|
||||
|
||||
insinto /usr/share/${PN}/upgrade
|
||||
doins "${S}"/src/misc/upgrade/v2/*
|
||||
|
||||
insinto /etc/${PN}
|
||||
insopts -m0644 -o firebird -g firebird
|
||||
doins ../install/misc/*.conf
|
||||
insopts -m0660 -o firebird -g firebird
|
||||
doins security2.fdb
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/${PN}.xinetd" ${PN}
|
||||
else
|
||||
newinitd "${FILESDIR}/${PN}.init.d.2.5" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.conf.d.2.5" ${PN}
|
||||
fperms 640 /etc/conf.d/${PN}
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
diropts -m 755 -o firebird -g firebird
|
||||
dodir /var/log/${PN}
|
||||
dodir /var/run/${PN}
|
||||
keepdir /var/log/${PN}
|
||||
keepdir /var/run/${PN}
|
||||
|
||||
use examples && docinto examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use client && return
|
||||
|
||||
# Hack to fix ownership/perms
|
||||
chown -fR firebird:firebird "${ROOT}/etc/${PN}" "${ROOT}/usr/$(get_libdir)/${PN}"
|
||||
chmod 750 "${ROOT}/etc/${PN}"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use client && return
|
||||
|
||||
# if found /etc/security.gdb from previous install, backup, and restore as
|
||||
# /etc/security2.fdb
|
||||
if [ -f "${ROOT}/etc/firebird/security.gdb" ] ; then
|
||||
# if we have scurity2.fdb already, back it 1st
|
||||
if [ -f "${ROOT}/etc/firebird/security2.fdb" ] ; then
|
||||
cp "${ROOT}/etc/firebird/security2.fdb" "${ROOT}/etc/firebird/security2.fdb.old"
|
||||
fi
|
||||
gbak -B "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gbk"
|
||||
gbak -R "${ROOT}/etc/firebird/security.gbk" "${ROOT}/etc/firebird/security2.fdb"
|
||||
mv "${ROOT}/etc/firebird/security.gdb" "${ROOT}/etc/firebird/security.gdb.old"
|
||||
rm "${ROOT}/etc/firebird/security.gbk"
|
||||
|
||||
# make sure they are readable only to firebird
|
||||
chown firebird:firebird "${ROOT}/etc/firebird/{security.*,security2.*}"
|
||||
chmod 660 "${ROOT}/etc/firebird/{security.*,security2.*}"
|
||||
|
||||
einfo
|
||||
einfo "Converted old security.gdb to security2.fdb, security.gdb has been "
|
||||
einfo "renamed to security.gdb.old. if you had previous security2.fdb, "
|
||||
einfo "it's backed to security2.fdb.old (all under ${ROOT}/etc/firebird)."
|
||||
einfo
|
||||
fi
|
||||
|
||||
# we need to enable local access to the server
|
||||
if [ ! -f "${ROOT}/etc/hosts.equiv" ] ; then
|
||||
touch "${ROOT}/etc/hosts.equiv"
|
||||
chown root:0 "${ROOT}/etc/hosts.equiv"
|
||||
chmod u=rw,go=r "${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
# add 'localhost.localdomain' to the hosts.equiv file...
|
||||
if [ grep -q 'localhost.localdomain$' "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then
|
||||
echo "localhost.localdomain" >> "${ROOT}/etc/hosts.equiv"
|
||||
einfo "Added localhost.localdomain to ${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
# add 'localhost' to the hosts.equiv file...
|
||||
if [ grep -q 'localhost$' "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then
|
||||
echo "localhost" >> "${ROOT}/etc/hosts.equiv"
|
||||
einfo "Added localhost to ${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
HS_NAME=`hostname`
|
||||
if [ grep -q ${HS_NAME} "${ROOT}/etc/hosts.equiv" 2>/dev/null ] ; then
|
||||
echo "${HS_NAME}" >> "${ROOT}/etc/hosts.equiv"
|
||||
einfo "Added ${HS_NAME} to ${ROOT}/etc/hosts.equiv"
|
||||
fi
|
||||
|
||||
einfo "If you're using UDFs, please remember to move them"
|
||||
einfo "to /usr/lib/firebird/UDF"
|
||||
}
|
@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Firebird is a relational database offering many ANSI SQL standard
|
||||
features that runs on Linux, Windows, and a variety of Unix platforms.
|
||||
Firebird offers excellent concurrency, high performance, and powerful
|
||||
language support for stored procedures and triggers. It has been used
|
||||
in production systems, under a variety of names, since 1981.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name='client'>Install client library and header files only</flag>
|
||||
<flag name='superserver'>Install SuperServer</flag>
|
||||
<flag name='xinetd'>Install ClassicServer</flag>
|
||||
</use>
|
||||
<use>
|
||||
<flag name="client">Install client library and header files only</flag>
|
||||
<flag name="superserver">Install SuperServer</flag>
|
||||
<flag name="xinetd">Install ClassicServer</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,7 +1,26 @@
|
||||
DIST pk2-la-1.0.tar.bz2 18990 SHA256 2099e33508dba7d000107f2d1cc68ed7f83e10914086f2add132496ea64e76fb SHA512 ee2cff63afbb0d39335e88c0696c0f3b29aee1ac07d2e892993dece54aff18d9c9ca6001628a525974b020067bb4f9df69b3ada64734a5260c10a00d206b5bfd WHIRLPOOL 20b2a0ec7fd42613369752b5e256c49814cb586a30f732f1f82a1d08a5e22a8046b4e15e4fd1d3328537b2e8aeaf1cc7be25d8bf4b1b2c0639bc4205b66b2efb
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST pk2-la-1.1.tar.bz2 19222 SHA256 62de53e9543dd6a940a0c1c681422431ca2fb823919a29c4a1f2bea5410be2b3 SHA512 50e5b16149437afe92e1e987d3020099b1278f8ad207192e9b197f72ec1ab26c77307efd99976a1c6334bcea1899f38997fce27bd1e4caf70a04f851a8136f0d WHIRLPOOL 370d73c79ecce0a0da1f490fd61bdf484d30ad768636d8ad8faee0d28787ee1f5b2e7772f4f773b701969da67b0334295be034daa2c11b0e62446ada8a42d3f7
|
||||
EBUILD pk2-la-1.0.ebuild 741 SHA256 b167b76e410686efe17ba38e09dbdef80c8f81985628e37593d30d01c910089d SHA512 c390cae0ac7fa7767fa2634fda651e3cb39364754d3b10fe3c2d6331a9ff456b99fabb6268956144883b8048965107e4d0339abeba9ad447b4fc3d71302769a9 WHIRLPOOL 16aaf681edac74c513c4430e015c2d233fd9972c698a05b50657bef9ad0e683cc5a1fa0474c761893aa9f99393c71ff8a7f1f4ab34630bc5a439c4eba37dd89b
|
||||
EBUILD pk2-la-1.1-r1.ebuild 756 SHA256 12c44270cefb70fd28f6195384bf30680e656c9b1cd25af47deb0905e67f479a SHA512 7338a4a72a07f58fdfd19dc6b49dc1bc4d5b9d3c7050c57e98500b95bf96e52b5a76226c25f644c3f0c63aa53d9e6f14229ee6eb1d72c5403f402ca82ee01a1f WHIRLPOOL c0ccd045a1e39b301d2c1c80e13ab442dfac41a6376cc7cfcda69bd1ee1420f1fa6f22927b1abab40fae795fa96c7f37434e50a71d9040cb33b9bebb845da906
|
||||
EBUILD pk2-la-1.1.ebuild 741 SHA256 951de9ba3021502c61d44bb25ff29a179fd484fb9c7649ed63d9d2c9b9e4fd21 SHA512 865f84108b6fedb5e5dfbbec33ccbb44eeaad2880bc1333b7bcda231259df6d1a5c73a793bcc41b76e24f419ec0b247ca36ed74b4914c526db4737bbc13916fa WHIRLPOOL cb868d9b24d00568c42375211a78b72065037a7d91e2e98264e059adf5ae2c019ac0ee69ed7f0d6237538437ca3f0be344127d0fe0c6d5a98abf09c49a7fc35a
|
||||
MISC ChangeLog 796 SHA256 a6a2f2e38c614331a841a8f490242ad6b7b027313774871c8e895725be3261b3 SHA512 2f15c2abfabcd5526460ce87899445e732cb48d815060bad21b1028923909cb088bc880aae1c295bb007d0b69e429e718c29f745ca33ee3828ff4bc80e73c7b2 WHIRLPOOL eab5a7ddd2f7a96c96f9e307718714b61670912076a34888433e3d350c5bbe44fb134cdea9829914aab8bff8b60f4c08e9d4a36cf6b5af5f0a6af846e24b6689
|
||||
MISC metadata.xml 382 SHA256 ca565d7ca92af185680ea512d7fdc709ff2f1cfe059a3cd68ed62bd6542f6fde SHA512 5b460c27794f85a863dade7215346ad98739bb7e38e40ed1e65604b1df5163eee5fe5cd067be89585387296ae864d0c128734c113aaa4c0ba229b73bf13e3009 WHIRLPOOL a5ee271dc0ec8b21cdc75366bee9232c8fd5bbe7c7f2fbfa02433e9ae33d6e852088812f26d2875dcb96f9051e609fef6c528552aabab5b13ec7cbc552d531ff
|
||||
EBUILD pk2-la-1.1-r2.ebuild 732 SHA256 cfd29ca520a4694088e2efc7fa88f0e26198a97c708ed2c9ea7da1f68ef9855d SHA512 d16667ccd0e4369dba2500e4dbd3668c9d68b738bb5507e0fdda9c09c6eef782e390e97aec4288168015d430991b4e608da75f6422c19413135c799083ee8952 WHIRLPOOL 638bc03bc8b914f792f04fcc66971d21a6f0fc6d3d017a7c3ab7f1ca739c6c85fb5f60d9f1bcde72ded6c032d7b2c67ccbc45988cfc36ff3d4c8ba68de6cfdab
|
||||
MISC ChangeLog 1027 SHA256 a7fe19f74dadbd55e0a65fb0e7d5415369c133a8d1783785f2c995f16a17aec2 SHA512 54f27841999317a93f6e949108bae3532cfa7296d031f6698deeee0a0946b66177300d5391518c71b1a8e808f8fff6a983528b065e961c75e93f8cffd168f1bd WHIRLPOOL 6ad92449adaa5a285b25c1c0ea432381c669a80991f3bda5dc5f140123bfceb994f783822a364ce95323e56a434a5c8bb2042904cddb56ef1898d1d14aa85ba7
|
||||
MISC metadata.xml 398 SHA256 b95f31badf56d252d82eae91db4335c959a42aba39dd64f87c6f6ae712f06593 SHA512 3fa4e3d8c5f4b09a946d6c0c33cf02598f836611baff0e7833471ef4f67f4e18bfe7887ab11132f5c1f5bcba7d4f5167e7c2a7a225cff0cc73c4f5ef0824e46e WHIRLPOOL 6bcea41c9acb9263d8e586553b8977dc21913ba554b97ab3f1c43cdeccbb59934b2a03902fc74c72f4ac2af4399d6a235be5a0691766b5cd7fa14633c3d7df79
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJVDYjtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirw7UP/jTcUaWaLRUHLgBvkb0DSo75
|
||||
o6GDqWlG+oAdtBeIorNcVp+I1a0s98fKBQMFQpeF1n+ggNz9jQqUZgSAA+adgsJl
|
||||
nBOCza6Prka/S42F01Tm5rFFv6uWui2OfbJCEUPQ1Q/5ml5nvD4mdRYKURY0MAuJ
|
||||
dJSyDzsXaJ4CemDhe+dfDzQwNZ+hy3i+5bcxvwVyUDuBxQjDMNtKRPZkwf8uk3HE
|
||||
zN3cNqGOfV391HzQeT1gI2+Ws173KJFas+I1IseOBzg/60pOSY6ciNGfhMaCabUT
|
||||
uO71VsAWWoSbqVpWYNv7ElkIMMCcXZlXCYazlZhxDgm6G9XV3afIHpM76iB1uqmE
|
||||
k/Hb/ycelCqpqi/2w4hlcf+5B0moKX8NBUEP8CjfmIB2nMSVE/0NrPoAj4a3WpKL
|
||||
8VN0w+UXSXHzSjv8tbN3uVbrClFdDzDZkUJkeyIR3k7lTyTGG9igueEYtQw9RJxC
|
||||
DsUt3IyIf35MUPgAOK7/V1MwInBa3VKsobOpvL+36YiR3XGiYQVlzp2yf2M8o2Iy
|
||||
NWDdOX8cyeG+fAE/EJjBGCtB1y3slO+4f6G84KKYflJLLrKTv6opiF7JAGtidwtx
|
||||
G09S6YCaRJ7KrUEPVtIVVYHS6/G5fHdNIxlrfZXcPj5xXhOMm8Of8Jk+UO3PUvsl
|
||||
aNa0fdI6SMgSgSV8pFIf
|
||||
=OvoK
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,10 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>embedded</herd>
|
||||
<longdescription>
|
||||
<herd>embedded</herd>
|
||||
<longdescription>
|
||||
pk2-la allows the Microchip PICkit2 programmer to be used as a
|
||||
Logic Analyzer and I/O Probe.
|
||||
</longdescription>
|
||||
<maintainer><email>josejx@gentoo.org</email><name>Joseph Jezak</name></maintainer>
|
||||
<maintainer>
|
||||
<email>josejx@gentoo.org</email>
|
||||
<name>Joseph Jezak</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2-la/pk2-la-1.0.ebuild,v 1.3 2009/05/29 17:55:32 josejx Exp $
|
||||
|
||||
DESCRIPTION="Logic Analyzer and I/O Probe for the Microchip PICkit2"
|
||||
HOMEPAGE="http://sourceforge.net/projects/pk2-la"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pyusb
|
||||
dev-python/pygtk"
|
||||
|
||||
src_compile() {
|
||||
### Nothing to compile
|
||||
echo
|
||||
}
|
||||
|
||||
src_install() {
|
||||
### Install the program
|
||||
exeinto /usr/bin
|
||||
doexe "${S}/pk2-la"
|
||||
### Install the documentation
|
||||
dodoc "${S}/README" "${S}/LA-Format" "${S}/IO-Format" "${S}/CHANGELOG"
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2-la/pk2-la-1.1-r1.ebuild,v 1.1 2012/04/29 16:49:04 josejx Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="Logic Analyzer and I/O Probe for the Microchip PICkit2"
|
||||
HOMEPAGE="http://sourceforge.net/projects/pk2-la"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pyusb:0
|
||||
dev-python/pygtk"
|
||||
|
||||
src_compile() {
|
||||
### Nothing to compile
|
||||
echo
|
||||
}
|
||||
|
||||
src_install() {
|
||||
### Install the program
|
||||
exeinto /usr/bin
|
||||
doexe "${S}/pk2-la"
|
||||
### Install the documentation
|
||||
dodoc "${S}/README" "${S}/LA-Format" "${S}/IO-Format" "${S}/CHANGELOG"
|
||||
}
|
@ -1,6 +1,28 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
AUX pk2cmd-add-share-dir-for-dev-file-1.20.patch 668 SHA256 c59040ad6b5d840f3e55990fa58230610aac9164196ea0b3255fc1f4616c882d SHA512 f586c7eed0eac0d68e495d582c85c802c98ac8c84f7f21b00616edbbace74b877d21fd43334e5accfd02413d4a6d9d9811241feec1eaeae3a7647c745206d638 WHIRLPOOL a22205d9a8b1c95f9fc341e5f3db41df47ec0787ea44267c19c58f7ad47f3beda411d1fcdf003380b41960a34a0c83cd03fb6bd62cb4bca05669484d6e48257b
|
||||
AUX pk2cmd-add-share-dir-for-dev-file.patch 671 SHA256 50c304a9b6465639df02599f2bdff7c3d8c45d4aa68be00727c649d43e65b078 SHA512 9e9a7fcbec7ca3c9d0f2204eb60eb8d984248f21a6b7a2f6c11ff8fbd8da64e1bb5a92a0e5283542c7c5cc3e4cb0ea0438687c2bbe449804e6c86426307f4d44 WHIRLPOOL e6eaa2c352f694442f2483a195dc9a3238320ded41659bfb364ad935b6d10db3bcc07cce0ae7e1f64d4ce258431a4d42db471439f183e99c8630e6d336cfbddf
|
||||
DIST pk2cmdv1.20LinuxMacSource.tar.gz 223175 SHA256 903027de5036eda3a648decece4acfcefe91e754ef0d4eacba0e5ba8b18857fa SHA512 72675eb287c1410c82ff49b4922afd28a8017b4e8517d10e77e0f0b111630f90881f778d754a47c97453f45412e965e281435d495fc70a047bd7357dd64f7b24 WHIRLPOOL f4f36412d4e653a20866bcbe9ec25b94e8ff4e75c1ae2e4944a42682832c9b64b683248bc559e73b976902906d2959492867f055291588cf66d9b83838174c75
|
||||
EBUILD pk2cmd-1.20.ebuild 1381 SHA256 b767fc8e830893bfc42a8dc31ada4879d485e21f84adca1322ecdbfcdf3dabae SHA512 7e6ff60fa63af700a8547a471b62dd7f57a8a48f06a4743fbcef24eed4bd3c83c7ecabb5aa71a40007f623539326cdfcf768493398a0b75b2ff689de1a239843 WHIRLPOOL 5a82cb51d642765b50af71e0ecfb0cc677aeef37e5ef1e31acfcb103e14987def6b985de3ca3c0ac8fb96fa8e5307ad884e71f507e91e5257a0db16e9ca6621f
|
||||
MISC ChangeLog 1456 SHA256 7432abba7fb3a4350091d81f338bb162c4137b6c9354d5f1bd3af4050373a0c4 SHA512 c8a3f96eb0190b5c643407d028330a512be924eee977c2cfcad7e2916a9d45dfb5ececa53f6de594c891d52317d2958bb500d4b29d972ff0fe4c6a899b79a558 WHIRLPOOL 0baf36c2d24d87c6e085576dd33f42055a941d8a860f5e28b4c6a0dee5cf87ab8969e25ff9b5a141e6e66c4ecc1272a00c3e4b5cc854110263b29427b3911d37
|
||||
EBUILD pk2cmd-1.20.ebuild 1323 SHA256 84c7d129ed7221621ce1412a73440089d70664cb4182ae49e44c1caa3a0edb43 SHA512 5d384679dbd875d28835390eb4aebb9f15e46c28f9a485ec1341aed0d22320f5d319be25bf44975105f12c407ca890a1752f5ead95c660e72acebed2e38f8114 WHIRLPOOL d9142f852bb8db93229a17a35db30245d090c6f977b268787aa504037bd6aa1d46264c417ec6fe8694c254d7ce665f04c12609055dbd03ff1b016a5e0f869bcd
|
||||
MISC ChangeLog 1573 SHA256 935b921421cee1487c5fbd7bdd137a777e94c5a24b7d392a6ef6d504f5aa8e8c SHA512 c1103c0518e48e13b1c4697c90f452a6c5f0edefa59013225b703e7b989520df2224e6a2e47fc9cc528591437cf6796ff37de07701dd5ee62b7fd734921ba407 WHIRLPOOL 9bb6a499a9809728ec99ca84cad330a7e67ed28c2ac4310557b6073661e28ad92d14f0d53f8cb5c73a2d2c3841d9ae4ebd2bd2abe8c3568031e4a5835e9a81a6
|
||||
MISC metadata.xml 346 SHA256 08e2004b3b21d1731124186daca5cbc2317b664b41ecde75a470d9af910e5fa7 SHA512 d8a82aa40d3f8af7b7e43e84f7fa883705f72b424bd99ef7304a6b2773c130319f98b5ac317f7b693acabe9f8d5e47adafb8682fde3a655b9a190da34f255d1d WHIRLPOOL 6f11339ed64e32c96970f02111b1845e3037b715f0660575e988009c2e41259a987c47b43a335e504af6640a315289c85f7dfa0c0989599dabad32c6a09f8218
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJVDYe6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
|
||||
OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVir9/wP/RoUCsw6wvPGsGB7kx2g4JLn
|
||||
JoaqinHu2myVkJhB+djtfsklVZZsJU6MhO9Zz6cilEIfGoUGkC1w6s42qEkj+OOT
|
||||
CKmngU8T17wlf4dheVzTPzJH+Fp07K8sAbIDT8Gl8x5c+X/RA4s0hag0p+3Jj0PL
|
||||
bcbQknhaI03MDR3UJDoLbp1P9fqugAs3cQyf2DzVOqbh2OHL3/PXp9CcPzWMMcCN
|
||||
+VslRtWoRVMfBEZnvwn8O+UHO+LeofED4sjo0fOw4g+cxLvbr/XwwAJr0pUCO/EF
|
||||
xsJ0RNGyJZB8IeSYWE/N9NJJpSsKaZRw0BftAG2TpbH/EiOMdXcSaEv6buK9Aq1l
|
||||
lVW5HXGgtuel5KXgCSqXQIs80TlHqc3GLjHkUhnuUDRVKVJanCjgaZ3J1WX05igB
|
||||
qOpSgnsdU1YZzs1cQTIJrE2pnZDAF9E8T9i2Pn/mQ790Ce9q0TFdrGMoLw97YKGf
|
||||
g19gOBq2Yt++gmm5yvMYUUqramF1RHuIxIx0RGOv1TYA4EAjOd8qGaVA09h8GxEY
|
||||
yZT3FEV7LhYkguOPEeGA7vLzgKCE0K74tLH3f4dbbmu3ODh4nw2hr0kgEdp8awh5
|
||||
8ntVzYMQmUm3oWy8Q4qQg1tumuY+Y9cD5Gq7BYJcTjaeEY357pDEWmmok8S9fS8L
|
||||
XH1a2vL+FELYpFxiRM7G
|
||||
=Wnu+
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for dev-java/gnu-hylafax
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-hylafax/ChangeLog,v 1.1 2015/03/22 08:27:39 ercpe Exp $
|
||||
|
||||
*gnu-hylafax-1.0.3 (22 Mar 2015)
|
||||
|
||||
22 Mar 2015; Johann Schmitz <ercpe@gentoo.org> +gnu-hylafax-1.0.3.ebuild,
|
||||
+metadata.xml:
|
||||
New ebuild for gnu-hylafax
|
@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST gnu-hylafax-1.0.3-bin.tar.gz 1742697 SHA256 1e35853af20d74e1c3acbc460ef7fb04f76fc52be11ff0b560abe14b3c4f0a61 SHA512 7af66dac5a1b98eddc3d60aa439809f4e683a39a795ca50d0f99f92d4fb17704ab5c7528218be1f4698bca0749efd46c5ec3510e8a10a68b1b77faf1997dc4a2 WHIRLPOOL 2081d2238ca8ec5709ce7520547370b6a8431e33e33fb318612eb43cced6edfb1fc02836cca4bfc1d7c3edc24a3ea63bc53ac34cd573da436f10031c7f7b1ccf
|
||||
EBUILD gnu-hylafax-1.0.3.ebuild 1112 SHA256 e53d56c6809965709068ff91a3a07240d938a7fe81362524d9c8e4c7bd6af8bb SHA512 da963a0be7fb43be46f0c2e6e130392964b0483d590d28769c8167170663225d622a551f1c616c5d990c448ab56b6ac7382842e4a360321a8a78926353644bb1 WHIRLPOOL 8b949ac617785bb965179c1d7a2fcd66de02631c3b2dc0267c0be1b9770bffdcd7137653e9555afc641af5c9914657cff9c27deca59eb322da98c502d226cfb7
|
||||
MISC ChangeLog 368 SHA256 3eb7375cf9fc3d1a48322a580a928ad075727dfd8b2c8b6d0c53e24a2a5fbb57 SHA512 d18e8468fb8c502509d0467b46e865fac8942e6d9bea190399b2f572f6546f3d62afd8ab5751bce66d858a769db089e94bb75f05c3629edb13043341411b2f18 WHIRLPOOL f6b4af77f05e8497a82d4e66b65984ea9259a98c09e0862cd52df12433a29e555bd6d9a84fbb775ca13d6c6a7b042c23a88d249ab1ec6e93865bb0c90a8eecff
|
||||
MISC metadata.xml 159 SHA256 da2aaa3223c5418688dfbba6f899648c5bcb2e4610126519a1a862913c4f8fa6 SHA512 f5bc77a4e168cdb5a9f9c347f6f437b16bd28978351ec692d4f7e406ba93479424e2272de70fe85d2e0668172de8ccd3aa096f49d5912ed91d17bea11756865b WHIRLPOOL b0cba2d5917cc20d7409ccfedc345ab38c71df76c5c030df578d6db718f8a60dcfc1927c20e7062fafc62e955a90ec9f21cdcef6d7a566fddf374ce766ca64cc
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJVDnz/AAoJEKCEBkJ3xQHtfv4H/3XuHc5HNyOkngurZyh1Uvpy
|
||||
+mXLHdxixRqiZoXYdZHB5hty3s+UjeVLwOZKlYcvR8NBu6ui/i2XmP5TPU8IetmL
|
||||
Y/+tANxh2pZE3US3IfpXRsRWWghIjPmlDP3PkS/RYrq81StnJ9xkQWRzq1zAnITa
|
||||
wBXPsa2JgnCc3z4Q2xDpescfEW0M1nQFiTmu1IK5fd7YS9bRwM+OeFYNyZh8zjLk
|
||||
Ygn6BlpQPUcXkd9MSzyV0sptu2KpNzm+rTQkIyuReJBKteyS3svNJUk3LuxAXRrl
|
||||
lvL6gUCANOoSxI46iNjiA6wPNwxUwufquieZU8+/ZrKXx0kdhBOvSwZW4gen2/w=
|
||||
=MK9d
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-hylafax/gnu-hylafax-1.0.3.ebuild,v 1.1 2015/03/22 08:27:39 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java API designed to implement the client protocol portion of the hfaxd server"
|
||||
HOMEPAGE="http://gnu-hylafax.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}-bin.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/commons-logging:0
|
||||
dev-java/commons-cli:1
|
||||
java-virtuals/javamail:0
|
||||
dev-java/java-getopt:1
|
||||
dev-java/log4j:0
|
||||
dev-java/concurrent-util:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5 ${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5 ${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="commons-logging,commons-cli-1,javamail,java-getopt-1,log4j,concurrent-util"
|
||||
|
||||
java_prepare() {
|
||||
rm -rv "${S}"/lib || die
|
||||
find -name "pom.xml" -delete || die
|
||||
|
||||
# tarball contains the same sources in gnu-.../sources and gnu-.../main/
|
||||
rm -r gnu-hylafax-*/sources || die
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,14 @@
|
||||
--- a/src/test/java/com/kenai/jffi/NumberTest.java
|
||||
+++ b/src/test/java/com/kenai/jffi/NumberTest.java
|
||||
@@ -234,9 +234,8 @@
|
||||
private void returnF32(InvokerType type) {
|
||||
LibNumberTest lib = UnitHelper.loadTestLibrary(LibNumberTest.class, type);
|
||||
float[] values = { 0f, 1.0f, -2.0f };
|
||||
- for (int i = 0; i < values.length; ++i) {
|
||||
- assertEquals("Value not returned correctly", values[i], lib.ret_float(values[i]), 0.1f);
|
||||
- }
|
||||
+ float[] lib_values = { lib.ret_float(0f), lib.ret_float(1.0f), lib.ret_float(-2.0f) };
|
||||
+ assertArrayEquals("Value not returned correctly", values, lib_values, 0.1f);
|
||||
}
|
||||
|
||||
@Test public void returnDefaultF64() {
|
@ -0,0 +1,52 @@
|
||||
--- jni/GNUmakefile
|
||||
+++ jni/GNUmakefile
|
||||
@@ -41,6 +41,7 @@
|
||||
JFFI_BUILD_DIR = $(BUILD_DIR)/jffi
|
||||
|
||||
ifeq ($(USE_SYSTEM_LIBFFI),1)
|
||||
+ LIBFFI =
|
||||
LIBFFI_LIBS ?= $(shell pkg-config --libs libffi)
|
||||
LIBFFI_CFLAGS ?= $(shell pkg-config --cflags libffi)
|
||||
else
|
||||
@@ -64,9 +65,8 @@
|
||||
OFLAGS = -O2 $(JFLAGS)
|
||||
|
||||
# MacOS headers aren't completely warning free, so turn them off
|
||||
-WERROR = -Werror
|
||||
ifneq ($(OS),darwin)
|
||||
- WFLAGS += -Wundef $(WERROR)
|
||||
+ WFLAGS += -Wundef
|
||||
endif
|
||||
WFLAGS += -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter
|
||||
PICFLAGS = -fPIC
|
||||
@@ -279,7 +279,7 @@
|
||||
@echo "JFFI_BUILD_DIR=$(JFFI_BUILD_DIR)"
|
||||
@echo "OBJS=$(OBJS)"
|
||||
|
||||
-$(LIBJFFI): $(OBJS) $(LIBFFI_LIBS)
|
||||
+$(LIBJFFI): $(OBJS) $(LIBFFI)
|
||||
$(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI_LIBS) $(LIBS)
|
||||
$(STRIP) $@
|
||||
|
||||
@@ -291,7 +291,7 @@
|
||||
@mkdir -p $(@D)
|
||||
@$(CC) $(CFLAGS) -o $@ -c $<
|
||||
|
||||
-$(OBJS) : $(LIBFFI_LIBS)
|
||||
+$(OBJS) : $(LIBFFI)
|
||||
|
||||
ifeq ($(OS), darwin)
|
||||
build_ffi = \
|
||||
--- libtest/GNUmakefile
|
||||
+++ libtest/GNUmakefile
|
||||
@@ -44,8 +44,8 @@
|
||||
# Compiler/linker flags from:
|
||||
# http://weblogs.java.net/blog/kellyohair/archive/2006/01/compilation_of_1.html
|
||||
JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing
|
||||
-OFLAGS = -O2 $(JFLAGS)
|
||||
-WFLAGS = -W -Werror -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses
|
||||
+OFLAGS = $(JFLAGS)
|
||||
+WFLAGS = -W -Wall -Wno-unused -Wno-unused-parameter -Wno-parentheses
|
||||
PICFLAGS = -fPIC
|
||||
SOFLAGS = -shared -Wl,-O1
|
||||
LDFLAGS += $(SOFLAGS)
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jffi/jffi-1.2.8.ebuild,v 1.1 2015/03/21 18:29:53 monsieurp Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 versionator
|
||||
|
||||
DESCRIPTION="An optimized Java interface to libffi"
|
||||
HOMEPAGE="https://github.com/jnr/jffi"
|
||||
SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="1.2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
COMMON_DEP="virtual/libffi:0"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-java/ant-junit4:0
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
epatch "${FILESDIR}"/${PN}-1.2.8-makefile.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.8-junit-4.11.patch
|
||||
|
||||
# misc fixes for Darwin
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local uarch
|
||||
# don't do multiarch
|
||||
# avoid using Xcode stuff
|
||||
# use Prefix' headers
|
||||
# don't mess with deployment target
|
||||
# set install_name
|
||||
use x64-macos && uarch=x86_64
|
||||
use x86-macos && uarch=i386
|
||||
use ppc-macos && uarch=ppc
|
||||
sed -i \
|
||||
-e "/ARCHES +=/s/=.*$/= ${uarch}/" \
|
||||
-e "/XCODE=/s:=.*$:=${EPREFIX}:" \
|
||||
-e "/MACSDK/s/^/#/" \
|
||||
-e "/MACOSX_DEPLOYMENT_TARGET=/s/MAC/NOMAC/" \
|
||||
-e "/SOFLAGS =/s:=.*:= -install_name ${EPREFIX}/usr/lib/jffi-${SLOT}/libjffi-${SLOT}.jnilib:" \
|
||||
jni/GNUmakefile || die
|
||||
fi
|
||||
|
||||
find "${WORKDIR}" -iname '*.jar' -delete || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
src_compile() {
|
||||
# generate Version.java
|
||||
cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
|
||||
package com.kenai.jffi;
|
||||
public final class Version {
|
||||
private Version() {}
|
||||
public static final int MAJOR = $(get_version_component_range 1);
|
||||
public static final int MINOR = $(get_version_component_range 2);
|
||||
public static final int MICRO = $(get_version_component_range 3);
|
||||
}
|
||||
EOF
|
||||
|
||||
java-pkg-2_src_compile
|
||||
|
||||
# generate headers
|
||||
mkdir -p build/jni
|
||||
javah -d build/jni -classpath target/classes \
|
||||
com.kenai.jffi.Foreign \
|
||||
com.kenai.jffi.ObjectBuffer \
|
||||
com.kenai.jffi.Version \
|
||||
|| die
|
||||
|
||||
#build native library.
|
||||
local args=(
|
||||
SRC_DIR=jni
|
||||
JNI_DIR=jni
|
||||
BUILD_DIR=build/jni
|
||||
VERSION=$(get_version_component_range 1-2)
|
||||
USE_SYSTEM_LIBFFI=1
|
||||
-f jni/GNUmakefile
|
||||
)
|
||||
emake "${args[@]}"
|
||||
}
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="ant-junit4,junit-4"
|
||||
|
||||
src_test() {
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djffi.boot.library.path=${S}/build/jni" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libname=".so"
|
||||
|
||||
[[ ${CHOST} == *-darwin* ]] && libname=.jnilib
|
||||
java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2)${libname}
|
||||
|
||||
# must by after _doso to have JAVA_PKG_LIBDEST set
|
||||
cat > boot.properties <<-EOF
|
||||
jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
|
||||
EOF
|
||||
jar -uf target/${PN}.jar boot.properties || die
|
||||
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-constants/jnr-constants-0.8.6.ebuild,v 1.2 2015/03/21 23:16:56 monsieurp Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A set of platform constants (e.g. errno values)"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-constants"
|
||||
# SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/jnr/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue