parent
1229e2c488
commit
7101246e1b
@ -1,9 +1,7 @@
|
||||
AUX update-bash-completion-script-for-2.1.patch 1332 SHA256 9bab3ce5bbe7611bc7483cfd2c7926c6d443d3af772c5b241fd94a438fb1316a SHA512 2e19a6be652684c1b1a2a9d6605c1404272391950408cd6ae964b2bdd9f95b1e59deec5111c1eaa563a92837ea394fcb2315a3032b2ab02996509b98eb7d1cf0 WHIRLPOOL cddf67a8834ed4d01fd5215f2044388628360e7613cfb54c45a3cbbea7c36659f0bd5a8399008e971d2fca48560ed16115dc3b55d0f707776a5c569efe41d901
|
||||
DIST drush-6.5.0.tar.gz 509643 SHA256 0e6bfb8a4bd75846dbca25f6d3e3130a706546f6a62edadce2eb00099750e2a7 SHA512 4afd348c025b9303386131687205af4219a77e6c822518b079a3f0475cbd7ed03647797d613300c7a281e2354f0d855435222fe1afe13447153cdbd6a4393add WHIRLPOOL 1f2a1a725e1c0f89cac90a1338e1541e587c7834560fd23d1a44341696be320e65cf93508d4841f02ca9b30ac62f3fed7de772e00f4eaeea64f287cf19682fcc
|
||||
DIST drush-6.7.0.tar.gz 511581 SHA256 f3ba2a6847f83b1b8a61207b1a514617612a75261e7b39ffc2606b6958f79e8c SHA512 203870190dd8987ad3da71f7625476c1f94bc75513447a740fd8c16268fb9705bcbc3b2bffc49a44045998e3fa49fd5ee9d4c0634a1fb39605ba8e10b7373fa5 WHIRLPOOL 87eb20be4b6bb8280dd1e91c422bdfc7a2181d6eabd37a212ce7b95ef863cd7c526531d98eca09d032f8e8cf3201d746dd615dfcb858dfadfaef41869dc22500
|
||||
EBUILD drush-6.5.0.ebuild 1714 SHA256 6e32cb527a1d2678ee1faa0d1c3beb59320e333d7b41e193fe79298bdcd98c40 SHA512 7c56968ab2aa0dac06b105f37e131734077ca69714192ec7b6322c378a3d5fd4fa196e7ce1d2319835952f31b1e8534625f660077d0130c6306f76753b2f9443 WHIRLPOOL d66ab1b248a4a74bac5221d3d50bbaad2da38fdc63cf0352165cf113f337f926a0fdb2291e8d657c48b478267facbe01b4bdcb1d42eebefd08ade6e7fe7ec391
|
||||
EBUILD drush-6.7.0-r1.ebuild 1725 SHA256 8e04b1998b75f9586a72dc42838deef229311ccccd1e1c496a3ac01353e06d69 SHA512 8d2772c8465a128edfee757b83527a68cd011e69ef02d72817396823bf6c3e6f52e177a9112f926664cf76afa544a91f83450d510ff3f7aeafd3fa0f228d302e WHIRLPOOL 421a8652cfc36df13a1a44fcd3d774a66d17273bd78b6ce7537e0d4fe361f6f4a4505693f5431dc21a68d972ad32a26a66f9767238c50d1002ddf45066c60c6c
|
||||
EBUILD drush-6.7.0.ebuild 1715 SHA256 721e2cbfc348da50e1dcc9acbe47bf53bf05f1bf7d8a44d46b5f29a65f05dc39 SHA512 6fb4dfbbc9b00dba5848d5f14a77f2bcb3b55759f3d6244232b772bb5e9af2506532f8b0a418bec02075c4faca994f86fec16285ccfe0d9bc40c89fc99025d02 WHIRLPOOL dc66983459acae4f87d550da5863f2b6afc2364e200c302f94992342ff55e0ca7208fd8bcbeb22976d83457dbdfca6a5ef321fca4e96f5a2b122201d96a652ae
|
||||
EBUILD drush-6.7.0.ebuild 1714 SHA256 2d175f816da4dfa76e842db87afee66021bbd8ed6cc021b650758dd80424219d SHA512 c82221d10dcc17974d956c54fb4a2c0ec4e8efd24737c3c35bca425e190649ed98c47a52b39972c51c9e6f4e064922af5c4416ee2fc35aade2da4b2362e1eb34 WHIRLPOOL fd32005d32c018eeb64097f901cba46630940ac930984dfb7ab0f9f2b263e4ad5ece565c792a8c96c602f69f0f0e85b90ba94d33703b44ed63f4bdb249d92b88
|
||||
MISC ChangeLog 3977 SHA256 0532e96c4c8667ed5d16a6d73d35f1a25b901763d4faec9a5ca5294e777b25fc SHA512 ad785c5f0b44eb2ccab42b70d2826e8747aac8cfb2f0b381f7cbe441f81178f8c7775a48424b07b0b4c56e159d9d04f1f69ad5a410b8498342bb690c62284525 WHIRLPOOL 69eed8d236136fde24882f4bb27a42a890b38367962bbeafa5bc31f650e12a1a487406c65511b76ea9e89c37415825d3bb6762c99a4419b335cc6e4e85bf1bc4
|
||||
MISC ChangeLog-2015 2376 SHA256 1c59279d88781a3f927086c2c692aea5666e149a9604ad6eb89fd326f5f901fa SHA512 8f5948a9e05a96934c07df74a612d0740419e11143b732a2817c39119326fdb71bbf884726a0976ec665714c727ccc7b552dc55cede4ac90dc60b694760f69c8 WHIRLPOOL d81b2c1f8ae62a6fead1a361b9b9fb33a7cc24ff2205c721d12fcf11e912b0f4166f41728f107e195593529eb832a780bcf256a64b5531a59d57feb2387a1b50
|
||||
MISC metadata.xml 531 SHA256 c177512601aafe47fff0e583e71ea0a02b9bf3b75378d37bb6f0b641b4801441 SHA512 27cfde1e0c618050f645abf589511ccf87675ac00da8eb147b6a38d1e48d0d688fef2310ec015d394a202b56b3f09aca32b6d6c9bedaab98e469139349472aa4 WHIRLPOOL 9a5f730e1139e26422d23df83499053f0ac70b95cd086de3b39ee7a1a1f7cb3d883f8203c8762b64183ca004e27cd392cb2b36e3d41689748e321e3ff3fcc9be
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="Command line shell and scripting interface for Drupal"
|
||||
HOMEPAGE="https://github.com/drush-ops/${PN}"
|
||||
SRC_URI="https://github.com/drush-ops/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/php[cli,ctype,json,simplexml]
|
||||
dev-php/PEAR-Console_Table"
|
||||
|
||||
src_prepare() {
|
||||
# Fix the bash completion script, check the patch for Gentoo/upstream
|
||||
# bug numbers.
|
||||
epatch "${FILESDIR}/update-bash-completion-script-for-2.1.patch"
|
||||
|
||||
# dodoc compresses all of the documentation, so we fix the filenames
|
||||
# in a few places.
|
||||
|
||||
# First, the README location in bootstrap.inc.
|
||||
sed -i -e \
|
||||
"s!/share/doc/drush!/share/doc/${PF}!" \
|
||||
-e "s!README\.md!\0.bz2!g" \
|
||||
includes/bootstrap.inc || die
|
||||
|
||||
# Next, the list of documentation in docs.drush.inc. Note that
|
||||
# html files don't get compressed.
|
||||
sed -i \
|
||||
-e "s!\.bashrc'!.bashrc.bz2'!" \
|
||||
-e "s!\.inc'!.inc.bz2'!" \
|
||||
-e "s!\.ini'!.ini.bz2'!" \
|
||||
-e "s!\.md'!.md.bz2'!" \
|
||||
-e "s!\.php'!.php.bz2'!" \
|
||||
-e "s!\.script'!.script.bz2'!" \
|
||||
-e "s!\.txt'!.txt.bz2'!" \
|
||||
commands/core/docs.drush.inc || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Always install the examples; they're referenced within the source
|
||||
# code and too difficult to exorcise.
|
||||
dodoc -r README.md docs examples
|
||||
|
||||
insinto /usr/share/drush
|
||||
doins -r classes commands includes lib misc
|
||||
doins drush_logo-black.png drush.info drush.php
|
||||
|
||||
exeinto /usr/share/drush
|
||||
doexe drush
|
||||
dosym /usr/share/drush/drush /usr/bin/drush
|
||||
|
||||
keepdir /etc/drush
|
||||
newbashcomp drush.complete.sh drush
|
||||
}
|
@ -1,9 +1,5 @@
|
||||
AUX unshield-bootstrap.patch 644 SHA256 6f86a978778f91a103776e571a24588077d530cdc08c3151dfac1ba106cbd614 SHA512 fdf6137dab6b8a0516e3319fe85ea475d29589d031156c264055fd08515a026a31de79071e7fc3b2b7566b484edd1017784e879d68ef92a80956ade8398463c6 WHIRLPOOL 47e92cbff46bace208e1df16006bbc0526b84f8786e94da8cac3952789b776ed718b959af8383fb5ccc079f7e14edf6c62f00859a4cdc5864e15c2dc7a512b39
|
||||
DIST unshield-0.6_p20120308.tar.xz 31924 SHA256 5f857a496ff54b9e1121b8ce2ceaba78133e91e254203e81340010ee05224da6 SHA512 7eec3c401af4c43f599e1b1abae3efdc6b91bd132a86b6658656bec4f00040eed2b0addede7b555953ecc7b1c976fa03013820a25a68a226cf1b973caffb25c4 WHIRLPOOL 12d307b8345b604d10c42b52c28e1eb4eb9745a7b542da188b2a24c4a993b45cfd98a01740f3f30362c9b2714ba61d5e4c6f66a26e599356b5cef5b76130fc34
|
||||
DIST unshield-1.4.tar.gz 37199 SHA256 8ae91961212193a7d3d7973c1c9464f3cd1967c179d6099feb1bb193912f8231 SHA512 b09c29fa8e5785f2ca90b40105304802d00d201dde42ef4f5e4b5504ca8edf10da426c7ed1daa8c0685980f085eb20437162812a2068a0c03c0dfd240edbf944 WHIRLPOOL 886c6272d8666192e67fd0978f3d038b9a023ffc8456689b0e6ce6d2c0913f21a1ad8e2baa3d57991605cf64d59a5991a4f8ef3f8856ecabbaccb664bbc3c91d
|
||||
EBUILD unshield-0.6_p20120308-r1.ebuild 892 SHA256 399d154ecbfd664c37906fd79c8cee3c4f651e7e01d63aee60f610121882bb60 SHA512 bcb5e6cd9eaa85e89b2cc5cbf6f9fcef19d9b20a1c66fac5599623c796573f81774bccbc82316ba6ffa50962ea15dbefb80fe97118a666ef58c2d2d6f071f822 WHIRLPOOL b35dd1529c3e07596ae870bd7a5e66aac1e9fcaf73df3dad1c1f8e6278da82688a0f305d9f53afa0f846553c4528913a84c7361dc62ed9e4b03800624c91dcfd
|
||||
EBUILD unshield-0.6_p20120308.ebuild 827 SHA256 34d83726365d9a073ac965d33a52f5730eb9b08a8f39143e09e966d23a1bcda0 SHA512 add430ef3bb4b0839084b7d653a9a39cefacb723cae9868512387bd8ea4b07b43c6b5532fb0e716c9ab65276b7dd04f757a4fdfe02b2fa3090add0ed97951f32 WHIRLPOOL 42b79291eb6916bfbe6ec6d69373b7a8b7a676f09151bf0fd40c98612ec9e2537f621ce0557ac6860040265992970ab1d1d5ad94e4b96163d3fb4ea021555456
|
||||
EBUILD unshield-1.4.ebuild 940 SHA256 a6d7527ae226373c6aa3579efa71c021a4cb355ad7db49271751e1a2c7f0df0a SHA512 127547166d9f1877785d8630317b1c733981241ed8f465b01e43c675ccad905eb302f3f5f2fea4933aa7d64026cf90278d8842f6d5fa9cea21f37d8d58bd268e WHIRLPOOL bea8c267a454f7282c0255e71b339b1e10a19ff4e92a38dea0f6db4f7607fd5500da67f1c38b4985163603377b17a1d578e2008b5f5cee4e5ef971e574d0b727
|
||||
EBUILD unshield-1.4.ebuild 939 SHA256 bf862a520f37c3e1621569ab2b6a7395a1894fc28e3e090c2b6fbeecd5bdff74 SHA512 eea720749a18818c7b27561985e4d5a5076b8433a74c3a63230d3949a39d9fc87dedaf4f424fce1ef7f2c5b3b57d8741b49979f08de568b3bdcc831c54413a7c WHIRLPOOL 5ce6b4ed892db59dcdb2187ca330d8340350b7d8e6f9ebfe120155cf588b4558ef322c55f2f7c7f83810e4c5fe853b9c680f7d65d77a246074a59ddb04447180
|
||||
MISC ChangeLog 3948 SHA256 5b875027d626005a7dce9fa1caaebd4cc6fb8c2f8c3d90d263d58e933be7c20f SHA512 26c65bee23ff2e0486fa94fc41775ee7354f29f467c8a15649b6a61380d03bc0e36df07e4e54fc846807502b78f4777f842e7580957b380191ba6a48ec885a31 WHIRLPOOL 33cc1fa82faa5aa4018d05f52f852c3167149cac214131d07f3e2e5b51c767c6fe9ab68f1831763920bc75798f5fbc418601f5f25dff35ac188563785cd8b31c
|
||||
MISC ChangeLog-2015 3948 SHA256 1e3c07bd6e6e8736e66dc5ef1c511f3bee0ac43dce6d8f08f8c5b00346637bcf SHA512 f92a5feef0319fc288a62b8c025b7b4217571be0bd42a294cab498b4638eaec9003be893a7481154d1f99789daad25efa399a0d7b2a5aabc2ba51fc5737d561d WHIRLPOOL 495fd38350565d7907926822ed39ffaffedf4b0a6d9460d64cdfd0958f58f73f10a569ca7b912c1fa094ef295f4785479024cd8abbddc213cb913e41c87ac1bf
|
||||
MISC metadata.xml 276 SHA256 6637cfc43cae18e62da96e54c99b6d82827a6c89ea3a942c6d6d0214969f14c1 SHA512 a6aaf4eff5f90e0f2345af6768039c62daac8436eaf353060accd516f42162c6ef3cbb73048dcb239220b7c2b716f329644a70489443ac8a2c32d24a0c126721 WHIRLPOOL ba62f0e00c701ed6d4f4c47d002a1f277c4a5ea294f6d7da175eac6e20c50c51163dcdbf6dec991aa640d0cb4db6881c71485c7c1ebac42d37380ab754ea91d8
|
||||
MISC metadata.xml 224 SHA256 1a209c2b9a233bbf348df12a4ec946c08bf8658cf1cd34e4b755cc46d1d3e902 SHA512 3c955bc3bb3a290848f9cc01472321c321ad63b98a10eb1a7986024db98c099e5a18c628c6398b37c42e69d333fe88d74cca5c22293aba196991aa317e6ed670 WHIRLPOOL 5c1d3edfbf61c9e4fee24b84e949b8c67a51798eecb9896500dba6399533d73f368de507bb00b7b339503d352aaffee4652fdfab9b75365c3eda8b88d99476cc
|
||||
|
@ -1,32 +0,0 @@
|
||||
This is replaced by `AT_M4DIR=m4 eautoreconf` in the ebuild.
|
||||
|
||||
--- bootstrap
|
||||
+++ bootstrap
|
||||
@@ -26,17 +26,17 @@
|
||||
INCLUDES="-I m4"
|
||||
fi
|
||||
set -x
|
||||
-aclocal $INCLUDES
|
||||
-autoheader
|
||||
+# aclocal $INCLUDES
|
||||
+# autoheader
|
||||
|
||||
# Check For OSX
|
||||
# rhcp011235@gmail.com
|
||||
|
||||
-KERNEL_NAME=`uname -s`
|
||||
-if [ "$KERNEL_NAME" = "Darwin" ]; then
|
||||
- glibtoolize --copy --automake
|
||||
-else
|
||||
- libtoolize --copy --automake
|
||||
-fi
|
||||
-automake --copy --foreign --add-missing
|
||||
-autoconf
|
||||
+# KERNEL_NAME=`uname -s`
|
||||
+# if [ "$KERNEL_NAME" = "Darwin" ]; then
|
||||
+# glibtoolize --copy --automake
|
||||
+# else
|
||||
+# libtoolize --copy --automake
|
||||
+# fi
|
||||
+# automake --copy --foreign --add-missing
|
||||
+# autoconf
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="InstallShield CAB file extractor"
|
||||
HOMEPAGE="https://github.com/twogood/unshield https://sourceforge.net/projects/synce/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="libressl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-bootstrap.patch
|
||||
./bootstrap
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467548
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-ssl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="InstallShield CAB file extractor"
|
||||
HOMEPAGE="https://github.com/twogood/unshield https://sourceforge.net/projects/synce/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ~ppc x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/openssl:0
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-bootstrap.patch
|
||||
./bootstrap
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467548
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-ssl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST btrbk-0.23.3.tar.xz 69388 SHA256 779636116261e3e0fe64ec986e39be594c04454d87be8005115c8577f62b1725 SHA512 d9fc29b8e2a6e191be93c7845c7f1f99ab60fb4ec910d8b60947ef902b7fdaf789bc73a4884bdd6060f1b180cafaacd5fa8f93dc29624dfea8a2890618ce4012 WHIRLPOOL 4cc9aa102c46feccfb0b90e65d03dd53bed07d78e5a9ddd2afeccfe21fb29f9a2aeba8389771ee7c203598858fb94d59c0d19b73ce1fa29b3772e916bbf4f23b
|
||||
DIST btrbk-0.24.0.tar.xz 72308 SHA256 032671c2905005d91a87b85acf8daec05df09bfad9e191092610094fb9a65906 SHA512 fbe180743743ead1241968765b5ae6eff37b2925bee8379443568c126426f2098d280a3f62d13e5f5b63f967ac9889ad9331d73f354d0cd441c907ba92258267 WHIRLPOOL 19052093dcec40d4a8bd5593538f6ec44ea2bbaf6a846f966cebb1f1ff76b9c94700a0bad6f16f33258f92fa05180efc2ba770f02db5553e755beb21b6761ed9
|
||||
EBUILD btrbk-0.23.3.ebuild 738 SHA256 5b37c59f2d2978d7c1cee62e600dd206ea768bc92eee076fc043cb31c9a0053c SHA512 06413aae124fdf2018fd3474a7f42caa274dde5f7ffbe7394a5d4508c1c8502bb63a5ec6424ff9b64f0443f715efcfaccb72cfda718853666c38f2b9d886930b WHIRLPOOL 298b31324027c331f2cd01c1e83536568927f7e3252ef1706129c0a29df099cce4b1f512ce1797f90992ffe6ee87dfe10f234695fd034863d2741e343dddc1d9
|
||||
EBUILD btrbk-0.24.0.ebuild 739 SHA256 635a74f1b680c2a304ca0da9b7fae526f18c86fdd00c12b202338344ec72a083 SHA512 806cc53207e21b8bf0f81b7c79a3b6f578ed76135548a333e824fef739859151f40b7d8f98fad8c594f73e635a0536cfa19c8f4ccba168064950c182b1715b0a WHIRLPOOL 03e0eeae096e94051115dd22ac7f8e98cb01567f56c7181719625b71833005a1e1455e1c0334bb9a31d59621754fe1920b8d0e4a7d31b67b83aff68955ba8139
|
||||
EBUILD btrbk-0.24.0.ebuild 737 SHA256 fc9707039f8574b05ca947ee6a181c65dc39e11122e3bb836813d08885f2fbef SHA512 a0ae392dcf8eba47c7200f8a4d664ad57288e9bf0361b6f2d08e9cb2f184ddb8d651f2c1bc5293f505e53132603b4ad9226ef01e41f47de9964f82be9ff1e826 WHIRLPOOL a97fc4aac688588901abb264650f1038159910198e43461c9925ee728ea0379267b0610d3279c2d8ac48359718e43831508aa97277ad053b840fe17ece7047b2
|
||||
EBUILD btrbk-9999.ebuild 734 SHA256 b8ea69f8bcfcce54c85dce07d12288ecbba1dc04c8ddbeb4a8262c926deb29ef SHA512 251bdca12730064ed3d5c9f1fff95fb24413f3d4cb9f7dc0eb55bbdfb87bfbd316ada6d1207a1bd470d3677e75229baf6456363977b0dd618f02457978701454 WHIRLPOOL d59562d1242dcd2ba7f3dce124835198bb1e091ab76fd5c70690bb983e583904dea1ff66ab65bdb815bdec8a4575c754072a986c3ea8b142a55679f8d1653056
|
||||
MISC ChangeLog 1286 SHA256 5604921fc169564d3cf64b6019264bed359be6b8386e61848c71b046ea1a781b SHA512 1604ea86d959c589918165ca9dcb3dae1d02022136fa4104476019a001acf9d96c5378de99be37935c829abc6163c20f8728ec6e2b0e4e5cf06cb0ab89084e6a WHIRLPOOL 7fd405e092d1d1694569641b37cd50aef6c5ff54e8c9d42ff3cef339fd02251be4f090bcd0042bf44212886f7e046767812464fabad3f224991719b35aaea2a9
|
||||
MISC metadata.xml 1217 SHA256 c31206a142829afbbebbe1f909dba4b501dc16a22cff21a052a95786752efc79 SHA512 456f29255c4a04f4f3b3559f3ffd81822127ce64325a4851277f2ab9bd889fefcf628f41b911d09b420883e3ed0f157ef3687044701afaf667682acf6edc30ff WHIRLPOOL 59f2d994963000d9cc31ab491716149f2e2752f601315eb567cdb6ae828a1e5676f4f111981919ae7ba0728943c843e3c6e27cf8681c5e666df76cf6c53550b2
|
||||
|
@ -0,0 +1,29 @@
|
||||
From fc89ac11d25a5d052a63c01006c1fd767d9f5879 Mon Sep 17 00:00:00 2001
|
||||
From: Felix Janda <felix.janda@posteo.de>
|
||||
Date: Thu, 29 Dec 2016 13:43:06 -0500
|
||||
Subject: [PATCH] speller: fix build when tiny build is enabled
|
||||
|
||||
URL: https://bugs.gentoo.org/604000
|
||||
---
|
||||
src/text.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/text.c b/src/text.c
|
||||
index bd1737687e65..a8b34f2f6bba 100644
|
||||
--- a/src/text.c
|
||||
+++ b/src/text.c
|
||||
@@ -3079,9 +3079,11 @@ const char *do_alt_speller(char *tempfile_name)
|
||||
stat(tempfile_name, &spellfileinfo);
|
||||
if (spellfileinfo.st_mtime != timestamp) {
|
||||
set_modified();
|
||||
+#ifndef NANO_TINY
|
||||
/* Flush the undo stack, to avoid making a mess when the user
|
||||
* tries to undo things in spell-corrected lines. */
|
||||
discard_until(NULL, openfile);
|
||||
+#endif
|
||||
}
|
||||
#ifndef NANO_TINY
|
||||
/* Unblock SIGWINCHes again. */
|
||||
--
|
||||
2.11.0
|
||||
|
@ -0,0 +1,35 @@
|
||||
From a9fb73f6b0ba76370f60300edfaf03f50e8326e0 Mon Sep 17 00:00:00 2001
|
||||
From: Charlie Gonzalez <itcharlie@gmail.com>
|
||||
Date: Wed, 17 Feb 2016 00:36:08 -0500
|
||||
Subject: [PATCH] =?UTF-8?q?Applying=20Petr=20P=C3=ADsa=C5=99=20=20fix=20?=
|
||||
=?UTF-8?q?=20for=20DBD::SQLite=20error?=
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This fix corrects test failures for DBD::SQLite inside Padre.
|
||||
---
|
||||
lib/Padre/Locker.pm | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/Padre/Locker.pm b/lib/Padre/Locker.pm
|
||||
index 7eaf919..e0db4e8 100644
|
||||
--- a/lib/Padre/Locker.pm
|
||||
+++ b/lib/Padre/Locker.pm
|
||||
@@ -102,7 +102,7 @@ sub shutdown {
|
||||
sub db_increment {
|
||||
my $self = shift;
|
||||
unless ( $self->{db_depth}++ ) {
|
||||
- Padre::DB->begin;
|
||||
+
|
||||
|
||||
# Database operations we lock on are the most likely to
|
||||
# involve writes. So opportunistically prevent blocking
|
||||
@@ -111,6 +111,7 @@ sub db_increment {
|
||||
# corruption if (and only if) there is a power outage,
|
||||
# operating system crash, or catastrophic hardware failure.
|
||||
Padre::DB->pragma( synchronous => 0 );
|
||||
+ Padre::DB->begin;
|
||||
}
|
||||
return;
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
AUX 50howm-gentoo.el 73 SHA256 57dd76427874d721e25b7107f09e3bb3982ca31a1103665777fc81ee5aa8de75 SHA512 575a4638fa232ced8b377e30bd405dd78a8d10194cb38f40041ff30187482cec2cecf94c8f9da95031848e6c0379a2d845ed7b9eb159b63ed0a0737afa627a82 WHIRLPOOL 94b71161c59574f6643c1cc0f3b38a7492537e3d0093ed6dfa957fe1c36236ba50884be1aa555cc134c37b3b8e93989f1e7c08d4273bf81ec4708d2112a3f919
|
||||
DIST howm-1.3.9.2.tar.gz 462278 SHA256 baff5ce28580502a876600350b7eac5d5bf1cd32ba60c115cbb9edc2ac63d578 SHA512 34e867d35ac8a2092b29d24ec1673255fcce54369d3aa2e6497ea4c891d4ea7f038e80f6103ad1f6359d8390a5d9a57901019cd3d76cc24e439b44dba5cc27bf WHIRLPOOL eafd272caec4437f94b5594c9375f7d999db65b0f15535d291ce02ae1ce090ecbed09acef0de07b558e703b09791d8fb66dab79b73738b0bf56ee3b36979c050
|
||||
DIST howm-1.4.3.tar.gz 552747 SHA256 fb7336e0a52df3d5fe72e1bbf4ffb57f1139757f6af2964ee62cc94b4729dcab SHA512 da6eec498545dced3bad3c6968bb31a24b01b85220dd80c6e1ee312a0cf1a0b883dc77744f5052261e4bf0d536da057fbe05040fbb429b61a8580330750ce189 WHIRLPOOL e7ea2edd39a008b65e493de5728fd07ffd14b04e6b2e38eae6a68b6bdc670a11ac50fbe952890ef8563283de674230e3813125eb8e62d2afc0fd7bdfd72c8f3b
|
||||
EBUILD howm-1.3.9.2.ebuild 934 SHA256 4f4948990a4a2ea45cc800d711b65b51a8b8f6a85fa8b2222c2767ff0002fd03 SHA512 76c55d5e8df0a6a9767725c7e57c0d1377be7e958af58d39a9ff729d452f2535065509b44222594947ae87de21a9f3ee5af9422ac9d1ccb427fe3959335f19ba WHIRLPOOL 86b58c8acc629ab766fce2906036bcf9b3b767e4e61cc68666aa745480281784302fd677af1c373555c2dc3451d7ebb66a77b84ecf3ec73a963b21eb67823243
|
||||
EBUILD howm-1.4.3.ebuild 597 SHA256 4864d1ab11e08025176b37ecf8958f5008416cdca921694d913d6c609561cc05 SHA512 f16eeccfc586255bff2ce57656afb7798e3148e095177f43502715931a440a5d5f488fe2c1540641db352997c03135cbe1213c04c43c9ec65cf6e0012942a8ea WHIRLPOOL c6db4063e2190db9372a6a01ca51e492ae10de5aae6bde1fa6d2dabae3707658ca80d14152d1c5e03a1a2de15b16c653c7d4abc0458ef08b6e743eaf5909e009
|
||||
EBUILD howm-1.4.3.ebuild 595 SHA256 525de06b095e2e8fe4e7e12f498df198e29f2d16819bed8ac2d63e2a0fe4a671 SHA512 60c89672c9f4567dfab8d65dfb85826859e3690c6cf0e1b5710fe640d2a06ca6942526a98cf1afd6e9c99e742e734e80e08f6301f4b1be3b22405fd4f6acd842 WHIRLPOOL 34cd7e1c810db6a4a8dcfe22ca9bccd1c85785509fa72b802109a1447babc87531f1a93f75de340ca0025815374388e69a785735bb32b73813cf456acf2ff3c3
|
||||
MISC ChangeLog 3211 SHA256 60b768cf382d823642aef81773a8634faadfd278af4e9cdc7558af88cb660ea0 SHA512 79b1f5091222311f35104a5837e8f0b3bf0e57a2d6977db8fa7ef7cfb03027265f0c8b5e2234890c3ada7e4a9332168223a115671de92fdcd96de9d3f9683c46 WHIRLPOOL 6e127b7955d43776870ab6cef56140995a308dc0d83ada66e9d8fa9a00a2d3fb4e0c95cfc0d2b074b30146d6808cbd739b22ab47a00674bc01d99ec0a3018e63
|
||||
MISC ChangeLog-2015 5063 SHA256 b261e2ccba97f800e53d45a2753c585d43d693368fa9982789df320a2b7f1c3d SHA512 607295e7fad2752a026c74e7fc1b9a8914b411e0914b43dc5f52fc471233ee763ce933f3f03915e270c4e411300a7e325767664da7335dfbf0346d1462492c5a WHIRLPOOL ef70e47129da2f0b033f4e31d1014107d86bd555c746d53858345ce0a2b2784f11f8f26fd9e0494f27552d253d4444431e1be05fc55530a23721e3ff07ca05b2
|
||||
MISC metadata.xml 334 SHA256 ccfd6d8692933afd21782eb4606514922e734832106fdff71eb24ea69518d3b8 SHA512 13884dcbb36abe435d140a9479e9e7e926f7355330710d19b16c8edc453575ab0f99385b475678828eb9e9c69d8b2d23620aa2c6ee31afe814963f82b7b68cf4 WHIRLPOOL 6b70793f4b9d50d0a3ad907daa06c1e169006102eb53b746b0a536d8e724631e8fa87bce486a09ec36afa14e9e2573ad0db79e00fbe00b8bfdd182f306d5f51b
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Note-taking tool on Emacs"
|
||||
HOMEPAGE="http://howm.sourceforge.jp/"
|
||||
SRC_URI="http://howm.sourceforge.jp/a/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-1+ GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_configure() {
|
||||
econf --with-docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 </dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LISPDIR="${EPREFIX}${SITELISP}/${PN}" \
|
||||
install </dev/null
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
dodoc ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "site-gentoo.el does no longer define global keybindings for howm."
|
||||
elog "Add the following line to ~/.emacs for the previous behaviour:"
|
||||
elog " (require 'howm)"
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Objective Caml/Camllight mode for Emacs"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/tuareg/"
|
||||
SRC_URI="https://github.com/ocaml/tuareg/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
S="${WORKDIR}/tuareg-${PV}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README.md"
|
@ -1,38 +1,37 @@
|
||||
From: Prasad J Pandit <address@hidden>
|
||||
From 973e7170dddefb491a48df5cba33b2ae151013a0 Mon Sep 17 00:00:00 2001
|
||||
From: Prasad J Pandit <pjp@fedoraproject.org>
|
||||
Date: Mon, 19 Sep 2016 23:55:45 +0530
|
||||
Subject: [PATCH] virtio: add check for descriptor's mapped address
|
||||
|
||||
virtio back end uses set of buffers to facilitate I/O operations.
|
||||
If its size is too large, 'cpu_physical_memory_map' could return
|
||||
a null address. This would result in a null dereference
|
||||
while un-mapping descriptors. Add check to avoid it.
|
||||
a null address. This would result in a null dereference while
|
||||
un-mapping descriptors. Add check to avoid it.
|
||||
|
||||
Reported-by: Qinghao Tang <address@hidden>
|
||||
Signed-off-by: Prasad J Pandit <address@hidden>
|
||||
Reported-by: Qinghao Tang <luodalongde@gmail.com>
|
||||
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
|
||||
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
||||
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||||
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
|
||||
---
|
||||
hw/virtio/virtio.c | 10 ++++++----
|
||||
1 file changed, 6 insertions(+), 4 deletions(-)
|
||||
hw/virtio/virtio.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
|
||||
index 15ee3a7..0a4c5b6 100644
|
||||
index fcf3358d6c0d..bb656b1ccff0 100644
|
||||
--- a/hw/virtio/virtio.c
|
||||
+++ b/hw/virtio/virtio.c
|
||||
@@ -472,12 +472,14 @@ static void virtqueue_map_desc(unsigned int *p_num_sg, hwaddr *addr, struct iove
|
||||
@@ -495,6 +495,11 @@ static void virtqueue_map_desc(unsigned int *p_num_sg, hwaddr *addr, struct iove
|
||||
}
|
||||
|
||||
iov[num_sg].iov_base = cpu_physical_memory_map(pa, &len, is_write);
|
||||
- iov[num_sg].iov_len = len;
|
||||
- addr[num_sg] = pa;
|
||||
+ if (iov[num_sg].iov_base) {
|
||||
+ iov[num_sg].iov_len = len;
|
||||
+ addr[num_sg] = pa;
|
||||
|
||||
+ pa += len;
|
||||
+ num_sg++;
|
||||
+ if (!iov[num_sg].iov_base) {
|
||||
+ error_report("virtio: bogus descriptor or out of resources");
|
||||
+ exit(1);
|
||||
+ }
|
||||
sz -= len;
|
||||
- pa += len;
|
||||
- num_sg++;
|
||||
}
|
||||
*p_num_sg = num_sg;
|
||||
}
|
||||
+
|
||||
iov[num_sg].iov_len = len;
|
||||
addr[num_sg] = pa;
|
||||
|
||||
--
|
||||
2.5.5
|
||||
2.11.0
|
||||
|
@ -0,0 +1,699 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo-r1 pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt glusterfs \
|
||||
gnutls gtk gtk2 infiniband iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
|
||||
+png pulseaudio python \
|
||||
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
|
||||
static-user systemtap tci test +threads usb usbredir +uuid vde +vhost-net \
|
||||
virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
|
||||
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
|
||||
x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
#
|
||||
# Older versions of gnutls are supported, but it's simpler to just require
|
||||
# the latest versions. This is also why we require nettle.
|
||||
#
|
||||
# TODO: Split out tools deps into another var. e.g. bzip2 is only used by
|
||||
# system binaries and tools, not user binaries.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? ( app-accessibility/brltty[static-libs(+)] )
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gles2,gbm]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
|
||||
X86_FIRMWARE_DEPEND="
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-1.8.2
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/seabios
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
)"
|
||||
CDEPEND="
|
||||
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
|
||||
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xen? ( app-emulation/xen-tools:= )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
|
||||
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'.\n
|
||||
For Intel CPUs the module is called 'kvm-intel'.\n
|
||||
Please review /etc/conf.d/modules for how to load these.\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.\n\n
|
||||
For brand new installs, the default permissions on /dev/kvm might not let you
|
||||
access it. You can tell udev to reset ownership/perms:\n
|
||||
udevadm trigger -c add /dev/kvm"
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-6836.patch #591242
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7156.patch #593036
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7170.patch #593284
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7422.patch #593956
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7466.patch #594520
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7907.patch #596048
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7908.patch #596049
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7909.patch #596048
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7994-1.patch #596738
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-7994-2.patch #596738
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8576.patch #596752
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8577.patch #596776
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8578.patch #596774
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8668.patch #597110
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8669-1.patch #597108
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8669-2.patch #597108
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8909.patch #598044
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-9102.patch #598328
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-9103.patch #598328
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-9104.patch #598328
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-9105.patch #598328
|
||||
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-9106.patch #598772
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets as the default configure
|
||||
# options will autoprobe and try to link in a bunch of unused junk.
|
||||
conf_softmmu() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_softmmu accessibility brlapi)
|
||||
$(conf_softmmu aio linux-aio)
|
||||
$(conf_softmmu bzip2)
|
||||
$(conf_softmmu bluetooth bluez)
|
||||
$(conf_softmmu caps cap-ng)
|
||||
$(conf_softmmu curl)
|
||||
$(conf_softmmu fdt)
|
||||
$(conf_softmmu glusterfs)
|
||||
$(conf_softmmu gnutls)
|
||||
$(conf_softmmu gnutls nettle)
|
||||
$(conf_softmmu gtk)
|
||||
$(conf_softmmu infiniband rdma)
|
||||
$(conf_softmmu iscsi libiscsi)
|
||||
$(conf_softmmu jpeg vnc-jpeg)
|
||||
$(conf_softmmu kernel_linux kvm)
|
||||
$(conf_softmmu lzo)
|
||||
$(conf_softmmu ncurses curses)
|
||||
$(conf_softmmu nfs libnfs)
|
||||
$(conf_softmmu numa)
|
||||
$(conf_softmmu opengl)
|
||||
$(conf_softmmu png vnc-png)
|
||||
$(conf_softmmu rbd)
|
||||
$(conf_softmmu sasl vnc-sasl)
|
||||
$(conf_softmmu sdl)
|
||||
$(conf_softmmu seccomp)
|
||||
$(conf_softmmu smartcard)
|
||||
$(conf_softmmu snappy)
|
||||
$(conf_softmmu spice)
|
||||
$(conf_softmmu ssh libssh2)
|
||||
$(conf_softmmu usb libusb)
|
||||
$(conf_softmmu usbredir usb-redir)
|
||||
$(conf_softmmu uuid)
|
||||
$(conf_softmmu vde)
|
||||
$(conf_softmmu vhost-net)
|
||||
$(conf_softmmu virgl virglrenderer)
|
||||
$(conf_softmmu virtfs)
|
||||
$(conf_softmmu vnc)
|
||||
$(conf_softmmu vte)
|
||||
$(conf_softmmu xen)
|
||||
$(conf_softmmu xen xen-pci-passthrough)
|
||||
$(conf_softmmu xfs xfsctl)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--with-system-pixman
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
$(use_enable bzip2)
|
||||
)
|
||||
static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -z ${softmmu_targets}${user_targets} ]]; then
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z ${softmmu_targets}${user_targets} ]]; then
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
fi
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/" || die
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST man-pages-ru_3.71-2209-1992-20140911.tar.bz2 1009646 SHA256 b6f599776a175c7fff8b8b37be8be0ab8ecd5df55c382b7a687dcf6bca8d478f SHA512 c6585323ef9cece674fe4144ff1e73e2d4d831e3f8766b5091f57b7e7c13d9c68c446323515f85f4c7fd956987e40d1d22a81c0cba21593133030e1f968fde12 WHIRLPOOL a41d141be4d6d9663829ccbced477bec11adad718cd95098c74e37e82b2317c38251dc399b7531454e48ce9d56604870c0a372f24eb8e6ab2b36a56dbf8b910f
|
||||
DIST man-pages-ru_3.81-2230-2080-20160117.tar.bz2 1119715 SHA256 225c2e4eeb1a9071ab995b446cecfec51b24b2034191133c2035ad8c540a921b SHA512 2d38d4aca0d247f6f23556e58f5538510e58596146d481e72b6d70c9282b8ec24f79da1c7525612f8b4e968cd7049f2ba51eb40804804ba6d9aeb39f4b4d12dc WHIRLPOOL 9fdef40b11119fff41dbe099c321fc7358d9df391e5a55a5d0ea1a8b2691fd5666755ed70e497501ef182ffa4b5e5c738386377f7feb29cc6f09001101ee88ed
|
||||
EBUILD man-pages-ru-3.71.2209.1992.20140911.ebuild 678 SHA256 779db3a4665aadea99334f91b87ce3f3852575daa3f7c8721239cffe04a6f657 SHA512 a8a5b87183747c85817c52a93d4852af27d34251d930b70e0bcd32e062d71a57d96d89ba74651e0cb97b2ef1d925e866af868b979ff5ad20f01508144496963f WHIRLPOOL 3e812bb74f8ba15605ada6326880c805cd08e6b878ed2c2409dc842f04ee35e2fa9faf91d200f398110770e512e846f466541efca193b730e19e50635b6b6a01
|
||||
DIST man-pages-ru_4.05-2306-2240-20161008.tar.bz2 1371026 SHA256 160637a9ab0dc0ad154a88574f97d39ec653e83c45627e9d55e7b4c90f850a21 SHA512 724c4a076ecbfc7dd8c1d14e5db326866bef0d1f61da529225ee981d855bbdf276097bc077e5b78ab6dcac14a54bcadcc37a408091a48d48a9471bb2d9c51b9b WHIRLPOOL 063a4959bf6e57e12b4b1b65053d01777af767d76563163f0dd9afeccb248a2895679467a07219d6a0f355c79635bc3f0bc4473803783766e63c854cc656c063
|
||||
EBUILD man-pages-ru-3.81.2230.2080.20160117.ebuild 678 SHA256 779db3a4665aadea99334f91b87ce3f3852575daa3f7c8721239cffe04a6f657 SHA512 a8a5b87183747c85817c52a93d4852af27d34251d930b70e0bcd32e062d71a57d96d89ba74651e0cb97b2ef1d925e866af868b979ff5ad20f01508144496963f WHIRLPOOL 3e812bb74f8ba15605ada6326880c805cd08e6b878ed2c2409dc842f04ee35e2fa9faf91d200f398110770e512e846f466541efca193b730e19e50635b6b6a01
|
||||
EBUILD man-pages-ru-4.05.2306.2240.20161008.ebuild 689 SHA256 746a8e488954badd78d87e73823f7002ed2dcd6ad36055f492c97e9a8d887440 SHA512 a004dfea10906e0413c06b13a3b5490724f9d25ce107a695b32752723c7b841165a817b3316de4692e51768aa7b3db798911cb31d85aa412aa15d331da214c3d WHIRLPOOL f18b59e0081d0cf81ed2f4f171c9126fcf1895f51f34d94a14b28641040e67339aca78dd594ab4141db56d57c80583d4925037ab7ef7cffb1d1284f642f0c918
|
||||
MISC ChangeLog 3314 SHA256 5afa4742cbc3b2e5f3a0c274fe62d3f30034f4713b3490fd498d215881953f6a SHA512 676f209db63869cf03264fe5a3299aeb6c8675f9ac775d0438fb56471efeeed83ce99521b6b3b720b74109b9e21531dcfca33dfecc52a42f0c6529f55355b5d8 WHIRLPOOL 5ddbff33c76f2769e10fa5469076f8fc97eda0b8ad6362127c6753d086c9bedf6a4e53a55ecb3ab16dcbd9e265e488d5d27d779d26cef1ab38bf65bd85466f6e
|
||||
MISC ChangeLog-2015 9483 SHA256 dc9570bce3c909acc5c8eeda7b7c5c12b9162dc7b6a758acad546b40a6b9b474 SHA512 1a90003bad33952756bc2a2ed7431b9a825d86c41f788b9c59c0828006bb2bca28cb53c18fb929cfe96ae514be00808153a9e3c1e7547dfc0d027ba3289de870 WHIRLPOOL c0982649fe5f8cf1481963a44b28140a113cef86157132d41bb0827b6e99faf53f303353650ca1360faf578fe525595dc051d66f17efa2d2fe5aa7d22f252126
|
||||
MISC metadata.xml 436 SHA256 2447ad7198fed13a143464a43513616b699eaec1ed257442492a18aa1203cb2d SHA512 1f7c55f697fe501f62c9cde15f0f82cedf7cf62251efba961c4e236ec99974fe7345fd77a48d92eee9472fe519e7c4ea040fda5df31d743f2eddf09644ae81a5 WHIRLPOOL cbc262c6b5477abed5988641a293114a5a91a35a3a0a01613ba5072efe791380163c4abe048ed4e4c54750a99a90ac900f731d02e06f29dfc6310df0e20c8e2f
|
||||
|
@ -1,16 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andreis.vinogradovs@gmail.com</email>
|
||||
<name>Andreis Vinogradovs</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>maksbotan@gentoo.org</email>
|
||||
<name>Maxim Koltsov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST 2.5.2.tar.gz 192060 SHA256 92d688f994fb5b8d377bb41d46f077ebf5c41327d1b6af2824eb4d2bb2c7815e SHA512 1ae96c6f59d9039720642acc320a7e4498116594a3058ace86ea6346c58131283063c4337a8d6960a0fab5d4d592e471cb0652d7886def850d97a71e8dbce201 WHIRLPOOL dd5fb30d7df86f430a107aa25197cd3d5b1649635fd2e5f85c3495d8161fb96995086114e5d20ab85dfa26763ca319758463cf6251e3ff9c4c6c91f895baee8a
|
||||
DIST scrub-2.6.1.tar.gz 362536 SHA256 43d98d3795bc2de7920efe81ef2c5de4e9ed1f903c35c939a7d65adc416d6cb8 SHA512 6e434b9d81c5ac473188c37af790c808771204203b3f04a5ca316c6a890f872d1beb73ce4713546e14ae91287d7adaf2fbfa44a30af634c2b3af890e2a0e8640 WHIRLPOOL 443a790da1e2507984e8b5f55f566fcf8f850b7b81b4e01c4df5fa8d6b9045494af1defd4b36baaa44a91ae99fea18a9de2be41b8af52cea5f8fa103c92f4e21
|
||||
EBUILD scrub-2.5.2.ebuild 355 SHA256 ec9668e6df6e3aae125d7dc4aa8fb69b15e90e7246f3b03b96c57c768a621e75 SHA512 040d0d308f491effafbfe9228e68d93c5ec7256d0297f29fba5c27c0b1f0590438b3c6f97bc754857385bbbfd3e2e6fc045158169b6f789c633170decafdbcc1 WHIRLPOOL 72810fd39d69c61a93c4aedd5a0adbd2591d65036f645567e691a9e17797b1c603bd398e539a27eec4b5a4ef4f4016e039b817cf64e0039b1e2fb39f55a07b9c
|
||||
EBUILD scrub-2.6.1.ebuild 379 SHA256 fffdef3b62f044e157f61278fa3c264901a2b7ca88a0a5f5bb97b4b3ea334ff6 SHA512 99f5fbc5ac56597882b2bb96181ee382ec936012f7f3938e051210dc9493bb18122819fedbff4c7f0ad42b96144f02a0c03e7ae1997b250caf7a3a4e646cf181 WHIRLPOOL ed0ba23f6dffeaf4d03f22ee17d98c5c56f9ea941f16045bb8491f508fe5da2479df51938e3e90d24c27b4a82b20ab683503f23ec4328135d2bc1d43aaa4a6b6
|
||||
EBUILD scrub-2.6.1.ebuild 392 SHA256 ade659a00905122bc945f52f4e409fe835c486d4c2d99af864d2ae2129ca8902 SHA512 22c41bb3cbb82e697983691bbd1616b3d1e97fac36e22beb04cb14fcbd6695886b0463a948f291334a33d5b6a0a70450146ad10332c1bdd74e68d1113f9acd40 WHIRLPOOL 836bd6469cca0a0b8e875852f3a138ad26c05400bbea61631362b25d60d693d16532d9bae6e050ccbb443d28ac467f1f3eadd40cb9d211412c9e72cb265e92fb
|
||||
MISC ChangeLog 2704 SHA256 92f60fcee3d797435ca4e1ccbcb928b54414fde93f347bb7204695de53e48afd SHA512 675a7bbf8c552b7eb82d9fee4a333926e1352e1233a8351f3d8f1cab386f05170739e09d7d0bec4c5ae23bebe04fb4a5f9ffd1cf1ff92154fec148dae1f37e9f WHIRLPOOL 92843b8680a36f763fdaecf6d3ba26b61290bcdb68ddd2fbdea3e01aa102231e017552e3d6f8599b3f6e934567e2fdcd5bffbdd1059871c0338ba8839e643cf5
|
||||
MISC ChangeLog-2015 2140 SHA256 47418dd553f4d28a835010ca248bce246778aae1fefd72b938b986d2aebfbb90 SHA512 c5ddffa17aa1461fe6d16f658ede00d7ead4d2ce40d563577f51ba7cd9d220b12c19b5242a55163a056a126473c19cf108bf039dd0f7ee8eac6a918e92666428 WHIRLPOOL 7c2d5405df2882c41b28f38583e47f62163d6554340f3f784db0f0180a84ec9e31ab56777eb4e56ae6426d5fc225817d50f35eb948a985baa277f19f10257601
|
||||
MISC metadata.xml 336 SHA256 884c5c6b25978da9cd890479a37294798caadc39b4f61810ba27e9bf017beb76 SHA512 f154443fb7ef3b70f6cd0b3c338146e60fda1ce4ca25696ce07819cf257b0f5b6d9a1cf5dd7d287082500443cd0d741073f1f101835a1dc14655b6c0447616d8 WHIRLPOOL 0be95ca3b3da173c0c6071d1e83f9430f85960477ca0e2bbf48067637c4e37739e2052b91bd9a00c1a929f9c06bb5efca05cb0732898c5e5b2eb227744ec0f73
|
||||
MISC metadata.xml 510 SHA256 be83a45a4856529c3e04933da21855102c406c3fe5a3e8f433f50dc9a6a4f706 SHA512 765ffd0e734190ea3df782ae4842ed23a78857747b459865e41f017f995e7f364d2d04fab119d1d1f24d6a4fb7688a07e65e1c324189fef968f83a38ef2156ce WHIRLPOOL 74c1b360301e5450613a875dd120c03c1f5b9231ce0b26e185f4a6f5b628b65e5417c551ebba274d13198c55ac15a1f08f4ac0b9eac5e63a88fec634adc5ef64
|
||||
|
@ -1,11 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dev-zero@gentoo.org</email>
|
||||
<name>Tiziano Müller</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">chaos/scrub</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>dev-zero@gentoo.org</email>
|
||||
<name>Tiziano Müller</name>
|
||||
</maintainer>
|
||||
<longdescription>Scrub overwrites hard disks, files, and other devices with repeating patterns intended to make recovering data from these devices more difficult.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">chaos/scrub</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,6 @@
|
||||
AUX ytree-1.94-bindir.patch 433 SHA256 00aecc45bc46950448fecdab16348960a06633a94c9d1ad50957787aa4c294f7 SHA512 b10a4a6c0bc8b06817a859498dad4ba789393d41f3f87ef457ce58bb4a209623c299ab81de229a1c03866632a749fff56c2933e35859ca22c6c7becaaa67110a WHIRLPOOL 90c233fd64cd775f70d8f2261692e6b969ea31bbd3990e382d1f7d31f84776eafbe24a8c86f35ff47e9d6e6ccea795372cd0b8605b37b9a570c59aa4ffa528a0
|
||||
DIST ytree-1.98.tar.gz 122610 SHA256 e7264e1c112bf62aba1f6ed0078308930cd8f01317a157ed1718b8dac09195c5 SHA512 b75f3b04af72270e2b4db6dc7448435fdf2d197d98bd2f4fdf6d3131091c8c3a697f8b0cabc1625502c616cee4e27ae6aa6fa2bfc082beeae1b6ecad9921dbef WHIRLPOOL 292da20c8c918eb468ccab6d0a5e09ecef8c44dad990326e2366eac81f11c039d1461308b053b54d751a7fb883dac9dda28d6abe6d12f2682c4b58dc58390665
|
||||
DIST ytree-1.99pl1.tar.gz 122996 SHA256 763e8c2af528174cd738ed8f2eca62579e3edef57ccbd242be7cf181ae15d251 SHA512 3d2ffae5cccf973bb06ec64917dc8f5b69e0ab95910144c5058b166479334fc563807a813ef608678463a032a8d2234f1006b820baa04aa95e77b06888af81fc WHIRLPOOL a1541789d9ec4230db6ffc8d60d32849ade4e4af36e9be7124b05d3575fd59306e5ebfe8778245a32d5f036076a8c0a2d8114de773fd198d4bb23d47ad173c27
|
||||
EBUILD ytree-1.98-r1.ebuild 614 SHA256 cf30a42d2cf3862c854802fdac8b6f63ca69f8d7c00dc53862d058ebde051302 SHA512 79092576248bc55886b8116f054f554b5622006e7dc733b5296b692a82b98beeeeb1b6310ee47681476a411c4e18de5c65757d016be1f8e3d976b472cfa42641 WHIRLPOOL e4572d0c1c321f28a125d7b24ba8d645de802dc1e2af00ff925aa5d833dac41fc0136a0e5eb1ef09a327340ad88b653bf1c953d5521d3669e7fcfa8854241e43
|
||||
EBUILD ytree-1.99_p1.ebuild 656 SHA256 e82df0638b50f8ceb07677916941dcdcebddd918f24750f4b28238525b384ddb SHA512 f947cad0e200d8577d366b312f001f12124b2cecbab286f4a1177cf2414b7524c5a3d3d940e96ce86eb11df16ad599dbd6117f2389600e42167aa7ee4f05035d WHIRLPOOL c8695782fd0b2e1097e5d7eebbf8dc748022dd03ebd05832f09e620a687e0ef859c67631c38937a79b37200b6a9bd05c131bf63600c2955bcad41195fac581df
|
||||
EBUILD ytree-1.99_p1.ebuild 654 SHA256 383f373d37738bcc43b8c6051e8dd620d58366978116f1d23efbde2619294864 SHA512 a9c8ec100890c43925d3b1afd0ceb6e2177f44af5b9cdffd545734073b37079cddd60887e996eefd4946668385d0bec60b381d177f3544abb55b67f03e2b1dae WHIRLPOOL dc1081b47e8db033ec8d84c438ff536d727ef9c76da74a579289731e9c7b11372071a2b7b4e279ecb054ea95587b9a480a9b637a4e112944b6c7883f87768247
|
||||
MISC ChangeLog 3191 SHA256 53a7d123e4753fec58c5a6775303f6296aeb69f35161384b488a4444e5c81e2f SHA512 5e253ee2ea6e95f5023a48df6f53b3a92c5670485ff37eab0197ae58c5240e79a910c075b85449878046c4ed251e66ded1554f29db903aa52296364e8fd3e375 WHIRLPOOL 2d15bae3e6e5b8339b82f76564d96d17a20eedd6d67184db50eb5db7a8b85aa900f51750266d0588ec7d4373c471d5a273e36e07fdbee2dc7253b7989f2bab7a
|
||||
MISC ChangeLog-2015 2704 SHA256 7d1e43dd28900440cafb5af941ccf597cfa1dd84167bf39fd1d721c085c75aac SHA512 b31f1e7116c7a6e52c54a39f738fd83043dcac5ab609b2a61c49af0bb29f0bf351d89b87945880775a87b15959dea33cf8f1b7f0a91134f50bdc45d19129440c WHIRLPOOL ca8b6af6b6ae5018acbe42d3c65759f92acd3126fb17767ac6eb4035f151df4d520df039b32b9f738a642a417cd37efd11df4abd16baa2cb4cfeaf75277181d0
|
||||
MISC metadata.xml 221 SHA256 c73636a70f6ee6e176f71ac32048a002355627ef4f1181fb245c6c0eb39be8b8 SHA512 e50d6cad26239ebf4260f0cf4bdf4e29ef2038e999039adf94f49b184b5993f02bb0d4cdb3de6c7b5cda99890db42dcd2b65c5342256be50dc19e6aab2406353 WHIRLPOOL 8e35f4dca402d63d64baae4aba21722f8daccb3a61861a0b453cb355305fb29dc8e9d1e1760eb2f13d264502aaaafc37d15258338e97dbb4aea15239944f25d6
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A curses-based file manager"
|
||||
HOMEPAGE="http://www.han.de/~werner/ytree.html"
|
||||
SRC_URI="http://www.han.de/~werner/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.94-bindir.patch )
|
||||
|
||||
DOCS=( CHANGES README THANKS ytree.conf )
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}usr" install
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5} pypy)
|
||||
PYTHON_REQ_USE="xml(+),threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
SRC_URI="http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-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"
|
||||
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
sys-apps/gawk
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Create cache directory for revdep-rebuild
|
||||
mkdir -p -m 0755 "${EROOT%/}"/var/cache
|
||||
mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild
|
||||
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue