summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2015-07-30 18:39:01 +0000
committerRichard Farina <zerochaos@gentoo.org>2015-07-30 18:39:01 +0000
commit76b43f1ad8b8ed94688f97617925b644b392421c (patch)
treead1eee7a9998d5c2569404015518e546a44d3573 /sys-kernel
parentremove version 2.0.0 (diff)
downloadhistorical-76b43f1ad8b8ed94688f97617925b644b392421c.tar.gz
historical-76b43f1ad8b8ed94688f97617925b644b392421c.tar.bz2
historical-76b43f1ad8b8ed94688f97617925b644b392421c.zip
version bump to fix bugs #522176 #534266 #554202
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/genkernel/ChangeLog7
-rw-r--r--sys-kernel/genkernel/Manifest36
-rw-r--r--sys-kernel/genkernel/genkernel-3.4.51.3.ebuild172
3 files changed, 196 insertions, 19 deletions
diff --git a/sys-kernel/genkernel/ChangeLog b/sys-kernel/genkernel/ChangeLog
index 8c0e88bffba1..afa9d3577f0b 100644
--- a/sys-kernel/genkernel/ChangeLog
+++ b/sys-kernel/genkernel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/genkernel
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.402 2015/05/13 07:00:10 jmorgan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/ChangeLog,v 1.403 2015/07/30 18:38:37 zerochaos Exp $
+
+*genkernel-3.4.51.3 (30 Jul 2015)
+
+ 30 Jul 2015; Rick Farina <zerochaos@gentoo.org> +genkernel-3.4.51.3.ebuild:
+ version bump to fix bugs #522176 #534266 #554202
13 May 2015; Jack Morgan <jmorgan@gentoo.org> genkernel-3.4.49.2.ebuild:
ppc64 stable wrt bug #511992
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
index a1b8c6ece4cc..9cc8b83afa6c 100644
--- a/sys-kernel/genkernel/Manifest
+++ b/sys-kernel/genkernel/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX genkernel.bash 2438 SHA256 e7de9771ba79ef878e2c9a21a1c1720f092c6047d3cc7d4a49ff6b90e7e2c248 SHA512 2bfe23606f919577bb2d174ffe18cd00fbb4ce642fb8860b319e059745d46ff8459b99374159f78af9f3aebb0a352a74ccd74c3be581980f5e298293b96e983d WHIRLPOOL 71a6be56d38c24c3032fec5f4016c92dd0bc8140e5204db9d97c5cc5be42a2465282f36e213858b528d013ff74c6bcbf9aa443a77a8ed3ce8174baa79afe6004
AUX initramfs.mounts 816 SHA256 57ba8450e3f09edc9a4e5a1be15d49c77e4e014e27c626e9e3771167cbb54e49 SHA512 97e5f92d135cff3911a68c7f1afd0f781ec1c1b794cdc824d74f8c119104ecb40bd7180be8414dc72f3a5a811143d6b4bf443ac1d3ff7a71b1e88cbf7c179665 WHIRLPOOL f39d27de6e69b3555f81138a59f25b104f9dd6aa6254a5391d3375b15acaac48f0e698f3e6f96ed88845b84fbf8fa2cd64b98281df977c12a99ec7d9ddaf2a10
@@ -15,6 +15,7 @@ DIST genkernel-3.4.49.tar.bz2 289872 SHA256 7212b1c80e63db9949f2a72f160b06ece6d8
DIST genkernel-3.4.50.tar.bz2 273874 SHA256 d1450b9a38837147f3ec2600bcd05a56df5537a1d9de0c41db123833a5f2f450 SHA512 8b56c0736abaffa1c04dd1315d38ed35be46b72a2e20b5602e946dbabde9c05a66691d3059306f58a17f436124912dd0b39ccc012fff8562b1531cfcb90e7d28 WHIRLPOOL 09d88f2013267021e792b784850057472b40d216b45c8cd8f67c9340c30ee4cdf8161beaa7fd628fb71755a35fed6e64adddd9b957f5c5b7698207fb70d4a7e4
DIST genkernel-3.4.51.1.tar.bz2 294870 SHA256 af99c3f5dc1885b3c362e2fe1e4b7557b6ff2f55b8ce63b3681b1051fe3e4441 SHA512 a72378965fdc23be3e5af6c612502a38c89ae1be52f3baa82cc6ea17871a5f7c48515e55cf448d0288acf6d8cba012fb4f44e5219f5a69f942cec49dbaed31e0 WHIRLPOOL de229d1e6441d7ce25e8cf7180ebae27a591326058c8dcadb8f6054fc985a5f1d73fa97ea061d0bc8007c98b23b5c97a553f6b97cbc503e145864b43baa81e8f
DIST genkernel-3.4.51.2.tar.bz2 291001 SHA256 579989eaaf1c87686b3bf2d315acad8e3d3d9c64c06f78ae67555a3636276671 SHA512 1eb3ffff251c5ed84d91059a3af1460ad80702e28353c9e5e206615810168d83c097fbe34e28a774caf435e873fc758afd1a16e996dc93b6a2384ee050b4eb71 WHIRLPOOL b60f4ff9667b6dd2f9b73fb5bb63c81a8ce72db367b779188b587c38a95d69ae6fc96dcdaae57456bfec3832706edf6254ca2f4a2c135f088c0cd22d86322e9f
+DIST genkernel-3.4.51.3.tar.xz 250344 SHA256 22b1dbb54ed49327e94146c98c3b4a6c97e99060e25c238c145aea67130f50b7 SHA512 7a0076ea68d6eaadc8b4af53d0396ed1a9423e47f866b3500d51b52db357c928f70be3e71c240439c20a253fe4c0068fec9af741858c5fb71d5c3f1c49215428 WHIRLPOOL 9a63dc2bda3b7d2f1bba73ec62656c4cb15b67352833d4a85794e4c7d089ad40d2ea978d1f9496b17008fcd552aa3e2446fa90e4fc98751ecf79161470b4f1b5
DIST genkernel-3.4.51.tar.bz2 273918 SHA256 6256510fa8966e8d6929f66679a1af249aacc564c91c9869decbab0a2f789bd7 SHA512 0a845e9ff0aeb15c75faaf0c1aac80e79ce30c0a907e3e028e0f3feb66e34005991a7b5e82b2281c60bf857f77b15c3d405cf698375caf398fc8e9d7504326d1 WHIRLPOOL 1e28036c2eabd3eb7ed4017347c1f6a44cba0ce2202898f19d3332e3217a65e9e6500b5ddb30774007d222422fe6218de93a1efc12eb6f33171a42b07722b33d
DIST gnupg-1.4.11.tar.bz2 3407075 SHA256 d18ceeac16e554a501170b9bfde611625252d0fe9448685a69c93bf149ee6ef6 SHA512 97e7b8b0f972cc2f7cabdb0e013cbee1c33e7d48407d040cca5c2037e32abe1c2100194be7d3b569d4f05eb16b24c205a5b83f06718f0241f8d4ee174f1c37ae WHIRLPOOL 6f914627e2f527f6616e1f99d2ae06942b734f839d03a45ffa45bf67516a81d58f89e6a85612cf8e5fd83be04ab0b6bc2da8f81114143dad7523e5fcea62366b
DIST mdadm-3.1.5.tar.bz2 292709 SHA256 1d547d0b36a88968e9fc9fb08b0e64de54a53f3d1cfa3656a9f319180f0727d3 SHA512 6fcf426d63ede01f99ebeee9be686857a04f9b601b37f76722c091ae2999b3ff66fdba52d47323f27900553125a897fc1815fe7be850aa9cc991dd5fa91a5d5d WHIRLPOOL 003595a1338b3a95ccc176b07a31f26dd5fda9460f2c4d3513b9ca09cdab1c91dab05f8914f2354047fccff42c4dcfc6131a383c84467c2838ac7b1af2f9bef8
@@ -28,27 +29,26 @@ EBUILD genkernel-3.4.49.ebuild 5269 SHA256 3f81d98aca471f18d0220f32c386c91928ef6
EBUILD genkernel-3.4.50.ebuild 5461 SHA256 46f91c699c024e6e182149cae2a9f095770c0e4a6831f4bfd7adcda054b2aa9e SHA512 d4a4cf4a6749782cd61569e5b1ab107887e6a181fabb07f324c6efada9e0732986e66e609fbf6ccd4f750e844f5d37bbf4894773e68435dffdb37ccd82a05603 WHIRLPOOL 9e4a7312d34ce3892a70198a440546f6aa3d4c6d5b07d36eb67179746ebe054a24232e5460e0b702c026c27eef81d6edfe7d530a127659124d5c5a3ccb508e83
EBUILD genkernel-3.4.51.1.ebuild 5463 SHA256 97c033e3594cf3822b0cafc7df783f938f6673d715003fbb3b9439eb5a240737 SHA512 6038e05bc0fa65c435bb5bc4f85928e678696cc2bb0bd98ee2046c4a67164eecd344bff6fcdb554a0c09c56f7faa5554a12ff24eb27f30632394ce6ee4c1881d WHIRLPOOL af7458e3fe8998b1d9ddf7a78c7238a3c06fa5d399076ae083237f91e2fb380da61c4b3a343abb74b041a16e536f5fe711de3e21b4a5fc6b8005ceb16c43f99b
EBUILD genkernel-3.4.51.2.ebuild 5463 SHA256 62759a299c27509da68ab9da78341459d07ac887829c895404f94cbe54ce27ae SHA512 7b48d7079bb98ff56f7a6c6077b76bbeeb9da1c0b76cedb866596db50ffac691984f907f88cf068dbbb8ef6bf1184ebcb6d921d97e7900b70bdb0a1acf07cb06 WHIRLPOOL b6214e9cb152a6044044f3da54e830781872d00ff6c8206eaacf194571a815f008fcb2ab8ef114cd53d04505a04b8488b96ba1591fc7e7d5b3b1e7a73882eb19
+EBUILD genkernel-3.4.51.3.ebuild 5492 SHA256 02074e01fb143da71e8546b147bfaa87a9b3165b5e35c61135c2886de676902c SHA512 8ac1c77efd694aae2c596efe8265eaa862ab80c3ad08a8524f25c5c8b508d4f60808402714ef55607a77b9a9d93db4ceb4170c6a1cf773bd35e0c9c80e8d3635 WHIRLPOOL 4a834e258db8c5f1fe51d6a7cbfd14e086b5d5ead2e20ab69f6eb204c0cb8b7b427e7aba5442cc26c95a67a54f74fd4d5ec0a4eb65c08e23b83df323b80fa751
EBUILD genkernel-3.4.51.ebuild 5461 SHA256 cdef7f8346c8d1ad81623db937c52340d9f39a4cd5fd9b1525fc8501d8035542 SHA512 c3aaf583058733f5c0a3c7f4712397fa77901ffde8ca6fbfc3918515e2c4cbc472e25b3d4469bee40e8eb24833da31e3fe9e5ce7bdecdbede4987f379ed3ccb6 WHIRLPOOL 657c0314a7a8df2b06d6062388aa6bc6245a5194c61e5fb70d2e6fe3cce0c3ba0fc0539fe53b2697f2d2de3ae73468a76dca2b496002c3a05fed15427e11fbb9
EBUILD genkernel-9999-r1.ebuild 4704 SHA256 d25f2aec0ac3b741d2a36763d48c80d000ab6c1f36bbe28610693ee75413c365 SHA512 1651831aa55e36c161c3d267f5850651cb798a597a749f2ad7952a2ae66d9fdd333b0980b7058b52824cee66d621c7be6a36ccf9138ea2f537d1c23e929397d7 WHIRLPOOL 47a249a7ebbef3649af6ad538921157d5ecad758a673fc8064354da0968412e0e9cb4d1efdfdcbc876c698317c62c0f9366d3771cfa6c353704aa33c95d643e1
EBUILD genkernel-9999.ebuild 5236 SHA256 e978a0094dbc1508fafe9139fe6af3c2c2c4da290a51948e772c4a154b0082ef SHA512 4ae630881f91147661770f5bd1103865c55d8e878faa50a051bce567997f321f2a47e526bf0150dc8cc9a61b28ca5fa19ce7faf5b7d6597fc3e31d646022c115 WHIRLPOOL 864d8bab2bc821a3db1fc2c716948b91002544d67aa78543082178c9a634887d975c57d5e493d7d521bfc5582d75fc9eb2275907c773021411473b83ab44436b
-MISC ChangeLog 73595 SHA256 4c9c2fc25f661b12a13dce934aae9a297ae33ad17e8b5dcc7152b29224d49c3c SHA512 53b99e7a97dfe52f3a776dd5e1ab69ffe48c4214f87e3deff5bc5f53aff420251020a7f99e9d0aa6f7ee9ac42510189c0e5581379d77c359eab9d9d7a1053151 WHIRLPOOL f676d597f0bf03ba55840b290905a4c6f5dea8d35072fc4cfcab33b57fcb0115474e7f02f96e4cbb99cc7c8e3b43851380292cec7ef0a90bb7f30b8fe6b67380
+MISC ChangeLog 73762 SHA256 03efcedb66760eb70a8f0a8302219c42db0246510cb105dc51418f086767f865 SHA512 bf494323daac01c5d331fff1fd473a2e2523010e44c9e547c3a66f85a1f0b47efb7138ed45f3abb19de1ffd4cdcf5c05c8800db8a5a5edb1be3247616dd33dec WHIRLPOOL 2eb28210725b5d9577f93829232a58bb424011c6c095743b4d1745647e67cf82156cade7177fadda21be083b8e30c183a5ef7ff891f34cbc254fb67dfb76067c
MISC metadata.xml 498 SHA256 ce52e0c21fb98fe6a8e5251b5306c5fc8681613cd1fea3df971ada64d05d6ebc SHA512 be4ab429a92162dbe922828aa3556840149f3a35e503c4429a7a27041ac21014ab346e8e7d6b0e61fbe473c535f314e1b0c2701b078a625f29971ffa62964b6a WHIRLPOOL c90be274208b385492ae541106cb04398e298602c8477ab081c93008ce4f431eecd42c4ea609f1729e61760769fc43053ae8efefdf55e5efe348ecec90f81105
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0
+Version: GnuPG v2
-iQJ8BAEBCgBmBQJVfysnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
-OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiGmkP/RIWV7rQJQXPvlsuNg4T7tn9
-p3zCwi6hGMXHmAAPHrmrY3oyHMRXOZwJuVnCIwhm3eyLGFTCCtpHOJld4PPUaqnv
-o/WdZ+SGnQGEX0d4JUu2MuXEtVdrFYx6Mrq2m842eXasq6JKzn9OrUv0uZCUtILQ
-AYkoMoAMwQOEO7v9dDFBPkzuOrMpmxOjHdlYZTHTtnAZ4zh9W5f+nKyFOCJENinS
-QuhhSATu9OC5DbSl3K8K9smXaM7+I/aSnNUEBsnks5Ou41OJ2/9Ow8ga7/a75g36
-yz26cuP6Vo1gBCRMeacROcxKbElZ/rdQJjojUox4EfRFJJxbT6Sw1CJEcZitjm15
-VMbxnQq6zsaTq8a0jlDhOfSBFE/+DeIjxjn3aU3vlxRwq/k5LZ7kfnx2oWc3peiy
-nuCXAPKTMgk+7Y29Ui+/RB7n7h5PXm1/rH2Fa2TKUFfLOMLN/R0oiR02FlOv2vpp
-cc6SZfb5BiohxPmYdbV6rn0R7WHjzO4pP10OxIydjTIPMFjscnAqGV73mi2B0c3p
-MO8kW+fHriYYASb0VMwQ7Lr7UllBg9YUBgz49jsI+qUVdW6tmSX/xvFS4Q7Cln63
-Kqt1wkJTPPC1y/mZIEu85PtkE+zjQbIqo7rC7zSGjv2fRzz0uCNMiSgRAOxdBFmN
-4XJs0A7xWlAXqASbBEvS
-=2cpu
+iQIcBAEBCAAGBQJVum9EAAoJEKXdFCfdEflKZBoP/0WDTD5rDioP5tZW21sDJxR+
+VVK8piII8mIlrsIRPOA1FmxvlY0wd2kiKYcSbhaLMv6YzWVWs22S79kMFGWpr+PG
+hxEpIhm8dF6wsUzOZ+Ml2n6MsK+ES2jYTMwTuzMHvmS0L6O+HvRpR4mEOmpxIgX2
+lWcGgx0PMW9acS9V+gUhuRLjDscY2d3mZF/qrbaVXRej5NOTw4EoKrZYRwliAfIC
+Azak73ZpTf7lnluurwKBHoDxtB+sPLhTzP3B+858xQRLpu2KFAgbkKlEB+rSgZjq
+HxWRqydsOrsuZN3098DUn02fdxbEa+lUdKxAHU6UgQS9eg/I4DSJCa/QqPRtWsQI
+w+JEiSZSbpHywDWzCMJ8s11uwGidTHz0nXLLxV8/v/gc1E99sAup/iwLI95+hCh6
+J6fT5Bkr3S96AdP0/ctDByST/lYVJl2XIUOaRVKRu40RLhjeVwKOMin6vXz8Jne9
+DUtazCgK8Odq4qRD3UNtNjMJ8/cc87f6MnruJSLFpg4uNPYUV2C5LWbgDgymn2Na
+O4TNg9SBgO0Ii87ZrseBVAHsODLgu+yRnZhx+WDtBLIAa6sM9LXXwNFDXTC3KenS
+iK5iSamxYsc6wMD0UM2gjjrgEcswCPAGNr1a+jxWlalKu1w4/alVND49YSyLaJRz
+JSZTV1NdlI95aep4G4j9
+=96hm
-----END PGP SIGNATURE-----
diff --git a/sys-kernel/genkernel/genkernel-3.4.51.3.ebuild b/sys-kernel/genkernel/genkernel-3.4.51.3.ebuild
new file mode 100644
index 000000000000..23b623fbc55a
--- /dev/null
+++ b/sys-kernel/genkernel/genkernel-3.4.51.3.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.51.3.ebuild,v 1.1 2015/07/30 18:38:37 zerochaos Exp $
+
+# genkernel-9999 -> latest Git branch "master"
+# genkernel-VERSION -> normal genkernel release
+
+EAPI="3"
+
+VERSION_BUSYBOX='1.20.2'
+VERSION_DMRAID='1.0.0.rc16-3'
+VERSION_MDADM='3.1.5'
+VERSION_FUSE='2.8.6'
+VERSION_ISCSI='2.0-872'
+VERSION_LVM='2.02.88'
+VERSION_UNIONFS_FUSE='0.24'
+VERSION_GPG='1.4.11'
+
+RH_HOME="ftp://sources.redhat.com/pub"
+DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src"
+BB_HOME="http://www.busybox.net/downloads"
+
+COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
+ ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
+ mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
+ ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
+ ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
+ ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
+ http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
+ mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
+ http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+
+if [[ ${PV} == 9999* ]]
+then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
+ http://anongit.gentoo.org/git/proj/${PN}.git"
+ inherit git-2 bash-completion-r1 eutils
+ S="${WORKDIR}/${PN}"
+ SRC_URI="${COMMON_URI}"
+ KEYWORDS=""
+else
+ inherit bash-completion-r1 eutils
+ SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
+ ${COMMON_URI}"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo automatic kernel building scripts"
+HOMEPAGE="http://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT=""
+IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working!
+
+DEPEND="sys-fs/e2fsprogs
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-0.2.1
+ !<sys-apps/openrc-0.9.9"
+# pax-utils is used for lddtree
+
+if [[ ${PV} == 9999* ]]; then
+ DEPEND="${DEPEND} app-text/asciidoc"
+fi
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]] ; then
+ git-2_src_unpack
+ else
+ unpack ${P}.tar.bz2
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == 9999* ]] ; then
+ einfo "Producing ChangeLog from Git history..."
+ pushd "${S}/.git" >/dev/null || die
+ git log > "${S}"/ChangeLog || die
+ popd >/dev/null || die
+ fi
+ use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
+
+ # Update software.sh
+ sed -i \
+ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
+ -e "s:VERSION_MDADM:$VERSION_MDADM:" \
+ -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
+ -e "s:VERSION_FUSE:$VERSION_FUSE:" \
+ -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
+ -e "s:VERSION_LVM:$VERSION_LVM:" \
+ -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
+ -e "s:VERSION_GPG:$VERSION_GPG:" \
+ "${S}"/defaults/software.sh \
+ || die "Could not adjust versions"
+
+ # sparc doesn't need crosscompiler anymore
+ # remove this after >3.4.51.2
+ sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \
+ "${S}"/arch/sparc64/config.sh \
+ || die "Could not remove sparc64 crosscompiler config"
+
+ epatch_user
+}
+
+src_compile() {
+ if [[ ${PV} == 9999* ]]; then
+ emake || die
+ fi
+}
+
+src_install() {
+ insinto /etc
+ doins "${S}"/genkernel.conf || die "doins genkernel.conf"
+
+ doman genkernel.8 || die "doman"
+ dodoc AUTHORS ChangeLog README TODO || die "dodoc"
+
+ dobin genkernel || die "dobin genkernel"
+
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+
+ insinto /usr/share/genkernel
+ doins -r "${S}"/* || die "doins"
+ use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \
+ cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6
+
+ # Copy files to /var/cache/genkernel/src
+ GKDISTDIR=/usr/share/genkernel/distfiles/
+ elog "Copying files to ${GKDISTDIR}..."
+ insinto $GKDISTDIR
+ doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2
+ doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2
+ doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz
+ doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2
+ doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz
+ doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
+ doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2
+ doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz
+
+ newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+ insinto /etc
+ doins "${FILESDIR}"/initramfs.mounts
+}
+
+pkg_postinst() {
+ echo
+ elog 'Documentation is available in the genkernel manual page'
+ elog 'as well as the following URL:'
+ echo
+ elog 'http://www.gentoo.org/doc/en/genkernel.xml'
+ echo
+ ewarn "This package is known to not work with reiser4. If you are running"
+ ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
+ ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
+ ewarn "broken in this regard. Try using a sane filesystem like ext3 or"
+ ewarn "even reiser3."
+ echo
+ ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
+ ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
+ echo
+ if use crypt && ! use cryptsetup ; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}