bump(dev-libs/apr): sync with upstream for arm64

Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
Geoff Levand 2015-06-16 14:15:17 -07:00
parent 28d51d191c
commit 3f2649a169
20 changed files with 803 additions and 370 deletions

View File

@ -1,6 +1,159 @@
# ChangeLog for dev-libs/apr
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.187 2012/12/29 16:22:06 pinkbyte Exp $
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.227 2015/04/30 10:33:20 polynomial-c Exp $
*apr-1.5.2 (30 Apr 2015)
30 Apr 2015; Lars Wendler <polynomial-c@gentoo.org> -apr-1.4.8-r1.ebuild,
+apr-1.5.2.ebuild, -files/apr-1.4.6-mint.patch:
Version bump. Removed old.
15 Nov 2014; Lars Wendler <polynomial-c@gentoo.org> apr-1.5.1-r1.ebuild:
Added kludge to fix compilation with >=libtool-2.4.3 until autotools.eclass
got fixed (bug #527506).
17 May 2014; Agostino Sarubbo <ago@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for alpha, wrt bug #504300
14 May 2014; Agostino Sarubbo <ago@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for sparc, wrt bug #504300
13 May 2014; Agostino Sarubbo <ago@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for ia64, wrt bug #504300
*apr-1.5.1-r1 (28 Apr 2014)
28 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> -apr-1.5.1.ebuild,
+apr-1.5.1-r1.ebuild, +files/apr-1.5.1-parallel_make_install.patch:
Revbump to fix a parallel install bug. Enable posix-shm support. EAPI bumped
to 5.
*apr-1.5.1 (28 Apr 2014)
28 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> +apr-1.5.1.ebuild:
Version bump.
20 Apr 2014; Agostino Sarubbo <ago@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for ppc64, wrt bug #504300
13 Apr 2014; Agostino Sarubbo <ago@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for ppc, wrt bug #504300
05 Apr 2014; Agostino Sarubbo <ago@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for x86, wrt bug #504300
01 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> apr-1.5.0-r2.ebuild:
Added dependency on libtool (bug #506384).
30 Mar 2014; Chema Alonso <nimiux@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for amd64 wrt bug #504300
26 Mar 2014; Markus Meier <maekke@gentoo.org> apr-1.5.0-r2.ebuild:
arm stable, bug #504300
16 Mar 2014; Jeroen Roovers <jer@gentoo.org> apr-1.5.0-r2.ebuild:
Stable for HPPA (bug #504300).
12 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> -apr-1.5.0.ebuild,
-apr-1.5.0-r1.ebuild:
Removed old.
04 Feb 2014; Mike Frysinger <vapier@gentoo.org> apr-1.5.0-r2.ebuild:
Add more cross-compile related variables to force sane results.
31 Jan 2014; Mike Frysinger <vapier@gentoo.org> apr-1.4.8-r1.ebuild,
apr-1.5.0-r1.ebuild, apr-1.5.0-r2.ebuild, apr-1.5.0.ebuild:
Mark sh stable.
*apr-1.5.0-r2 (31 Jan 2014)
31 Jan 2014; Mike Frysinger <vapier@gentoo.org> +apr-1.5.0-r2.ebuild,
+files/apr-1.5.0-sysroot.patch:
Utilize SYSROOT to locate build-time paths when cross-compiling, and drop
redundent -L/-R libdir flags to simplify linking. #385775 by Bertrand Jacquin.
31 Jan 2014; Mike Frysinger <vapier@gentoo.org> apr-1.5.0-r1.ebuild:
Convert myconf to an array to make it easier to maintain.
31 Jan 2014; Mike Frysinger <vapier@gentoo.org> apr-1.4.8-r1.ebuild,
apr-1.5.0-r1.ebuild, apr-1.5.0.ebuild:
Use tc-is-static-only rather than open coding the mint target.
22 Jan 2014; Mike Frysinger <vapier@gentoo.org> apr-1.5.0-r1.ebuild:
Drop old static-libs hacks now that we use local libtool #374355#16 by Rafał
Mużyło.
22 Jan 2014; Mike Frysinger <vapier@gentoo.org>
+files/apr-1.5.0-cross-types.patch, apr-1.5.0-r1.ebuild:
Fix cross-compiling.
22 Jan 2014; Mike Frysinger <vapier@gentoo.org> apr-1.5.0-r1.ebuild:
fix typo
*apr-1.5.0-r1 (22 Jan 2014)
22 Jan 2014; Mike Frysinger <vapier@gentoo.org> +apr-1.5.0-r1.ebuild,
+files/apr-1.5.0-libtool.patch:
Generate & use local libtool #374355 by Justin Lecher.
21 Jan 2014; Mike Frysinger <vapier@gentoo.org> apr-1.4.8-r1.ebuild,
apr-1.5.0.ebuild:
Add arm64 love.
*apr-1.5.0 (20 Nov 2013)
20 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> -apr-1.4.5.ebuild,
-apr-1.4.6-r1.ebuild, +apr-1.5.0.ebuild, +files/apr-1.5.0-mint.patch,
metadata.xml:
Version bump. Removed old.
18 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for x86, wrt bug #477296
13 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for alpha, wrt bug #477296
10 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for arm, wrt bug #477296
10 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for ppc, wrt bug #477296
06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for s390, wrt bug #477296
04 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for ppc64, wrt bug #477296
04 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for ia64, wrt bug #477296
03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for amd64, wrt bug #477296
03 Aug 2013; Jeroen Roovers <jer@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for HPPA (bug #477296).
03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild:
Stable for sparc, wrt bug #477296
*apr-1.4.8-r1 (18 Jul 2013)
18 Jul 2013; Lars Wendler <polynomial-c@gentoo.org> -apr-1.4.8.ebuild,
+apr-1.4.8-r1.ebuild:
Revbump. Removed "uuid" USE flag (bug #355489).
18 Jul 2013; Lars Wendler <polynomial-c@gentoo.org> metadata.xml:
Added myself as maintainer.
*apr-1.4.8 (24 Jun 2013)
24 Jun 2013; Lars Wendler <polynomial-c@gentoo.org> -apr-1.4.6.ebuild,
+apr-1.4.8.ebuild:
Non-maintainer commit: Version bump. Removed old.
20 Feb 2013; Zac Medico <zmedico@gentoo.org> apr-1.4.6-r1.ebuild:
Add ~arm-linux keyword.
29 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> apr-1.4.6-r1.ebuild:
Apply user patches, wrt bug #449048

View File

@ -1,9 +1,34 @@
AUX apr-1.4.6-mint.patch 1200 SHA256 d1d8217efbf87f136ece47d06e224f23a585b1634d70a911c88778b8503b3d71 SHA512 531961bcd79850a4b6af59288a6aeb489632d64fd4a1bed80450d48e48f5ff3ea7c0d1e05d80a591c2d8d1a2c6f0c859ef8500b1f01614d83df74034782fd7bd WHIRLPOOL 52c98387ed240f94099f4587734b048fdc6899309d5b4b2f5b237fc7621ef5aa81f1a8b6602e7589ec55fbf391104db3e4451e62dbabdc55133530830dddecf1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX apr-1.5.0-cross-types.patch 1969 SHA256 5f3c17546ea43a1ce33ad3d0459dcc6782d0006ab9414bd1e02e3ca0b40b2565 SHA512 8d91cff44c2926c5da120a3e7a4e54414c1e77cb1815d6683b490499914ca0934c3a1a1edb3dbd7dfd686e3342675ab64b0f498c21fe138befa6b454b5d5c1d8 WHIRLPOOL 9f785576b6a6e8b402481be0adb0eff86640e91e6d5948e9fe80f7e2b76f7f2391ff4609ad07aa4d7cfc77c27788f9969953d1e33f0f46ff1876b906cd27293c
AUX apr-1.5.0-libtool.patch 514 SHA256 ec0cdc67b471da2666aeeb8d9b344320392331f79a123bfbc405c440c50ebce6 SHA512 e8c2a7a2b5c8171a0d2c8920e053bd861e4fb2044428cb3f6ffc9ccea05694c20b879411f86b967c4269918b5740b1450ecb0e720d74ea0fe9ac305f58ee88d5 WHIRLPOOL e0b7a06cf78a3eb1930639ea7e7d38c962ff847b990714e042e2d107575b4b26979198fbfec62bba5500b323caf0a01584e00b1bbc907fdc67cbaf8e6f3d2ec4
AUX apr-1.5.0-mint.patch 872 SHA256 6ed43adba05db07f061d98f73c19aac0df3d9c0aafd86cf57c9ab4fdc851659a SHA512 ba71f17ef9f61a8379139f05ca17eb583ad34cbc3ebf5c4f59d011662db6b5c963da5c466c093c3eb98372299d8f202d927a05b52cc7515270ac52fe44ec6daf WHIRLPOOL 60966adf15e5301600f870ece96d34d4dd26d3e7dc99bb447f2afc1a86f7a46ef3bdf24613027636707b2fd5ac2f2bdd956a8eeb3b088b27862d7e86090b5db1
AUX apr-1.5.0-sysroot.patch 1309 SHA256 6ebfe28e672084747cf1ee88acec7394de96302f0b2f0903926ba2403ecba244 SHA512 48609c522225b47df96039174dafa043f77ce5b91f464b14250dd2b30590d6685c9baa03d4ca34937532c26afea8d208fb78158dfc8026a606ff90543b5c8d5d WHIRLPOOL a74e8eb6e482b3215997c147a2cded7c9288618bf4925877775dca7700c14fbb874dba8681d053b4f6485792605b37ecf6da0487d4a9bb74bc79a8e3eb128a1f
AUX apr-1.5.1-parallel_make_install.patch 554 SHA256 db2d154531f9c92575230b51d4c0b1ad801b66a913957c3640269a46452c3030 SHA512 712de9b30b86cf3f40cc88ed6a7c144b31ad7d70a8985fc5f74a30e023b48fcff4c0c56d0023b20dfd9037441f8d5dc4aa780a5a792a1b73af58aca66980dff4 WHIRLPOOL bde783d69adf4f5e951cf59d525bbd5065ee5d7e3525a8abf0dc5dde5748e194bdc9a1801dd523985a366d67fb6fbcc9d6ea29e6dbc3740b0428a950d34c6104
AUX config.layout.patch 818 SHA256 eeacaf654f23084e842bff02b97c083a8da5b5c056fd086166ba2d250edf3181 SHA512 4ff9a98c2a799c714d3b4c2cb42dd9c1cd6aa52b465570939710c0ac5800ea8806a9c38500d83b09a2bf61984d57c53ae934886d9f25e3111d721ef282a7d91e WHIRLPOOL a03f7e889a416ada14c62ca99727e2c8cba403972785c7d2282c1c914abe9c38a94b98489ec840b3c1e2cfc2af87ee08ac724d0434e8198596f7d2b44907d3db
DIST apr-1.4.5.tar.bz2 754763 SHA256 38c61cacb39be649411cdab212979c71ce29495549c249c2e9a1b0d12480c93e SHA512 090edd67ecb571cb6b3697a37fc25da9336c6345025b25a530eaa32d1d9906bc6b2eebde9cff8b7cb6a20a0b45d9c36a69c468657ae6c1dc372e4eb181be0344 WHIRLPOOL 5bf5d859528cc470bcade626cfb2a8f39c6ad093291c09128fbd96068b9b26aeb47ee8bef77aa06d41fa4c2cbebf4f21742f3cdb9c1ced3eca4eaa0928e719fd
DIST apr-1.4.6.tar.bz2 785724 SHA256 9b635e60feb163e6fc6c375721f71f44d7e26d6b9cd52f6b86b04e65d2481cbc SHA512 1842e2dfc9315d9dd39acd4545d80fad45dcb419c9bfb4423453ca8727aa78d864fd48f43e68a696345b4c0ee2e9eb50b3eddd96d3eaf6ed3c5d48211831b8e4 WHIRLPOOL 4d8a67dace2b7e1c41c778ad3d34f4a479f9885c0b11cd3c4be412da4e2e006765802f8756a52d97fbfe4e962302274fe0e67cd1b8ac1a673044e79fbec5dc6e
EBUILD apr-1.4.5.ebuild 2131 SHA256 13c591ee66cdfef1d3da5fbcf18925b18f3415ede24255be1897156568d4d7e5 SHA512 392d57566c0e5ff44efcbcdc8a4a9825a0ecddc2bbd1df638a9e278a2ff9fb7d2186d5bf031a0bf5e2a7712a0df24bdc985af38e50ee8eda1983ad877e267a76 WHIRLPOOL d758fa4274a653b7a202526d2579a46978b8a0f144d5c693b3f0a7b3dd1553be4abbbc425780d5cd458d3bbb53405a7aaa2635a9cd12f02ee1ddf814da613e49
EBUILD apr-1.4.6-r1.ebuild 3423 SHA256 6cf921a4850747b690877537a8004c7af5dddf1f3dd091f45f19c8df03bd6b5d SHA512 13df876cad5739a1921fbe650cf0e0f078d09ccc19002d6bf07d79251b0c6119a56ef52ac48e726877601d58b0c71f2134c05e2d685d0f1a5c70022ab47a0538 WHIRLPOOL e2cc6221f1b1a33cd2ec9ba220ab69bc4fae8bd73eb17494a28683716f8bf0d154605222e005e159f027c786a2435334e235715540ffbef0c43c9e1b195fca49
EBUILD apr-1.4.6.ebuild 2138 SHA256 16b358e3787ae115fc3bd8de62356bb73b22feac889e69a57b5f4a7d8b589142 SHA512 77c9fa12cce1b61105fcfbd0bf4c6ac3714ded24b73828987b6b8c79944a21167d45bb22a41630e94153632ef73aca4112bfe29fb5f0c97de5997a203130c96a WHIRLPOOL 3b59a2d5ffc170e7a57ec80ed1ab9973e456db2dc83382e2a7985c0cf00ba5a2519b76487a338819f895d9cde5e68a894b951a3537d3c46b6c366d6c02851ce7
MISC ChangeLog 22493 SHA256 a2d09ee3165bf58d54bedb9ba01255ae627483b9e38143477d015f4888d3b284 SHA512 bda292f3356bb85758c488958700fd44ae5761cff41a8f52df8398583087be79855a15e191c1cd6d6bdb52eab485cfea261a031731e3f2bb2c8fb9a65653c202 WHIRLPOOL 32ba15c7c2f05f611b2dfe4c6ed7b9fa44d26acf411e329844ee5353074a501f65b711bc7023da8e8b2c49483317d8c8c604d88ea3d693cbeda23d90e119d5d1
MISC metadata.xml 443 SHA256 966327337370abc0213bdd1e4fc8723db10871adad7746e07e9b1ebaed188212 SHA512 b46c129b23e4ba9a27be4cf0592a80223726a38d022916a4032a00dc5ca117a15641003ecb302eed6a560c73515aa990800b80b1b48574fb58235ce8bafb5b4c WHIRLPOOL 48326ff95f79a6ddcdea9a915803497bc5a510503ee5bd91d2b7d4f5d113167784f9bdca9962b083395dbc2916846f8dbadce411dcc27a207ae211cba5a1c1e0
DIST apr-1.5.0.tar.bz2 813976 SHA256 17287d36a5917e27281e60d47e7b147bd5ddcd1ca832702c2318f5e0724f1221 SHA512 d54d995a67fe13a619d4781cbfcfae07679d15defa49634ee472c6a93f9521f7964e6e3e366188f1817c01a8fdb98b4ff042e56d8bd9bc379683d6c4ccff2a3e WHIRLPOOL 083da7589f85fb2212b4ced33004ee30848a40cf4718de36a21dfcba15b794dc9b57a9324cdd400e2df74564f9ad27899119de55075f1e0285415471b47f90e7
DIST apr-1.5.1.tar.bz2 817569 SHA256 e94abe431d4da48425fcccdb27b469bd0f8151488f82e5630a56f26590e198ac SHA512 0d8dea97490cd0b0689eb090d0e32ab9b582e4a0248ea7028e2a44552fc3839013b18cff985547aa9bbb549d93bc4859cca1d8ef95b32d4d4fd610ed19bde435 WHIRLPOOL 553efdefdb58ae44015ef36505c70b52122b750e6c3f63d9ccaa0878efd476dac249a62e2fb644d3e709c372a2805b1d76869c0e9b880b6273f46ef2e9937ace
DIST apr-1.5.2.tar.bz2 826885 SHA256 7d03ed29c22a7152be45b8e50431063736df9e1daa1ddf93f6a547ba7a28f67a SHA512 d1156ad16abf07887797777b56c2147c890f16d8445829b3e3b4917950d24c5fd2f8febd439992467a5ea0511da562c0fb4a7cfd8a235ab55882388bfa2b919d WHIRLPOOL 3f6fbb9410f7cd3ace2f80f361a02b190e14d744f38dbd6f87a5c60b4b1c4a99cd902ba9351a235d9f3bab044a981de21fb6c193d3ab3caba2448bf6c4e1bd1b
EBUILD apr-1.5.0-r2.ebuild 4076 SHA256 3e14d60efdfb6a21d34bfa63db0128f7a8ab92752b2a6ee179c71c7faf275172 SHA512 31b69716506b663b81be22de49edb7b1d3be6c59e1a55d19f7b895bc12f298685927b2774da7b7f478af415b23596cbb27936ac632607d690425fa9f921c9bf9 WHIRLPOOL bfdd0b781125c8dfbdf5a77eda6833699fa1a414a445077c3745052300592073b83c270f7b654ea86b14d02deae0b0178719af2d0f4b4d6d8d6cb292dbbf7803
EBUILD apr-1.5.1-r1.ebuild 4392 SHA256 c509d89fe6a61b8e665c022fe90754075b7c53b57b09bba4aa0202bdc7d00d6b SHA512 5d4d8a200c6caad0f0e32459adade0a46456ee268d5ac0060538547e6b01ebaf3533f0066423e8a720e706fc65a4a21594eea3653cb79cca988e0db063c25a50 WHIRLPOOL ac6f31d53b3abb04f516b0301a110c4ecacdc87a47cb3a901812dd567cd85c8a7a327f15bf058a553ec313b48bc87622978fde1587ed934ae5800d7a440b881e
EBUILD apr-1.5.2.ebuild 4327 SHA256 58afeafca9ba6368d079f8b50613d26afc6fcb6a81cc998d1483d083f5a25e54 SHA512 047af83124fe9aaf93ca2345224bf8a444e524d60b57cd04612f8edbfdd862ceecc7c822f962eb1ac8ee3cca3e927b54d3f37b14f3d65a9ea6c38dd96d8e4387 WHIRLPOOL 7aaca72ff0a6cd1e251273cb2bd59d5bbc9dbeed9a718d4ee1456220206e389d84216edde75236ef7594027a5bad89547793fc6916244f7347fb7b3be34b7490
MISC ChangeLog 27804 SHA256 b59b45d70753b7e0a7e2c12b64c7e5af532312f85257c0db5c40d469d701f18b SHA512 228251b5af890a2ef1f40a8e1fdd32171adb3addb076aebc1d0b092fb755b95eefd9989f3fdfada728ee2af680c8dc9e39f7bc5026ffa52340bb8b5732f145c0 WHIRLPOOL b9fdda0c79172c5d0e810c2d2caf701a49023335c58440a0832b7f5775a3ed093041b581c7cf0ea43b8e9d6cd94ddc51101d9169666f88d5ce78543e56ad782b
MISC metadata.xml 419 SHA256 803186ba5a9a84cf3fdf02db9c8922c4e63d75608268b352da2d68ba0249d5ec SHA512 85d64dc3256516cb3a46e01861d684384a108035744cc34615b7de23aa09847f8eafeec198b6135a6df100be5d6de02f0cea65815c617af1e252e87f95002274 WHIRLPOOL 532f9e3d27dcbc0b521bab043487f13b2bf7daa9a49b11760b1aa0610d30c1d62d39c940f545a8a3754e8f08ec041d428b4b98b6ebea45579073d6c12a43c30b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVQgTyAAoJEPiazRVxLXTFKTUP/i2/54jmeCUVhzjqo4eO2pHa
Lam94SbAKySZwWicgFdgy6fqS8Sm/47JOQVs40ssaoQFmOgXzble1l1/QEBiMzMW
E2GEzRNRSekFoe2wjpD8duGig2Z2IaylaHxU/nqRqr2YMj2UIENQ1rObFT4+9PeJ
0S7Bj371hEPyg/jFG7NuGzS+ejsLdfBLdhycdBuJ3QYNnWKwNdHYqcV7ep/vpzhU
qomI8F5kQFiXbehnW+QXwC9KnencOn52iyhvp4haGT2pE6HoFpsja/GtCQj9DmID
+YzZ13zSHBcecXp96PM7UI+rxQ/DB2ioGc/nX3cahDmXMZPzFHoWFQJ/dbB+N0oB
mbvF8f1EYYs3x1z3xS1vK2f/JAjFDAXPwYeF4HdCzKvMLh7P3TfJu67tLAiccW8k
rRpXAqw8d7BU6nEhNVYxsAk3RwxF/JeFOkz7JLZSYbpjMokrfhNh8AnXp8UI+1zb
3JHVAs+IvBUKJencGLaR13D31IQvYRBkj+EYDV2sa8Jrb6ShR/22VtZSFs/r5dVG
33wMCOpDcB4WRqMCROqqN7nf6O2UUyPvFkVBa/4YXvT+19vgVHHBlT0oijRGM3d8
O5hvwa0e30FcHZdqG04b0SLOfrbQG7qmQkN8XK1gYrHnq8ierTJ4+ZZamlxhYN87
F9lauI8ITNl5F12+/ZJ8
=ksg+
-----END PGP SIGNATURE-----

View File

@ -1,91 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.5.ebuild,v 1.8 2011/11/11 19:17:50 hwoarang Exp $
EAPI="4"
inherit autotools eutils libtool multilib
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid"
RESTRICT="test"
RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
# Ensure that system libtool is used.
sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed"
sed -e 's:@LIBTOOL@:$(SHELL) /usr/bin/libtool:' -i build/apr_rules.mk.in || die "sed failed"
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if use urandom; then
myconf+=" --with-devrandom=/dev/urandom"
else
myconf+=" --with-devrandom=/dev/random"
fi
if ! use uuid; then
local apr_cv_osuuid
export apr_cv_osuuid="no"
fi
CONFIG_SHELL="/bin/bash" econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-threads \
${myconf}
rm -f libtool
}
src_compile() {
emake
if use doc; then
emake dox
fi
}
src_install() {
default
find "${ED}" -name "*.la" -exec rm -f {} +
if use doc; then
dohtml -r docs/dox/html/*
fi
if ! use static-libs; then
find "${ED}" -name "*.a" -exec rm -f {} +
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

View File

@ -1,125 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.6-r1.ebuild,v 1.2 2012/12/29 16:22:06 pinkbyte Exp $
EAPI="4"
inherit autotools eutils libtool multilib
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid"
RDEPEND="uuid? (
elibc_glibc? ( >=sys-apps/util-linux-2.16 )
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )
)"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}"/${P}-mint.patch
# Ensure that system libtool is used.
local g=
[[ ${CHOST} == *-darwin* ]] && g=g
sed -e 's:${installbuilddir}/libtool:'"${EPREFIX}/usr/bin/${g}libtool"':' -i apr-config.in || die "sed failed"
sed -e 's:@LIBTOOL@:$(SHELL) '"${EPREFIX}/usr/bin/${g}libtool"':' -i build/apr_rules.mk.in || die "sed failed"
# Apply user patches, bug #449048
epatch_user
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if use urandom; then
myconf+=" --with-devrandom=/dev/urandom"
elif (( ${CHOST#*-hpux11.} <= 11 )); then
: # no /dev/*random on hpux11.11 and before, $PN detects this.
else
myconf+=" --with-devrandom=/dev/random"
fi
if [[ ${CHOST} == *-mint* ]] ; then
myconf+=" --disable-dso"
fi
# shl_load does not search runpath, but hpux11 supports dlopen
[[ ${CHOST} == *-hpux11* ]] && myconf="${myconf} --enable-dso=dlfcn"
if [[ ${CHOST} == *-solaris2.10 ]]; then
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
*atomic_cas_ptr*) ;;
*)
elog "You do not have Solaris Patch ID "$(
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
)" (Problem 4954703) installed on your host ($(hostname)),"
elog "using generic atomic operations instead."
myconf="${myconf} --disable-nonportable-atomics"
;;
esac
fi
if ! use uuid; then
local apr_cv_osuuid
export apr_cv_osuuid="no"
fi
CONFIG_SHELL="${EPREFIX}"/bin/bash econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-threads \
${myconf}
rm -f libtool
}
src_compile() {
emake
if use doc; then
emake dox
fi
}
src_install() {
default
find "${ED}" -name "*.la" -exec rm -f {} +
if use doc; then
dohtml -r docs/dox/html/*
fi
if ! use static-libs; then
find "${ED}" -name "*.a" -exec rm -f {} +
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
# Even in Prefix, we don't need this on AIX.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

View File

@ -1,90 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.6.ebuild,v 1.2 2012/05/09 15:43:48 aballier Exp $
EAPI="4"
inherit autotools eutils libtool multilib
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid"
RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
# Ensure that system libtool is used.
sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed"
sed -e 's:@LIBTOOL@:$(SHELL) /usr/bin/libtool:' -i build/apr_rules.mk.in || die "sed failed"
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if use urandom; then
myconf+=" --with-devrandom=/dev/urandom"
else
myconf+=" --with-devrandom=/dev/random"
fi
if ! use uuid; then
local apr_cv_osuuid
export apr_cv_osuuid="no"
fi
CONFIG_SHELL="/bin/bash" econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-threads \
${myconf}
rm -f libtool
}
src_compile() {
emake
if use doc; then
emake dox
fi
}
src_install() {
default
find "${ED}" -name "*.la" -exec rm -f {} +
if use doc; then
dohtml -r docs/dox/html/*
fi
if ! use static-libs; then
find "${ED}" -name "*.a" -exec rm -f {} +
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

View File

@ -0,0 +1,138 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.5.0-r2.ebuild,v 1.12 2014/05/17 13:55:56 ago Exp $
EAPI="4"
inherit autotools eutils libtool multilib toolchain-funcs
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom"
RDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 )
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )"
DEPEND="${RDEPEND}
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch
epatch "${FILESDIR}"/${PN}-1.5.0-libtool.patch
epatch "${FILESDIR}"/${PN}-1.5.0-cross-types.patch
epatch "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
epatch_user #449048
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf=()
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if tc-is-cross-compiler; then
# The apache project relies heavily on AC_TRY_RUN and doesn't
# have any sane cross-compiling fallback logic.
export \
ac_cv_file__dev_zero="yes" \
ac_cv_func_sem_open="yes" \
ac_cv_negative_eai="yes" \
ac_cv_o_nonblock_inherited="no" \
ac_cv_struct_rlimit="yes" \
ap_cv_atomic_builtins="yes" \
apr_cv_accept4="yes" \
apr_cv_dup3="yes" \
apr_cv_epoll="yes" \
apr_cv_epoll_create1="yes" \
apr_cv_gai_addrconfig="yes" \
apr_cv_mutex_recursive="yes" \
apr_cv_mutex_robust_shared="yes" \
apr_cv_process_shared_works="yes" \
apr_cv_pthreads_lib="-pthread" \
apr_cv_sock_cloexec="yes" \
apr_cv_tcp_nodelay_with_cork="yes"
fi
if use urandom; then
myconf+=( --with-devrandom=/dev/urandom )
elif (( ${CHOST#*-hpux11.} <= 11 )); then
: # no /dev/*random on hpux11.11 and before, $PN detects this.
else
myconf+=( --with-devrandom=/dev/random )
fi
tc-is-static-only && myconf+=( --disable-dso )
# shl_load does not search runpath, but hpux11 supports dlopen
[[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn )
if [[ ${CHOST} == *-solaris2.10 ]]; then
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
*atomic_cas_ptr*) ;;
*)
elog "You do not have Solaris Patch ID "$(
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
)" (Problem 4954703) installed on your host ($(hostname)),"
elog "using generic atomic operations instead."
myconf+=( --disable-nonportable-atomics )
;;
esac
fi
econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-threads \
$(use_enable static-libs static) \
"${myconf[@]}"
}
src_compile() {
if tc-is-cross-compiler; then
# This header is the same across targets, so use the build compiler.
emake tools/gen_test_char
tc-export_build_env BUILD_CC
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
tools/gen_test_char.c -o tools/gen_test_char || die
fi
emake
if use doc; then
emake dox
fi
}
src_install() {
default
find "${ED}" -name "*.la" -delete
if use doc; then
dohtml -r docs/dox/html/*
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
# Even in Prefix, we don't need this on AIX.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

View File

@ -0,0 +1,147 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.5.1-r1.ebuild,v 1.2 2014/11/15 20:45:08 polynomial-c Exp $
EAPI=5
inherit autotools eutils libtool multilib toolchain-funcs
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom"
RDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 )
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )"
DEPEND="${RDEPEND}
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch
epatch "${FILESDIR}"/${PN}-1.5.0-libtool.patch
epatch "${FILESDIR}"/${PN}-1.5.0-cross-types.patch
epatch "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
epatch "${FILESDIR}"/${PN}-1.5.1-parallel_make_install.patch
epatch_user #449048
# kludge to fix compilation with >=libtool-2.4.3 until autotools.eclass
# got fixed (bug #527506)
_elibtoolize --install --copy --force
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf=()
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if tc-is-cross-compiler; then
# The apache project relies heavily on AC_TRY_RUN and doesn't
# have any sane cross-compiling fallback logic.
export \
ac_cv_file__dev_zero="yes" \
ac_cv_func_sem_open="yes" \
ac_cv_negative_eai="yes" \
ac_cv_o_nonblock_inherited="no" \
ac_cv_struct_rlimit="yes" \
ap_cv_atomic_builtins="yes" \
apr_cv_accept4="yes" \
apr_cv_dup3="yes" \
apr_cv_epoll="yes" \
apr_cv_epoll_create1="yes" \
apr_cv_gai_addrconfig="yes" \
apr_cv_mutex_recursive="yes" \
apr_cv_mutex_robust_shared="yes" \
apr_cv_process_shared_works="yes" \
apr_cv_pthreads_lib="-pthread" \
apr_cv_sock_cloexec="yes" \
apr_cv_tcp_nodelay_with_cork="yes"
fi
if use urandom; then
myconf+=( --with-devrandom=/dev/urandom )
elif (( ${CHOST#*-hpux11.} <= 11 )); then
: # no /dev/*random on hpux11.11 and before, $PN detects this.
else
myconf+=( --with-devrandom=/dev/random )
fi
tc-is-static-only && myconf+=( --disable-dso )
# shl_load does not search runpath, but hpux11 supports dlopen
[[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn )
if [[ ${CHOST} == *-solaris2.10 ]]; then
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
*atomic_cas_ptr*) ;;
*)
elog "You do not have Solaris Patch ID "$(
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
)" (Problem 4954703) installed on your host ($(hostname)),"
elog "using generic atomic operations instead."
myconf+=( --disable-nonportable-atomics )
;;
esac
fi
econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-posix-shm \
--enable-threads \
$(use_enable static-libs static) \
"${myconf[@]}"
}
src_compile() {
if tc-is-cross-compiler; then
# This header is the same across targets, so use the build compiler.
emake tools/gen_test_char
tc-export_build_env BUILD_CC
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
tools/gen_test_char.c -o tools/gen_test_char || die
fi
emake
if use doc; then
emake dox
fi
}
src_install() {
default
# Prallel install breaks since apr-1.5.1
#make -j1 DESTDIR="${D}" install || die
prune_libtool_files --all
if use doc; then
dohtml -r docs/dox/html/*
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
# Even in Prefix, we don't need this on AIX.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

View File

@ -0,0 +1,146 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.5.2.ebuild,v 1.1 2015/04/30 10:33:20 polynomial-c Exp $
EAPI=5
inherit autotools eutils libtool multilib toolchain-funcs
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom"
RDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 )
elibc_mintlib? ( >=sys-apps/util-linux-2.18 )"
DEPEND="${RDEPEND}
>=sys-devel/libtool-2.4.2
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch
epatch "${FILESDIR}"/${PN}-1.5.0-libtool.patch
epatch "${FILESDIR}"/${PN}-1.5.0-cross-types.patch
epatch "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
epatch_user #449048
# kludge to fix compilation with >=libtool-2.4.3 until autotools.eclass
# got fixed (bug #527506)
_elibtoolize --install --copy --force
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf=()
[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if tc-is-cross-compiler; then
# The apache project relies heavily on AC_TRY_RUN and doesn't
# have any sane cross-compiling fallback logic.
export \
ac_cv_file__dev_zero="yes" \
ac_cv_func_sem_open="yes" \
ac_cv_negative_eai="yes" \
ac_cv_o_nonblock_inherited="no" \
ac_cv_struct_rlimit="yes" \
ap_cv_atomic_builtins="yes" \
apr_cv_accept4="yes" \
apr_cv_dup3="yes" \
apr_cv_epoll="yes" \
apr_cv_epoll_create1="yes" \
apr_cv_gai_addrconfig="yes" \
apr_cv_mutex_recursive="yes" \
apr_cv_mutex_robust_shared="yes" \
apr_cv_process_shared_works="yes" \
apr_cv_pthreads_lib="-pthread" \
apr_cv_sock_cloexec="yes" \
apr_cv_tcp_nodelay_with_cork="yes"
fi
if use urandom; then
myconf+=( --with-devrandom=/dev/urandom )
elif (( ${CHOST#*-hpux11.} <= 11 )); then
: # no /dev/*random on hpux11.11 and before, $PN detects this.
else
myconf+=( --with-devrandom=/dev/random )
fi
tc-is-static-only && myconf+=( --disable-dso )
# shl_load does not search runpath, but hpux11 supports dlopen
[[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn )
if [[ ${CHOST} == *-solaris2.10 ]]; then
case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in
*atomic_cas_ptr*) ;;
*)
elog "You do not have Solaris Patch ID "$(
[[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885
)" (Problem 4954703) installed on your host ($(hostname)),"
elog "using generic atomic operations instead."
myconf+=( --disable-nonportable-atomics )
;;
esac
fi
econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-posix-shm \
--enable-threads \
$(use_enable static-libs static) \
"${myconf[@]}"
}
src_compile() {
if tc-is-cross-compiler; then
# This header is the same across targets, so use the build compiler.
emake tools/gen_test_char
tc-export_build_env BUILD_CC
${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \
tools/gen_test_char.c -o tools/gen_test_char || die
fi
emake
if use doc; then
emake dox
fi
}
src_install() {
default
# Prallel install breaks since apr-1.5.1
#make -j1 DESTDIR="${D}" install || die
prune_libtool_files --all
if use doc; then
dohtml -r docs/dox/html/*
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
# Even in Prefix, we don't need this on AIX.
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

View File

@ -0,0 +1,63 @@
use standard AC_CHECK_SIZEOF as it supports non-builtin types and
supports cross-compiling sanely
https://issues.apache.org/bugzilla/show_bug.cgi?id=56053
--- a/configure.in
+++ b/configure.in
@@ -1684,7 +1684,7 @@ else
socklen_t_value="int"
fi
-APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], pid_t, 8)
+AC_CHECK_SIZEOF(pid_t)
if test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_short"; then
pid_t_fmt='#define APR_PID_T_FMT "hd"'
@@ -1753,7 +1753,7 @@ APR_CHECK_TYPES_COMPATIBLE(ssize_t, long, [ssize_t_fmt="ld"])
APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned int, [size_t_fmt="u"])
APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned long, [size_t_fmt="lu"])
-APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], ssize_t, 8)
+AC_CHECK_SIZEOF(ssize_t)
AC_MSG_CHECKING([which format to use for apr_ssize_t])
if test -n "$ssize_t_fmt"; then
@@ -1770,7 +1770,7 @@ fi
ssize_t_fmt="#define APR_SSIZE_T_FMT \"$ssize_t_fmt\""
-APR_CHECK_SIZEOF_EXTENDED([#include <stddef.h>], size_t, 8)
+AC_CHECK_SIZEOF(size_t)
AC_MSG_CHECKING([which format to use for apr_size_t])
if test -n "$size_t_fmt"; then
@@ -1787,7 +1787,7 @@ fi
size_t_fmt="#define APR_SIZE_T_FMT \"$size_t_fmt\""
-APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8)
+AC_CHECK_SIZEOF(off_t)
if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then
# Enable LFS
@@ -1866,7 +1866,7 @@ case $host in
;;
*)
ino_t_value=ino_t
- APR_CHECK_SIZEOF_EXTENDED(AC_INCLUDES_DEFAULT, ino_t, $ac_cv_sizeof_long)
+ AC_CHECK_SIZEOF(ino_t)
if test $ac_cv_sizeof_ino_t = 4; then
if test $ac_cv_sizeof_long = 4; then
ino_t_value="unsigned long"
@@ -1886,8 +1886,8 @@ else
bigendian=0
fi
-APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>
-#include <sys/uio.h>],struct iovec,0)
+AC_CHECK_SIZEOF(struct iovec,,[AC_INCLUDES_DEFAULT
+#include <sys/uio.h>])
if test "$ac_cv_sizeof_struct_iovec" = "0"; then
have_iovec=0
else

View File

@ -0,0 +1,17 @@
generate a local copy of libtool for use in compiling
https://bugs.gentoo.org/374355
--- a/configure.in
+++ b/configure.in
@@ -260,9 +260,7 @@ case $host in
fi
else
dnl libtoolize requires that the following not be indented
- dnl should become LT_INIT(win32-dll)
-AC_LIBTOOL_WIN32_DLL
-AC_PROG_LIBTOOL
+LT_INIT(win32-dll)
# get libtool's setting of shlibpath_var
eval `grep "^shlibpath_var=[[A-Z_]]*$" $apr_builddir/libtool`
if test "x$shlibpath_var" = "x"; then

View File

@ -1,23 +1,18 @@
diff -ur apr-1.2.11/build/apr_hints.m4 apr-1.2.11-mint/build/apr_hints.m4
--- apr-1.2.11/build/apr_hints.m4 Tue Jun 26 23:47:46 2007
+++ apr-1.2.11-mint/build/apr_hints.m4 Tue Mar 25 12:00:14 2008
@@ -44,8 +44,9 @@
--- apr-1.5.0/build/apr_hints.m4
+++ apr-1.5.0/build/apr_hints.m4
@@ -45,6 +45,8 @@
case "$host" in
*mint)
- APR_ADDTO(CPPFLAGS, [-DMINT])
- APR_ADDTO(LIBS, [-lportlib])
+ APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE])
APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE])
+ apr_cv_pthreads_cflags="none"
+ apr_cv_pthreads_lib="-lpthread"
;;
*MPE/iX*)
APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE])
diff -ur apr-1.2.11/build/apr_threads.m4 apr-1.2.11-mint/build/apr_threads.m4
--- apr-1.2.11/build/apr_threads.m4 Thu Aug 3 11:05:26 2006
+++ apr-1.2.11-mint/build/apr_threads.m4 Wed Mar 19 08:38:56 2008
--- apr-1.5.0/build/apr_threads.m4
+++ apr-1.5.0/build/apr_threads.m4
@@ -198,7 +198,7 @@
AC_DEFUN(APR_CHECK_SIGWAIT_ONE_ARG,[
AC_DEFUN([APR_CHECK_SIGWAIT_ONE_ARG], [
AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
AC_TRY_COMPILE([
-#if defined(__NETBSD__) || defined(DARWIN)

View File

@ -0,0 +1,37 @@
https://bugs.gentoo.org/385775
utilize $SYSROOT to find the right includedir tree
drop the -L/-R paths since we know our libdir is the standard path which
the compiler already knows how to locate
--- a/apr-config.in
+++ b/apr-config.in
@@ -28,7 +28,7 @@ libdir="@libdir@"
datarootdir="@datadir@"
datadir="@datadir@"
-installbuilddir="@installbuilddir@"
-includedir="@includedir@"
+installbuilddir="${SYSROOT}@installbuilddir@"
+includedir="${SYSROOT}@includedir@"
CC="@CC@"
CPP="@CPP@"
@@ -183,7 +183,7 @@ while test $# -gt 0; do
--link-ld)
if test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib
- flags="$flags -L$libdir -l${APR_LIBNAME}"
+ flags="$flags -l${APR_LIBNAME}"
else
### this surely can't work since the library is in .libs?
flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}"
@@ -200,7 +200,7 @@ while test $# -gt 0; do
### avoid using -L if libdir is a "standard" location like /usr/lib
# Since the user is specifying they are linking with libtool, we
# *know* that -R will be recognized by libtool.
- flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}"
+ flags="$flags -l${APR_LIBNAME}"
else
flags="$flags $LA_FILE"
fi

View File

@ -0,0 +1,19 @@
http://www.mail-archive.com/dev@apr.apache.org/msg25738.html
--- apr-1.5.1/Makefile.in
+++ apr-1.5.1/Makefile.in
@@ -129,11 +129,11 @@
etags:
etags `find . -name '*.[ch]'`
-make_tools_dir:
+OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
+tools/gen_test_char.lo: tools/gen_test_char.c
$(APR_MKDIR) tools
+ $(LT_COMPILE)
-OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
-tools/gen_test_char.lo: make_tools_dir
tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)

View File

@ -2,11 +2,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>maintainer-needed@gentoo.org</email>
<email>polynomial-c@gentoo.org</email>
<name>Lars Wendler</name>
</maintainer>
<use>
<flag name="older-kernels-compatibility">Enable binary compatibility with older kernels</flag>
<flag name="urandom">Use /dev/urandom instead of /dev/random</flag>
<flag name="uuid">Enable UUID support</flag>
</use>
</pkgmetadata>

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) ) doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Apache Portable Runtime Library
EAPI=4
HOMEPAGE=http://apr.apache.org/
IUSE=doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd
LICENSE=Apache-2.0
RDEPEND=uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )
RESTRICT=test
SLOT=1
SRC_URI=mirror://apache/apr/apr-1.4.5.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=33fc980fbec965e6b9b2ae769443dfe1

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) ) doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Apache Portable Runtime Library
EAPI=4
HOMEPAGE=http://apr.apache.org/
IUSE=doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
LICENSE=Apache-2.0
RDEPEND=uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )
SLOT=1
SRC_URI=mirror://apache/apr/apr-1.4.6.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=dc9e13ac41c18f5a4c43e115c24b8411

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=uuid? ( elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 ) ) doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Apache Portable Runtime Library
EAPI=4
HOMEPAGE=http://apr.apache.org/
IUSE=doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=uuid? ( elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 ) )
SLOT=1
SRC_URI=mirror://apache/apr/apr-1.4.6.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=7bc581e4e43d2400049b42d8f0566d88

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 ) >=sys-devel/libtool-2.4.2 doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Apache Portable Runtime Library
EAPI=4
HOMEPAGE=http://apr.apache.org/
IUSE=doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 )
SLOT=1
SRC_URI=mirror://apache/apr/apr-1.5.0.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=47b0af77a2429c3f71d8ea3797db9a7e

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 ) >=sys-devel/libtool-2.4.2 doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Apache Portable Runtime Library
EAPI=5
HOMEPAGE=http://apr.apache.org/
IUSE=doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 )
SLOT=1
SRC_URI=mirror://apache/apr/apr-1.5.1.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=b333b7d34b8947f4a0997d64ba26c21d

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 ) >=sys-devel/libtool-2.4.2 doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Apache Portable Runtime Library
EAPI=5
HOMEPAGE=http://apr.apache.org/
IUSE=doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=Apache-2.0
RDEPEND=elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 )
SLOT=1
SRC_URI=mirror://apache/apr/apr-1.5.2.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=4a6270957031a31a9753530243ffe73f