summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-10-05 11:49:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-10-05 11:49:05 +0000
commitc95410aac16774f76f370349aa8bec0696fc9385 (patch)
tree75ddfb7d67b2154a5b1e1afcdc996fdc1805d250
parentRemove vulnerable version, bug 448550 (diff)
downloadhistorical-c95410aac16774f76f370349aa8bec0696fc9385.tar.gz
historical-c95410aac16774f76f370349aa8bec0696fc9385.tar.bz2
historical-c95410aac16774f76f370349aa8bec0696fc9385.zip
old
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
-rw-r--r--sys-fs/lvm2/ChangeLog13
-rw-r--r--sys-fs/lvm2/Manifest31
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.100-ignored_loop.patch32
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.100-lvm_path.patch31
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.100-pvmove_segfault.patch31
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.100-respect_ar_and_cc.patch20
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.100-vg_free_segfault.patch80
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.102-do-not-install-separate-command-symlink-for-lvm-devtypes.patch13
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch37
-rw-r--r--sys-fs/lvm2/files/lvm2-2.02.99-selinux-static.patch140
-rw-r--r--sys-fs/lvm2/lvm2-2.02.100-r1.ebuild236
-rw-r--r--sys-fs/lvm2/lvm2-2.02.100-r2.ebuild236
-rw-r--r--sys-fs/lvm2/lvm2-2.02.102.ebuild238
-rw-r--r--sys-fs/lvm2/lvm2-2.02.99-r2.ebuild254
14 files changed, 20 insertions, 1372 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index 97131d06d31f..0c9f35b02547 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for sys-fs/lvm2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.323 2013/10/05 11:43:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.324 2013/10/05 11:49:01 ssuominen Exp $
+
+ 05 Oct 2013; Samuli Suominen <ssuominen@gentoo.org>
+ -files/lvm2-2.02.100-ignored_loop.patch, -files/lvm2-2.02.100-lvm_path.patch,
+ -files/lvm2-2.02.100-pvmove_segfault.patch,
+ -files/lvm2-2.02.100-respect_ar_and_cc.patch,
+ -files/lvm2-2.02.100-vg_free_segfault.patch, -files/lvm2-2.02.102-do-not-insta
+ ll-separate-command-symlink-for-lvm-devtypes.patch,
+ -files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch,
+ -files/lvm2-2.02.99-selinux-static.patch, -lvm2-2.02.100-r1.ebuild,
+ -lvm2-2.02.100-r2.ebuild, -lvm2-2.02.102.ebuild, -lvm2-2.02.99-r2.ebuild:
+ old
*lvm2-2.02.103 (05 Oct 2013)
diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest
index 57083e4c76d1..fd577798b3b7 100644
--- a/sys-fs/lvm2/Manifest
+++ b/sys-fs/lvm2/Manifest
@@ -11,13 +11,7 @@ AUX lvm-monitoring.initd-2.02.67-r2 1183 SHA256 b89971a4f163e1a91df2416ff442cae7
AUX lvm.conf-2.02.67.patch 1676 SHA256 0d36c4de0503739d822b3103a62dc0110febc3c56cd25d04443b30f54da6d0cb SHA512 59cb4a4625a7a18ec81b10f4b70a1632cf608d30b1fd827cc7a97692ab3cbbe2e0108001952f5002f1ffe6b354be7b96430e5ce86ed183885afdd1b5f0aa76e4 WHIRLPOOL 71c42b80f390de73b116dbe4808b44559196175465126393128b87826248ac5a34d79c4f64647d6b4541288ae4d25669168120ce8889deb08bfb7919dde249ed
AUX lvm.confd-2.02.28-r2 173 SHA256 28370c089c39c248d7ded0960b8d8a9256bada44d44c22ce3cec87d512ef6844 SHA512 67b153cbc5c2327c15f042b3b5590c1d8fdf9823efb19c80192ac4dcf98e530efea8ecae0aaaa4a54b0e3e4907565aa21455b364df1dbe8f2e7dffa1c5d355d0 WHIRLPOOL 06467b28ad2acf36984eef1b7b7e3d88277505760f848a808d85820cd1cccf6bb7397c00624d36961d9bdbb994e55de03444a7cfc97ecefd9bd3b785a3c6fdbf
AUX lvm.rc-2.02.95-r2 3001 SHA256 66844a70cedf61b2cd3373cdbd8f8c1afa817bde0764fdf5cf488857532d4553 SHA512 e5d34447db2fc050256222eff427703341b839a80c833c8ca2a814663b790bdffad967fa41bda8c182d5217dda629057a571520cb0a2e4cb06d5a8a241746ea3 WHIRLPOOL 102baf82bd5573ce90bdb19307ccf71026b6e03fd9e471a123f17072e0ac3785ecf017bb2cd81adf7a5332f33b42330e7c484c8804ed57d4ad6fb1cdd4c119f7
-AUX lvm2-2.02.100-ignored_loop.patch 1442 SHA256 6cc84c9a025434990eb2a94e3782a52dfaf025cb0e240399c3e84aa8ab1908b1 SHA512 19db1461b20621a7bdba0605c0608c8905380508056a06ddc2e1c834eac89a3b615a25874f80a3613ffea43ded3a515e98323dbd0aa8126782c6196cde2ff7fb WHIRLPOOL d895951b1333ecfec221d9d4fd3ca803bbe7c3a808e96a7556f7cd137536c4ad4db47e62c365e5db212041073600633fb181640cc2c9e04f69b6e5fe6d67d6dd
-AUX lvm2-2.02.100-lvm_path.patch 1090 SHA256 f7e183e39071b618c64d68e37bad1d36294d111a7239bccca6fdbf4d1aa20323 SHA512 2eca11e31a7ff2a46553668e8501e4448cd6fd6b6422a36e24a9d526fbf65976e14ddba489a316a568cd3b9307de48ccbf975e0527020356322dd961ecb13107 WHIRLPOOL 28c235dda5875e52a4888788011ab553ba54bafd604253f649283b14854230f3f93e1d8ce6421ec88c06163c2d5bc51b025f11179268903389d2729bfc87dfe8
-AUX lvm2-2.02.100-pvmove_segfault.patch 1187 SHA256 299bf1fb53e89f01ebb7c754d95d5cb6cbc302a4c0b0cf6ad400b5e28a90af00 SHA512 667ccc6127b4c59268326070661246c9c19e02a97ceb51411c2977782d120f8bcd1b277feaab06afeb0d81fa8e1472a19fcd853806d31b0a24bf7f2b04ddcf2b WHIRLPOOL 9a637cf940a67f2f5e00e06b8cacbb5c8b93fb9cdaa252e8cb0c04174857ba9530d0f0081d0936b47ce1b4271f238c75e0c3056439b09952771598a5ef2a7613
-AUX lvm2-2.02.100-respect_ar_and_cc.patch 536 SHA256 7c86a44214f8181dbc248bf2cc13a1254e27bb84b222d750e57e208e9019cebd SHA512 807802a7cda7ced971b7206f86b2b0d2c3cc938ad711bd6c45a95d0d72e207deab73f0b1c00ee31693010eb04f270000fbf8229fc5b844235c62df13db52f64f WHIRLPOOL ff2df6c76e9706a6ac0da17bf8c9fec0e432935e101e4ab4ca819b1f9e5aee26700b57fdb16129a10fe0b677b1e1dd6398b139110c4f72a2d0ac951df84e6d0b
AUX lvm2-2.02.100-selinux_and_udev_static.patch 3223 SHA256 15c20b1e16443932c560164ad9546ab01279601b0f0dd7fdc54f9cf3cd3ffee3 SHA512 232dc2908073254e23878098734cc65449c7be0707f7f0f7e73561e7b204bf71cf75ff5ee143b0f9f301ddabac1595c59cb0ec80c665464e8fe3f1b65a3eb0c2 WHIRLPOOL fdd908aa01cc3790be4ff8e7b2180cd526065c826657924edfccdc53f5c2266a12911c1ebface9de649b1974ff77401e94a64de507b5c72415614e5726dd4a2a
-AUX lvm2-2.02.100-vg_free_segfault.patch 2316 SHA256 287065a798b727d5011644cd174d7b28492ccd0234d238dcfc4cdbb300cc128f SHA512 f5fa6f1e726353fca758fac2a70a2b39611cbad72db5a89ea1da015acd4e53a6e9881c40a9c648d4cf9952b8b8ae3e7847025078c43f9eef0f0da7b4cfb31560 WHIRLPOOL 47f74b534f5db2f94e487c0559d9176dfd9e923a492ab4ff9139bd5faf24ce7ad8cff9a3d1e6bcc68a7a512c5b4ce4509daa5fe2f77e3486484be893a9740e90
-AUX lvm2-2.02.102-do-not-install-separate-command-symlink-for-lvm-devtypes.patch 600 SHA256 087814ebad5f1e683805d8f2c2648c38de326d7683526d76975e171cecfdba3b SHA512 9243e3ad5f5d4846b98de40a408bb0123af46c4746cb7608146c4c9807700ee658bcb8bd253cb937f8e86729d2ac8bc919403c1a0d269fcef4d6eee44fe4f100 WHIRLPOOL 0291d02e049820e773efaec8e401e7f0ffd077fc25c2f16b9d17d6a3196f35777a201ed6fc0fca256c9c011428d1a79784d55014e4b158a7263b599cf7976113
AUX lvm2-2.02.56-lvm2create_initrd.patch 2032 SHA256 b892d0544e05350e78ea400c16e6fd3657671d9bdf50bfae70505fd79bdda081 SHA512 b2a1705fa6b962027ebc5047583547489afe8ef8d8977c6284a28d0a8b0e05e20e6c48bd6c02a8bb02de9cfb40ac2d6e2a4b8ed8ef8c4ae7b6ea9a29bc4194de WHIRLPOOL cb533df528be0aae4bf50966285ef7a238f810d955ee86d5b446f43944d093732eff6ef8178d1654c4a2c075049ffc11994a99de6291bab1140cb8812be8b8a0
AUX lvm2-2.02.63-always-make-static-libdm.patch 1420 SHA256 1c498b5efce77ed16bbbfcd9e0ec6da404a9c70c7ad0959ed7b60733adfcfc21 SHA512 67735af9e51369d5b3b400cab4f9ffa25f8dea1c1ec3d01855cb3c5aeade5c39a35eeed43f3a665204fe6bbba4ca43baecd845330bf26d023064b94ca3d1317c WHIRLPOOL f273c893acedfd658e7947abb5f4b528f15de9808ae3862ec8a9189ba7de4ea6998dc67dbc7af642ca3a27bba2ef8eabfd48337f532145f88500988f564313b1
AUX lvm2-2.02.67-createinitrd.patch 660 SHA256 d59f5642fff9d9575227bfd0b3d103d928a6f7b08b417d6c458704171f11da39 SHA512 17fbba5d34ece5c1c25ef35fa3bbc3d6fcd20b44bd766c049bbc120853a8d60c9544db5790645a7814db5c272fd12d383699a8a9be6f4e9c56a7c0a1bb29ade2 WHIRLPOOL b358a31a9ee669a4fccf42280da5342c214932bfd83deee92d41351eb37dc6c0b2e5dc7419f2304128b5d285fed92db5b2e1634a71bbf1310d36b54d1a353bb0
@@ -30,30 +24,21 @@ AUX lvm2-2.02.97-selinux-static.patch 3194 SHA256 ec63bdee4fbea1ac2b97abd5d56ec5
AUX lvm2-2.02.97-strict-aliasing.patch 3142 SHA256 a4c799777c8e5a83fe1af52ed623ba472b859b5a0356dab2b53b31837b3a582e SHA512 7828562bb0fb95f3f75d08845b8c4767815dd74e117795ec873ea11135deaf389d6f0f8d66cf3c9b3843d6fa977c4be1a341013bcf4f016299e238c0d90be878 WHIRLPOOL 84f957d7b833896fe86fa9bf4c83183a8fb3c96780fd387288371df4fbf697f1ecc1c554862ea749ec72728bd608c1c8a1776cd26185903b53d559e3760d743c
AUX lvm2-2.02.97-udev-static.patch 1170 SHA256 a797b0d767c7df83653b9da996b47425ad1d0d6bd79371c231b8f6480a013f41 SHA512 7c45fcccd4cd5097e88bef014fdff0bfde3959c57cffb34657674c4f557b36f4df73a2f3a8af17a12c1b0f52e4b5d99806f6f82c5ae60417ebcbf72b82616c89 WHIRLPOOL 4f303960be89b5e37d3f700eeb6e534c40750a8a486c33f21605d53dabef487b5a00e2bcda42d3dcbe60ebba3e444cea8a2375901bd92b9047b040584c66faea
AUX lvm2-2.02.99-example.conf.in.patch 1489 SHA256 55273a2bc6df33057f4efdd947b75f0282a7993acd5e57f0019f8ca57ca7df38 SHA512 0c92a0e454505219653500d4fb2ee57626bb30375782be941bda17d7b841cb05eeebb87bfc4f7aa397b26fb4908bcbd0f69d2c07e63bf4f070756a1894851869 WHIRLPOOL 3f6c94dd63fcf5e2d1406aa074aee27997fa6d58da3db9d22281b3080ec36277bc5225c3b62f042b38f5d0870fb1e3e19433f218f01e03323c7ad1210d45d4b3
-AUX lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch 1311 SHA256 d5547fb0eed458f13154c187037141fe3d1b3fcf049615b231afca332898c22b SHA512 400ef32d4535e45601f6d4e1f0270c0e504dfc3ad1b284b7cfe2b21d9bdc2438f24c45dc85ca51803881215c4f6f9a753fb71c7c357dc9b135bf439eba7874a5 WHIRLPOOL 870aa09765becdf90924e979376810acd060f13653f91ec0694883011570d52d5d4d22f6622313cb853eba7a6fc9cd5b85039d7d6b9f2c5dc1833c2cee1a541a
AUX lvm2-2.02.99-locale-muck.patch 395 SHA256 14e7c65fd9aa71b7f09cc1aecfaccb3048dbb09dd4eb4c342556708aa6adba77 SHA512 4014abbaeb1106dbaa360e2573340651adc0cccc6c0c05cc57695e74e7a3d0b5a73e2b72242bab0d0a10c2506a7c30c2a4de0275c0f81a14dfb068ec91492497 WHIRLPOOL 3383e94ca4dbaefd2c628d3a95b17a14602481c98425caf48f490185289eb3f1af2ef234ff5b5c431ea4624edd8e48764252bdf5b7159ab3bbbad699c3f936ab
-AUX lvm2-2.02.99-selinux-static.patch 4695 SHA256 62571ea45660dc518b36128d929927a7bdd0476c6ecb1ab091807e5fbd091287 SHA512 94d6e29147d9c258f5cf00245b6b341ac301a0da1c0388c363f2dbb59eef69ab6bd4e6213b1fbcd749861d71a78d4f4ac2b4295074efc259bb9586d746ec1349 WHIRLPOOL c752bf942b9edc0ea43d5a0ae1394f8f037dbb74ce299dae0bff7f011e6182dbfe35131bd4496793cd1d55711837599f9ea448265e22523963acc0088fb5b253
-DIST LVM2.2.02.100.tgz 1324911 SHA256 450302f909a93a44710ed3ae70894d3774f2eab52ecb1e3e6cac16d0239bd3a0 SHA512 97cac59bae5627b29bd32d46e7fa96063874a6b17f20c2c7f3a82bb0a7c1d155da9dbd224c3201116544f866796ee2219a79e3478e62365b68c6a982eead0312 WHIRLPOOL 51a7a24184ea3db40da1cec238b6aae8a4db0f60779095eaaa4a44ea149504f34e6307b5fee5e7dc3aa94d834ab517b6607a3a25ff7a5c27434224447000df6f
-DIST LVM2.2.02.102.tgz 1340569 SHA256 7392705663f814e4cc547fb22dc6e29b7c8929fd98ca998c6dd1a9e4b92df6a1 SHA512 a2b81d231412fea13d4b83109b55f75ccb56bef4806fbefeae057d2ab8a1012387148ee14d7ae4143ea16149b1679c92e1a13f9e9b28cf5eef50448629163195 WHIRLPOOL 069dfb1b691161ea50a4c175de0eb7f934e6e45540c1ccd5419157b812d231e6cd82e9af569246c0bca884a73487170e7e8b52ba932e73736b5eda1d4d035ebf
DIST LVM2.2.02.103.tgz 1343887 SHA256 71c5a2e8842ed2f13f52e02b44eb183110a3410dedd1e117348e4eecc29d3c2a SHA512 1a9920947312e3e248bff7ff5d5eb54dec3f3b05eb3388fa92f95369b26ae8e6838186f87d817b09e8c635ddc3cdf51bc1d07c2a9d65fd7eab33598998bb7afe WHIRLPOOL de96dd8b7fb46ec777f34169759852ee5ef03ccdc93e110bf63c92dddb9cf4f805635444ceeead6b581610d2a23217d3b4729c286f016623f73b99c0b35a42a0
DIST LVM2.2.02.97.tgz 1193141 SHA256 edda82012e8a9e1f0b00ba5a331468d3e0201992be14c0dbea71bf564a51fc2b SHA512 c209054832f36d7b9cbf833c702410ac95c9de1e213b550c01c42f087fcae346d3c931c409184086bc1fcbcbc154c9a4f8b82b06291cefeb7ae22fe7a4c254a0 WHIRLPOOL d4dafde0ae1607cb231acbf07e8aecd579b9e9042e9356df1074a2683f5f2d1036a3483e1799cf7dd14e64f1f4c5506d3628979fd7128cea70ad45b653403dfa
-DIST LVM2.2.02.99.tgz 1317810 SHA256 493c9ad85bada036418671072355b2fc57fc30eb5a63fd14a7dfe8ed28dca040 SHA512 665c8be867b44a258e37e12f2202352dfe0d4b7a5018e041ef01ce53d59b88dd96195943f12bd6915ebadbc605340de138bb2268527fd830d35deb4d43ab561b WHIRLPOOL 13fbb82cada1b8c08c881070ce5400517e44b287402ff1e5637ba4b684b4af22a3c7197a0a004d4a43f3584ae257307bb3734e9f3152733368e39a1b7f8c9d89
-EBUILD lvm2-2.02.100-r1.ebuild 7634 SHA256 a869d076299bf024b2311c1ce9faae960c042ec4f2400cd2c7fa7752d44b3a36 SHA512 02593aa7fb667f353c682347db41667490e15ec9de8de3ca721b9765c01864ea85f7f8b67e19a9393c567847813a154610d51af5ace3f10b345643203b035de5 WHIRLPOOL e7e501ded5bfac8b0074b315e72307ff475a255f2ea13a9ec4f28eca0ec2c9f4d05b8ff1f057226d80d7f651585973924d2d37ce4f4f5b597bea25c20811a36b
-EBUILD lvm2-2.02.100-r2.ebuild 7634 SHA256 ae4869bd0940b8537b6861040c7f12223605ec5c0a8b361d5409fb400daa5355 SHA512 724399ed596faee7a3d9316e7626c97cf95c51bb7ac3e44847d02064f7aea203667acfdd676802b2b4dc45f46c93d73050f977045b628c8c5fcbd04fcea1303d WHIRLPOOL 8d124b373de5f25077db02156f01255e6b4d36668d63fcad0bf7c448854eecd50ea647a835195377d747b5d7fa5dcead4bb12c34b06b1ae25adfe45d88b78743
-EBUILD lvm2-2.02.102.ebuild 7549 SHA256 fe2b7a30e3d57384b0fa89e6e3f7db8d1f38ffda3a1b4afbbce281bf666c7fdf SHA512 311f7928bb759ea884756d5dbabde2d3c9950380fdbd6b7a45ace6afb48c0e36786fa3d7ebcd0230d4dba9b327824a2862ede57207f857be04b6236dea9883f5 WHIRLPOOL bae08461d36346848cd3fed1770a821f6639295137b333d9cc92912a7b8e3f23f17b7c3d59983951636a2c968c63c32c49789f716b7e4916f576dc17f22fa4a0
EBUILD lvm2-2.02.103.ebuild 7440 SHA256 df6e4b2b3c9ec90f2bf1506f14b3d7c6a0112e4efa737f3b8075411aa810af85 SHA512 52729e2c7dcc91352ee28de8414898545f029d53658508bf20ad27df912a999698342c3e5ba5b9ca64fcd6a98e79019880b686d7ad243514676dd424c8c72493 WHIRLPOOL 481080e7b9c8ff248507078fe995c4a831051d383bb9bba69b65dfba0201eba53f9db3cc9b2b61b6115c364522885c0971d01e75c071ae3e1658750b6a4ea734
EBUILD lvm2-2.02.97-r1.ebuild 9072 SHA256 616ff463fda707204c5e92c3a22651ec3e87168ead21b859f6ad0f00c2775960 SHA512 d395b0dc1a18846f76bc79f7fef2cbb649bbee179ea800d6b82398ff113d21c84d987107d14397986d2dc7f5127345cde7e1c588ddfcab339e016f3133dc6080 WHIRLPOOL f14c3e31b83d73b4e996e47c1db7e79e293881dfb1bc519383cfdaac35331ff4fb0a735d2c138433855b1795f084552126b340624191ba8aaf0069011eb6d823
-EBUILD lvm2-2.02.99-r2.ebuild 8217 SHA256 3b2b043cb028b55af42e88a5567267ac837f648e4c5f6327b2e97989eb86d444 SHA512 1f831d00e140b6ffe5ba64a48bfef8ec11ae66981451c9d64d50a6e60c04ba05a4bdfda38400a4d1501e7d4c150e745d0e3ed9512e0f4294fa79286237b66f5a WHIRLPOOL a92d6ad1769a239a65312065074730e9ccc7149b4d71dd19cbee5eafa334c703dad24a8a55e039f0ecfa6187d5cf1e69f3ffcd022485f5f7f2498da0d6e8c929
-MISC ChangeLog 61785 SHA256 46f60e42c01059d4b2b7373244928816dd4d4524a4f0dd7f7f41fb86f7be03f6 SHA512 dead484bd5ace6e29846316d1320f5cf3075ffd30831aca5f585c7f55d4b0abc89785d88c774ff69e6a3e48bbead988fffddeaebb5e0a184023be3f85fbccee8 WHIRLPOOL b9949e975f541853e47eee462ec78f67b699062558b3658d5c336a8d8cbba42f3c5685bd9378a786a5948862db7bcd668746e93f49af0622580314d42ad89c37
+MISC ChangeLog 62375 SHA256 138487fa016e755bdc93a71b3fa7ebf73d650e1f866fc22e6143412c7be20e13 SHA512 b58d3d47282522d4da53e0a1bca94e984b3fe2b67312d1795c607bf1db3832141bb9ce0b367286c59888db4357f5f9d15175b4863bb1fc2f0e7911950e9bb5d4 WHIRLPOOL 6bf4f867deb64b9dcd7d8457952e8ff03f225ae739493247b58e8cbbd1ccd46a30610f583a5407f76efe4f7f6a9709802eeba8f73431f5cf6874a49cc6ae998c
MISC metadata.xml 984 SHA256 8f554d97062552d62ce2d81c8e4536b3e97539a497dd8cddda3eeab24b4ef73a SHA512 9c0a10af6149817269590cd28e7dc7eb84539184d41123b12bfada3857f87d813199cfbecd7c8219ce1b6a70f4ee72cf7a911854fcdb1fbfd90e3146122bca7f WHIRLPOOL e98d441e34d6a8fe540c7526da3418417cfc10e31c52b42d7827b151f7e3e20f8b088ee49b3ebd67ec304143593a6319c8ea42094d62315e47f210b0e52fe149
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
-iQEcBAEBCAAGBQJST/rtAAoJEEdUh39IaPFN/hkH/1wzZj1yXy3qapaShJm4JDrL
-hoCsRWG/5xaL88km9QiET5o1KBMabm72QcfMvLMVzIEi5uHzyBLpSSHhCi2xNyuj
-vCZRiML7UnYTKu3jtYt5Aj+BZkRjqg9XOSDUouZPrJOy//sUQ94BhkVMMsxgCFy7
-UGAMG2kueaUrXc0eNkNEr3ktV0QzALElzli0WSCs3l2SFvsiV+KSFxz3JUOofXIa
-Z0PEWW4B9bqSbIgHGM//5x+qVkIhUqSIS/Yl0xuBM8dM0kHwjGcsi++Vb8KvJ1/U
-VbPBmXDfspJIST/sv6DX00JocilJ+guDoNyIiRAJCXij9YEqC38AMFWyykTmWM4=
-=clL/
+iQEcBAEBCAAGBQJST/wwAAoJEEdUh39IaPFNO/gIAKOKYE9/v2eTZTEMDdd0JDDv
+YGMXgVP760rKGkHw6KiFBET4pm19SR/pjrviSi+WRUPE3gFADuslKKR4Vy5dqFwt
+/c2lewxqKhLwVfkYAYvDjtHWyy2EYMZtpViffTW5AkdU1EJpL8wKjZPOLB6rUWSD
+veyvLTyL8UI5LrV1RKYS4hL172zfWOeXM2iacpRmxfGtLMxurgdXA3FyNaebycKZ
+79Tx2mnlf3oj7l9nvI2WiTM/Y2uR1F84kHZNUDMwMt5Yce710IJqrzlI+sWyvmVl
+h0gfaEg+uZOa/z/nJBbbeUzbQpfcB9brXfOO1qrEI+Y/9fpa1fM9YB37Y8VQJQM=
+=y4Gm
-----END PGP SIGNATURE-----
diff --git a/sys-fs/lvm2/files/lvm2-2.02.100-ignored_loop.patch b/sys-fs/lvm2/files/lvm2-2.02.100-ignored_loop.patch
deleted file mode 100644
index cb0172718cb1..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.100-ignored_loop.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From cac49725c9a2a1f5c0e48235a07f168d98458ace Mon Sep 17 00:00:00 2001
-From: Peter Rajnoha <prajnoha@redhat.com>
-Date: Fri, 16 Aug 2013 13:45:00 +0000
-Subject: udev: fix lvmetad rules to not ignore loop device configuration
-
-If loop device is first configured on systems where /dev/loop-control
-is used to dynamically create the loop device itself, there's an
-ADD+CHANGE even generated. But next time the existing /dev/loop[0-9]*
-is reused, there's only a CHANGE event since the device representing
-it is already present in kernel (so no ADD event in this case).
-
-We can't ignore this CHANGE event for loop devices! This is a regression
-caused by 756bcabbfe297688ba240a880bc2b55265ad33f0. We already had
-a similar problem with MD devices which was fixed by
-2ac217d408470dcecb69b83d9cbf7a254747fa5b (but that one was
-only an intra-release fix).
----
-diff --git a/udev/69-dm-lvm-metad.rules.in b/udev/69-dm-lvm-metad.rules.in
-index a0e48a1..d5087e3 100644
---- a/udev/69-dm-lvm-metad.rules.in
-+++ b/udev/69-dm-lvm-metad.rules.in
-@@ -21,7 +21,7 @@ SUBSYSTEM!="block", GOTO="lvm_end"
- ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_end"
-
- ACTION=="remove", GOTO="lvm_scan"
--ACTION=="change", KERNEL=="md[0-9]*", GOTO="lvm_scan"
-+ACTION=="change", KERNEL=="md[0-9]*|loop[0-9]*", GOTO="lvm_scan"
-
- # If the PV is not a dm device, scan only after device addition (ADD event)
- KERNEL!="dm-[0-9]*", ACTION!="add", GOTO="lvm_end"
---
-cgit v0.9.2
diff --git a/sys-fs/lvm2/files/lvm2-2.02.100-lvm_path.patch b/sys-fs/lvm2/files/lvm2-2.02.100-lvm_path.patch
deleted file mode 100644
index 85c73209a35a..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.100-lvm_path.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-http://bugs.gentoo.org/479626
-
-From 8cbbe851a80e8d99dc886ce9b44834137731d8ce Mon Sep 17 00:00:00 2001
-From: Michael Stapelberg <stapelberg@debian.org>
-Date: Thu, 15 Aug 2013 07:57:30 +0000
-Subject: systemd: use LVM_PATH instead of hardcoded value in activation generator
-
----
-diff --git a/scripts/lvm2_activation_generator_systemd_red_hat.c b/scripts/lvm2_activation_generator_systemd_red_hat.c
-index 17bc71a..9d4b581 100644
---- a/scripts/lvm2_activation_generator_systemd_red_hat.c
-+++ b/scripts/lvm2_activation_generator_systemd_red_hat.c
-@@ -22,6 +22,7 @@
- #include <fcntl.h>
- #include <limits.h> /* For PATH_MAX for musl libc */
- #include "lvm2app.h"
-+#include "configure.h" /* for LVM_PATH */
-
- #define KMSG_DEV_PATH "/dev/kmsg"
- #define LVM_CONF_USE_LVMETAD "global/use_lvmetad"
-@@ -150,7 +151,7 @@ static int generate_unit(const char *dir, int unit)
- "[Service]\n", f);
- }
-
-- fputs("ExecStart=/usr/sbin/lvm vgchange -aay --sysinit\n"
-+ fputs("ExecStart=" LVM_PATH " vgchange -aay --sysinit\n"
- "Type=oneshot\n", f);
-
- if (fclose(f) < 0) {
---
-cgit v0.9.2
diff --git a/sys-fs/lvm2/files/lvm2-2.02.100-pvmove_segfault.patch b/sys-fs/lvm2/files/lvm2-2.02.100-pvmove_segfault.patch
deleted file mode 100644
index 84293148e803..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.100-pvmove_segfault.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From c0f987949b8a0bbbbe7f06694f59f710a73814da Mon Sep 17 00:00:00 2001
-From: Alasdair G Kergon <agk@redhat.com>
-Date: Wed, 28 Aug 2013 21:56:23 +0000
-Subject: activation: Fix segfault with inactive pvmove LV.
-
-Set flag to avoid recursion back through an inactive pvmove LV when
-populating deptree.
----
-diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c
-index 294606c..11be421 100644
---- a/lib/activate/dev_manager.c
-+++ b/lib/activate/dev_manager.c
-@@ -1763,11 +1763,13 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
- return_0;
-
- /* Add any LVs referencing a PVMOVE LV unless told not to. */
-- if (dm->track_pvmove_deps && lv->status & PVMOVE)
-+ if (dm->track_pvmove_deps && lv->status & PVMOVE) {
-+ dm->track_pvmove_deps = 0;
- dm_list_iterate_items(sl, &lv->segs_using_this_lv)
-- if (!_cached_info(dm->mem, dtree, sl->seg->lv, 0) &&
-- !_add_lv_to_dtree(dm, dtree, sl->seg->lv, origin_only))
-+ if (!_add_lv_to_dtree(dm, dtree, sl->seg->lv, origin_only))
- return_0;
-+ dm->track_pvmove_deps = 1;
-+ }
-
- /* Adding LV head of replicator adds all other related devs */
- if (lv_is_replicator_dev(lv) &&
---
-cgit v0.9.2
diff --git a/sys-fs/lvm2/files/lvm2-2.02.100-respect_ar_and_cc.patch b/sys-fs/lvm2/files/lvm2-2.02.100-respect_ar_and_cc.patch
deleted file mode 100644
index 483f25898d6a..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.100-respect_ar_and_cc.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-GNU make always defaults CC to "cc", so using "?=" with the CC variable
-will never override the internal make value. since @CC@ comes from the
-configure script, and that respects the $CC env var, don't bother trying
-to handle it in make too. it's not like we do this with any other build
-variable after all.
-
-Ditto for AR as per http://bugs.gentoo.org/444082
-
---- a/make.tmpl.in
-+++ b/make.tmpl.in
-@@ -17,7 +17,8 @@
-
- @SET_MAKE@
-
--CC ?= @CC@
-+AR = @GENTOO_AR@
-+CC = @CC@
- RANLIB = @RANLIB@
- INSTALL = @INSTALL@
- MKDIR_P = @MKDIR_P@
diff --git a/sys-fs/lvm2/files/lvm2-2.02.100-vg_free_segfault.patch b/sys-fs/lvm2/files/lvm2-2.02.100-vg_free_segfault.patch
deleted file mode 100644
index 0bfc551cda21..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.100-vg_free_segfault.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From c29c64f20dadbd9076d8729bd3d0cb724c4b39b0 Mon Sep 17 00:00:00 2001
-From: Tony Asleson <tasleson@redhat.com>
-Date: Wed, 14 Aug 2013 20:14:42 +0000
-Subject: lvm2app: lvm_list_pvs_free seg. fault when no PVs
-
-When the system has no PVs we don't have access to
-the cmd pointer and it remains NULL which causes
-a seg. fault when we try to free the VG lock.
-
-Signed-off-by: Tony Asleson <tasleson@redhat.com>
----
-diff --git a/liblvm/lvm_pv.c b/liblvm/lvm_pv.c
-index 2bd0ac0..e67e1eb 100644
---- a/liblvm/lvm_pv.c
-+++ b/liblvm/lvm_pv.c
-@@ -65,6 +65,7 @@ struct lvm_property_value lvm_pvseg_get_property(const pvseg_t pvseg,
- struct lvm_list_wrapper
- {
- unsigned long magic;
-+ struct cmd_context *cmd;
- struct dm_list pvslist;
- struct dm_list vgslist;
- };
-@@ -84,6 +85,11 @@ struct dm_list *lvm_list_pvs(lvm_t libh)
- struct lvm_list_wrapper *rc = NULL;
- struct cmd_context *cmd = (struct cmd_context *)libh;
-
-+ /*
-+ * This memory will get cleared when the library handle
-+ * gets closed, don't try to free is as it doesn't work
-+ * like malloc/free do.
-+ */
- if (!(rc = dm_pool_zalloc(cmd->mem, sizeof(*rc)))) {
- log_errno(ENOMEM, "Memory allocation fail for pv list.");
- return NULL;
-@@ -95,9 +101,14 @@ struct dm_list *lvm_list_pvs(lvm_t libh)
- dm_list_init(&rc->pvslist);
- dm_list_init(&rc->vgslist);
- if( !get_pvs_perserve_vg(cmd, &rc->pvslist, &rc->vgslist) ) {
-- dm_pool_free(cmd->mem, rc);
- return NULL;
- }
-+
-+ /*
-+ * If we have no PVs we still need to have access to cmd
-+ * pointer in the free call.
-+ */
-+ rc->cmd = cmd;
- rc->magic = 0xF005BA11;
- }
-
-@@ -109,7 +120,6 @@ int lvm_list_pvs_free(struct dm_list *pvlist)
- struct lvm_list_wrapper *to_delete;
- struct vg_list *vgl;
- struct pv_list *pvl;
-- struct cmd_context *cmd = NULL;
-
- if (pvlist) {
- to_delete = dm_list_struct_base(pvlist, struct lvm_list_wrapper, pvslist);
-@@ -119,17 +129,14 @@ int lvm_list_pvs_free(struct dm_list *pvlist)
- }
-
- dm_list_iterate_items(vgl, &to_delete->vgslist) {
-- cmd = vgl->vg->cmd;
- release_vg(vgl->vg);
- }
-
- dm_list_iterate_items(pvl, &to_delete->pvslist)
- free_pv_fid(pvl->pv);
-
-- unlock_vg(cmd, VG_GLOBAL);
--
-+ unlock_vg(to_delete->cmd, VG_GLOBAL);
- to_delete->magic = 0xA5A5A5A5;
-- dm_pool_free(cmd->mem, to_delete);
- }
-
- return 0;
---
-cgit v0.9.2
diff --git a/sys-fs/lvm2/files/lvm2-2.02.102-do-not-install-separate-command-symlink-for-lvm-devtypes.patch b/sys-fs/lvm2/files/lvm2-2.02.102-do-not-install-separate-command-symlink-for-lvm-devtypes.patch
deleted file mode 100644
index 834ba2ce14d3..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.102-do-not-install-separate-command-symlink-for-lvm-devtypes.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tools/Makefile.in b/tools/Makefile.in
-index 96dd8cf..f90cfae 100644
---- a/tools/Makefile.in
-+++ b/tools/Makefile.in
-@@ -162,7 +162,7 @@ liblvm2cmd.$(LIB_SUFFIX).$(LIB_VERSION): liblvm2cmd.$(LIB_SUFFIX)
-
- .commands: $(srcdir)/commands.h $(srcdir)/cmdnames.h Makefile
- $(CC) -E -P $(srcdir)/cmdnames.h 2> /dev/null | \
-- egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version) *$$' > .commands
-+ egrep -v '^ *(|#.*|devtypes|dumpconfig|formats|help|pvdata|segtypes|version) *$$' > .commands
-
- ifneq ("$(CFLOW_CMD)", "")
- CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
diff --git a/sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch b/sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
deleted file mode 100644
index d362cf05cbe0..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-http://pkgs.fedoraproject.org/cgit/lvm2.git/plain/lvm2-2_02_100-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
-
-WHATS_NEW | 4 ++++
- lib/format_text/format-text.c | 4 ++--
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/WHATS_NEW b/WHATS_NEW
-index 039ddec..f2f5ba4 100644
---- a/WHATS_NEW
-+++ b/WHATS_NEW
-@@ -1,3 +1,7 @@
-+Version 2.02.100 -
-+================================
-+ Fix metadata area offset/size overflow if it's >= 4g and while using lvmetad.
-+
- Version 2.02.99 - 24th July 2013
- ================================
- Do not zero init 4KB of thin snapshot for non-zeroing thin pool (2.02.94).
-diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c
-index b210603..950e0d5 100644
---- a/lib/format_text/format-text.c
-+++ b/lib/format_text/format-text.c
-@@ -1688,12 +1688,12 @@ static int _mda_import_text_raw(struct lvmcache_info *info, const struct dm_conf
-
- cn = cn->child;
- device = lvmcache_device(info);
-- size = dm_config_find_int(cn, "size", 0);
-+ size = dm_config_find_int64(cn, "size", 0);
-
- if (!device || !size)
- return 0;
-
-- offset = dm_config_find_int(cn, "start", 0);
-+ offset = dm_config_find_int64(cn, "start", 0);
- ignore = dm_config_find_int(cn, "ignore", 0);
-
- lvmcache_add_mda(info, device, offset, size, ignore);
diff --git a/sys-fs/lvm2/files/lvm2-2.02.99-selinux-static.patch b/sys-fs/lvm2/files/lvm2-2.02.99-selinux-static.patch
deleted file mode 100644
index 812c37e63175..000000000000
--- a/sys-fs/lvm2/files/lvm2-2.02.99-selinux-static.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-diff -urN8p a/configure.in b/configure.in
---- a/configure.in 2013-08-03 21:42:30.204749302 -0500
-+++ b/configure.in 2013-08-03 21:45:17.496740871 -0500
-@@ -929,17 +929,16 @@ if test x$UDEV_SYNC = xyes; then
- dnl -- init pkgconfig if required
- if test x$PKGCONFIG_INIT != x1; then
- pkg_config_init
- fi
- PKG_CHECK_MODULES(UDEV, libudev >= 143, [UDEV_PC="libudev"])
- UDEV_STATIC_LIBS=`$PKG_CONFIG --static --libs libudev`
- AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.])
- fi
--AC_SUBST(UDEV_STATIC_LIBS)
-
- dnl -- Enable udev rules
- AC_MSG_CHECKING(whether to enable installation of udev rules required for synchronisation)
- AC_ARG_ENABLE(udev_rules,
- AC_HELP_STRING([--enable-udev_rules],
- [install rule files needed for udev synchronisation]),
- UDEV_RULES=$enableval, UDEV_RULES=$UDEV_SYNC)
- AC_MSG_RESULT($UDEV_RULES)
-@@ -1173,29 +1172,42 @@ AC_ARG_ENABLE(selinux,
- SELINUX=$enableval)
- AC_MSG_RESULT($SELINUX)
-
- ################################################################################
- dnl -- Check for selinux
- if test x$SELINUX = xyes; then
- AC_CHECK_LIB([sepol], [sepol_check_context], [
- AC_DEFINE([HAVE_SEPOL], 1, [Define to 1 if sepol_check_context is available.])
-- SELINUX_LIBS="-lsepol"])
-+ SEPOL_LIBS="-lsepol"])
-
-- AC_CHECK_LIB([selinux], [is_selinux_enabled], [
-- AC_CHECK_HEADERS([selinux/selinux.h],, hard_bailout)
-- AC_CHECK_HEADERS([selinux/label.h])
-- AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.])
-- SELINUX_LIBS="-lselinux $SELINUX_LIBS"
-+ dnl -- init pkgconfig if required
-+ if test x$PKGCONFIG_INIT != x1; then
-+ pkg_config_init
-+ fi
-+ PKG_CHECK_MODULES(SELINUX, libselinux, [
- SELINUX_PC="libselinux"
-- HAVE_SELINUX=yes ], [
-- AC_MSG_WARN(Disabling selinux)
-- SELINUX_LIBS=
-- SELINUX_PC=
-- HAVE_SELINUX=no ])
-+ SELINUX_STATIC_LIBS=`$PKG_CONFIG --static --libs libselinux`
-+ SELINUX_LIBS="$SELINUX_LIBS $SEPOL_LIBS"
-+ AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.])
-+ ],[
-+ dnl -- old non-pkgconfig method, is buggy with static builds
-+ AC_CHECK_LIB([selinux], [is_selinux_enabled], [
-+ AC_CHECK_HEADERS([selinux/selinux.h],, hard_bailout)
-+ AC_CHECK_HEADERS([selinux/label.h])
-+ AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.])
-+ SELINUX_LIBS="-lselinux $SEPOL_LIBS"
-+ SELINUX_STATIC_LIBS="$SELINUX_LIBS"
-+ SELINUX_PC="libselinux"
-+ HAVE_SELINUX=yes ], [
-+ AC_MSG_WARN(Disabling selinux)
-+ SELINUX_LIBS=
-+ SELINUX_PC=
-+ HAVE_SELINUX=no ])
-+ ])
- fi
-
- ################################################################################
- dnl -- Check for realtime clock support
- if test x$REALTIME = xyes; then
- AC_CHECK_LIB(rt, clock_gettime, HAVE_REALTIME=yes, HAVE_REALTIME=no)
-
- if test x$HAVE_REALTIME = xyes; then
-@@ -1589,25 +1601,27 @@ AC_SUBST(QUORUM_LIBS)
- AC_SUBST(RAID)
- AC_SUBST(READLINE_LIBS)
- AC_SUBST(REPLICATORS)
- AC_SUBST(SACKPT_CFLAGS)
- AC_SUBST(SACKPT_LIBS)
- AC_SUBST(SALCK_CFLAGS)
- AC_SUBST(SALCK_LIBS)
- AC_SUBST(SELINUX_LIBS)
-+AC_SUBST(SELINUX_STATIC_LIBS)
- AC_SUBST(SELINUX_PC)
- AC_SUBST(SNAPSHOTS)
- AC_SUBST(STATICDIR)
- AC_SUBST(STATIC_LDFLAGS)
- AC_SUBST(STATIC_LINK)
- AC_SUBST(TESTING)
- AC_SUBST(THIN)
- AC_SUBST(THIN_CHECK_CMD)
- AC_SUBST(UDEV_LIBS)
-+AC_SUBST(UDEV_STATIC_LIBS)
- AC_SUBST(UDEV_PC)
- AC_SUBST(UDEV_RULES)
- AC_SUBST(UDEV_SYNC)
- AC_SUBST(UDEV_RULE_EXEC_DETECTION)
- AC_SUBST(UDEV_HAS_BUILTIN_BLKID)
- AC_SUBST(CUNIT_LIBS)
- AC_SUBST(CUNIT_CFLAGS)
- AC_SUBST(WRITE_INSTALL)
-diff -urN8p a/make.tmpl.in b/make.tmpl.in
---- a/make.tmpl.in 2013-08-03 21:42:30.204749302 -0500
-+++ b/make.tmpl.in 2013-08-03 22:09:52.017666556 -0500
-@@ -27,31 +27,32 @@ GENHTML = @GENHTML@
- LN_S = @LN_S@
- SED = @SED@
- CFLOW_CMD = @CFLOW_CMD@
- AWK = @AWK@
- PYTHON = @PYTHON@
-
- LIBS = @LIBS@
- # Extra libraries always linked with static binaries
--STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_STATIC_LIBS)
-+STATIC_LIBS = $(SELINUX_STATIC_LIBS) $(UDEV_STATIC_LIBS)
- DEFS += @DEFS@
- # FIXME set this only where it's needed, not globally?
- CFLAGS += @CFLAGS@ @UDEV_CFLAGS@
- CLDFLAGS += @CLDFLAGS@
- ELDFLAGS += @ELDFLAGS@
- LDDEPS += @LDDEPS@
- LDFLAGS += @LDFLAGS@
- STATIC_LDFLAGS += @STATIC_LDFLAGS@
- LIB_SUFFIX = @LIB_SUFFIX@
- LVMINTERNAL_LIBS = -llvm-internal $(DAEMON_LIBS) $(UDEV_LIBS) $(DL_LIBS)
- DL_LIBS = @DL_LIBS@
- PTHREAD_LIBS = @PTHREAD_LIBS@
- READLINE_LIBS = @READLINE_LIBS@
- SELINUX_LIBS = @SELINUX_LIBS@
-+SELINUX_STATIC_LIBS = @SELINUX_STATIC_LIBS@
- UDEV_LIBS = @UDEV_LIBS@
- UDEV_STATIC_LIBS = @UDEV_STATIC_LIBS@
- TESTING = @TESTING@
-
- # Setup directory variables
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- udev_prefix = @udev_prefix@
diff --git a/sys-fs/lvm2/lvm2-2.02.100-r1.ebuild b/sys-fs/lvm2/lvm2-2.02.100-r1.ebuild
deleted file mode 100644
index b83d09b62553..000000000000
--- a/sys-fs/lvm2/lvm2-2.02.100-r1.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.100-r1.ebuild,v 1.2 2013/09/14 23:19:03 floppym Exp $
-
-EAPI=5
-inherit autotools eutils linux-info multilib systemd toolchain-funcs udev
-
-DESCRIPTION="User-land utilities for LVM2 (device-mapper) software."
-HOMEPAGE="http://sources.redhat.com/lvm2/"
-SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/${PN/lvm/LVM}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="readline static static-libs clvm cman +lvm1 lvm2create_initrd selinux +udev +thin"
-
-DEPEND_COMMON="clvm? ( cman? ( =sys-cluster/cman-3* ) =sys-cluster/libdlm-3* )
- readline? ( sys-libs/readline )
- udev? ( >=virtual/udev-200[static-libs?] )"
-# /run is now required for locking during early boot. /var cannot be assumed to
-# be available -- thus, pull in recent enough baselayout for /run.
-# This version of LVM is incompatible with cryptsetup <1.1.2.
-RDEPEND="${DEPEND_COMMON}
- >=sys-apps/baselayout-2.2
- !<sys-apps/openrc-0.11
- !<sys-fs/cryptsetup-1.1.2
- !!sys-fs/clvm
- !!sys-fs/lvm-user
- >=sys-apps/util-linux-2.16
- lvm2create_initrd? ( sys-apps/makedev )
- thin? ( >=sys-block/thin-provisioning-tools-0.2.1 )"
-DEPEND="${DEPEND_COMMON}
- virtual/pkgconfig
- >=sys-devel/binutils-2.20.1-r1
- static? (
- selinux? ( sys-libs/libselinux[static-libs] )
- udev? ( virtual/udev[static-libs] )
- )"
-
-S=${WORKDIR}/${PN/lvm/LVM}.${PV}
-
-pkg_setup() {
- local CONFIG_CHECK="~SYSVIPC"
-
- if use udev; then
- local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for udev sync)\n"
- if linux_config_exists; then
- local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)
- if [ -n "${uevent_helper_path}" ] && [ "${uevent_helper_path}" != '""' ]; then
- ewarn "It's recommended to set an empty value to the following kernel config option:"
- ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}"
- fi
- fi
- fi
-
- check_extra_config
-
- # 1. Genkernel no longer copies /sbin/lvm blindly.
- if use static; then
- elog "Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with"
- elog "their static versions. If you need the static binaries,"
- elog "you must append .static to the filename!"
- fi
-}
-
-src_prepare() {
- # Gentoo specific modification(s):
- epatch "${FILESDIR}"/${PN}-2.02.99-example.conf.in.patch
- epatch "${FILESDIR}"/${PN}-2.02.100-respect_ar_and_cc.patch #444082
- sed -i -e "s:@GENTOO_AR@:$(tc-getAR):" make.tmpl.in || die
- sed -i -e '/FLAG/s:-O2::' configure{,.in} || die #480212
-
- # For upstream -- review and forward:
- epatch "${FILESDIR}"/${PN}-2.02.63-always-make-static-libdm.patch
- epatch "${FILESDIR}"/${PN}-2.02.56-lvm2create_initrd.patch
- epatch "${FILESDIR}"/${PN}-2.02.67-createinitrd.patch #301331
- epatch "${FILESDIR}"/${PN}-2.02.99-locale-muck.patch #330373
- epatch "${FILESDIR}"/${PN}-2.02.70-asneeded.patch # -Wl,--as-needed
- epatch "${FILESDIR}"/${PN}-2.02.92-dynamic-static-ldflags.patch #332905
- epatch "${FILESDIR}"/${PN}-2.02.100-selinux_and_udev_static.patch #370217, #439414
-
- # From upstream:
- epatch "${FILESDIR}"/${P}-lvm_path.patch #479626
- epatch "${FILESDIR}"/${P}-ignored_loop.patch
- epatch "${FILESDIR}"/${P}-{vg_free,pvmove}_segfault.patch
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- local buildmode
-
- myconf="${myconf} --enable-dmeventd"
- myconf="${myconf} --enable-cmdlib"
- myconf="${myconf} --enable-applib"
- myconf="${myconf} --enable-fsadm"
- myconf="${myconf} --enable-lvmetad"
-
- # Most of this package does weird stuff.
- # The build options are tristate, and --without is NOT supported
- # options: 'none', 'internal', 'shared'
- if use static; then
- buildmode="internal"
- # This only causes the .static versions to become available
- myconf="${myconf} --enable-static_link"
- else
- buildmode="shared"
- fi
-
- # dmeventd requires mirrors to be internal, and snapshot available
- # so we cannot disable them
- myconf="${myconf} --with-mirrors=internal"
- myconf="${myconf} --with-snapshots=internal"
- use thin \
- && myconf="${myconf} --with-thin=internal" \
- || myconf="${myconf} --with-thin=none"
-
- if use lvm1; then
- myconf="${myconf} --with-lvm1=${buildmode}"
- else
- myconf="${myconf} --with-lvm1=none"
- fi
-
- # disable O_DIRECT support on hppa, breaks pv detection (#99532)
- use hppa && myconf="${myconf} --disable-o_direct"
-
- if use clvm; then
- myconf="${myconf} --with-cluster=${buildmode}"
- # 4-state! Make sure we get it right, per bug 210879
- # Valid options are: none, cman, gulm, all
- #
- # 2009/02:
- # gulm is removed now, now dual-state:
- # cman, none
- # all still exists, but is not needed
- #
- # 2009/07:
- # TODO: add corosync and re-enable ALL
- local clvmd=""
- use cman && clvmd="cman"
- #clvmd="${clvmd/cmangulm/all}"
- [ -z "${clvmd}" ] && clvmd="none"
- myconf="${myconf} --with-clvmd=${clvmd}"
- myconf="${myconf} --with-pool=${buildmode}"
- else
- myconf="${myconf} --with-clvmd=none --with-cluster=none"
- fi
-
- econf \
- $(use_enable readline) \
- $(use_enable selinux) \
- --enable-pkgconfig \
- --with-confdir="${EPREFIX}"/etc \
- --exec-prefix="${EPREFIX}" \
- --sbindir="${EPREFIX}/sbin" \
- --with-staticdir="${EPREFIX}"/sbin \
- --libdir="${EPREFIX}/$(get_libdir)" \
- --with-usrlibdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-default-dm-run-dir=/run \
- --with-default-run-dir=/run/lvm \
- --with-default-locking-dir=/run/lock/lvm \
- --with-default-pid-dir=/run \
- $(use_enable udev udev_rules) \
- $(use_enable udev udev_sync) \
- $(use_with udev udevdir "$(get_udevdir)"/rules.d) \
- "$(systemd_with_unitdir)" \
- ${myconf} \
- CLDFLAGS="${LDFLAGS}"
-}
-
-src_compile() {
- pushd include >/dev/null
- emake
- popd >/dev/null
-
- emake
- emake CC="$(tc-getCC)" -C scripts lvm2_activation_generator_systemd_red_hat
-}
-
-src_install() {
- local inst
- for inst in install install_systemd_units install_systemd_generators install_tmpfiles_configuration; do
- emake DESTDIR="${D}" ${inst}
- done
-
- newinitd "${FILESDIR}"/lvm.rc-2.02.95-r2 lvm
- newconfd "${FILESDIR}"/lvm.confd-2.02.28-r2 lvm
-
- newinitd "${FILESDIR}"/lvm-monitoring.initd-2.02.67-r2 lvm-monitoring
-
- newinitd "${FILESDIR}"/device-mapper.rc-2.02.95-r2 device-mapper
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper
-
- newinitd "${FILESDIR}"/dmeventd.initd-2.02.67-r1 dmeventd
-
- if use clvm; then
- newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
- newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
- fi
-
- if use static-libs; then
- dolib.a libdm/ioctl/libdevmapper.a
- dolib.a libdaemon/client/libdaemonclient.a #462908
- #gen_usr_ldscript libdevmapper.so
- dolib.a daemons/dmeventd/libdevmapper-event.a
- #gen_usr_ldscript libdevmapper-event.so
- else
- rm -f "${ED}"usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a
- fi
-
- if use lvm2create_initrd; then
- dosbin scripts/lvm2create_initrd/lvm2create_initrd
- doman scripts/lvm2create_initrd/lvm2create_initrd.8
- newdoc scripts/lvm2create_initrd/README README.lvm2create_initrd
- fi
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
-
- dodoc README VERSION* WHATS_NEW WHATS_NEW_DM doc/*.{c,txt} conf/*.conf
-}
-
-pkg_postinst() {
- ewarn "Make sure the \"lvm\" init script is in the runlevels:"
- ewarn "# rc-update add lvm boot"
- ewarn
- ewarn "Make sure to enable lvmetad in /etc/lvm/lvm.conf if you want"
- ewarn "to enable lvm autoactivation and metadata caching."
-}
-
-src_test() {
- einfo "Tests are disabled because of device-node mucking, if you want to"
- einfo "run tests, compile the package and see ${S}/tests"
-}
diff --git a/sys-fs/lvm2/lvm2-2.02.100-r2.ebuild b/sys-fs/lvm2/lvm2-2.02.100-r2.ebuild
deleted file mode 100644
index dd2473cc24b6..000000000000
--- a/sys-fs/lvm2/lvm2-2.02.100-r2.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.100-r2.ebuild,v 1.1 2013/09/14 23:19:03 floppym Exp $
-
-EAPI=5
-inherit autotools eutils linux-info multilib systemd toolchain-funcs udev
-
-DESCRIPTION="User-land utilities for LVM2 (device-mapper) software."
-HOMEPAGE="http://sources.redhat.com/lvm2/"
-SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/${PN/lvm/LVM}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="readline static static-libs clvm cman +lvm1 lvm2create_initrd selinux +udev +thin"
-
-DEPEND_COMMON="clvm? ( cman? ( =sys-cluster/cman-3* ) =sys-cluster/libdlm-3* )
- readline? ( sys-libs/readline )
- udev? ( >=virtual/udev-200[static-libs?] )"
-# /run is now required for locking during early boot. /var cannot be assumed to
-# be available -- thus, pull in recent enough baselayout for /run.
-# This version of LVM is incompatible with cryptsetup <1.1.2.
-RDEPEND="${DEPEND_COMMON}
- >=sys-apps/baselayout-2.2
- !<sys-apps/openrc-0.11
- !<sys-fs/cryptsetup-1.1.2
- !!sys-fs/clvm
- !!sys-fs/lvm-user
- >=sys-apps/util-linux-2.16
- lvm2create_initrd? ( sys-apps/makedev )
- thin? ( >=sys-block/thin-provisioning-tools-0.2.1 )"
-DEPEND="${DEPEND_COMMON}
- virtual/pkgconfig
- >=sys-devel/binutils-2.20.1-r1
- static? (
- selinux? ( sys-libs/libselinux[static-libs] )
- udev? ( virtual/udev[static-libs] )
- )"
-
-S=${WORKDIR}/${PN/lvm/LVM}.${PV}
-
-pkg_setup() {
- local CONFIG_CHECK="~SYSVIPC"
-
- if use udev; then
- local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for udev sync)\n"
- if linux_config_exists; then
- local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)
- if [ -n "${uevent_helper_path}" ] && [ "${uevent_helper_path}" != '""' ]; then
- ewarn "It's recommended to set an empty value to the following kernel config option:"
- ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}"
- fi
- fi
- fi
-
- check_extra_config
-
- # 1. Genkernel no longer copies /sbin/lvm blindly.
- if use static; then
- elog "Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with"
- elog "their static versions. If you need the static binaries,"
- elog "you must append .static to the filename!"
- fi
-}
-
-src_prepare() {
- # Gentoo specific modification(s):
- epatch "${FILESDIR}"/${PN}-2.02.99-example.conf.in.patch
- epatch "${FILESDIR}"/${PN}-2.02.100-respect_ar_and_cc.patch #444082
- sed -i -e "s:@GENTOO_AR@:$(tc-getAR):" make.tmpl.in || die
- sed -i -e '/FLAG/s:-O2::' configure{,.in} || die #480212
-
- # For upstream -- review and forward:
- epatch "${FILESDIR}"/${PN}-2.02.63-always-make-static-libdm.patch
- epatch "${FILESDIR}"/${PN}-2.02.56-lvm2create_initrd.patch
- epatch "${FILESDIR}"/${PN}-2.02.67-createinitrd.patch #301331
- epatch "${FILESDIR}"/${PN}-2.02.99-locale-muck.patch #330373
- epatch "${FILESDIR}"/${PN}-2.02.70-asneeded.patch # -Wl,--as-needed
- epatch "${FILESDIR}"/${PN}-2.02.92-dynamic-static-ldflags.patch #332905
- epatch "${FILESDIR}"/${PN}-2.02.100-selinux_and_udev_static.patch #370217, #439414
-
- # From upstream:
- epatch "${FILESDIR}"/${P}-lvm_path.patch #479626
- epatch "${FILESDIR}"/${P}-ignored_loop.patch
- epatch "${FILESDIR}"/${P}-{vg_free,pvmove}_segfault.patch
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- local buildmode
-
- myconf="${myconf} --enable-dmeventd"
- myconf="${myconf} --enable-cmdlib"
- myconf="${myconf} --enable-applib"
- myconf="${myconf} --enable-fsadm"
- myconf="${myconf} --enable-lvmetad"
-
- # Most of this package does weird stuff.
- # The build options are tristate, and --without is NOT supported
- # options: 'none', 'internal', 'shared'
- if use static; then
- buildmode="internal"
- # This only causes the .static versions to become available
- myconf="${myconf} --enable-static_link"
- else
- buildmode="shared"
- fi
-
- # dmeventd requires mirrors to be internal, and snapshot available
- # so we cannot disable them
- myconf="${myconf} --with-mirrors=internal"
- myconf="${myconf} --with-snapshots=internal"
- use thin \
- && myconf="${myconf} --with-thin=internal" \
- || myconf="${myconf} --with-thin=none"
-
- if use lvm1; then
- myconf="${myconf} --with-lvm1=${buildmode}"
- else
- myconf="${myconf} --with-lvm1=none"
- fi
-
- # disable O_DIRECT support on hppa, breaks pv detection (#99532)
- use hppa && myconf="${myconf} --disable-o_direct"
-
- if use clvm; then
- myconf="${myconf} --with-cluster=${buildmode}"
- # 4-state! Make sure we get it right, per bug 210879
- # Valid options are: none, cman, gulm, all
- #
- # 2009/02:
- # gulm is removed now, now dual-state:
- # cman, none
- # all still exists, but is not needed
- #
- # 2009/07:
- # TODO: add corosync and re-enable ALL
- local clvmd=""
- use cman && clvmd="cman"
- #clvmd="${clvmd/cmangulm/all}"
- [ -z "${clvmd}" ] && clvmd="none"
- myconf="${myconf} --with-clvmd=${clvmd}"
- myconf="${myconf} --with-pool=${buildmode}"
- else
- myconf="${myconf} --with-clvmd=none --with-cluster=none"
- fi
-
- econf \
- $(use_enable readline) \
- $(use_enable selinux) \
- --enable-pkgconfig \
- --with-confdir="${EPREFIX}"/etc \
- --exec-prefix="${EPREFIX}" \
- --sbindir="${EPREFIX}/sbin" \
- --with-staticdir="${EPREFIX}"/sbin \
- --libdir="${EPREFIX}/$(get_libdir)" \
- --with-usrlibdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-default-dm-run-dir=/run \
- --with-default-run-dir=/run/lvm \
- --with-default-locking-dir=/run/lock/lvm \
- --with-default-pid-dir=/run \
- $(use_enable udev udev_rules) \
- $(use_enable udev udev_sync) \
- $(use_with udev udevdir "$(get_udevdir)"/rules.d) \
- "$(systemd_with_unitdir)" \
- ${myconf} \
- CLDFLAGS="${LDFLAGS}"
-}
-
-src_compile() {
- pushd include >/dev/null
- emake
- popd >/dev/null
-
- emake
- emake CC="$(tc-getCC)" -C scripts lvm2_activation_generator_systemd_red_hat
-}
-
-src_install() {
- local inst
- for inst in install install_systemd_units install_systemd_generators install_tmpfiles_configuration; do
- emake DESTDIR="${D}" ${inst}
- done
-
- newinitd "${FILESDIR}"/lvm.rc-2.02.95-r2 lvm
- newconfd "${FILESDIR}"/lvm.confd-2.02.28-r2 lvm
-
- newinitd "${FILESDIR}"/lvm-monitoring.initd-2.02.67-r2 lvm-monitoring
-
- newinitd "${FILESDIR}"/device-mapper.rc-2.02.95-r2 device-mapper
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper
-
- newinitd "${FILESDIR}"/dmeventd.initd-2.02.67-r1 dmeventd
-
- if use clvm; then
- newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
- newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
- fi
-
- if use static-libs; then
- dolib.a libdm/ioctl/libdevmapper.a
- dolib.a libdaemon/client/libdaemonclient.a #462908
- #gen_usr_ldscript libdevmapper.so
- dolib.a daemons/dmeventd/libdevmapper-event.a
- #gen_usr_ldscript libdevmapper-event.so
- else
- rm -f "${ED}"usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a
- fi
-
- if use lvm2create_initrd; then
- dosbin scripts/lvm2create_initrd/lvm2create_initrd
- doman scripts/lvm2create_initrd/lvm2create_initrd.8
- newdoc scripts/lvm2create_initrd/README README.lvm2create_initrd
- fi
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
-
- dodoc README VERSION* WHATS_NEW WHATS_NEW_DM doc/*.{c,txt} conf/*.conf
-}
-
-pkg_postinst() {
- ewarn "Make sure the \"lvm\" init script is in the runlevels:"
- ewarn "# rc-update add lvm boot"
- ewarn
- ewarn "Make sure to enable lvmetad in /etc/lvm/lvm.conf if you want"
- ewarn "to enable lvm autoactivation and metadata caching."
-}
-
-src_test() {
- einfo "Tests are disabled because of device-node mucking, if you want to"
- einfo "run tests, compile the package and see ${S}/tests"
-}
diff --git a/sys-fs/lvm2/lvm2-2.02.102.ebuild b/sys-fs/lvm2/lvm2-2.02.102.ebuild
deleted file mode 100644
index 6dfc58b16f80..000000000000
--- a/sys-fs/lvm2/lvm2-2.02.102.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.102.ebuild,v 1.1 2013/09/27 12:12:24 ssuominen Exp $
-
-EAPI=5
-inherit autotools eutils linux-info multilib systemd toolchain-funcs udev
-
-DESCRIPTION="User-land utilities for LVM2 (device-mapper) software."
-HOMEPAGE="http://sources.redhat.com/lvm2/"
-SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/${PN/lvm/LVM}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="readline static static-libs clvm cman +lvm1 lvm2create_initrd selinux +udev +thin"
-
-DEPEND_COMMON="clvm? ( cman? ( =sys-cluster/cman-3* ) =sys-cluster/libdlm-3* )
- readline? ( sys-libs/readline )
- udev? ( >=virtual/udev-200[static-libs?] )"
-# /run is now required for locking during early boot. /var cannot be assumed to
-# be available -- thus, pull in recent enough baselayout for /run.
-# This version of LVM is incompatible with cryptsetup <1.1.2.
-RDEPEND="${DEPEND_COMMON}
- >=sys-apps/baselayout-2.2
- !<sys-apps/openrc-0.11
- !<sys-fs/cryptsetup-1.1.2
- !!sys-fs/clvm
- !!sys-fs/lvm-user
- >=sys-apps/util-linux-2.16
- lvm2create_initrd? ( sys-apps/makedev )
- thin? ( >=sys-block/thin-provisioning-tools-0.2.1 )"
-DEPEND="${DEPEND_COMMON}
- virtual/pkgconfig
- >=sys-devel/binutils-2.20.1-r1
- static? (
- selinux? ( sys-libs/libselinux[static-libs] )
- udev? ( virtual/udev[static-libs] )
- )"
-
-S=${WORKDIR}/${PN/lvm/LVM}.${PV}
-
-pkg_setup() {
- local CONFIG_CHECK="~SYSVIPC"
-
- if use udev; then
- local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for udev sync)\n"
- if linux_config_exists; then
- local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)
- if [ -n "${uevent_helper_path}" ] && [ "${uevent_helper_path}" != '""' ]; then
- ewarn "It's recommended to set an empty value to the following kernel config option:"
- ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}"
- fi
- fi
- fi
-
- check_extra_config
-
- # 1. Genkernel no longer copies /sbin/lvm blindly.
- if use static; then
- elog "Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with"
- elog "their static versions. If you need the static binaries,"
- elog "you must append .static to the filename!"
- fi
-}
-
-src_prepare() {
- # Gentoo specific modification(s):
- epatch "${FILESDIR}"/${PN}-2.02.99-example.conf.in.patch
-
- sed -i \
- -e "1iAR = $(tc-getAR)" \
- -e "s:CC ?= @CC@:CC = $(tc-getCC):" \
- make.tmpl.in || die #444082
-
- sed -i -e '/FLAG/s:-O2::' configure{,.in} || die #480212
-
- # For upstream -- review and forward:
- epatch "${FILESDIR}"/${PN}-2.02.63-always-make-static-libdm.patch
- epatch "${FILESDIR}"/${PN}-2.02.56-lvm2create_initrd.patch
- epatch "${FILESDIR}"/${PN}-2.02.67-createinitrd.patch #301331
- epatch "${FILESDIR}"/${PN}-2.02.99-locale-muck.patch #330373
- epatch "${FILESDIR}"/${PN}-2.02.70-asneeded.patch # -Wl,--as-needed
- epatch "${FILESDIR}"/${PN}-2.02.92-dynamic-static-ldflags.patch #332905
- epatch "${FILESDIR}"/${PN}-2.02.100-selinux_and_udev_static.patch #370217, #439414
-
- # From upstream:
- epatch "${FILESDIR}"/${P}-do-not-install-separate-command-symlink-for-lvm-devtypes.patch
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- local buildmode
-
- myconf="${myconf} --enable-dmeventd"
- myconf="${myconf} --enable-cmdlib"
- myconf="${myconf} --enable-applib"
- myconf="${myconf} --enable-fsadm"
- myconf="${myconf} --enable-lvmetad"
-
- # Most of this package does weird stuff.
- # The build options are tristate, and --without is NOT supported
- # options: 'none', 'internal', 'shared'
- if use static; then
- buildmode="internal"
- # This only causes the .static versions to become available
- myconf="${myconf} --enable-static_link"
- else
- buildmode="shared"
- fi
-
- # dmeventd requires mirrors to be internal, and snapshot available
- # so we cannot disable them
- myconf="${myconf} --with-mirrors=internal"
- myconf="${myconf} --with-snapshots=internal"
- use thin \
- && myconf="${myconf} --with-thin=internal" \
- || myconf="${myconf} --with-thin=none"
-
- if use lvm1; then
- myconf="${myconf} --with-lvm1=${buildmode}"
- else
- myconf="${myconf} --with-lvm1=none"
- fi
-
- # disable O_DIRECT support on hppa, breaks pv detection (#99532)
- use hppa && myconf="${myconf} --disable-o_direct"
-
- if use clvm; then
- myconf="${myconf} --with-cluster=${buildmode}"
- # 4-state! Make sure we get it right, per bug 210879
- # Valid options are: none, cman, gulm, all
- #
- # 2009/02:
- # gulm is removed now, now dual-state:
- # cman, none
- # all still exists, but is not needed
- #
- # 2009/07:
- # TODO: add corosync and re-enable ALL
- local clvmd=""
- use cman && clvmd="cman"
- #clvmd="${clvmd/cmangulm/all}"
- [ -z "${clvmd}" ] && clvmd="none"
- myconf="${myconf} --with-clvmd=${clvmd}"
- myconf="${myconf} --with-pool=${buildmode}"
- else
- myconf="${myconf} --with-clvmd=none --with-cluster=none"
- fi
-
- econf \
- $(use_enable readline) \
- $(use_enable selinux) \
- --enable-pkgconfig \
- --with-confdir="${EPREFIX}"/etc \
- --exec-prefix="${EPREFIX}" \
- --sbindir="${EPREFIX}/sbin" \
- --with-staticdir="${EPREFIX}"/sbin \
- --libdir="${EPREFIX}/$(get_libdir)" \
- --with-usrlibdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-default-dm-run-dir=/run \
- --with-default-run-dir=/run/lvm \
- --with-default-locking-dir=/run/lock/lvm \
- --with-default-pid-dir=/run \
- $(use_enable udev udev_rules) \
- $(use_enable udev udev_sync) \
- $(use_with udev udevdir "$(get_udevdir)"/rules.d) \
- "$(systemd_with_unitdir)" \
- ${myconf} \
- CLDFLAGS="${LDFLAGS}"
-}
-
-src_compile() {
- pushd include >/dev/null
- emake
- popd >/dev/null
-
- emake
- emake CC="$(tc-getCC)" -C scripts lvm2_activation_generator_systemd_red_hat
-}
-
-src_install() {
- local inst
- for inst in install install_systemd_units install_systemd_generators install_tmpfiles_configuration; do
- emake DESTDIR="${D}" ${inst}
- done
-
- newinitd "${FILESDIR}"/lvm.rc-2.02.95-r2 lvm
- newconfd "${FILESDIR}"/lvm.confd-2.02.28-r2 lvm
-
- newinitd "${FILESDIR}"/lvm-monitoring.initd-2.02.67-r2 lvm-monitoring
-
- newinitd "${FILESDIR}"/device-mapper.rc-2.02.95-r2 device-mapper
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper
-
- newinitd "${FILESDIR}"/dmeventd.initd-2.02.67-r1 dmeventd
-
- if use clvm; then
- newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
- newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
- fi
-
- if use static-libs; then
- dolib.a libdm/ioctl/libdevmapper.a
- dolib.a libdaemon/client/libdaemonclient.a #462908
- #gen_usr_ldscript libdevmapper.so
- dolib.a daemons/dmeventd/libdevmapper-event.a
- #gen_usr_ldscript libdevmapper-event.so
- else
- rm -f "${ED}"usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a
- fi
-
- if use lvm2create_initrd; then
- dosbin scripts/lvm2create_initrd/lvm2create_initrd
- doman scripts/lvm2create_initrd/lvm2create_initrd.8
- newdoc scripts/lvm2create_initrd/README README.lvm2create_initrd
- fi
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
-
- dodoc README VERSION* WHATS_NEW WHATS_NEW_DM doc/*.{c,txt} conf/*.conf
-}
-
-pkg_postinst() {
- ewarn "Make sure the \"lvm\" init script is in the runlevels:"
- ewarn "# rc-update add lvm boot"
- ewarn
- ewarn "Make sure to enable lvmetad in /etc/lvm/lvm.conf if you want"
- ewarn "to enable lvm autoactivation and metadata caching."
-}
-
-src_test() {
- einfo "Tests are disabled because of device-node mucking, if you want to"
- einfo "run tests, compile the package and see ${S}/tests"
-}
diff --git a/sys-fs/lvm2/lvm2-2.02.99-r2.ebuild b/sys-fs/lvm2/lvm2-2.02.99-r2.ebuild
deleted file mode 100644
index 9bf3c4c4b447..000000000000
--- a/sys-fs/lvm2/lvm2-2.02.99-r2.ebuild
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.99-r2.ebuild,v 1.1 2013/08/14 16:14:29 ssuominen Exp $
-
-EAPI=5
-inherit eutils multilib toolchain-funcs autotools linux-info udev systemd
-
-DESCRIPTION="User-land utilities for LVM2 (device-mapper) software."
-HOMEPAGE="http://sources.redhat.com/lvm2/"
-SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
- ftp://sources.redhat.com/pub/lvm2/old/${PN/lvm/LVM}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-IUSE="readline static static-libs clvm cman +lvm1 lvm2create_initrd selinux +udev +thin"
-
-DEPEND_COMMON="clvm? ( cman? ( =sys-cluster/cman-3* ) =sys-cluster/libdlm-3* )
- readline? ( sys-libs/readline )
- udev? ( >=virtual/udev-200[static-libs?] )"
-# /run is now required for locking during early boot. /var cannot be assumed to
-# be available.
-RDEPEND="${DEPEND_COMMON}
- !<sys-apps/openrc-0.10.1
- >=sys-apps/baselayout-2.1-r1
- !!sys-fs/lvm-user
- !!sys-fs/clvm
- >=sys-apps/util-linux-2.16
- lvm2create_initrd? ( sys-apps/makedev )
- thin? ( sys-block/thin-provisioning-tools )"
-# Upgrading to this LVM will break older cryptsetup
-RDEPEND="${RDEPEND}
- !<sys-fs/cryptsetup-1.1.2"
-DEPEND="${DEPEND_COMMON}
- virtual/pkgconfig
- >=sys-devel/binutils-2.20.1-r1
- static? (
- udev? ( virtual/udev[static-libs] )
- selinux? ( sys-libs/libselinux[static-libs] )
- )"
-
-S=${WORKDIR}/${PN/lvm/LVM}.${PV}
-
-pkg_setup() {
- local CONFIG_CHECK="~SYSVIPC"
-
- if use udev; then
- local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for udev sync)\n"
- if linux_config_exists; then
- local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH)
- if [ -n "${uevent_helper_path}" ] && [ "${uevent_helper_path}" != '""' ]; then
- ewarn "It's recommended to set an empty value to the following kernel config option:"
- ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}"
- fi
- fi
- fi
-
- check_extra_config
-
- # 1. Genkernel no longer copies /sbin/lvm blindly.
- if use static; then
- elog "Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with"
- elog "their static versions. If you need the static binaries,"
- elog "you must append .static to the filename!"
- fi
-}
-
-src_prepare() {
- # Gentoo specific modification(s)
- epatch "${FILESDIR}"/${PN}-2.02.99-example.conf.in.patch
-
- # Not merged upstream, should be reviewed and forwarded:
- epatch \
- "${FILESDIR}"/${PN}-2.02.63-always-make-static-libdm.patch \
- "${FILESDIR}"/${PN}-2.02.56-lvm2create_initrd.patch \
- "${FILESDIR}"/${PN}-2.02.88-respect-cc.patch
- epatch "${FILESDIR}"/${PN}-2.02.67-createinitrd.patch #301331
- epatch "${FILESDIR}"/${PN}-2.02.99-locale-muck.patch #330373
- epatch "${FILESDIR}"/${PN}-2.02.70-asneeded.patch # -Wl,--as-needed
- epatch "${FILESDIR}"/${PN}-2.02.92-dynamic-static-ldflags.patch #332905
- epatch "${FILESDIR}"/${PN}-2.02.97-udev-static.patch #370217
- epatch "${FILESDIR}"/${PN}-2.02.99-selinux-static.patch #439414
-
- sed -i -e 's:/usr/sbin/lvm:/sbin/lvm:' scripts/lvm2_activation_generator_systemd_red_hat.c || die #479626
-
- # From upstream:
- epatch "${FILESDIR}"/${PN}-2.02.99-fix-mda-offset-size-overflow-4g-with-lvmetad.patch
-
- # Fix calling AR directly with USE static, bug #444082, convert to patch and forward to upstream
- if use static ; then
- sed -i -e "s:\$(AR) rs \$@ \$(OBJECTS) lvmcmdlib.o lvm2cmd-static.o:$(tc-getAR) rs \$@ \$(OBJECTS) lvmcmdlib.o lvm2cmd-static.o:" \
- tools/Makefile.in || die
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- local buildmode
-
- myconf="${myconf} --enable-dmeventd"
- myconf="${myconf} --enable-cmdlib"
- myconf="${myconf} --enable-applib"
- myconf="${myconf} --enable-fsadm"
- myconf="${myconf} --enable-lvmetad"
-
- # Most of this package does weird stuff.
- # The build options are tristate, and --without is NOT supported
- # options: 'none', 'internal', 'shared'
- if use static ; then
- buildmode="internal"
- # This only causes the .static versions to become available
- myconf="${myconf} --enable-static_link"
- else
- buildmode="shared"
- fi
-
- # dmeventd requires mirrors to be internal, and snapshot available
- # so we cannot disable them
- myconf="${myconf} --with-mirrors=internal"
- myconf="${myconf} --with-snapshots=internal"
- use thin \
- && myconf="${myconf} --with-thin=internal" \
- || myconf="${myconf} --with-thin=none"
-
- if use lvm1 ; then
- myconf="${myconf} --with-lvm1=${buildmode}"
- else
- myconf="${myconf} --with-lvm1=none"
- fi
-
- # disable O_DIRECT support on hppa, breaks pv detection (#99532)
- use hppa && myconf="${myconf} --disable-o_direct"
-
- if use clvm; then
- myconf="${myconf} --with-cluster=${buildmode}"
- # 4-state! Make sure we get it right, per bug 210879
- # Valid options are: none, cman, gulm, all
- #
- # 2009/02:
- # gulm is removed now, now dual-state:
- # cman, none
- # all still exists, but is not needed
- #
- # 2009/07:
- # TODO: add corosync and re-enable ALL
- local clvmd=""
- use cman && clvmd="cman"
- #clvmd="${clvmd/cmangulm/all}"
- [ -z "${clvmd}" ] && clvmd="none"
- myconf="${myconf} --with-clvmd=${clvmd}"
- myconf="${myconf} --with-pool=${buildmode}"
- else
- myconf="${myconf} --with-clvmd=none --with-cluster=none"
- fi
-
- local udevdir="${EPREFIX}/lib/udev/rules.d"
- use udev && udevdir="${EPREFIX}/$(get_udevdir)/rules.d"
-
- econf \
- $(use_enable readline) \
- $(use_enable selinux) \
- --enable-pkgconfig \
- --with-confdir="${EPREFIX}/etc" \
- --sbindir="${EPREFIX}/sbin" \
- --with-staticdir="${EPREFIX}/sbin" \
- --libdir="${EPREFIX}/$(get_libdir)" \
- --with-usrlibdir="${EPREFIX}/usr/$(get_libdir)" \
- --with-default-dm-run-dir=/run \
- --with-default-run-dir=/run/lvm \
- --with-default-locking-dir=/run/lock/lvm \
- --with-dmeventd-path=/sbin/dmeventd \
- --with-default-pid-dir=/run \
- $(use_enable udev udev_rules) \
- $(use_enable udev udev_sync) \
- $(use_with udev udevdir "${udevdir}") \
- "$(systemd_with_unitdir)" \
- ${myconf} \
- CLDFLAGS="${LDFLAGS}"
-}
-
-src_compile() {
- pushd include >/dev/null
- emake
- popd >/dev/null
-
- emake AR="$(tc-getAR)"
- emake CC="$(tc-getCC)" -C scripts lvm2_activation_generator_systemd_red_hat
-}
-
-src_install() {
- local inst
- for inst in install install_systemd_units install_systemd_generators install_tmpfiles_configuration; do
- emake DESTDIR="${D}" ${inst}
- done
-
- dodoc README VERSION* WHATS_NEW WHATS_NEW_DM doc/*.{c,txt} conf/*.conf
- newinitd "${FILESDIR}"/lvm.rc-2.02.95-r2 lvm
- newinitd "${FILESDIR}"/lvm-monitoring.initd-2.02.67-r2 lvm-monitoring
- newconfd "${FILESDIR}"/lvm.confd-2.02.28-r2 lvm
- if use clvm; then
- newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
- newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
- fi
-
- # move shared libs to /lib(64)
- if use static-libs; then
- dolib.a libdm/ioctl/libdevmapper.a
- dolib.a libdaemon/client/libdaemonclient.a #462908
- #gen_usr_ldscript libdevmapper.so
- fi
-
- if use lvm2create_initrd; then
- dosbin "${S}"/scripts/lvm2create_initrd/lvm2create_initrd
- doman "${S}"/scripts/lvm2create_initrd/lvm2create_initrd.8
- newdoc "${S}"/scripts/lvm2create_initrd/README README.lvm2create_initrd
- fi
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
-
- # Device mapper stuff
- newinitd "${FILESDIR}"/device-mapper.rc-2.02.95-r2 device-mapper
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper
-
- newinitd "${FILESDIR}"/dmeventd.initd-2.02.67-r1 dmeventd
- if use static-libs; then
- dolib.a daemons/dmeventd/libdevmapper-event.a
- #gen_usr_ldscript libdevmapper-event.so
- fi
-
- use static-libs || \
- rm -f "${D}"/usr/$(get_libdir)/{libdevmapper-event,liblvm2cmd,liblvm2app,libdevmapper}.a
-
- # do not rely on /lib -> /libXX link
- sed -i \
- -e "s|/lib/rcscripts/|/$(get_libdir)/rcscripts/|" \
- "${ED}"/etc/init.d/* || die
-}
-
-pkg_postinst() {
- ewarn "Make sure the \"lvm\" init script is in the runlevels:"
- ewarn "# rc-update add lvm boot"
- ewarn
- ewarn "Make sure to enable lvmetad in /etc/lvm/lvm.conf if you want"
- ewarn "to enable lvm autoactivation and metadata caching."
-}
-
-src_test() {
- einfo "Tests are disabled because of device-node mucking, if you want to"
- einfo "run tests, compile the package and see ${S}/tests"
-}