parent
94e33be716
commit
99ce590b9b
@ -1,7 +1,9 @@
|
||||
AUX README.gentoo 398 SHA256 d988c57c417023c225deebf7fde59222f3ff214b1f750320e8318349455e78db SHA512 7504d7c2e8731bfaf97e045dc75fc29c50fd8602377391f598b897d93c96913a252d436d0373518da50f4e98c370b59d172b98d3db6e32d18e0097cf5e4f3333 WHIRLPOOL 7fe8e0bb6ed46bd5ccae52c609af528de9546fbb8c69139e73b7f029b36380e11baf4988e212aedea7df9652b2154b8c9ba030a4b7ea461637eb826fce784dfe
|
||||
AUX ansible.env 99 SHA256 04a806ca12249b1b1387e17cabd85c8b09bac64914650d7a776576153e32591f SHA512 79d0d6581116ede67d6b184d1a16c2ba6586d4ca8cd71047bc5a81a82696b0e1a124f22248877aefc0a810f0ae3bd2724dadaf71dd5078bbe0910a9e8c3ab111 WHIRLPOOL f347143d490cf1dd6784059022fb7c6c85eaa5e957b6b5eb85f6b1b8a98d1b90c26aa0602fe2cd6679c4709fb9dad2fa67bc53326bfca80205cb7b7ded757c90
|
||||
DIST ansible-1.9.2.tar.gz 927525 SHA256 c25ef4738b08fdfb3094247c012f3fd1b29972acbd37f988070b2a85f5fbee00 SHA512 6c0b3eaac11e11bf90f5b63c54da86df0cb33b0ee98c987c48a68fa643b39e9f0817884767f2bd9c0f6e8852d37fd1b197d5299abc574fccc181fbb22985d4ad WHIRLPOOL 19d50845b9920d85c5ce0380303144e7a4237e673dd4beb5ff020042d7bac59dc0706cff88f08155029ce1a3aa9decc3c54261f9f16524b6e5e3b42e599d3a6b
|
||||
DIST ansible-1.9.3.tar.gz 936633 SHA256 2594f642fd800056a427c1026410dc6ed8dfa7c0033f5c3d187abdb2b0d4eeed SHA512 280d7506417affc11fe8c8715f82ffb011991e48e96db73aca915e1393d51073564c78a98b018c380b7fb8e697ce0fac6208822da44f2bac545f142707325d43 WHIRLPOOL 5738bcd263ca32279bbca30e3f1b5c53e5bd72a18025fdb82393a8d85e5a826b3be4ce78cbbc648133768d212fa49d1c3320af4b34f948c1b1cee40d73147f8a
|
||||
EBUILD ansible-1.9.2.ebuild 1411 SHA256 f3cf86472fecca2fcf73384a2637c2a88e5049f1a31a3535008d7e171a07ba5b SHA512 c9c0cba895aaec5f321e43037af89acd57f9fdd7c27de8f378801e17e4c39097b6e6f3b3274e83dd1731822d3aa4beb48c406303a6e4ef38668a48a19efc870a WHIRLPOOL 921bad08aadf7e5ed65174f35b7224563cf254b3a74144cab45b21ad8a6a9bca454705bd0cda0df73eb48f993be2bfd3c7d060576d05fe048d7a559fcb10ac81
|
||||
EBUILD ansible-1.9.3.ebuild 1413 SHA256 e1eed291a57927f025c1368f13fba518883cf9a693b963622517956c6e0687f6 SHA512 4c04dc83331d0ae55db8506ecb5c35ef0ba1072e9d718c6caf33027742d2abec4d7e912ffa01b4938eb8529bb10367adcbc66cb072b2f0eb8945401fea5b544e WHIRLPOOL a53ad3b31edb6a07951390e2e0ad2098aa7cce93ac94f5c8f16fcff54b1169046880b4e13b3d8fd9ace836d5f9786f531a849ff4f5a868f31a49cc7d9087ed58
|
||||
EBUILD ansible-9999.ebuild 1372 SHA256 f1976979f072d2a0cd5ca6a5089715728bd489c562e6be5f10d7141395ba11d9 SHA512 b52412443e1cd71b1aa6f3cb25e3e887bba5db0d85b4acf9b4531ac0410ef6f6fa81c8770f28c2d116522a5b394e082415f98945f77a31eed6c3d43291459ea2 WHIRLPOOL f2bc1f49320294283b3f3da98460571a29226423a2f6d6421a0636f9fdf3aafa3ff143fa7d2725e01d30f7de29c927f0012480cfb6f8523482c5a0b9e2122448
|
||||
MISC ChangeLog 11597 SHA256 88b37db76a87a55c7ac0afd355e215dcb788a0217a70561d8a5bdac8af71415c SHA512 25b912511f5763eb335b67a5adf194800b131440c0170b7cb37772e07ee926a2df530586ab77f8963f95b1176e5309de3f5597e7bb57df80f5e025afe83969c4 WHIRLPOOL bee785f57512f313a52908c3e93984138fde5b67ed2f800e6fa7438d6a4fa9517c05aed9326f2b922e6eb89fe4e2ea2f98f4e5a44b5a55747b6ef8fbe4ed0540
|
||||
MISC metadata.xml 683 SHA256 d232c304902a0f362ce134a37de0679368cef90f29e87f807f1a717092cd2c3c SHA512 5eef9685a70ad5ba9e5fe7e53f0460dfd19335ebbdd1c0dfd1757624645bcbe980441f471b66848cb7754d0cd350bc6f6a77bc9e8d9850088f2d179ac66cdbf4 WHIRLPOOL 922d42eb1d3099db0d683858781513d6cfd8c7cbe2b237cf0322ca29cf767013338b2d353e72d1f420ebc61061b4beedb43e3c34e9525c7d04d9bd26e78b9f18
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/keyczar[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
EXAMPLES=( examples )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
|
||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Alternative ssh transport" dev-python/paramiko
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST gcab-0.6.tar.xz 316668 SHA256 a0443b904bfa7227b5155bfcdf9ea9256b6e26930b8febe1c41f972f6f1334bb SHA512 80c18f213b94402cbb4c19ed506f4a40e9c4f8deb9ddf6ee990214213f011f7638d83122b36cadff86330b524eef82969d1245b64d5d04eb5998f76cd2ca6df8 WHIRLPOOL 8e6140d6a9d11cf0ce249d15ce2fda21fbbca9c366cc938ff99398bcd32f375d07909c421ade7530611902c27e7c002d8f43ff71c04830c5062849ebe5c347e5
|
||||
EBUILD gcab-0.6.ebuild 918 SHA256 f0677172f83e65646f585e57a5e3c44b8ed2808b44361b47e4bd3d27b983f54a SHA512 212ccca2c2ceed7ccaf6bbafcf3377e26daac64705fee934f92c7eba09e4236bb1745cb672fc19d268cee5d7c197b4057a526952a416e969bd46d80c623b4a7a WHIRLPOOL 147df4a7b2ab14ed108be57d28224b0f9e328b749758eacdd03317d58ec7ecaf276362aac4462d9be8d599e60b4f866728ca4d89b26b5f65dd0410ef743b2ad2
|
||||
EBUILD gcab-0.6.ebuild 930 SHA256 6452ede609af04018ed47a03b72ed8138ddefed1651b4bacdabf9e3be9c3e2f7 SHA512 dcfc8b9b58d40d3e3e9f99823795bed3e0a78a9772172e69ac33a2752638ce5d9a439a5cf4a844a3b00edf99270c19650411826ced242a24efb5e9e17a6db4eb WHIRLPOOL b7e7cd907c790d948c4cc07ebe58b97d60d603d364b487831eb4d09b0cb0687379ba13dd0f3bf9daf77d5e49864a30748a42c97b5ebb6b2ed52dccc61b22a32c
|
||||
MISC ChangeLog 739 SHA256 c8da0e3d0d1f017f5570e88e24266a97bcd549dc74409a30fbcfa5e5512304ee SHA512 53e7e332f6e3e15d141b962ed677f55ac1ed1e1352f3800562c9b5c3f6111adebf675dfa5da067a9683de4374b153b79d50de4c63745e7abccdca4c8346d2250 WHIRLPOOL 545c9264ecd4143084524367db7007dc9edd82ef6dab95c0fea9179c2f057aecc44f483b9011241a9e656e3342df654507a3a3ca35b29f0a26c2e97be425e517
|
||||
MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
|
||||
|
@ -1,18 +1,12 @@
|
||||
AUX unrar-5.0.2-build.patch 1340 SHA256 f30c2362646138be07afafb401315ef2ae205d4de9f2b455f733dc46c07e72ef SHA512 cbb65b03bd5ef89972a7d6f286921f4542861b0c4f27b8d61c48dcb09535a316037303e2e44b749af3903d71fb31bbdb9aa117310a7550c65a4669c161bd6711 WHIRLPOOL a586035f92a669079f7a50262ba90875044e484b44473a57054fda8e514e293823a6f3f45c2a48fbe124e7f686adf95a6e562fb78943a92a6d42e0a4ae208ec6
|
||||
AUX unrar-5.2.2-no-auto-clean.patch 446 SHA256 3c458b58f8ee61f92c747abd8fa78dc7e9bdd7133d018c30492f276c6b9f3670 SHA512 e360b45555af804de8aac577a99ea682cd699b30988239b62197d222b41c26e129fc08b8c492e69d59249908c035f3b68db5cd4d998faede942563ed82098d72 WHIRLPOOL b89451a9c987852850f26fb690c8a1b7babfdca9485a22c723a8c7d2929a8b59b47e9e4ee386ca201acb827b85f59953dc95ab3fdc5ead9622c650908d740edf
|
||||
DIST unrarsrc-5.0.14.tar.gz 209707 SHA256 e276ea30a2dc9b8961a4268772e5b6caccaa984664e2d5255a43fcb0f5d59806 SHA512 91b05bd2974e0a1cb8bd8f01ee90637c9c48da71a4ffa74e161de969f17bedbcda0cfbac128d366ffa5065e8195004fe82763a2a1e8628f0016621b1c2d364f2 WHIRLPOOL 665833a5cac5cfddaa6bf852b6820e8447604019286f7f81dce910ad49b8eccf5a4ceab2c1177837e71492ba0c37d2d288b78eb0a531fd47d34cdd8256fd7f19
|
||||
DIST unrarsrc-5.1.6.tar.gz 215185 SHA256 3c38eaabc655527244fd0c3ba3beff567ea24aad37d448488643242fd4cf41a5 SHA512 a7a7800ac94850320ce3e2dd24c5005694dd59360b7f3fc7886ef241153e471459b0b9397d1dacbc3adcd19044cdcb8a8a847e16d7b224af149a1455f46fcaa0 WHIRLPOOL bcb9d1b60f42357cb236cbb5e86eb19dd4ed623244036fc1e8fc3759eef3d4002e6ffc90d3cf5b5200e81fe018a2215c0238ee2aac7148e51f130e43ad3e5ea0
|
||||
DIST unrarsrc-5.2.1.tar.gz 217272 SHA256 a075a8943412abb2ff5600038330a3d5a8f5a39cbe8e92543cc2c45b6247d05d SHA512 bd89acbed0377f48c88e5b9f6c3701dff1d0a5a65e74e9668690daf0ce0188c74914ed7edb093c0139b0507cf0785790fd8505be7d54204d16bcfced64b4dc29 WHIRLPOOL 6e21e981663eaa14e5d94553cb8fb93db601fe1058f73fc32d3f9a30f399210e71c657d342495d1be18b0e011a5677084242e01b5dff8aa476379bcbae1f7857
|
||||
DIST unrarsrc-5.2.2.tar.gz 217481 SHA256 4c134a739467dd0a18bd8aaa48f32750335c842d8a27e11b955ccc33a73ac834 SHA512 ae1d9c3009b9e632bffff54553c0ccc347e59a77236b0a76d9fe603285e17229ce295e718ca6e7658fb050a3145a03dcb2daa6e704cd459d2b7a6eb1a101daa3 WHIRLPOOL 6e3e98be8df13729b89a0c64e775c148ac560c31bb2ff8d61c7ba3ba75421da698e702336604944787eee5e3edc774ee09df62395610c4af0f6262f5870134be
|
||||
DIST unrarsrc-5.2.3.tar.gz 217841 SHA256 d249d34541dba39234cdf661ccec80e44334efe50c3ca1d7c51186cd5d26e072 SHA512 94ff765c2aa4ede7d5f2f35c3c35c634b7691559ac9bc978a4f760e22e005422a3a0d36ab09e4c492cea456161cc13dbf256eb2ead23a7976e79bf3cc89903ed WHIRLPOOL dbb7408444078a0ad507fba2d2a483c91a9519193635b25a04c076b92c27c7af9e53481cd89927ca040e03422b5a36e1192f906043706bf9ad2a80f867c27b0f
|
||||
DIST unrarsrc-5.2.7.tar.gz 218880 SHA256 ef14757e943787b439fedf2c564c1f38d0db315528a928e0de170860717e2fac SHA512 95e06451e2bec46a12e5b9b1423c3ea31ce86859f8086812d9c442aaa69627f72635a6a8c197b30dbc7e99bbf7c7caaa25d703caecbe03c697cc0e5b7644d638 WHIRLPOOL 49f5492a7441192d96616f892012ca2dac8a94063e806ece3c62bf13d29beb9d2d0368a186c0f0bff8814c9e6af542ba6b447a61683295f560f120ff75507379
|
||||
DIST unrarsrc-5.3.2.tar.gz 221786 SHA256 2d8712eed32367b1a404633f230f94f545c1f2ce0552f851266b00c261a786ea SHA512 ea3ee5dd3c15a52f577896bca0d5136c9a6e76a5552d6f56be519eb59c2cc137aba0dafe53dfb50c768e8e7f2e1c1c067a3e4d0c67383da3ae1da58ed68fe99b WHIRLPOOL 07454ef4e00ad8982cd4658aa35a120d8318b3bc7979360abdb7973855e1d6e78cd28473cf4127aa7673b26c27c7e379e483017f0f29b49b6c65d08271326d05
|
||||
EBUILD unrar-5.0.14.ebuild 1435 SHA256 52cffe42cece44538098d420655ba6f97b69228da7809561f97b01b5c3239b96 SHA512 a94db3adc6bf1d048721b031a54734ab42d645b08f51bf9de2028497ad492538d3015c2b99a92e3719d3505c37faff8742a76de4073b99a16bb24b2cf55ef184 WHIRLPOOL 92ee8ca10df507ce5487ae88b75e04be1ca0937af48f9dfc15f90b0f50a6855f556d1ff003d6b9fde0da8308b2be84d94256510e39e0ec6d8e25ecdfaa3a861a
|
||||
DIST unrarsrc-5.3.3.tar.gz 221930 SHA256 099c67a2fdb76e55386e4496d28cf6fd1ffd9ac394b95c46b73926c5f69bd107 SHA512 5dffa77043992b72dab10752c547c30d2ff884a18c8b19ddbbcd711e4a9f7f82020edfeb560bd10122c18296aaf08d27c7c1db4f6b62e3ec2a4cd0c449ec7d52 WHIRLPOOL 8be0c41a1ac81d9e9a16ce6b7cbc3479929ec65df8040a58a91c0c89d9b02a8ccde584e829e6ceea6ffa645939d68998f46627ba7df54942f76595cea8f26aaf
|
||||
EBUILD unrar-5.1.6.ebuild 1775 SHA256 8ece957057aee8332b1a9cded539441ca0d7640463eb4fc973054cca5c004e96 SHA512 477615d9717a356493cbe34db683d6175f2ca3d5d9600b48ed6ae7a20e3dd556e4b0ba7af8d8055e43ec41e126b9bc8732d3d1d1e773ad04279082b628809d67 WHIRLPOOL ffbe2893c39c1774f099d2320448ec82e25656f7e651d19ec30aa376890af4ff9d5f3f4935c724382caf444dab8e85f8aa76a01643ce9f5fa94aed6e01bc727f
|
||||
EBUILD unrar-5.2.1.ebuild 1788 SHA256 93e28bfa3884adc3e984e4219f98a2477d48370c27e05e0c26c84c8c7c922685 SHA512 fda3404b92b8a8bdd2be3e365defeece4ed15298218e640a79a4295b7315d30d1877977afbf1b41fed1bcc13586fcf607678407df33b3e1e6106ac802654922a WHIRLPOOL 940b798ffd82af1df1f75a443c21cf3997a776164ac2fe898857ea1be60674894af806364bb7263ed2563064515bd1896b7e25a3ed9e7709fedce6473a114c20
|
||||
EBUILD unrar-5.2.2.ebuild 1809 SHA256 5f3e3cfc4355dc759ef75b06db8142793701f355cc24d839c0b7c79e6ea0aa59 SHA512 c559155f65b1c51b8d6603dfae676693c22be0dc582d4c47cb6e9752e05661d4d76981807a137dd64b396d86f5826b81135b69be92e026fbf86172a7eaf0aac9 WHIRLPOOL bfa42a37cea06c568428ab6b733e9f0f5aceda1e384aca365386849b69abaf0d9efe15a5ab5cdedba8a9cde7ddd66a295bf1c084dfe8e14f4f8dc5d47ed2729b
|
||||
EBUILD unrar-5.2.3.ebuild 1809 SHA256 5f3e3cfc4355dc759ef75b06db8142793701f355cc24d839c0b7c79e6ea0aa59 SHA512 c559155f65b1c51b8d6603dfae676693c22be0dc582d4c47cb6e9752e05661d4d76981807a137dd64b396d86f5826b81135b69be92e026fbf86172a7eaf0aac9 WHIRLPOOL bfa42a37cea06c568428ab6b733e9f0f5aceda1e384aca365386849b69abaf0d9efe15a5ab5cdedba8a9cde7ddd66a295bf1c084dfe8e14f4f8dc5d47ed2729b
|
||||
EBUILD unrar-5.2.7.ebuild 1809 SHA256 fedb901db504a66c51ef18f6742dd43b7ca3e131d7eb870534fbc6bc30f205f8 SHA512 0d3f0a0c8153229742f46bf663b81747b3f8149ffccd98b0291ca067a80e1ad30943766e8569ef1060ce13ea885d90c41d5431afbbf475bce05a16d3ac7c7fe5 WHIRLPOOL bb057829eef04a21268faab640eaa86abb00192ce5014df3982706468c7d188a0cd79ade4aca24382eb449e9c085059b44aee7bbc133f284fd0abc58266304d1
|
||||
EBUILD unrar-5.3.2.ebuild 1812 SHA256 9dd45073140b8f204407e509276eeb661eade994f046d6af57b98f49dbf54d3b SHA512 50e06685515b1fa8699bb910510c06d533a10211bf3e27a1304d1788efc1cb4c36f08fd31de584275bd9c3b0afe42236c9f382625ab8fa56f4672256acb59431 WHIRLPOOL 0ab07f8928966457ae1d3a7c004ffbe1c63359a4aba191427c4d293607b69592fddc75f10c301960083e4f1e7da445e282beeb962f2d3dee86d570bf6f026136
|
||||
EBUILD unrar-5.3.3.ebuild 1833 SHA256 60974565bac483bbb77b2bbe8d334ddefb1a09dd322a2d0e8b7c979fa854eae7 SHA512 c42775fc08171e4a7da7d5403d608fc63995eb8082c3fc4a349a2cc690694e29b713a3455a70a7875481d37738c54378bbde1b72d37ac3f2a9148a9402da2d9a WHIRLPOOL 03e896bae83e4a3e2df2ce0abc58328603a1b1725829e1f5167c1b558261ccb97fd0441fbd5deed78a30842beabba4a97431ed6752f10da586fd499295f147c3
|
||||
MISC ChangeLog 27748 SHA256 678c90a69bcbb5a698543fa061e46b55fdc9a4b34d4fd261579d563de728c76e SHA512 851e48e9796f79b68421bbbf1b1ff3f242b4d89df2fe53fb36f58d3c7a4d18ed0b35316d09ca016b8c1b2fa4663870a50b9da43dde6e685f1966e752bf55ad1e WHIRLPOOL fd77ff80db0db5b469bc881a4147f0c24bdbc8af86b451284cc1da42c9fdef6cee3dd8aadb733416a3d0441a227022fe839183691b62d5b008a3e9663a6c4cd2
|
||||
MISC metadata.xml 243 SHA256 0d3b01bee239974acab3b5c25d987a03b929151a254aeefd3cb5bbd0ee6d3c57 SHA512 730e45ced90a8d71ae4613bc3e368baa66cc49c8b74177d23e03461d8785b20fcac940bef5a85044c9bc2f1db2fceee0de441267448174342caa0fe9d08a7034 WHIRLPOOL ab5dd604416cd7afbdee82d410c8eadaaceb8934ccca1a96c5c3f104f8beee50aa19d561a4fc0728c75cbb4683b822dab290c8031920087685fe732b7358bfbb
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
sed -i \
|
||||
-e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \
|
||||
-e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \
|
||||
makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
|
||||
|
||||
# The stupid code compiles a lot of objects differently if
|
||||
# they're going into a lib (-DRARDLL) or into the main app.
|
||||
# So for now, we can't link the main app against the lib.
|
||||
unrar_make clean
|
||||
unrar_make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
|
||||
|
||||
# The stupid code compiles a lot of objects differently if
|
||||
# they're going into a lib (-DRARDLL) or into the main app.
|
||||
# So for now, we can't link the main app against the lib.
|
||||
unrar_make clean
|
||||
unrar_make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin}
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV})
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST prime-dict-1.0.0.tar.gz 6756593 SHA256 d2d6c5cdc5f698ecc9b7466dfb0292c204594fdc086d728aa5385086e6f44335 SHA512 0cad16048baeeca982feaa3e95f7afaabaa94f511e1e80ad332cf106ea39e226f3119bcdc9636010cb5d5e0aef10dec0b8fc4d42b743e32c51971cb45e85dabf WHIRLPOOL bc033aa6094bc31676e2be37efe626b8f86bff216b40fa72a8f097cb1eec9c2578e07114925249414e75dcc7129709b72a3baa54cc0bdf4ce9da8cbc47c6e5a8
|
||||
EBUILD prime-dict-1.0.0-r2.ebuild 637 SHA256 fec140f84826fcc29c319c6d008ee75ba4c5a059c3022764539f5ec882234176 SHA512 d39065cafe689b46e16233f246c637d9975a8f3465b22cd0ac15d468053b8645672a88932e3c15b37f8460d632c00d024f5f576c563f1be0c724e73f83fde7e2 WHIRLPOOL 28851cd5d3736941024d65f72dba32a6792016784ef7a4972fe72071915859d3d7bafa164f5921c78f120ad9fe55a15d1371a8f5283e8c5f144cb447bea1c9df
|
||||
EBUILD prime-dict-1.0.0-r2.ebuild 636 SHA256 243b4ca7404e51307e7007f43ec8422a3ebbbc9260029c4c7758f3e3c7b5e74c SHA512 8854cacba5a6606d039c98e4194a8a41127e4ceb624d56e80a4bc42779f2d2a85311a0011100084405c43397474b105faffa460e96b17b5b0a0afb09c3b7d245 WHIRLPOOL 6f56df6261b896af177298bef320addf80e84670bf61fe4cb39aacd77d69696d93f0267deee7db6dccf30a91085bf77a488f9939a573f295a5849ca6fdb9019b
|
||||
EBUILD prime-dict-1.0.0-r3.ebuild 648 SHA256 450f0e18a9748a818bbba0b53625313f6de5fe28d29fa47b191236c1b8506bce SHA512 86661a3aa1141aaeced6b265fec365451e8745c90c3ac40670cd545e5bf5698ac44ab7d5e3294cddea616c73bfcd49b9702e67a95801c3f7b83ebc6f50a6beae WHIRLPOOL 18392ca9dc9b97660df08f600bcab480a985fb8c8d74a4e9cd6a97d8e08165461e6195af063dc5c103b07fcc90ab5bc80d12b12dd204056e31be26fea548f83d
|
||||
MISC ChangeLog 6615 SHA256 2d5a130d06596bf210542cd148ee4b21e39bc84074950af95cd669c7357cc6ef SHA512 c6edddec9c25172143455ff71c4a11f387ab811eb02f65f93da42d61321e297494debc0030fc5a23aea90df823d32de0e9ffba026af9a7b9d2c7f9fd0727d3cc WHIRLPOOL 0420038d4e648c308af7c3feff1bd4478728350c3f3937ef0a9abad61390565e17a2c02171b2c7e18683e810d5ef0b2c2f1dee22f18264686b633bdf5567c937
|
||||
MISC metadata.xml 156 SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 SHA512 e46682afa9f674a8685beb29de6485f750484180d86f8980a3c5c220861f38495ac6f4ceda7cf21c317c640d0d218af3ea9bc1a406b207124c1ffb4bcc99628b WHIRLPOOL 347b826ae650374a01eb144ef127dea2fb96c8646b9a1e4b142bce523822988c4597bc2980cc29dcbfeabc1e44ba70136ddea73f1837d4c6ef7d5e3e9d1d1268
|
||||
|
@ -0,0 +1,86 @@
|
||||
https://bugs.gentoo.org/558416
|
||||
|
||||
fix from upstream git
|
||||
|
||||
From eb8934b0418b3b1d125edddc4fc334a54334a49b Mon Sep 17 00:00:00 2001
|
||||
From: Gerd Hoffmann <kraxel@redhat.com>
|
||||
Date: Mon, 17 Aug 2015 19:56:53 +0200
|
||||
Subject: [PATCH] vnc: fix memory corruption (CVE-2015-5225)
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The _cmp_bytes variable added by commit "bea60dd ui/vnc: fix potential
|
||||
memory corruption issues" can become negative. Result is (possibly
|
||||
exploitable) memory corruption. Reason for that is it uses the stride
|
||||
instead of bytes per scanline to apply limits.
|
||||
|
||||
For the server surface is is actually fine. vnc creates that itself,
|
||||
there is never any padding and thus scanline length always equals stride.
|
||||
|
||||
For the guest surface scanline length and stride are typically identical
|
||||
too, but it doesn't has to be that way. So add and use a new variable
|
||||
(guest_ll) for the guest scanline length. Also rename min_stride to
|
||||
line_bytes to make more clear what it actually is. Finally sprinkle
|
||||
in an assert() to make sure we never use a negative _cmp_bytes again.
|
||||
|
||||
Reported-by: 范祚至(库特) <zuozhi.fzz@alibaba-inc.com>
|
||||
Reviewed-by: P J P <ppandit@redhat.com>
|
||||
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
||||
---
|
||||
ui/vnc.c | 15 ++++++++++-----
|
||||
1 file changed, 10 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/ui/vnc.c b/ui/vnc.c
|
||||
index e26973a..caf82f5 100644
|
||||
--- a/ui/vnc.c
|
||||
+++ b/ui/vnc.c
|
||||
@@ -2872,7 +2872,7 @@ static int vnc_refresh_server_surface(VncDisplay *vd)
|
||||
pixman_image_get_width(vd->server));
|
||||
int height = MIN(pixman_image_get_height(vd->guest.fb),
|
||||
pixman_image_get_height(vd->server));
|
||||
- int cmp_bytes, server_stride, min_stride, guest_stride, y = 0;
|
||||
+ int cmp_bytes, server_stride, line_bytes, guest_ll, guest_stride, y = 0;
|
||||
uint8_t *guest_row0 = NULL, *server_row0;
|
||||
VncState *vs;
|
||||
int has_dirty = 0;
|
||||
@@ -2891,17 +2891,21 @@ static int vnc_refresh_server_surface(VncDisplay *vd)
|
||||
* Update server dirty map.
|
||||
*/
|
||||
server_row0 = (uint8_t *)pixman_image_get_data(vd->server);
|
||||
- server_stride = guest_stride = pixman_image_get_stride(vd->server);
|
||||
+ server_stride = guest_stride = guest_ll =
|
||||
+ pixman_image_get_stride(vd->server);
|
||||
cmp_bytes = MIN(VNC_DIRTY_PIXELS_PER_BIT * VNC_SERVER_FB_BYTES,
|
||||
server_stride);
|
||||
if (vd->guest.format != VNC_SERVER_FB_FORMAT) {
|
||||
int width = pixman_image_get_width(vd->server);
|
||||
tmpbuf = qemu_pixman_linebuf_create(VNC_SERVER_FB_FORMAT, width);
|
||||
} else {
|
||||
+ int guest_bpp =
|
||||
+ PIXMAN_FORMAT_BPP(pixman_image_get_format(vd->guest.fb));
|
||||
guest_row0 = (uint8_t *)pixman_image_get_data(vd->guest.fb);
|
||||
guest_stride = pixman_image_get_stride(vd->guest.fb);
|
||||
+ guest_ll = pixman_image_get_width(vd->guest.fb) * ((guest_bpp + 7) / 8);
|
||||
}
|
||||
- min_stride = MIN(server_stride, guest_stride);
|
||||
+ line_bytes = MIN(server_stride, guest_ll);
|
||||
|
||||
for (;;) {
|
||||
int x;
|
||||
@@ -2932,9 +2936,10 @@ static int vnc_refresh_server_surface(VncDisplay *vd)
|
||||
if (!test_and_clear_bit(x, vd->guest.dirty[y])) {
|
||||
continue;
|
||||
}
|
||||
- if ((x + 1) * cmp_bytes > min_stride) {
|
||||
- _cmp_bytes = min_stride - x * cmp_bytes;
|
||||
+ if ((x + 1) * cmp_bytes > line_bytes) {
|
||||
+ _cmp_bytes = line_bytes - x * cmp_bytes;
|
||||
}
|
||||
+ assert(_cmp_bytes >= 0);
|
||||
if (memcmp(server_ptr, guest_ptr, _cmp_bytes) == 0) {
|
||||
continue;
|
||||
}
|
||||
--
|
||||
2.5.0
|
||||
|
@ -0,0 +1,124 @@
|
||||
https://bugs.gentoo.org/558396
|
||||
|
||||
fix from upstream git
|
||||
|
||||
From e424aff5f307227b1c2512bbb8ece891bb895cef Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Thu, 13 Aug 2015 10:41:50 +0200
|
||||
Subject: [PATCH] mirror: Fix coroutine reentrance
|
||||
|
||||
This fixes a regression introduced by commit dcfb3beb ("mirror: Do zero
|
||||
write on target if sectors not allocated"), which was reported to cause
|
||||
aborts with the message "Co-routine re-entered recursively".
|
||||
|
||||
The cause for this bug is the following code in mirror_iteration_done():
|
||||
|
||||
if (s->common.busy) {
|
||||
qemu_coroutine_enter(s->common.co, NULL);
|
||||
}
|
||||
|
||||
This has always been ugly because - unlike most places that reenter - it
|
||||
doesn't have a specific yield that it pairs with, but is more
|
||||
uncontrolled. What we really mean here is "reenter the coroutine if
|
||||
it's in one of the four explicit yields in mirror.c".
|
||||
|
||||
This used to be equivalent with s->common.busy because neither
|
||||
mirror_run() nor mirror_iteration() call any function that could yield.
|
||||
However since commit dcfb3beb this doesn't hold true any more:
|
||||
bdrv_get_block_status_above() can yield.
|
||||
|
||||
So what happens is that bdrv_get_block_status_above() wants to take a
|
||||
lock that is already held, so it adds itself to the queue of waiting
|
||||
coroutines and yields. Instead of being woken up by the unlock function,
|
||||
however, it gets woken up by mirror_iteration_done(), which is obviously
|
||||
wrong.
|
||||
|
||||
In most cases the code actually happens to cope fairly well with such
|
||||
cases, but in this specific case, the unlock must already have scheduled
|
||||
the coroutine for wakeup when mirror_iteration_done() reentered it. And
|
||||
then the coroutine happened to process the scheduled restarts and tried
|
||||
to reenter itself recursively.
|
||||
|
||||
This patch fixes the problem by pairing the reenter in
|
||||
mirror_iteration_done() with specific yields instead of abusing
|
||||
s->common.busy.
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
|
||||
Reviewed-by: Jeff Cody <jcody@redhat.com>
|
||||
Message-id: 1439455310-11263-1-git-send-email-kwolf@redhat.com
|
||||
Signed-off-by: Jeff Cody <jcody@redhat.com>
|
||||
---
|
||||
block/mirror.c | 15 ++++++++++-----
|
||||
1 file changed, 10 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/block/mirror.c b/block/mirror.c
|
||||
index 0841964..9474443 100644
|
||||
--- a/block/mirror.c
|
||||
+++ b/block/mirror.c
|
||||
@@ -60,6 +60,7 @@ typedef struct MirrorBlockJob {
|
||||
int sectors_in_flight;
|
||||
int ret;
|
||||
bool unmap;
|
||||
+ bool waiting_for_io;
|
||||
} MirrorBlockJob;
|
||||
|
||||
typedef struct MirrorOp {
|
||||
@@ -114,11 +115,7 @@ static void mirror_iteration_done(MirrorOp *op, int ret)
|
||||
qemu_iovec_destroy(&op->qiov);
|
||||
g_slice_free(MirrorOp, op);
|
||||
|
||||
- /* Enter coroutine when it is not sleeping. The coroutine sleeps to
|
||||
- * rate-limit itself. The coroutine will eventually resume since there is
|
||||
- * a sleep timeout so don't wake it early.
|
||||
- */
|
||||
- if (s->common.busy) {
|
||||
+ if (s->waiting_for_io) {
|
||||
qemu_coroutine_enter(s->common.co, NULL);
|
||||
}
|
||||
}
|
||||
@@ -203,7 +200,9 @@ static uint64_t coroutine_fn mirror_iteration(MirrorBlockJob *s)
|
||||
/* Wait for I/O to this cluster (from a previous iteration) to be done. */
|
||||
while (test_bit(next_chunk, s->in_flight_bitmap)) {
|
||||
trace_mirror_yield_in_flight(s, sector_num, s->in_flight);
|
||||
+ s->waiting_for_io = true;
|
||||
qemu_coroutine_yield();
|
||||
+ s->waiting_for_io = false;
|
||||
}
|
||||
|
||||
do {
|
||||
@@ -239,7 +238,9 @@ static uint64_t coroutine_fn mirror_iteration(MirrorBlockJob *s)
|
||||
*/
|
||||
while (nb_chunks == 0 && s->buf_free_count < added_chunks) {
|
||||
trace_mirror_yield_buf_busy(s, nb_chunks, s->in_flight);
|
||||
+ s->waiting_for_io = true;
|
||||
qemu_coroutine_yield();
|
||||
+ s->waiting_for_io = false;
|
||||
}
|
||||
if (s->buf_free_count < nb_chunks + added_chunks) {
|
||||
trace_mirror_break_buf_busy(s, nb_chunks, s->in_flight);
|
||||
@@ -337,7 +338,9 @@ static void mirror_free_init(MirrorBlockJob *s)
|
||||
static void mirror_drain(MirrorBlockJob *s)
|
||||
{
|
||||
while (s->in_flight > 0) {
|
||||
+ s->waiting_for_io = true;
|
||||
qemu_coroutine_yield();
|
||||
+ s->waiting_for_io = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -510,7 +513,9 @@ static void coroutine_fn mirror_run(void *opaque)
|
||||
if (s->in_flight == MAX_IN_FLIGHT || s->buf_free_count == 0 ||
|
||||
(cnt == 0 && s->in_flight > 0)) {
|
||||
trace_mirror_yield(s, s->in_flight, s->buf_free_count, cnt);
|
||||
+ s->waiting_for_io = true;
|
||||
qemu_coroutine_yield();
|
||||
+ s->waiting_for_io = false;
|
||||
continue;
|
||||
} else if (cnt != 0) {
|
||||
delay_ns = mirror_iteration(s);
|
||||
--
|
||||
2.5.0
|
||||
|
@ -0,0 +1,39 @@
|
||||
https://bugs.gentoo.org/559656
|
||||
|
||||
https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg01199.html
|
||||
|
||||
From: Stefan Hajnoczi <stefanha@redhat.com>
|
||||
Subject: [PATCH] e1000: Avoid infinite loop in processing transmit descriptor
|
||||
Newsgroups: gmane.comp.emulators.qemu
|
||||
Date: 2015-09-04 16:21:06 GMT (2 days, 12 hours and 51 minutes ago)
|
||||
From: P J P <pjp@fedoraproject.org>
|
||||
|
||||
While processing transmit descriptors, it could lead to an infinite
|
||||
loop if 'bytes' was to become zero; Add a check to avoid it.
|
||||
|
||||
[The guest can force 'bytes' to 0 by setting the hdr_len and mss
|
||||
descriptor fields to 0.
|
||||
--Stefan]
|
||||
|
||||
Signed-off-by: P J P <pjp@fedoraproject.org>
|
||||
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
||||
---
|
||||
hw/net/e1000.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
|
||||
index 5c6bcd0..09c9e9d 100644
|
||||
--- a/hw/net/e1000.c
|
||||
+++ b/hw/net/e1000.c
|
||||
@@ -740,7 +740,8 @@ process_tx_desc(E1000State *s, struct e1000_tx_desc *dp)
|
||||
memmove(tp->data, tp->header, tp->hdr_len);
|
||||
tp->size = tp->hdr_len;
|
||||
}
|
||||
- } while (split_size -= bytes);
|
||||
+ split_size -= bytes;
|
||||
+ } while (bytes && split_size);
|
||||
} else if (!tp->tse && tp->cptse) {
|
||||
// context descriptor TSE is not set, while data descriptor TSE is set
|
||||
DBGOUT(TXERR, "TCP segmentation error\n");
|
||||
--
|
||||
2.4.3
|
@ -0,0 +1,5 @@
|
||||
DIST rkt-0.8.0.tar.gz 1749853 SHA256 c9eb0126b8ff2f059d7cedaab17ca73dce256f342092c9bf4a7ae20661f2a5aa SHA512 4e2c27fb40cd3d27de062631105db3ea04ed902f48abb647a8e4de249478dd8a145ac0b77fd5b261cc680df1bcaa4067accb8a597def9b3963108e2c1f3d9d5a WHIRLPOOL f65ddd8908ec30cfefa06e60cd4d8cdb2099ab279b6350790eb3e436b88c792efe28cea53569f48d42f6eec682635a4212f16fea9d184e6baa97877a643e1106
|
||||
DIST rkt-pxe-738.1.0.img 151780780 SHA256 805a4c491281553c8927f3dd1a7bec50cca29209d0a7264870e7155d794ecbe6 SHA512 7774cc64dfa874f08f48cba0c15103e9eca86ffd87dcb24f765a9b56074e72f6862a663a4007a0a7dd296740ae91bf4edf7290fa35659b0b1572fe2f5dad3256 WHIRLPOOL 5973a6036d650c576bb0bd365c8c9ea35776501c1fd2baf1d7c00d06496fab35e9c796096ef89b095e7a922e2062dce6c0d1c85cd3101022e0aca84277d18cb9
|
||||
EBUILD rkt-0.8.0.ebuild 2343 SHA256 3da5cb66e29c70aeed55d3a569bbb96008e8f908c1bde3db993c2ac3eb541e9d SHA512 0bec02e91a7336dbf805e9b0b5656ab14ba81abe427982fb9f39de5b37e82b20b37028b80f241d2acb63e2f8f0f25a2185171da57583434f737c1b9f99ee4ea0 WHIRLPOOL e379c4d7bc9ff2db23b15b3c313e5f2b8f782762f1fb64cd779c9b93598edb80543278f0e3d8abfa75af7f3f9f8da20458a499ff2ce1d0ae621fbf59d286ba39
|
||||
EBUILD rkt-9999.ebuild 2527 SHA256 fbf5ceb93aae11fe6418be0aa2920e386a2941e5d1ed586cb51bfddb67fc4ea6 SHA512 5600701f5601a63e837b2d1da34eb305866cb3e4d5fb8c99757ad5bf8d79e07ff47310b0cac54f4cf76a2a32b3dbfa4849fa89129c8b0ba039a165d7ace96ec4 WHIRLPOOL b2eb40d86f550d3af3713be15a6b6464c576bb35d164ba676cd9bac3745500362677e5da04fe449b01903bee1f261f18691c6f75ac94d28dab016c5a5ac75ac5
|
||||
MISC metadata.xml 927 SHA256 52dd6fbc71e47588d4264de7498b285254fef02032c6e7b27e1ecea6cd4e03c1 SHA512 98eaa46651eeb40eef0db1816c9660da5d469a8013f2f29989c044fda5bf014facfb921295914a97ae7bbacf3d4af7498e9ce7d2f832e2d7498ac95f287d2e72 WHIRLPOOL fd2fd787f5458ef37234f829242cbb0733be6712ad5283aa4072f7a4fa19e2f6ed497c0807ecd88f70c730468720772c6ecb88a9f5fff097fa6e9bc1c7762bef
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mail@stefanjunker.de</email>
|
||||
<name>Stefan Junker</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
rkt is a new container runtime, designed for composability, security,
|
||||
and speed. Today we are releasing a prototype version on GitHub to begin
|
||||
gathering feedback from our community and explain why we are building
|
||||
rkt.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="actool">Install the actool for ACI manipulation</flag>
|
||||
<flag name="rkt_stage1_coreos">Download and use a prebuilt stage1.aci from CoreOS</flag>
|
||||
<flag name="rkt_stage1_src">Build the stage1.aci from source</flag>
|
||||
<flag name="rkt_stage1_host">Assemble stage1.aci from host binaries</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=yes
|
||||
|
||||
inherit autotools-utils flag-o-matic systemd toolchain-funcs
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PXE_VERSION="738.1.0"
|
||||
PXE_URI="http://alpha.release.core-os.net/amd64-usr/${PXE_VERSION}/coreos_production_pxe_image.cpio.gz"
|
||||
PXE_FILE="${PN}-pxe-${PXE_VERSION}.img"
|
||||
|
||||
SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
rkt_stage1_coreos? ( $PXE_URI -> $PXE_FILE )"
|
||||
|
||||
DESCRIPTION="A CLI for running app containers, and an implementation of the App
|
||||
Container Spec."
|
||||
HOMEPAGE="https://github.com/coreos/rkt"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc examples +rkt_stage1_coreos rkt_stage1_src +actool systemd"
|
||||
REQUIRED_USE="^^ ( rkt_stage1_coreos rkt_stage1_src )"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.4.1
|
||||
app-arch/cpio
|
||||
sys-fs/squashfs-tools
|
||||
dev-perl/Capture-Tiny
|
||||
rkt_stage1_src? (
|
||||
>=sys-apps/systemd-222
|
||||
app-shells/bash:0
|
||||
)"
|
||||
RDEPEND="!app-emulation/rocket"
|
||||
|
||||
BUILDDIR="build-${P}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-stage1-image-path="/usr/share/rkt/stage1.aci"
|
||||
)
|
||||
|
||||
if use rkt_stage1_src; then
|
||||
myeconfargs+=( --with-stage1="src" )
|
||||
elif use rkt_stage1_coreos; then
|
||||
myeconfargs+=( --with-stage1="coreos" )
|
||||
mkdir -p "${BUILDDIR}/tmp/usr_from_coreos/" || die
|
||||
cp "${DISTDIR}/${PXE_FILE}" "${BUILDDIR}/tmp/usr_from_coreos/pxe.img" || die
|
||||
fi
|
||||
|
||||
# Go's 6l linker does not support PIE, disable so cgo binaries
|
||||
# which use 6l+gcc for linking can be built correctly.
|
||||
if gcc-specs-pie; then
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
export CC=$(tc-getCC)
|
||||
export CGO_ENABLED=1
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export BUILDDIR
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
use doc && dodoc -r Documentation
|
||||
use examples && dodoc -r examples
|
||||
use actool && dobin "${S}/${BUILDDIR}/bin/actool"
|
||||
|
||||
dobin "${S}/${BUILDDIR}/bin/rkt"
|
||||
|
||||
insinto /usr/share/rkt/
|
||||
doins "${S}/${BUILDDIR}/bin/stage1.aci"
|
||||
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-gc.service
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-gc.timer
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.service
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.socket
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=yes
|
||||
|
||||
inherit autotools-utils flag-o-matic systemd toolchain-funcs
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/coreos/rkt.git"
|
||||
|
||||
KEYWORDS=""
|
||||
PXE_VERSION="738.1.0"
|
||||
EGIT_BRANCH="master"
|
||||
|
||||
PXE_URI="http://alpha.release.core-os.net/amd64-usr/${PXE_VERSION}/coreos_production_pxe_image.cpio.gz"
|
||||
PXE_FILE="${PN}-pxe-${PXE_VERSION}.img"
|
||||
|
||||
SRC_URI="rkt_stage1_coreos? ( $PXE_URI -> $PXE_FILE )"
|
||||
|
||||
DESCRIPTION="A CLI for running app containers, and an implementation of the App
|
||||
Container Spec."
|
||||
HOMEPAGE="https://github.com/coreos/rkt"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc examples +rkt_stage1_coreos rkt_stage1_host rkt_stage1_src +actool systemd"
|
||||
REQUIRED_USE="^^ ( rkt_stage1_coreos rkt_stage1_host rkt_stage1_src )"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.4.1
|
||||
app-arch/cpio
|
||||
sys-fs/squashfs-tools
|
||||
dev-perl/Capture-Tiny
|
||||
rkt_stage1_src? (
|
||||
>=sys-apps/systemd-222
|
||||
app-shells/bash:0
|
||||
)"
|
||||
RDEPEND="!app-emulation/rocket
|
||||
rkt_stage1_host? (
|
||||
>=sys-apps/systemd-222
|
||||
app-shells/bash:0
|
||||
)"
|
||||
|
||||
BUILDDIR="build-${P}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-stage1-image-path="/usr/share/rkt/stage1.aci"
|
||||
)
|
||||
|
||||
if use rkt_stage1_host; then
|
||||
myeconfargs+=( --with-stage1="host" )
|
||||
elif use rkt_stage1_src; then
|
||||
myeconfargs+=( --with-stage1="src" )
|
||||
elif use rkt_stage1_coreos; then
|
||||
myeconfargs+=( --with-stage1="coreos" )
|
||||
mkdir -p "${BUILDDIR}/tmp/usr_from_coreos/" || die
|
||||
cp "${DISTDIR}/${PXE_FILE}" "${BUILDDIR}/tmp/usr_from_coreos/pxe.img" || die
|
||||
fi
|
||||
|
||||
# Go's 6l linker does not support PIE, disable so cgo binaries
|
||||
# which use 6l+gcc for linking can be built correctly.
|
||||
if gcc-specs-pie; then
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
export CC=$(tc-getCC)
|
||||
export CGO_ENABLED=1
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export BUILDDIR
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
use doc && dodoc -r Documentation
|
||||
use examples && dodoc -r examples
|
||||
use actool && dobin "${S}/${BUILDDIR}/bin/actool"
|
||||
|
||||
dobin "${S}/${BUILDDIR}/bin/rkt"
|
||||
|
||||
insinto /usr/share/rkt/
|
||||
doins "${S}/${BUILDDIR}/bin/stage1.aci"
|
||||
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-gc.service
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-gc.timer
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.service
|
||||
systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.socket
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST athena-jot-9.0-3.src.rpm 25378 SHA256 8129a00ec17c9f4102dd3cffdb841390e01617f78b1a032d07d145e372b10c58 SHA512 b284121cbca3e98181285eac007b2c9133826c18157f9d1f983b83443f91a3e00c29b30ceb986fbbd86cda1541f0990b5d66579387b78143c250bb01453d7296 WHIRLPOOL ac1d6888c9d4d6f87472878b49017fd5cd2f957c5601e0c6fa09caee137126fa94e3412337e5f5cc7c820cddf341bbf46303869ff4c908884be9940764816d69
|
||||
EBUILD jot-9.0-r1.ebuild 514 SHA256 c86cf964e7c9449d817a8944a545d96dccad7a25463b049c1137404066941a81 SHA512 17b29adbda179d94014aa9f76cb9ce1db712ef0912d40d48c2a9dcad0e269c740e7e7229139c5548a4b504f2dc0c01fad71f6539196a372446364c6fe3252879 WHIRLPOOL 16de5a22126cfbf3b1144acc372f0e3d9cbf5541d58ae0a73aded14a646d819976efaff0ad484ab052896d8c6cbff7aba63467f3817ff00b2cb56b320caa96f9
|
||||
EBUILD jot-9.0-r1.ebuild 513 SHA256 46970a7c6a045ffac490e94785eafd4e0db36794ec4368c0583e6287b1b62c55 SHA512 290072af089484d1c43f2f2a9433ba9293801441513c6d02c72af2c6972dfad127b67289415b631d7ff7cf34693e10352d3ed765bb7c494532443f109405561d WHIRLPOOL 2e9993d49c9176673e31d9b1c4d96a6c1aca0fa7626cc1f6a69e4a744b0876e5b4e06d2d1a0bbbc2ec3a16dad991bb6ae169bf33f99c77e55fde919d534e39e3
|
||||
EBUILD jot-9.0.ebuild 491 SHA256 185fb941d1a761bb521273378f59ac2ff8f67392bcdadaeff77011e98c033044 SHA512 54f68082370fea18c65853cb9ff990aa794687a8dd0f664df8f62dc2c1e1c31a611f221d273d53e880bb28834e536c1e389a48024dfbf5823b2c994c443258ea WHIRLPOOL 5288a461cf350973a92474b9c8d754ec54b8dce6c58b70b8314dcfa48f556d5906b7e3354f18384aef95565e88045cc307606151676b7148fd7d2be393a62f5f
|
||||
MISC ChangeLog 1582 SHA256 7c7a115af817fbff55b6fcb38dae8dea18eb45f1f2ce3f09d7a53d51b90c312f SHA512 934f0138da98770cd3114bf128df9866707620be9d0fbfb6bf790343930258e5659829fc84a8038096203aff8e05324b8999e20b8bf9c9f0b859087da24935bc WHIRLPOOL 69b00676e2a831a8f634966a436e689f170b5d0471b482cda252e23b5a432067e454eedef6e0dd18a62e4e00b737031ff1bea50337bb0e3dd767fd3b6c47de5b
|
||||
MISC metadata.xml 240 SHA256 b0520fd28c3b5c88cd422a284dd67629a734a76d404711c9657e831d346443d7 SHA512 f666133ceb358e42eb89b5aa9ac2616048602ad349cb1d4144c1a53ead30575227c4374f8f4209f0c8616520f6e6c300bbf4d95900c76ea9829bc2b43dd4db6f WHIRLPOOL 11909b19dc4380c5cc639e95d8923fa1091f02649e75dfa55d1f0720cecee96494a2154d9a7f57c286f6e63e23fc2fad2ecd18e15e0e2e060e7c0b2a1ac4e2cd
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX talkfilters-2.3.8-format-security.patch 862 SHA256 d13acaf21d0b5147e35520220f5bb34eb517975bec20a63ebcc4e6c1daeb2663 SHA512 b210777c038878cdd06365a13591c723151356864c08bee700005e509b2f0f6aec4819730ca631d401e4cbb9d3dbd3a4a6551f0920819fa6097585ae43f6c8f4 WHIRLPOOL db516178dbfd99c4057c8fcc20b4144b4704127407810df9e3532ae3066f64b6da221e5059285106d6b9fb1b2bb7438a72946e09734fe30e25fb66b73dab86bc
|
||||
DIST talkfilters-2.3.8.tar.gz 821338 SHA256 4681e71170af06c6bffcd4e454eff67224cde06f0d678d26dc72da45f02ecca6 SHA512 3fb317c572e95756fea9dcbaeac01e9576b05f5b0710e64513ecd05ec219f8050dec3bc5bc5d0d5f00c642487925765843da03525cfcb23925cab3c321272b28 WHIRLPOOL 81a7ec75d4a71794675b52da0feaf729048082fb7531c06fedb5ad8e3beb8e8e198d071ecac479cd54cb06123b0245e3614abcdf27d26b7a5eaaebeb179d5a0c
|
||||
EBUILD talkfilters-2.3.8-r1.ebuild 584 SHA256 cd4d624c73bffd71666cdaefdce3fc693cf0a4f1b1137d864715c3e5bae041a3 SHA512 653f3f5738dd6c19e56eb46ec72e03c4f0494aac6da2ffa4cdceed82dc81dd6f5896bc754a7efa1b0a770146c8d10c695a1f3b064c716a5ef19b4d21a04d0fc3 WHIRLPOOL 8701b231e138659c4bb69045d2a458abcd0693c561bfd015812397f4ae6a71e8b677bc3e1abb731b8f5004234d915eebbb3c6b0ad4e7f6f4429265ad2ebb5184
|
||||
EBUILD talkfilters-2.3.8-r1.ebuild 583 SHA256 a02616aa7c8986a43c3bbc3f9d6f27310ddc513e18d9eeca6d19bd657681b9bc SHA512 e0a02818843a7849c64925fe2170a3ed19e4541428c0abd8a1c0a33a35b6dc9b27a8804dfe04999aed8383fe2ff2de7e926effe45b2f1253b6fad67abc670dbd WHIRLPOOL efe09372a181f228c9ea64cc7c7310c9773c184e30c8e3725ae68808573d32432c4cb1b3a71cbdd38ed12db5f1a46c657c218fae2dd16f38854bda718acbcb1d
|
||||
EBUILD talkfilters-2.3.8.ebuild 577 SHA256 b4b1ba89ea8cd31cca69fa06b7b77270c708f4a4a48c149e14088d4da1b32e11 SHA512 43e93c4d5796fc54a81f9feaf151af66e726ce2717ed160a424f819a4be329f7e76f92c265ac7af6c6574a836a17782d028b6d8a39cc9608f9105153810fbefc WHIRLPOOL fed57b0ac7a33bc078e7ff2e8150fc12ad635fe37b88ee1001b2e41593ff48cc74ca34a35c7806b1c6737669e4fbd2c8576b505c8c8a5ede9579b02d878d9501
|
||||
MISC ChangeLog 4721 SHA256 d17a1c9f7d61982d6f0ed524c3f8d23278f289d105c9f664280e99f20c60bb02 SHA512 15eb060317bcf83ce89f7261d851c47a60a227e8f6e44bd9ed3cf0a2305d540c35ed9c23da08726d4e64f6ad06ad23ab812ca3e2f6b78a9d74221218dfc61708 WHIRLPOOL dfb1df07bebae9aa8e41e44166cdea0a99c13608a8650dd099df594a11cd04d9fd295bf690dfb70b8a135622f1e8bc6d0d9b5739706dffee33edefcf4820896b
|
||||
MISC metadata.xml 852 SHA256 4fd426abfa5df4a9abc32650e65f477abb597d5591a014e5ea16c7429308678b SHA512 ca0e8e24567e85950ea915a302b4a362a3494c7c1e795886b96911f91aa1fd7c3e17eab47f128afe291abfeea99ce65fd0abab8334f934ae71bffa525a087720 WHIRLPOOL 414d5c4d9a78eea79d9646a1dd2e1121b2fc3faf02170ffb4ef496e439db87cb2c98f35fc2350af810e447c133f5bfeceb302a4a0217001bc5334ad7b0abc813
|
||||
|
@ -0,0 +1,13 @@
|
||||
Index: postgresql-9.4-9.4~beta2/src/include/storage/barrier.h
|
||||
===================================================================
|
||||
--- postgresql-9.4-9.4~beta2.orig/src/include/storage/barrier.h
|
||||
+++ postgresql-9.4-9.4~beta2/src/include/storage/barrier.h
|
||||
@@ -117,7 +117,7 @@ extern slock_t dummy_spinlock;
|
||||
* read barrier to cover that case. We might need to add that later.
|
||||
*/
|
||||
#define pg_memory_barrier() __asm__ __volatile__ ("mb" : : : "memory")
|
||||
-#define pg_read_barrier() __asm__ __volatile__ ("rmb" : : : "memory")
|
||||
+#define pg_read_barrier() __asm__ __volatile__ ("mb" : : : "memory")
|
||||
#define pg_write_barrier() __asm__ __volatile__ ("wmb" : : : "memory")
|
||||
#elif defined(__hppa) || defined(__hppa__) /* HP PA-RISC */
|
||||
|
@ -0,0 +1,422 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Fix bug 555198: Correct typo in assembly code for alpha architecture
|
||||
epatch "${FILESDIR}/${PN}-${SLOT}-alpha-fix-read-memory-barrier.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST vsqlite++-0.3.12.tar.gz 23720 SHA256 655d53abe7b21b024111565cf9da8ccaa90540e5ff36d7d227c2eaa22305e925 SHA512 5e134de01a3f2c8adab40ae4f598b5c3b095b7503bf1bcc1aae012d3b087ff68b7cd1fc4dbea74b8cfeac82e9a18428efccea3c1e5a229c2aec05f8228c28344 WHIRLPOOL 66c1252ecc2d05ad2a3690141efe4dace892a839b8b649cbf7b96e55de30bc5d384bd22394d94ca112b0f26380baf6b5db0a6c94d469b9cc5777986e9ae61842
|
||||
DIST vsqlite++-0.3.13.tar.gz 28195 SHA256 73dea3c0b4b7769254da17182efbf9fc16893c50ed0d544abfdde127b69467d5 SHA512 70fcd16348e3b2a0854b1d496c68fda7e354068aefbd6a5ad21d7a42afebd2bd746f604240475acfeebe00898ab156f9dfd687346fdf5c77d775262db3a5666e WHIRLPOOL 02d79a14dabbc7a2191f40370d94071c95c4dcb72f4eb6ba68b38872296a92473ddfd06a702bb6862fa2a5eac9ac921dd93e3312615bc587b319cf7a64ee5427
|
||||
EBUILD vsqlite++-0.3.12.ebuild 915 SHA256 5af619a1a106ed4e68730894268286184e580b758af6cc2fa1974dca1bb569ac SHA512 1327756bfcf3ff75ffd8820090e4cb321cc111f35912139c80bb51d4f7bbe02f346d7b7e602def5e963dfa10d2180019c70c99aaae61838107146c9107397671 WHIRLPOOL ad63e5d550c316506835fc68825e29285b2323205aa6316eb69baf39731385751e31d1de988506e13160dfee55a4b97315d6bb6d24da70492027cd48ceb34e48
|
||||
EBUILD vsqlite++-0.3.13-r1.ebuild 919 SHA256 d927e696bfc4782a8775ed9d4a4a51b510db4907b474bbabb69b7d625f4778ef SHA512 888c6cc51547cea6fa47becf902734e61ef3d369d137c798b5471b3b976775a67c464d541cc25a6bf62d87dd3b94501c082b5cd6ef78422d52458e3ee4be0d81 WHIRLPOOL e80b284a4dcdeff8bca0c28d1166ea97427b839ed019d0d6ef2d0853a068fba77955dfedeb70a9e20d08a5fb0e35c106d966b1d6686cd1e417d84e39c0b5cc5d
|
||||
EBUILD vsqlite++-0.3.13-r1.ebuild 918 SHA256 70bfeab255381a1e9aa09a97a380567a6b713c82dff496811ae12ce41ff215c7 SHA512 98ead9a314ae73dda07b18aa7d1eb9a4512807b1df0495cc6a501356bf8bc1e5db44b20d838339025fb60452d2e8f69f0fe71ffa3349d44fc1428678e6b8277e WHIRLPOOL 7059d4fb5fa56b002cc07d1270f89cd3e743bf8a2c03b2e33ed88ad10a592d62d9dc23415ce4f16f6403bc5548a507d835bcb0a605c61b766b62d19ffb8e82c6
|
||||
MISC ChangeLog 1749 SHA256 6d56b57245f8961012f8da0ebc8795ec8993c38ee8bcae1646430e7401043ce2 SHA512 0a04dc0599e7805b6989510b04d14caccad07cac46790931b13a7717a949305eae1cd10a72b2ee41c5d3ddba0182c0990ca1b6f32fc35aed3afd16f6248ee84c WHIRLPOOL 395c811c805e3d8da7f36e0305c346456452a6342f03de571d3617832cce6ba24c023eb26263bd3ed94c6ec5d9178478f6abc9eddb1f908cfe6efd5c8100c80e
|
||||
MISC metadata.xml 293 SHA256 1461f2450024d2c65437fb26bb394eac43c54aebf09741f0938712ffce720c70 SHA512 41a8e835250e79852468d57ed28e2f95f95a645d5994c08f33e7cec166d743f77ccec9b8f53e5bfff9246b12d8a55dad7717601764c7e8dec8f12927ac68cd9b WHIRLPOOL c30ef768bb209242f5cf950808309773dd361f666e663a4e52cf3f7ecc9e9dfee3712d3470ce544c0f73d7d32d18b3ded4ed1be5409e2b245f2e6fefde23ce39
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="VSQLite++ - A welldesigned and portable SQLite3 Wrapper for C++"
|
||||
HOMEPAGE="http://evilissimo.fedorapeople.org/releases/vsqlite--/"
|
||||
SRC_URI="https://github.com/vinzenz/vsqlite--/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
IUSE="static-libs"
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
DEPEND=">=dev-libs/boost-1.33.1"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-db/sqlite:3"
|
||||
|
||||
DOCS=(AUTHORS COPYING ChangeLog INSTALL NEWS README TODO VERSION)
|
||||
|
||||
# package name is vsqlite++, but github / homepage name is vsqlite--
|
||||
S="${WORKDIR}/vsqlite---${PV}"
|
||||
|
||||
src_prepare() {
|
||||
## remove O3 in AM_CXXFLAGS
|
||||
sed -i -e 's/-O3//' Makefile.am || die
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST cal10n-api-0.8.1-sources.jar 35685 SHA256 d0343194580289dc879d4cae27dad115a5bb120ad2b8128136727ac7b6804682 SHA512 b6bb8ee7744fb878da1968a6524fa2b95d55c55e0f5e7413e7afd854eae226050cd4209e7489ce4f1fae6f2adb501781048f75ddcb2ad8c6b69595ff053422a7 WHIRLPOOL 68976a4a5c85560cd604a8b1888d8dca4c34a1ab5ddd632b91fda577c65d5bec53a0e292c6a5c2db4d043b17fc29116b218baf9a7a7348019b117bcf0b20044f
|
||||
EBUILD cal10n-0.8.1.ebuild 630 SHA256 a1f7b206046d8ff623ee183073d19aec9c7a7527fcc9d8b9fcac01fbd74b7819 SHA512 da0ff42d418264c46a6cf77d5fa284c1da86881268256ab4435da546be2d16077ab1a0c19c70b8bf74a61bb347320211dbba25e5cb634b5a51098f8e4ae5f54f WHIRLPOOL b8e24b9ca3e06411823230c91522ddd5996941dd50ef77c267a88d7bdfd5487a68206c50389ab876d99386b023b28759707de3697df7a1359eb933fdfd6ec3ce
|
||||
EBUILD cal10n-0.8.1.ebuild 640 SHA256 eec9fdd55ab8b90136b75169378b17b8b09ebb4bc07a1054c01cc977c470efbc SHA512 94ecb37c90b0ae5d2a3bdf8811d03469b7ff15cf2e8629042104a5df77919e3c3aa3c9b2229bf419dfb670900166eea779291044f384f54ce287b60af188b06a WHIRLPOOL 7f7c48b933f63e7f71114b8b2dbf2093a886e26bc94f4732930f73e0af3f79cd0d32b0276d4df73a888fa38fe2c11d6441bd03feba33398de51801f5a15deda0
|
||||
MISC ChangeLog 603 SHA256 4600950300d7a4c01408022b28320cb2da3f7301b5cee513255235d072d79446 SHA512 b332df8b8f508e71f532408dda6353093096d12b117e5b3490008f5973f80226503ec5ae542ade2c323b00ee0ddb58ebc670e10bea7dce47202a4ae356b85afa WHIRLPOOL 64e7c6a315871664499c664e55c43956e0a58b48f8b215f73226c42c412003918ff1c8529a472caa272ee209286edc9ab1d945a0ca60c9cc5109c55d38d17d5e
|
||||
MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51
|
||||
|
@ -1,7 +1,4 @@
|
||||
AUX build_xml.patch 358 SHA256 8d5843a14b1391500a9180b707ae09ac7e95aef4d6a1a132321ec6423d496490 SHA512 719ab5a439e38476d4ce4673e7056f99c9f1a81ad48fe3aea1eb9f3edddd1698de39362e55190490a55aba0f0314b831ef18373147db081bdf546a69d058a749 WHIRLPOOL 7023c336170957b47f34fffcefbe26340117f9d24a34b0b0e249883ac396b351981797d7f8ebbec9665d3f692f16e0badbc36fc6be9e5568e51f866eb2db6ed8
|
||||
DIST glassfish-v2-b44-src.zip 35200817 SHA256 331f6a65aa94b9d79f5b0a726d71afc4726032b3e9d62f2c7ab6fc679790e1b7 SHA512 2c236f37c08ec465959e80c90e3a2f8cdf9d143dc93c7a6bbdcc6e015125f167153f6abfaba4390a5d179b43130458b996498d3f1390588477462bd45ea367ee WHIRLPOOL 71c9b9cbcc194ffe03f4a604b570d618f88b7f08955b573f6b218683fba854267ee83915d26d909d8caf92779a2e15752d6fbce6c402d8ca69b108d18042845b
|
||||
DIST javax.servlet-3.1.1-sources.jar 211576 SHA256 c17212d132bf33dc9dcc44ed0e945e92a08cc8ec494ce7cd62de9f9514d63826 SHA512 7f152a389481e0381f041d97a6774a3e762a86b2a8a5413901c472fc2882b9cabd141dd85b46b8a7006cbe677c29c4caee09f3fc934afae857a6c1362efdc7bc WHIRLPOOL 9d794227cc6a119ef61122ec63515e18199bb4239382129b56f88ff74d5fb5b08a2b3259a1cfcde14a0761561beefd0152c853476d6d65039de76d791bd4090c
|
||||
EBUILD glassfish-servlet-api-2_beta44.ebuild 959 SHA256 31ba49c90a42cd944f4932552ebe5c802bd3daae47375a198637ca4abeb64e4a SHA512 8f87662d9168c29ff66ef9d0fa08563493b0c9537fdfd6bbbdfbc4334975f280816daa50251b92d9e30d25efa50aedc166cb28f128bff9bafca86698580d3543 WHIRLPOOL 09021be4d7d8a4f4b8b1ff9a44373a1f4a20b492cd72d92d741144cdfed55f2f02ec7719942381c406314fcd0cfc96a7e7cceba2b7eea8387c65022e75c82172
|
||||
EBUILD glassfish-servlet-api-3.1.1.ebuild 610 SHA256 3161fb131552212af307bbd576889e847ac878a761486eb4118b198fe3e4f08c SHA512 01fcec1ac949e16fa4ea76f285d51b02edc49c4a7f7f241f67905960d46e054bf9bf1eecd2e3c7ef6244176bfc63cd60f77d8d2b0d546f46877a21fb2feb729c WHIRLPOOL ff51330207fc6cdddc01153f4143b6383a433dbf58cdd293e48421c48c5de7318c3142561690470f307707cd3d05bde24800341d210629a9258d7bb39f880d9f
|
||||
EBUILD glassfish-servlet-api-3.1.1.ebuild 608 SHA256 bd2cfe9e11ac03d6015139c534a0e488b97b10f60d4fd934c343f2c0fb04d04b SHA512 7da94aa92f45b0503aad0090c1ca34106e0d494e7b612de4c35b7ee7dd50be4d60858ef8411edae95d74b08362788f8a8ec13956215ceba1d76ae12df6c494b0 WHIRLPOOL d4de497c150afb62baa84699bba495f3bd5143e500474729facc7b22c76a3d12cdbaec2180708a084c93f345e5f07d1206f18a2d5a27412d8a1cc4d253cadc2f
|
||||
MISC ChangeLog 1730 SHA256 c4be8dcccc39d8d224beaba99a192b0f745bdfdfad4c5f24fddc36813733843d SHA512 9ef924423e50fe1e71b9701383ec51748a772caeb43d50f83dc5b8cbdadd975f5a06574083fb5457b9166debe908760cd1e2a456256fdf2c79aa2064b13768d9 WHIRLPOOL 94f84b02da62ad90da141f6c8e62523d4e7b868ed81dc6415d2cc8aa548f85b139df92c6b58d7c9f500d349642d037f7f09d5ca922d6e17bcfb612df34633391
|
||||
MISC metadata.xml 277 SHA256 f87b53a46fa6b85476513fe5ede554c76738921d7e52cf5a2248419f1daa960b SHA512 42fd9121ad7f65245c0f198f34a2b5db8f1c36e82b65a0549e92d9875b66b84763ae19afbd8434e4a8601ce45e697836003924c62db41349695ad3353bca1bb0 WHIRLPOOL b71d39936fad715de243ee82c225ba91de58ff8659c54bd78d7eb5f0bca8bb8197fcfda77ecb6b7a096abcb24da2e8231df802403181a4d43baaea8e1d59f12d
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- build.xml 2007-04-27 03:38:38.000000000 -0400
|
||||
+++ build.xml 2007-04-27 03:39:17.000000000 -0400
|
||||
@@ -28,7 +28,9 @@
|
||||
target="dist" inheritAll="false"/>
|
||||
<ant dir="${servlet.api.home}/src/jsr245"
|
||||
target="dist" inheritAll="false"/>
|
||||
+<!--
|
||||
<antcall target="prepare-jar"/>
|
||||
+-->
|
||||
</target>
|
||||
|
||||
<!-- build pwc-->
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit base java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV="${PV/_beta/-b}"
|
||||
DESCRIPTION="Glassfish reference implementation of Servlet API 2.5 and JSP API 2.1"
|
||||
HOMEPAGE="https://glassfish.dev.java.net/javaee5/webtier/webtierhome.html"
|
||||
SRC_URI="http://download.java.net/javaee5/trunk/promoted/source/glassfish-v${MY_PV}-src.zip"
|
||||
LICENSE="CDDL"
|
||||
SLOT="2.5"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/glassfish/servlet-api/"
|
||||
|
||||
PATCHES=( "${FILESDIR}/build_xml.patch" )
|
||||
|
||||
src_compile() {
|
||||
eant build $(use doc || echo -Ddocs.uptodate=true)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/src/jakarta-servletapi-5/jsr154/dist/lib/*.jar
|
||||
java-pkg_dojar "${S}"/src/jsr245/dist/lib/*.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc src/jsr245/build/docs/api
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST java-apicheck-0_p20150907.tar.gz 1550 SHA256 4f8a108e78b556d3400e334d3cd0b972628a8cee97bfe903e656ddbb46368449 SHA512 68a3a5443ea26840a526c2e53451e47e441f6ec15b2ddffef8f5d63a50f1129d18cd65506ecfe0bbf3f9829514697648eff8f64e558f0bd5376b0bf2add70b70 WHIRLPOOL 0640404622635f36c2dab7623510b5ea913a409382b77699c0dea5904fdedf0d83ba5bdf3e2247d3ed3b3b33a2dd271b9ba1d4b2913428adfa01381be1cdbdef
|
||||
EBUILD java-apicheck-0_p20150907.ebuild 486 SHA256 c8e6c68ccd5b2192b34fe635c35f1460392f345307eff3e932d32d101042e5f7 SHA512 620c2eab613744629011afef583ed0474676551b282f70bd8e4c26251fe734039c252d2fa7c1ae05c0fe565a8ff70c4f285bd04775671cbc6d86d8fda4574472 WHIRLPOOL 45fd9897ef4e6c0687774cd988a7e92debd6595a2fe6c1615ef068a1d71a8c629cac4845743e308c51cab42f71c871f8ef14f46722345f71304f014ff950e2a0
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Command line tool to check Java packages for API compatibility"
|
||||
HOMEPAGE="https://github.com/gentoo/java-apicheck/"
|
||||
SRC_URI="https://github.com/gentoo/java-apicheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-java/japitools
|
||||
dev-java/java-config
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -1,8 +1,4 @@
|
||||
DIST jsoup-1.7.2.tar.gz 292926 SHA256 b778e2b3687c4ca2255e9a9f5038f54470c0dfee8f9758937afc1f50fac78b38 SHA512 de400a755b4ecf7962b66f2a3f232895c5ce365c18e9c4af4dc654094357248e7f694217a33b8a0415767c1c50c532f6d70f01e04475ecf0c7d1b5607432967f WHIRLPOOL 67ae0eb1459161a46a5bb2c2ce8c646febe0fe5c8f0cbae8c4d620d713c2d6cf982fd4d8364204c72d07fbef0a9df32b5226cb65a718e3b811912b09b7a15911
|
||||
DIST jsoup-1.8.1.a.tar.gz 303388 SHA256 788832a1a3fa639fecb71b52c5b1c062663f5b3a21c1451968910c4731393b60 SHA512 4afcc42187fd034e2c6f45d369c4fdd0cc7523f4aa2f2526a21aebdebb8608e1ced51f3d6c8de02ac519eccd5ef415e9b7619450fb2e958a0f7a4d5bf492ed8a WHIRLPOOL 7c1f8a0db34b8907bbc2ce849d85a845956059520202346a1d608e43cb264d2b478738868a2d183d97eff85b8df085ced10130400f2612a26faff7f688e4e698
|
||||
DIST jsoup-1.8.3a.zip 370626 SHA256 3a2dd962eb3f3bf0ef14f526d89795836d06bff411e68f0adfcc4a8dd5915876 SHA512 d044231fc70ff6d5428707d56853db77feedbb29a4ea1a501e6fcbaaecb2743bdeeaa8dcf4c76f7d278905b31e83707ad2644e7876a44c9d2325537d647aab85 WHIRLPOOL e1b5d4ed64b4460223b38aea43466465638236edf0ef6bd987430e16bb2bd12796a4900da797320c5bebcd8de0f823533f2a40bfb6cc50ad30183912eb34eee7
|
||||
EBUILD jsoup-1.7.2.ebuild 1140 SHA256 05e464fb036d216008ae4cecb6b3602ddcc9c6e5e4ebd8dcaa4f5d3b15823483 SHA512 8f132d70aa7fa6a8a2ada074898f42f057efad34c0323f3affdd358925f5845872206e3050e1c1fa1e7e681919679ffc041c744a3abcbec4fa4b0076ed333135 WHIRLPOOL 94ba99ad4b8a819acfb844a8e4a7a0b6a485339eea2ea91118afea7eef74cf7f44217845c2b7d182d112a80677064bc2ce18d5b4193f8265ada714e6fc9e66c6
|
||||
EBUILD jsoup-1.8.1.ebuild 1163 SHA256 b934168a031682f2422685dbdd444ee074f5854e9cbbf4ceff91c323ef4464c6 SHA512 39ba1f05d55b6e57ed6b22c545b7100017dba04c1312e2efeeaa456cd841182f446a079ac79ce6615498690deffb79dd82b389cb5da02c2fc57662b6d9527431 WHIRLPOOL a6727aff3023839ec433e3838cb35e14afb44a9348ed10b0f094e33dbd363660ac87170a97b947bbe00fa1e0452cfb995d81ddc23c7f6802a0720a05ac36e88f
|
||||
EBUILD jsoup-1.8.3.ebuild 1181 SHA256 688f2e049a35fef491b8e6215e2446c1a3b67d55ab201922209ba6bbf55873dc SHA512 ad259cb9e5d5b86000ac7d526b4dede66534f8d3751c8155e912457962aae7bed180397baf813b854adc1f9cf64c9bdac087b25876314ff1b7421b944858617a WHIRLPOOL 014cf67f08c5d6db18529bd02eb04b5537a815e03b50b91e113b5a2284cddf67f74e773b7f61d0d4db460a0f761198127604250800ab7442f0b5a9c0799c6c8e
|
||||
EBUILD jsoup-1.8.3.ebuild 1179 SHA256 a25cafafc34738b655d592dd976440cf4a7ca06d7c1b8b5bd24bf84037b629f5 SHA512 4e8a24211eb9a793a87fcdce3b50d319906b6735eae5b4344d431fbabc54180c0a6c09e9ec649c0923f6dc7219e7d1a94c6163f1f05f9cad52efd32f057dd239 WHIRLPOOL e19e43cb8cac8a64518786ee8030aa9f5d5e579d596b2119562812c92c489eef66eb770fd9f9fef49b39344fb149ac671017495b734012a3c7bb0254acabbc94
|
||||
MISC ChangeLog 709 SHA256 dbbade21f6258c1434683efdb400efa09f2f06341889a89f9cd8ffd495abda2c SHA512 e7addaf8a2f743ae9039e68172471fd70a1952454dc73708e84466ed0c950b357b8cf47ec2fcc0543edcc41343ae2c3e0e5f01cda92251c0495b49d0a7032491 WHIRLPOOL 9099c4e7442f6b4f9acbc8016255731cacdde1ea9e91f403ceaf2e40875ff07d078c7aa7d7174e7a5eafb7ffe0921f1d38019ac0f3ca10e70c30c20d40381b6f
|
||||
MISC metadata.xml 755 SHA256 f438b667b51771849ba8f598a3c766d4ebff39126cef676d5ee217d88ec008d7 SHA512 b7c3a98204c859fa54b5c13973cc7b5716047aef21483c12e60386b1c407b50028acf79dfddeb3c4694a7d2f02838bd2e23fec9e8ca33d226ab480843d5a4c25 WHIRLPOOL c234c6dfd442f6e79bf5f51bdab7b68b4fc2b41cdce40a14287ff38372462aba907a6304a9f95b42f746236e5013c9c37a77db0748b577dd93d111b71933b268
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple vcs-snapshot
|
||||
|
||||
DESCRIPTION="Java HTML parser that makes sense of real-world HTML soup"
|
||||
HOMEPAGE="http://jsoup.org/"
|
||||
SRC_URI="https://github.com/jhy/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
mkdir -p target/classes/org/jsoup/nodes/ || die
|
||||
cp src/main/java/org/jsoup/nodes/*.properties target/classes/org/jsoup/nodes/ || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testcp="${S}/${PN}.jar:$(java-pkg_getjars junit-4):target/tests"
|
||||
|
||||
mkdir target/tests || die
|
||||
ejavac -cp "${testcp}" -d target/tests $(find src/test/java -name "*.java")
|
||||
cp -r src/test/resources/* target/tests || die
|
||||
|
||||
tests=$(find target/tests -name "*Test.class" \
|
||||
| sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \
|
||||
| grep -vP '\$');
|
||||
ejunit4 -cp "${testcp}" ${tests}
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PV="${PV}.a"
|
||||
|
||||
DESCRIPTION="Java HTML parser that makes sense of real-world HTML soup"
|
||||
HOMEPAGE="http://jsoup.org/"
|
||||
SRC_URI="https://github.com/jhy/${PN}/archive/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
mkdir -p target/classes/org/jsoup/nodes/ || die
|
||||
cp src/main/java/org/jsoup/nodes/*.properties target/classes/org/jsoup/nodes/ || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testcp="${S}/${PN}.jar:$(java-pkg_getjars junit-4):target/tests"
|
||||
|
||||
mkdir target/tests || die
|
||||
ejavac -cp "${testcp}" -d target/tests $(find src/test/java -name "*.java")
|
||||
cp -r src/test/resources/* target/tests || die
|
||||
|
||||
tests=$(find target/tests -name "*Test.class" \
|
||||
| sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \
|
||||
| grep -vP '\$');
|
||||
ejunit4 -cp "${testcp}" ${tests}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue