parent
85a0d76752
commit
d6ccc9495c
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/accerciser-3.8.2.ebuild,v 1.1 2013/05/15 06:53:16 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python3_2 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit gnome2 python-r1
|
||||
|
||||
DESCRIPTION="Interactive Python accessibility explorer"
|
||||
HOMEPAGE="http://live.gnome.org/Accerciser"
|
||||
|
||||
LICENSE="BSD CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.5.2:2
|
||||
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
|
||||
>=x11-libs/gtk+-3.1.13:3[introspection]
|
||||
|
||||
dev-libs/atk[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Leave shebang alone
|
||||
sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
gnome2_src_install
|
||||
python_doscript src/accerciser
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
}
|
@ -1,18 +1,28 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST emacs-updater-1.12.tar.xz 6892 SHA256 f2407629a1e34fce3abd3478488b3866221530d34a2a451a9999ca681a071dbd SHA512 aa5b62b233aa95286063e9efc1df8a113b8a7a7650e4a979b01dd8b7937caf4e52a16a398f16472f9915fb01aa17408f2c069337ab2005f7070ad1048f65cb3e WHIRLPOOL 59aa61f44089d7bce0aeea361bf377e5ecbf9a2caec4f758ee1183c40a674b0f8111b386cbb6988f3651c8bf5dc1b730995e4b160c3f34b45c48bbdcaed0552a
|
||||
DIST emacs-updater-1.13.tar.xz 6976 SHA256 da2aba0a1b264fc8065294614870756015bb2d5ddab920ec675c04b452b61af5 SHA512 78b0ce6aec3969f83bc5ce37d1411deccb1dbfa175718b6223233a74af816c6bf481ac15e81f1adc31ea594ffd187c3c38c08b709275f3c878021a03ee9c3403 WHIRLPOOL aa42bd8eb7ec864d576e1be310285402971550ee56680dd66dd680e97d799ece60f962f895189aeaf1b92c16dbaba9fde082cc4331848859becda505025d865b
|
||||
DIST emacs-updater-1.9.tar.bz2 6445 SHA256 3d1957b42adbdbd9d2736942b7c8a7f281868cd4d413406761c62f2093e970c0 SHA512 aac069a9e06d10bf44d6e62a63094207488c1ab44dbe9234d2c9b315dcee9a1b4eab80058594fd8a191ae20a379d8a8cf4609c5971525f695508a80fe20618e7 WHIRLPOOL 8ae3046709141f9b9172998f1ccee8db2afa4c4217d4fddba0252eba88fe911f905470e40ecd63c248cebb7c53095d69a549b52158bf313a7fcd1910b0178171
|
||||
EBUILD emacs-updater-1.12.ebuild 898 SHA256 7737d1a07d0678c6d614090cdfd56dcfa7d58c68f4cd5cce3ca78852d542a9be SHA512 c2a4befb59754aba8e447d68698e60a7c78207510a187944a2ad38d62ceb52b7dbce9e7f448b553f3f88bb49bf9f0de3a01ba26b96d31e6acd76fda23b131ee8 WHIRLPOOL 587edbe2c3c9bdae5ba39526fdf9a1f15eb016c3bb4524d2d5b3114f9fb09d186cc3152cf42ee6de4d4411e2a61e36568fee20a7b3bc70b162d947005e996c12
|
||||
EBUILD emacs-updater-1.13.ebuild 913 SHA256 648eb00b77e9085edf5da8e2a7b88312f0353a22e594ad5cd3d32dc883ae035a SHA512 a6ce8163a6e700a61347a4e7bb355eacd2e695b8c1ca06626b236e6bfc1092fe13aa71e9d8d3a3697092b9cc5d43acc3f22fb3443b5589218fe3208d7e0f3de2 WHIRLPOOL 57081080783fa83cd3af9bb2bae31537bc00b92ad4c0ad6fd88f3b82f4a7e00e5608a17d75634e3a12c997a861d56ca9289892ae6ffa0471b7f20f6d3b4bea79
|
||||
EBUILD emacs-updater-1.13.ebuild 903 SHA256 127260438df4b639134a29d1b2109154bb6cd143ee7d48437fd99352b8da5f6e SHA512 dfdd3c94a17c0d029de5547c2e8339680c9b009950a1b703764344fd1646bc79737212f5658caeaad4a2c3245ae1bcbe70174f8be028ba9bf23cf804b28baa2a WHIRLPOOL 57587a661b77720b52575859bafed813e1834dc387f72a5106c8b085d7ea43609cad7fcc6bf016491827a946a9f8e159c7b9023e0e769f2ba4361ff54ee6463d
|
||||
EBUILD emacs-updater-1.9.ebuild 896 SHA256 e03a3f69e4a4ea0cca7f82dbc096614068f7322b3ad4f8d42a5e07f1b155775d SHA512 79cb0328cbe222dfe2637c46a53423190818fbb85cc1554bbebb3713bd6b4a3a05ab7a042ac1a145ce1fbf05a3af46b54b23346d9301f859442480ad92925825 WHIRLPOOL 929af0e91256084a03663510a77547e420242e125fcc9a95f72817b959a0e79ec382c08fc4f0fbeff9852542efd9ae22780bcfbd54c059e71f4b355d8246eb71
|
||||
MISC ChangeLog 8281 SHA256 8715b1096ba47ca2369fa213e7104b37244bdec29af3321a6f0b6e8a9f346819 SHA512 d2f1af2fd44edb78103861cf17ea8f7a81187415a8781a57c6313815eaf3678b0af8b0d39c39e090d6d949febe76091b96e435bf610d2b4612c21d08df0f023f WHIRLPOOL 4142240b05e0b14becf8c5bb1268c22be32714888861082f9d07ccb05577c6ec41fb32d5e2998467ffd7431d115a199437a6fb77eeea68b889afb3c068a071af
|
||||
MISC ChangeLog 8944 SHA256 6bb1cb8734e01cf589af388a7dd39b0ee05a62a396da5be96a248aea4e263ef2 SHA512 33b4c797106513ee6613b537ca9543be102a4ad96f927757912beb4e347531c2df35e9055424ac66e9dc4e2e934efff17bfe3c59b1ad2eaffed9932dd1dd2b96 WHIRLPOOL 7845900b7f9438233eaa2dd05f891a63355ce97494f7f8d7a6969be717129b68532510db07fe414e6d68e57742fb943d11d623ad979eafc816c1d011dfabc3ad
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (Darwin)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFcWb8ACgkQX3X2B8XHTolf5wCfcngkHfrQ0LGX7wAt1YOK4MzV
|
||||
Vz4AnRkUNn7IgoBQdTkIlX/z7BRinp9A
|
||||
=RpZ1
|
||||
iQIcBAEBCgAGBQJRlQpWAAoJELp701BxlEWfB2oP/131hxJI+M9HknfultYEaVII
|
||||
o6uWfbbzVBCUCaMB1o4f3q3d8RWLDp61znxTCZOUcj/+H7p5LuhqJizIFYUnbj79
|
||||
mzexv73zLlv3Ma+ZG6p6LsSGJAFz8Js5w6bti+0Bvea5Japd3TIFmw5hAJbvVa6G
|
||||
wF2sR28AiazJ93ghNqaGb01fyZ++3PO4mHqFpZa8PjkZ15ku+zXrLvic21nFHuLj
|
||||
4EMNa0oRJPiOOh5CAWtBdwF/A6HevOWVf2WwuMpqJv0vgObFDhSFS8T1RdN5nH7c
|
||||
1EPmBFs3vb/XrUUfGdIhDBgdbkPPVo2CTbEy8I1xU7B4bqGlqZY2/BJs3dA9JY5Q
|
||||
hve//HOF5YinB8OPB58KdPYO/zQJdwlmcjneetN6hbtFuzOk1K3p76VHqGvNxcU0
|
||||
wB7H/bdMGwy7+vHI46VwjJoQ2P7NW8GAu/LLFot2NsOpO9VkydIRRZ8hwHFUXHi+
|
||||
rUdimd82+wVTa5Ny6bpt8CbSyKyAGijqbUkgjJxuNGeotNQM51R9zZZM/LIcwdtu
|
||||
Xzr47daM66EvD1ntpJQcSHrLmP7nq+20nHUA3PSmphY8WFL6nWuJZeWSJUI8UHJ5
|
||||
mp5EbVqBgOL6i0R9Iv7L7ypJNG+CJqbO88JGzlJ4uxii69RY3vQLskRXazbQ4Q2U
|
||||
PvEsTuXTOIkMngwbbUmR
|
||||
=1xhI
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,10 +1,30 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
AUX monit.initd-5.0 628 SHA256 0318d35e6c74c80123e3de15627cb305da3f0c528508d17dd45d566cc9a21429 SHA512 eb7a41e18456a39b97cc3e105fd9d9ab0c6cee42282faadcc718fe5463d11ad74e6873ab924eb54b13ea6a1e10e4ac3767be6d5e24ced25ae9de8919df8ad805 WHIRLPOOL f9eecbea2936e538591aa77d2b70b8bfe33807af7bbbbc8a4606900efa12096edc52147f9557aaea19b2624b12b83bf3179661e0f9d1ae08a0a97407d95d9fe7
|
||||
AUX monit.initd-5.0-r1 905 SHA256 78c013bb1258895a262c670a730e1319ea0f1140bbc3ca2f8dfc85ec02f923a1 SHA512 20fb54b251fd97e8014a35940a8cab1ca0de4c1ec3bcc05d2a9091585187759c1ce77cd5f872dde01fa91118d61e9ed3ec0650d09d7e767e78b42c68c1d35b64 WHIRLPOOL 6b282be931992b0ad9568c32de148370fd65d7078d26c526d89bd0f7860669edaa16be62ef528410adf62e00718cddb8e18415cbef44c66487ad59a9e9377cd6
|
||||
DIST monit-5.3.2.tar.gz 1192207 SHA256 406a06ac912525c8e76066d07235c848466b331532b2b3de931b61fe455ae915 SHA512 d3c5786fec4097f7997bade8465b6a11d3094f2852253640f185cd266bf0330834d1f3921554c302727dea7ebe876b474c15bcd43eeea0bdfad7284b7a66e623 WHIRLPOOL 069ff2aaa20b0589c133d53a0a0274988c07684e6c14ba7778812e25aa0d0b072bb5bc07a4495abc1fa0d2f05d48e5aecee86ad684bf7999000acaf3ae6cd098
|
||||
DIST monit-5.4.tar.gz 1197209 SHA256 805c6545de2dd7f3d9e6e0c68018b2aadd5fc98b243c8868178f247a60906038 SHA512 eeb0b57fc3b58cbea5ed55399a3dbcae5a6eb66dd14f11300853333ad64bbdcbc7e36f0acc8d3ca383a2cd7da7501b31c72da0e5382585d366c9675ea383209c WHIRLPOOL 7715aaf8606ea9bfa0573f52c10a5150b4894aa48ca42f49345000765511d1b59b21182cd77fac77f34545240b8f95a33a0755468c4df19ee42ac391a7ede88e
|
||||
DIST monit-5.5.tar.gz 1197459 SHA256 8276b060b3f0e6453c9748d421dec044ddae09d3e4c4666e13472aab294d7c53 SHA512 ae5391428417d450d061f4c80f4995f1ea4b83238cd4c1d9813b55cae9e7d6a7b5df22fd97cd73d8a501b3e2e5df7f21caee27aeaf15cadee7bb579c036754b3 WHIRLPOOL 7c7e10b1b9899c8241e0d931cedede2fa302216e691d9523b12bd196f9e1c23d8fd5ad6ec318df9ab75d62c049dc9a078454d7ad40c487b371f69c31c1507d3f
|
||||
EBUILD monit-5.3.2.ebuild 1174 SHA256 6d7c0fd10915f4db6cce5084fe4c39bf2eca956e3703cf10db1d1096bf40f7bf SHA512 1e6dab01757e64c3a6677bcc5b1d55974f346e1dc241ff32c589355724dfe5e437ae812db242ad976b5345d77f54f992085a58a100e25687a352d7280a0bf2a6 WHIRLPOOL 495739a2549c174f7dad3c2fc62ae06ea7e09cfd86d3b41bfedf44c617d4a5f37d4b34406ae35b0fb5d0e0ba1ef1039a2d68c3e9b468be76f937f408be9470a9
|
||||
EBUILD monit-5.4-r1.ebuild 1233 SHA256 25c9b062763c777bdcfd574e5cf454c68d66d2aa99bd8bda2f87deb75f9b8684 SHA512 ecc248b33726964f13c98b090bda364a59040b4b27263bf0f8a5c8adaece285af113de140a09da030ad1435dc769bff6262b54576f03bb24a1eb47044aa2b9ee WHIRLPOOL 057c5d2919e8c12786606a44576b8d14a9bfcb2008874f7acff12d41819fbdd88a96e0c881a8bc493f3201086913fba79d75e0aeecfa61cd0b62b93d13b2cbc7
|
||||
EBUILD monit-5.5.ebuild 1230 SHA256 7c9194abcfd54eaaf2f43808827b4754684a69dd322745e278577be910d20d6e SHA512 c563d328a3cc31318879ae68f7ea6fca62c98a62181fed8b5d5d81b07fcf4300cf2bf0295f811bea9c180d6d61dd2bea6cb16cd3049247b72b5050538488969b WHIRLPOOL fa31915f3ef6a4cfffa38e4b96e2ac0da7a5f1211a084377f434a72839a922f9800a88814e310ee1fca4ac695f985dd541b87b53c6c90c8703790dcede384ea2
|
||||
MISC ChangeLog 9247 SHA256 d04a0cb1e1b4b3e78761c8dc1bc24f7a5a153a9295b8444359711d568f855b88 SHA512 1faf4e2147da13df8cfeb8f707e7f30fff4f141ecd73b4afe9deb651e98e09322bbca8b028f9c714070e21976d7333a30e9ee66c2c515df462856a60024766cc WHIRLPOOL 6f72a5d3bd84bf1de70883c9064a3a5a099ffad78e14592753644860bb972c20c36466c76c17032a04bff05ec03405e0e5f9131d8607aeff7d8def031c18373c
|
||||
EBUILD monit-5.3.2.ebuild 1174 SHA256 12e964f045b62143b055e6fc2f275ed78392d7743b63a796aa50e40aec0afb32 SHA512 214b6f73720e5f612387bef7fe0c8b91ab05b33811cddf12f4c94ef4e36ac6f5ac069d4867bd1d9155c0f57e5e1db219e8b15f4b1144cf8b4849f56a6e89b487 WHIRLPOOL 6ce0ac510d0bfd6aecd704e58009dcc30a0a8f33be6cda33abe9441d1978bca5e898d63399dfb36ca10b4531d2d339a710a4faec26fd05b11384d8325c071563
|
||||
EBUILD monit-5.4-r1.ebuild 1233 SHA256 f31e8b57ee8661728fe6358535bc70f18f246b32ce4acee4556907fcaa33a9f0 SHA512 54b015b24de7a5b69ee2ab0f033ab56bf86fca40ba1baed9be72bc7e6033984cbf436b0eb07f5a44f64d5ebc691c5088a8bbb0ef4ab4ce5dd6a905866126b452 WHIRLPOOL 8dedb5b2b3a4d92a1b4e7e7f8eda5feb274ab9aac258f943beb1336011ee23383bad619e93ee26e95c56234b1fb91fe8d1abd95b5dd88d43f86462ced6bbf3b9
|
||||
EBUILD monit-5.5.ebuild 1211 SHA256 64b7104fe06563655cc7af9cadd43c5201d0d190e1f3535f154feaabd30b6a5b SHA512 4393bba19a88c3bc66eaf4cc19eee0fc93e02d2c7cf5cd051b3ad0e0d02a413f1c325f1994436c2a32946d6f950665bf822d9192eb2f0505075673480b17280a WHIRLPOOL 1bad624e8f89d910c21d8e25429279f89d2958ac118fb2dcf4dd9a9f47f474f03a173d1cfda3304e3387d6ef622d79627dc45bb3b0ad27920ba0bf5d206c079a
|
||||
MISC ChangeLog 9693 SHA256 bab37fba04197244512f347cbe9373eba45c28d822c9cd7d1c0968c15258074f SHA512 cec4238a8a37a0ef3c783986e4f92e6676e2e6e5b0887fb8cecc5eb5d1cd184817fd1c4eed48e7dbb9b70b539c825704d6aedbc9890b29fbf0a5ddfebd4873a7 WHIRLPOOL 0111b620d9b26bd361d2baf32f43f5530b7b3e804de0685c70445ca6bb0a740736ecd94da079caf1a8b70955e39f5c5909aa94b2ce3a97246729abe91161e97e
|
||||
MISC metadata.xml 261 SHA256 ac124e183c6da5584dfc0e5c96394d21644fee96e4903b35dbecd1889dda1459 SHA512 3b3b6fbed33ff34af48289806b3bf518a100dceb54c4121c3c2fed662a89373bc49dd29dd274373347594d80eaeda225633ff72b77c5bb2eba1b97710197e054 WHIRLPOOL 0a80445fb6627429b8630277ec99ffba2f3298c47539012638ae9a7c8a8b6656033562bebca3d669fadf88b90be9933c67e6a43fcf0862201c1086d6d341bb34
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRlNyKAAoJELp701BxlEWfKSsQAJ+HSP8iJt7BRU55c8woU9yb
|
||||
RzVotuPo7QtukfXxzYIgYE74AVsOrIDpdaCjg9HzoOt+GKAvSxxO3BZkq/6l3uA8
|
||||
8P6vv2UOW0u425W8NIeP/vn1oo0420acqlhExh0Zt50wH+AAJLugANmMU4pOuP51
|
||||
krw/S1xSdWIiL8PgLiYLj0vvkqcxCYKdOBIQBlBQSR2JszXN0Op/B77MREKt/oQK
|
||||
VQ2EEo7RJaEb0t3nunpOWj7Aik1kysYALDpVHsxVNI0rso62jNHMqa11gKE/PxQV
|
||||
TYAALfwmITrqUH62S2IqGT3QoES0XN27UVnN0yLGKstDs4tJJbF2N/xOzmYfMYNm
|
||||
AGp2zL3i+hjzE1Cj/Wm7jNf4ewCVoJrmYXV9MjtUHN1iKc3e6QTIcMZcAd9bxpKt
|
||||
daOuftsP7ONIuUqdR7gQrZxb5VrbV7ox4HSMvsvtx1X632amXUMmm5Jg+/XQeEK9
|
||||
fFc5qP8VaGTkMfWLBhfth7yv6EPjEqyN7E6A/1d3UzSFo+XNDoyJbwJn0vksuCi3
|
||||
HnsUHAzH/9Lr680e9BawNFoqNE7V5vPQEJuY1DXaJw5YTdZHffhC5+7heZy8lfpz
|
||||
UG0FVbZ1jyfT+gym+eylYKZcpVeTHXjp5mg9jox90f5x4sNDOz7awuHooF5uyFJ3
|
||||
Pfj/E6FWYnrTfN5Rgh7+
|
||||
=Uxmv
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,269 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.630.ebuild,v 1.1 2013/05/16 19:33:31 hwoarang Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils pam ssl-cert
|
||||
|
||||
DESCRIPTION="A web-based Unix systems administration interface"
|
||||
HOMEPAGE="http://www.webmin.com/"
|
||||
SRC_URI="minimal? ( mirror://sourceforge/webadmin/${P}-minimal.tar.gz )
|
||||
!minimal? ( mirror://sourceforge/webadmin/${P}.tar.gz )"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# NOTE: The ssl flag auto added by ssl-cert eclass is not used actually
|
||||
# because openssl is forced by dev-perl/Net-SSLeay
|
||||
IUSE="minimal +ssl mysql postgres ldap"
|
||||
|
||||
# All the required perl modules can be found easily using (in Webmin's root src dir):
|
||||
# find . -name cpan_modules.pl -exec grep "::" {} \;
|
||||
# NOTE: If Webmin doesn't find the required perl modules, it offers(runtime) the user
|
||||
# to install them using the in-built cpan module, and this will mess up perl on the system
|
||||
# That's why some modules are forced without a use flag
|
||||
# NOTE: pam, ssl and dnssec-tools deps are forced for security and Gentoo compliance installation reasons
|
||||
DEPEND="virtual/perl-Sys-Syslog
|
||||
virtual/perl-Time-HiRes
|
||||
virtual/perl-Time-Local
|
||||
dev-perl/Authen-Libwrap
|
||||
dev-perl/IO-Tty
|
||||
dev-perl/MD5
|
||||
dev-perl/Net-SSLeay
|
||||
dev-perl/Authen-PAM
|
||||
dev-perl/Sys-Hostname-Long
|
||||
>=net-dns/dnssec-tools-1.13
|
||||
!minimal? (
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
dev-perl/XML-Generator
|
||||
dev-perl/XML-Parser
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
local perl="$( which perl )"
|
||||
|
||||
# Remove the unnecessary and incompatible files
|
||||
rm -rf acl/Authen-SolarisRBAC-0.1*
|
||||
if ! use minimal ; then
|
||||
rm -rf {format,{bsd,hpux,sgi}exports,zones,rbac}
|
||||
rm -f mount/{free,net,open}bsd-mounts*
|
||||
rm -f mount/macos-mounts*
|
||||
fi
|
||||
|
||||
# For security reasons remove the SSL certificate that comes with Webmin
|
||||
# We will create our own later
|
||||
rm -f miniserv.pem
|
||||
|
||||
# Remove the Webmin setup scripts to avoid Webmin in runtime to mess up config
|
||||
# We will use our own later
|
||||
rm -f setup.{sh,pl}
|
||||
|
||||
# Set the installation type/mode to Gentoo
|
||||
echo "gentoo" > install-type
|
||||
|
||||
# Fix the permissions of the install files
|
||||
chmod -R og-w "${S}"
|
||||
|
||||
# Since we should not modify any files after install
|
||||
# we set the perl path in all cgi and pl files here using Webmin's routines
|
||||
# The pl file is Prefix safe and works only on provided input, no other filesystem files
|
||||
ebegin "Fixing perl path in source files"
|
||||
(find "${S}" -name '*.cgi' -print ; find "${S}" -name '*.pl' -print) | $perl "${S}"/perlpath.pl $perl -
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Create config dir and keep
|
||||
diropts -m0755
|
||||
dodir /etc/webmin
|
||||
keepdir /etc/webmin
|
||||
|
||||
# Create install dir
|
||||
# Third party modules installed through Webmin go here too, so keep
|
||||
dodir /usr/libexec/webmin
|
||||
keepdir /usr/libexec/webmin
|
||||
|
||||
# Copy our own setup script to installation folder
|
||||
insinto /usr/libexec/webmin
|
||||
newins "${FILESDIR}"/gentoo-setup gentoo-setup.sh
|
||||
fperms 0744 /usr/libexec/webmin/gentoo-setup.sh
|
||||
|
||||
# This is here if we ever want in future ebuilds to add some specific
|
||||
# config values in the /etc/webmin/miniserv.conf
|
||||
# The format of this file should be the same as the one of miniserv.conf:
|
||||
# var=value
|
||||
#
|
||||
# Uncomment it if you use such file. Before that check if upstream
|
||||
# has this file in root dir too.
|
||||
#newins "${FILESDIR}/miniserv-conf" miniserv-conf
|
||||
|
||||
# Create the log dir and keep
|
||||
diropts -m0700
|
||||
dodir /var/log/webmin
|
||||
keepdir /var/log/webmin
|
||||
|
||||
# Create the init.d file and put the neccessary variables there
|
||||
newinitd "${FILESDIR}"/init.d.webmin webmin
|
||||
sed -i \
|
||||
-e "s:%exe%:${EROOT}usr/libexec/webmin/miniserv.pl:" \
|
||||
-e "s:%pid%:${EROOT}var/run/webmin.pid:" \
|
||||
-e "s:%conf%:${EROOT}etc/webmin/miniserv.conf:" \
|
||||
-e "s:%perllib%:${EROOT}usr/libexec/webmin:" \
|
||||
"${ED}etc/init.d/webmin" \
|
||||
|| die "Failed to patch the webmin init file"
|
||||
|
||||
# Setup pam
|
||||
pamd_mimic system-auth webmin auth account session
|
||||
|
||||
# Copy files to installation folder
|
||||
ebegin "Copying install files to destination"
|
||||
cp -pPR "${S}"/* "${ED}usr/libexec/webmin"
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# First stop service if running so Webmin to not messup our config
|
||||
ebegin "Stopping any running Webmin instance prior merging"
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Run pkg_config phase first - non interactively
|
||||
export INTERACTIVE="no"
|
||||
pkg_config
|
||||
# Every next time pkg_config should be interactive
|
||||
INTERACTIVE="yes"
|
||||
|
||||
ewarn
|
||||
ewarn "Bare in mind that not all Webmin modules are Gentoo tweaked and may have some issues."
|
||||
ewarn "Always be careful when using modules that modify init entries, do update of webmin, install CPAN modules etc."
|
||||
ewarn "To avoid problems, please before using any module, look at its configuration options first."
|
||||
ewarn "(Usually there is a link at top in the right pane of Webmin for configuring the module.)"
|
||||
ewarn
|
||||
elog "- To make Webmin start at boot time, run: 'rc-update add webmin default'"
|
||||
elog "- The default URL to connect to Webmin is: https://localhost:10000"
|
||||
elog "- The default user that can login is: root"
|
||||
elog "- To reconfigure Webmin in case of problems run 'emerge --config app-admin/webmin'"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# First stop service if running - we do not want Webmin to mess up config
|
||||
ebegin "Stopping any running Webmin instance prior unmerging"
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ewarn
|
||||
ewarn "You have uninstalled Webmin, so have in mind that all cron jobs scheduled"
|
||||
ewarn "by Webmin for its own modules, are left active and they will fail when Webmin is missing."
|
||||
ewarn "To fix this just disable them if you intend to use Webmin again,"
|
||||
ewarn "OR delete them if not."
|
||||
ewarn
|
||||
}
|
||||
|
||||
pkg_config(){
|
||||
# First stop service if running
|
||||
ebegin "Stopping any running Webmin instance"
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
eend $?
|
||||
|
||||
# Next set the default reset variable to 'none'
|
||||
# reset/_reset can be:
|
||||
# 'none' - does not reset anything, just upgrades if a conf is present
|
||||
# OR installs new conf if a conf is missing
|
||||
# 'soft' - deletes only $config_dir/config file and thus resetting most
|
||||
# conf values to their defaults. Keeps the specific Webmin cron jobs
|
||||
# 'hard' - deletes all files in $config_dir (keeping the .keep_* Gentoo file)
|
||||
# and thus resetting all Webmin. Deletes the specific Webmin cron jobs too.
|
||||
local _reset="none"
|
||||
|
||||
# If in interactive mode ask user what should we do
|
||||
if [[ "${INTERACTIVE}" = "yes" ]]; then
|
||||
einfo
|
||||
einfo "Please enter the number of the action you would like to perform?"
|
||||
einfo
|
||||
einfo "1. Update configuration"
|
||||
einfo " (keeps old config options and adds the new ones)"
|
||||
einfo "2. Soft reset configuration"
|
||||
einfo " (keeps some old config options, the other options are set to default)"
|
||||
ewarn " All Webmin users will be reset"
|
||||
einfo "3. Hard reset configuration"
|
||||
einfo " (all options including module options are set to default)"
|
||||
ewarn " You will lose all Webmin configuration options you have done till now"
|
||||
einfo "4. Exit this configuration utility (default)"
|
||||
while [ "$correct" != "true" ] ; do
|
||||
read answer
|
||||
if [[ "$answer" = "1" ]] ; then
|
||||
_reset="none"
|
||||
correct="true"
|
||||
elif [[ "$answer" = "2" ]] ; then
|
||||
_reset="soft"
|
||||
correct="true"
|
||||
elif [[ "$answer" = "3" ]] ; then
|
||||
_reset="hard"
|
||||
correct="true"
|
||||
elif [ "$answer" = "4" -o "$answer" = "" ] ; then
|
||||
die "User aborted configuration."
|
||||
else
|
||||
echo "Answer not recognized. Enter a number from 1 to 4"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$_reset" = "hard" ]]; then
|
||||
while [ "$sure" != "true" ] ; do
|
||||
ewarn "You will lose all Webmin configuration options you have done till now."
|
||||
ewarn "Are you sure you want to do this? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
sure="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "User aborted configuration."
|
||||
else
|
||||
echo "Answer not recognized. Enter 'y' or 'n'"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
export reset=$_reset
|
||||
|
||||
# Create ssl certificate for Webmin if there is not one in the proper place
|
||||
if [[ ! -e "${EROOT}etc/ssl/webmin/server.pem" ]]; then
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Webmin Server}"
|
||||
SSL_COMMONNAME="${SSL_COMMONNAME:-*}"
|
||||
install_cert "${EROOT}/etc/ssl/webmin/server"
|
||||
fi
|
||||
|
||||
# Ensure all paths passed to the setup script use EROOT
|
||||
export wadir="${EROOT}usr/libexec/webmin"
|
||||
export config_dir="${EROOT}etc/webmin"
|
||||
export var_dir="${EROOT}var/log/webmin"
|
||||
export tempdir="${T}"
|
||||
export pidfile="${EROOT}var/run/webmin.pid"
|
||||
export perl="$( which perl )"
|
||||
export os_type='gentoo-linux'
|
||||
export os_version='*'
|
||||
export real_os_type='Gentoo Linux'
|
||||
export real_os_version='Any version'
|
||||
# Forcing 'ssl', 'ssl_redirect' and 'no_sslcompression' for tightening security
|
||||
export ssl=1
|
||||
export ssl_redirect=1
|
||||
export no_sslcompression=1
|
||||
export keyfile="${EROOT}etc/ssl/webmin/server.pem"
|
||||
export port=10000
|
||||
|
||||
export atboot=0
|
||||
|
||||
einfo "Executing Webmin's configure script"
|
||||
$wadir/gentoo-setup.sh
|
||||
|
||||
einfo "Configuration of Webmin done"
|
||||
}
|
@ -1,5 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
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
|
||||
EBUILD unshield-0.6_p20120308.ebuild 865 SHA256 6801cae4eda769b2ac0ceecc9d3752c333946eb5036b8ea4e1d0e8384c957673 SHA512 83e06a68f5975d738840716c34cd6e8186338f4cdd316da9defff58219540c278448235c8264fa4bb37d4db6243c3999d6843357d44f96bf715a06ad497a44c4 WHIRLPOOL 3bdeee109d7c2c2cb033ba27c11e66be96995d42e74ab2d81a3d0b1efc3c86bd3c5a9b797c327c2f8bf95cf71858fc9cf0fcc47b19ddb21c40977a30764e6b08
|
||||
MISC ChangeLog 3694 SHA256 2a123ce6c74714c8751a166b9bb2d0f71b18ef89342e4219fe5751badae7ca12 SHA512 838a33d0c1eb9cea8451cfd518109e299ded0278b124e9761c24fd432237b4046bc53fdff2ed674c07cb4cfd37e5517e2e98d7a539d4b22804e5852a149d7ff7 WHIRLPOOL 3a2f37139c907abc005ce4c40cf3988a3a179e93cbccc5d6a981f47303c268f76ce9deab31aa72a9fa456f919c7bd341460dab9ede6f6d1ac8ac427607c5cb61
|
||||
EBUILD unshield-0.6_p20120308.ebuild 943 SHA256 e9e87e30c1cfec249901218c2463ede537de45f79a5eec24335257724f2f53f4 SHA512 434091ba29f3bf8393a3c26809dd1e7a43b1e2085773cdf94612ce088a2dd37957c73c1433c65c795f36217819d1246c254ec9d08b45e22e9d1e6c232e94273c WHIRLPOOL 8cd52590db2a44a56c01cdfd29aa1ce2600b4557b181283c3f395488049fda5bb0ec3f321fe58dc7460ffea5f6d32bd5a4b834840b554f469b015ca01749b5a1
|
||||
MISC ChangeLog 3850 SHA256 8555752dcd07a69e0bb2ed762532a27864afa4b8e4691a45b017da48d073f04f SHA512 93cc972d8226e6f1660ccb30da59369bfe1eecbafaf00d498b53aca1dd39ec63c3458206f26bf5ee507e8c588fc4e9cc40f4e059b32413aaef6a7c124b25f9a1 WHIRLPOOL a7cc85c93c096713fc7a07c92fe94f540f6442294092ecaf67630e1278618ad95d03776e729d1edaa68bdf9e93d6636a112b31d3ee8dfec1c68456f34df1ee86
|
||||
MISC metadata.xml 262 SHA256 a29056d87a6e83abaa5590fd7451d25359f4d8e3fe572b120bf0b2ccf8e3cd4c SHA512 a26a533db223134740353fb242e2b7b6a9f032af06d61252e36ac37d2c3b6200dbfb2cd72eb1487013a75c823d73a8aa69cb96f5166a37a0a608e64afeac18b3 WHIRLPOOL 3450a1d2ee724e84b8a9bb40464ffe9fda111c2d48948dad5b1bb33077e997c8203a917d824f3671cd36269eae918dcab1e5c02c6d5187be7745e8097cfa9a1e
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRlA5+AAoJEEdUh39IaPFNNHsH/0H7wm4advzeaJKOBEki4UJd
|
||||
1Fo9hIvhRBVF1gUWz/4295a4/nCJt9Ib5kfd3NOPDsM/GN3YktgnznYn3a1BsGpt
|
||||
Osrq6NeNf6wKnGOlG3gApIfo3A2PWO9IMxVy/0g3R2frOsdjSPMG+C1vdWjKVoLH
|
||||
p7rTTXAS56iCmJtVVDOnDG96lWxUmLVRZz8oI2ZR/gZH93iRXPoPyNJGsYPuTCbU
|
||||
UWZKLOM6Ulapcxonoi5OH5k9WGtji/lz+Ofa0iuQ/0UcORbSC/3XdPEASFddq9uQ
|
||||
El3BGok8VM/ycLLlYa7MWvu0DY13LHIIg7Z0uTB+agph4biWlSV+Og8NYJ8izwY=
|
||||
=tIH/
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.20.ebuild,v 1.1 2013/05/15 06:18:47 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="adns bzip2 doc ldap nls mta readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.4
|
||||
>=dev-libs/libgpg-error-1.7
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=dev-libs/pth-1.3.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
ldap? ( net-nds/openldap )"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4[static-libs]
|
||||
>=dev-libs/libgpg-error-1.7[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
>=net-misc/curl-7.10[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
bzip2? ( app-arch/bzip2[static-libs] )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
mta? ( virtual/mta )
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.17-gpgsm-gencert.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=" --enable-scdaemon $(use_enable usb ccid-driver)"
|
||||
else
|
||||
myconf+=" --disable-scdaemon"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
${myconf} \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable !elibc_SunOS symcryptrun) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable mta mailto) \
|
||||
$(use_enable ldap) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm "${ED}"/usr/share/gnupg/help* || die
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
if use ldap; then
|
||||
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
|
||||
fi
|
||||
echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
|
||||
echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.18.2.ebuild,v 1.1 2013/05/15 06:10:04 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11."
|
||||
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
|
||||
SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="+asn1 debug +trust"
|
||||
REQUIRED_USE="trust? ( asn1 )"
|
||||
|
||||
RDEPEND="asn1? ( >=dev-libs/libtasn1-2.14 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable trust trust-module) \
|
||||
$(use_enable debug) \
|
||||
$(use_with asn1 libtasn1)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,8 +1,28 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST new_aspell-da-1.6.0.tar.gz 336812 SHA256 2eb764c3ba1b0ceeac32f54e2161185d6f72c3cdb314c877ff46e194ae2ff067 SHA512 26b9d255cf48b944c2136c313e9535d602b96866c42dcb2e4b27389351f1c3953d685a177260410d25239ff9fc2a7b2eb628a5b15104315e6f2181fcdd2c31d6 WHIRLPOOL c50c50479c4f7bf1cfae0084b8481e297329b53587b5dc8fdbef35002444854dcd4b9c19a35e5bcf61988cdb69300d30ddd4285c3901afd023951d3eee4fa0f6
|
||||
DIST new_aspell-da-1.6.34.tar.bz2 285238 SHA256 fd1fcc67b13c45137e4502c287b47ba15e0b1463dc63b4afb011efb0ac6c9f7c SHA512 25791ec2525d3915be35ffa93d7d5914fe7419eb4457519bd7b2f86e3678d96fee569381d9c74dfb393f0c672c76832e51d66dfca996a4b8e0cb0c51e28cfeb2 WHIRLPOOL 9ca31261d180caa2f41c71a6ff1165bd81aca19148106a78c96f376ac752a21a5c7f5ed674dbde835a928a3c74877154223aa9e4a79003ba9ed24bd2b88a4e22
|
||||
DIST new_aspell-da-1.7.42.tar.bz2 235483 SHA256 79e3a040e7b03771be6a7494da9c04a8512f01902619273795f18f347167e228 SHA512 97d3bc95800d5115ce640a3939bf6c94998f1090f1484da3ffb1104318200ca3650d2b32120c36030b87b4b929b95b8f764f6f51dee66ee916700318f6b4e755 WHIRLPOOL 5d57bcbbff3290b0fcd4dc3c4b4af4caab1c44c2c27159bf7e4afe60ab19b6c06e405dc7082f4804bfe8765bbeb545ed22a8fa9bbaa1a1a9b0d99ce53acb1269
|
||||
EBUILD aspell-da-1.6.0.ebuild 527 SHA256 568a6df466cb383216761f957800271f7278ff508d88ff4547aea3c74458bfa6 SHA512 ae29ee79db577c19b6be1305e12c4319004976bb389d0c713e60ba0f11f1526c0d472b8a7992e941a80304fec385deb3653523ce65e021e7e0d320d750f7bcef WHIRLPOOL c32294d7435c8428026a1d50236d5b7c2dfc557559caa5f885c39933689f81c3960520abef0c8b053219173fc9d1e9d15b57e8d5cf28cf245f19fe694d365b09
|
||||
EBUILD aspell-da-1.6.34.ebuild 531 SHA256 719e8f7fa9dc4e8118f226811cf8b5f14a91dcb64d6bf0fbc34bd9ec059c9d1a SHA512 0206e478e636d0c6557c27e5f951725cfdb828e2d248d330c4d0832c6995d0a53eb241f5cde6e8be9524a042bf907d04baf347dbeab2074ce2500f22c44a6adc WHIRLPOOL 03457b16ddfdede3dcf7850ec1d3c7d18e3fb64e7c382a38535cd3b886ad278a197bf5e48d4519c72851a76cdbac5bfaad0c49537d0935e879cb82841cf46b4f
|
||||
EBUILD aspell-da-1.7.42.ebuild 542 SHA256 3714b1a13a7e8dbb503a937e3cdf07a55d43f60ed555d78b72be94c650c0e0fd SHA512 d1ad1f64cd9674cc241b44be0fb0a29441c5a8ff7f624e041258fc5a723c0f4e0b5e6686d68d06ebd58550399d70ca1e05bad1e8397ade623c58fb238ad19ddd WHIRLPOOL c02d68cdeca75145d6a4430ce1dd35c01a543da3921a3f1ee90e441116eee75af55bd937f4209c5d29ddc82d67f6640c58079fdbcb889b023a2b007d4c5c04ca
|
||||
MISC ChangeLog 6694 SHA256 f4dd8c4f9b77322c7384ccea070e04433fd1baf2fe9493b1fa4ecef1dbb2af81 SHA512 709ae22993875e13b23bbd3cc0993f1ecc38ebe11e81fbd0f0bd3345c8d65a882021a603e02f7ce2bf9e95e9ac1d5d05b45b3df006e7bf9781848ecd0ca907a0 WHIRLPOOL 4e313006fdcdbe273ddcd53bdda61a25e9aadbec3df30e3bb7c82863cdf4dbe7c16ed3194881bf6d042f49d9349f8d8cb56a51d62b251064b1252fb4dd0b3a83
|
||||
EBUILD aspell-da-1.7.42.ebuild 533 SHA256 56c946a0d5a70e60b1d70e32dae0557f4c495744fcd932ed4108bb3faac3d540 SHA512 82fcdb3dd41ce0ccf1c20386b01ed6b63734665739151050eda581f0a92967aa8fd33258b1132afdca9ba6a33712c7656c283c12b30cfc09a3eadcdf43d366d2 WHIRLPOOL a94695dcbf6f431fa620e96936e722a96f90dd8d478172743e5dba874ba8f26a0cfbdbd727a94d92b7e6d4e53b2aa25ff6970267cf34fb4159eb5dcb6a4b4119
|
||||
MISC ChangeLog 7236 SHA256 40bc52defce8356a1370e9685ca0b5ae67ec4012ea121d26a06783f0a5b8d90c SHA512 4182b64d6571aaf0213c8d438b557a15da6f8f9935797f7f727881cab037ba9810ff2a8b4cc7a33cb03a052cad65a3909a6b84061701b350bd45cfb988a446ba WHIRLPOOL 30f829673e71a863308c415ad6215e1996af44569d5bdbfb78525ab33e571f0d72f71f4afe0d69d9140aef85bcc84455cad6f9e336393504d9ae6f7c8cf6f155
|
||||
MISC metadata.xml 162 SHA256 9629e7723cb4708c1910c25510cd14da2729d34eed4ebfc1563df4a1ed5e1b22 SHA512 1105ff6ba8380eeed2f0e7616ad463a9b0ee4ed8737faeb51778f6c2b5ab194a9bebc1819c23d7f71d8de56528da2fa4b1500ee284e3ad3f6ed3b074aedff219 WHIRLPOOL 2c31ba5d72bf1aacce8951224a017c676c28d93d62f7d8dd67c5d1c647ed2bab0842c8654544b18ddb9e9db22778e67c9b3674f541ec238e678c95097ae92435
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRlQpLAAoJELp701BxlEWf63EQAIX33LXj250Egl5AxykD+Zj4
|
||||
erZlt4fJ8jKaCQhgqvgazNZkT2tFW9Vu14dmVwCc1VRVzfc9dP0BLLVvASU+6BJx
|
||||
ThwgIRRcmqqEyGULqbtjPxLzDkUSqyhzutHGpvPlEUQU6leVkKRF0IUogAd0z8En
|
||||
Um5BsV1qGdxXAuwBk7SAyErKqUAZaFRy02iBmwV0Tl5xPegpO6Z5pJBnhGkW9P/K
|
||||
NY8cs9gohxwPJ5E/Xt3Luh1Ss8wXqSxSwtnyj7dvCJL7qbKNOqxiSHP1mLgjkh8J
|
||||
HIivMNIlVdn9IMeA9sZ1jPOXgvA5CfW9pNUv6mofuCLgN3myJaFC30X9bFFkpTwh
|
||||
uFIJ8n+l7K98L0rhypZL2iitJ8oBqki62zA0VwATPZgcnNegfHD1/gkBSLTVxNDF
|
||||
ykZF5pFNQCIYtNzDjsDhjvxRvewW/agJ2srD1bEoU8uuV8XWhBOm+Ov5SRRXhA/i
|
||||
PDj/VXfgzowIQvy2niQBPRSeP6q/UM8aiHChl2XBGQ3i2FZ38Y+dL9uGW4JEIgyw
|
||||
GtfJKlprE3t5D70wPL/A8LgKtZirrMTrJD5Znu8POLYJwN1tSuGJe7tlTm05Ep0K
|
||||
uk2dWnG6H4pQ7l/Fym9CycZTUu/4RDu+i8ZX+xgSwUgTzeCcweBmXHqM5LPElx8c
|
||||
npXXYRiYRbUz1pGS2eCl
|
||||
=AENF
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,16 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST verbiste-0.1.23.tar.gz 640751 SHA256 fee17156f573bb433da1073811ffe5ce64f77dfb5c3797a500c42a7ced503e42 SHA512 2711d4e321eb02cea1a315fbd9388d0397a0a2634f9d5ac2c5c2d2fa5cab142bfa392361a23c24f92f4f779333ff909554f20fe9e62f139eeb134a9a48a0f2b9 WHIRLPOOL 0d7adb1284b397f958bd12fa706abe291f2be917f2448d9c2e361ecb9a9f74971a6d667b586037f44ba0dec988b0df0be90ef58c7d70857daa3cee85059fde34
|
||||
DIST verbiste-0.1.35.tar.gz 704298 SHA256 6009a5e62770b31a103d64ff7a448b644ac12a11ae5b9970f6e054206b6989c3 SHA512 0959df1535ce88fac7226f6be58f11e1433e0643e660cfc511fd5162d63099a0605108e250f6c905ce654f3b0a2741524a51b61703517db918ab92b259ab5c79 WHIRLPOOL d3cfd640d5ad7ec141f2acb8274deb753f32c881297d885c7f9ebfacf426d959776743162318bcb9277191e510ecbaf9ab8ea02144651187f94df5071d02f48a
|
||||
EBUILD verbiste-0.1.23.ebuild 940 SHA256 0a76a44069cd14a909857b01edde9afc9a202748bc3cd9197af5686670817b81 SHA512 3fab2a6a9d380bb22185daaf73b6767ff609cc431ea6345c87153c1a4ca1782c332d06c71d0c550e7fae84234adbb17dbd865c4c85d0c494fe7883b6151676aa WHIRLPOOL 6567025ae6927679b866bb7ada752f3bce074f6499b9751b0af76f4ab3c195c4a779def1eef1fc8c203d4c2d814fede6299b31b0358bf5918e7f6fca7dfa4ffd
|
||||
EBUILD verbiste-0.1.35.ebuild 1506 SHA256 ad619c3f6d83a22958c9a9d6c8814ce8a491b5e99671165479f5de808df6463d SHA512 9b82abf8b10f6c48ee202e1bad322291490a2a8861be586889207824b8e023ab6de329a47515af4db462a549c03b23d2ca9734f4d7e3b00cc3ac32ebfe09949f WHIRLPOOL 2c24d7b86d5d8f8cd13984e09019da29f5fd87b6bbecbaecfa6fb7fad1ed8b51de3161b4682770e7ebfa4e3fb7346125b3b5b3ce45a3085d81ea8b3890c70dd5
|
||||
MISC ChangeLog 4777 SHA256 83b54b0b69ac6eb4fc71288c42c7889b3d8b0947a7647df3ec5e6b249f5c0a92 SHA512 1006bb26d51d2a1bfadaa1fdb801a6d1f04b034f1153f5efe061f41f033b9d2959d6e04b5420fa4a18c468aaeba4430050416be5d74098899af6637016c55976 WHIRLPOOL bfd01586bb83ed87b25d0bf32eb8f59404856c88a5d1978dc3c3512438eac794c60f6f1e3b5ba94c500111b74bd6863bd6b3f979546fd8b9ab477ed2a44162af
|
||||
EBUILD verbiste-0.1.35.ebuild 1504 SHA256 152182297746c4986384f78b6105948d7283a9a0e0c0c27d354ff7dca5fb0d08 SHA512 5c8bb1d2d68c0a65c8581a3382c65d700094a463530386fc2ff70ac73b76ddfbe247df678140892990ae1fabff56a574f6ef56dc22d95ad23546b23ec1eea150 WHIRLPOOL 42785bd5566297eeefc79d0c330c82d69f7f2d3d192de4a001bc696a14d4b4ed287dfdb1430bc4e0aa8018eeba4b1fe439e334fc0a2b86676661b8e90aa856dd
|
||||
MISC ChangeLog 4995 SHA256 a7b5df2cc2ed08b85430c8eb76b528136bc96f7ad99c482900f6c93020a84b01 SHA512 50ab8c22b49139fe0f53f0e27c9f81e50931c698ae4e5d1c93694294951ed3ea1f9ffe8f3c36f2fc6a817f5a4348225ed7ebc571445fc5747b1180e4361196ff WHIRLPOOL b6bdfc815bce1e9ef91f20c38da1d6684c650e1c2af92555a13f38f24a792d93dfc08a6360a0f17be26a2944f34cf95a94fc5986ffdbbebae4d5ff5434db7c04
|
||||
MISC metadata.xml 298 SHA256 a165040faa120d3fa004b5b232cea15eb07c0a9c87ce67a55590e1ecf9e91a3b SHA512 b3fe46980f82508ad67a825b67bbd35dd5dfd5027ca1975f602790616cfb7b7e4b165097d7c8e05cc87d60d4c70b259060527faa32e7393a5589ecbc70850038 WHIRLPOOL eec07b485391b1843c28f7449a2674b5edd50ba593ec0b05e4b4d87aca0afbe8406d945864d5814ebabfc898911a9563ce154246fdc836b32b4a2ffd3c72305d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlEOjH8ACgkQ1fmVwcYIWAatkACeLrZJjPWkNloOqtt8sFzaZ69o
|
||||
A7MAoJRP0tBZy/eqnDuVX43N05tVHCSS
|
||||
=TJzO
|
||||
iQIcBAEBCgAGBQJRlNh3AAoJELp701BxlEWfmXgQAKm25BwavtJ17JeVci1sycr6
|
||||
9OvqQjkDz0WZdNdndUA6dQX/KzReoEDp0IiqfbkxM7o6KKOLJsTdspLjc4dVgG14
|
||||
PZ0YgGOiwkw/8pL1dw839ecnPQjYK+PrOohdLLfRgaskVS+wizKra4VYS2deCP/5
|
||||
qDbUzeILwXU48eKCxio6j2P/DUJ1TWb2AvgpiPJOlZ85ZqcAzRp6kITJ3d+IvzxP
|
||||
ESylz1GYJByRfucW9JujgmIRhzQTJXg6eVPyaLWrUtSAPAZ8yKeKgWT6aS5BUYh3
|
||||
Nl01FE/dHwZ/b9e0IsVYuHXqvfFlWmHnT4h1dR1HRJbcxXOLgRtMU8SzRhEhubuR
|
||||
RImRZwfntU80zVjYOiZtxxARfwfMlO1c3pobvYJ9VO8FcGXerlcjEA/e0/FvCbqw
|
||||
/Op48NA0a8yrDu+VMVWaM2JjfYGzMPegghp/jsCdlD9NMh76gTMLTWPC360o+Fa6
|
||||
H9ny5/v5OAYM0JKI7cMclbW0qLisuGwLAywj1daXh17XFf0u8C57S8LZSn+eYncB
|
||||
vUy/V0UrgSj0oh7MASIk0rkvWetg8TB9h3Aj26spiWstreJ78uPOENk+5ARVTv+F
|
||||
T7nR38ShMjSeIIrk/oF3PjTdUh3vn694xUHpA4SiwIe6rb9nQRAvb2mrp1QsLK3G
|
||||
NSJXZCGCMfAQ+B/FrYjC
|
||||
=yQ15
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/elisp-manual/elisp-manual-24.2.ebuild,v 1.5 2013/03/15 08:41:27 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The GNU Emacs Lisp Reference Manual"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/manual/"
|
||||
# taken from doc/lispref/ of emacs-${PV}
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="FDL-1.3+"
|
||||
SLOT="24"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
S="${WORKDIR}/lispref"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-direntry.patch"
|
||||
echo "@set EMACSVER ${PV}" >"${S}/emacsver.texi" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
makeinfo elisp.texi || die "makeinfo failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doinfo elisp${SLOT}.info*
|
||||
dodoc ChangeLog README
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
--- lispref-orig/elisp.texi
|
||||
+++ lispref/elisp.texi
|
||||
@@ -1,6 +1,6 @@
|
||||
\input texinfo @c -*-texinfo-*-
|
||||
@c %**start of header
|
||||
-@setfilename elisp
|
||||
+@setfilename elisp24.info
|
||||
@settitle GNU Emacs Lisp Reference Manual
|
||||
@c %**end of header
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
|
||||
@documentencoding ISO-8859-1
|
||||
|
||||
-@dircategory GNU Emacs Lisp
|
||||
+@dircategory Emacs
|
||||
@direntry
|
||||
-* Elisp: (elisp). The Emacs Lisp Reference Manual.
|
||||
+* Elisp 24: (elisp24). The Emacs Lisp Reference Manual for Emacs 24.
|
||||
@end direntry
|
||||
|
||||
@titlepage
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-9999.ebuild,v 1.1 2013/05/17 00:44:17 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.3"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
inherit vim
|
||||
|
||||
GVIMRC_FILE_SUFFIX="-r1"
|
||||
GVIM_DESKTOP_SUFFIX="-r2"
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116-r1.ebuild,v 1.1 2013/05/15 13:10:33 xmw Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="Multi-purpose text editor for the X Window System"
|
||||
HOMEPAGE="http://nedit.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/motif-2.3:0
|
||||
x11-libs/libXp
|
||||
x11-libs/libXpm"
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( dev-util/yacc sys-devel/bison )
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
#respecting LDFLAGS, bug #208189
|
||||
epatch \
|
||||
"${FILESDIR}"/nedit-5.5_p20090914-ldflags.patch \
|
||||
"${FILESDIR}"/${P}-40_Pointer_to_Integer.patch
|
||||
sed \
|
||||
-e "s:bin/:${EPREFIX}/bin/:g" \
|
||||
-i Makefile source/preferences.c source/help_data.h source/nedit.c Xlt/Makefile || die
|
||||
sed \
|
||||
-e "s:nc:neditc:g" -i doc/nc.pod || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" -e "s:check_tif_rule::" \
|
||||
makefiles/Makefile.linux || die
|
||||
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" \
|
||||
-e "s:MOTIFDIR=/usr/local:MOTIFDIR=${EPREFIX}/usr:" \
|
||||
-e "s:-lX11:-lX11 -lXmu -liconv:" \
|
||||
-e "s:check_tif_rule::" \
|
||||
makefiles/Makefile.macosx || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
case ${CHOST} in
|
||||
*-darwin*)
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)"macosx || die
|
||||
;;
|
||||
*-linux*)
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" linux || die
|
||||
;;
|
||||
esac
|
||||
emake VERSION="NEdit ${PV}" -j1 -C doc all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin source/nedit || die
|
||||
newbin source/nc neditc || die
|
||||
|
||||
make_desktop_entry ${PN}
|
||||
doicon "${FILESDIR}"/${PN}.svg
|
||||
|
||||
newman doc/nedit.man nedit.1 || die
|
||||
newman doc/nc.man neditc.1 || die
|
||||
|
||||
dodoc README ReleaseNotes ChangeLog || die
|
||||
cd doc
|
||||
dodoc nedit.doc NEdit.ad faq.txt || die
|
||||
dohtml nedit.html || die
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-9999.ebuild,v 1.1 2013/05/17 00:37:29 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.3"
|
||||
inherit vim
|
||||
|
||||
VIMRC_FILE_SUFFIX="-r4"
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
@ -0,0 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-9999.ebuild,v 1.1 2013/05/17 00:40:48 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.3"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
inherit vim
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
@ -1,27 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
AUX 50autoconf-mode-gentoo.el 366 SHA256 01ae50a08659f3c9c305eb1fac1cdf8ddc9e5a35c9935d45a6551c3a236ea03f SHA512 e917a5c7e7216da4624ac9463aa575569402383fd77d11b510c4752d1dfb54aa93c3cd29f3e3b198693c4f9ee9452611f5f342ecf57bf2c5f72b5e10ffab2d9f WHIRLPOOL 665a31584c5ea40878cf8a31af9f0061449c224fc04db907116a6afb60ddb13816646a7313202f5780c42d8171098420a33136f9e0cccaf6eddef42199c43f6b
|
||||
DIST autoconf-2.68.tar.bz2 1381988 SHA256 c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e571454332c8 SHA512 77f42d7a3825a398531ab52bf05936720788167f7d04f884a2acb7745edb60a706799451ff983f1048bc929cd38972ab29530a5e4ed6f686ff1700e0281a7e84 WHIRLPOOL 9edc133292a40e024f9f18e40942717342b540056f2fe4b361c4a514ec908d8e04210e714cf6cdb5752673f6fb5cc4ba6e9d624b96f9ef12b4b9e9838e1498a6
|
||||
DIST autoconf-2.69.tar.xz 1214744 SHA256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b WHIRLPOOL 9d806d685b9951acb15ab837b08437a6632f0907f105057e84ba3e0d99539371c32153333f459f04fb537cbb96a80e4418937e937381aec677b319ad667f7918
|
||||
EBUILD autoconf-mode-2.68.ebuild 709 SHA256 6efa97837c8a2779d33d6a6d3552ccf0a9bba5fe956e0929e56ec73fa0541a3a SHA512 7acef24656d05bb18a95e058b8bff97b651bd274ad2558514d0d8cf4fdcf49aaff9a4bf585fc0be0ac27e5e706847004ee95f99c4b97173b7ea6eef48b06db28 WHIRLPOOL 38dff89aa63283befd9c6ec4415f0c37e60c336d9ade1e8ce301d56890bda50766290841507f154e662017fc080a5fda504154d83231996fad81144b36c365a8
|
||||
EBUILD autoconf-mode-2.69.ebuild 714 SHA256 a563d9bb871e1c6942422bfe27cc73253c7c347d91302b677f32d9696865b66f SHA512 38f700484100202ebee73b4fa39e4d57bbdac07d4166a74bfd8c888ed154e41b72fbcd30800dc3d1d5b27726ef22984379e21a8aabfea5d14c0054d87fdf36c4 WHIRLPOOL fe10dd91b920ca6d81a9685a50fa48bba5fc6928aaffa059b5cb856c8c253078295f648702e1834521db9f3e7a2031eb572c5ca331447976f809a03d4e001c49
|
||||
MISC ChangeLog 4851 SHA256 299ad9e8881b381d42f004491ff6375ee587619be3e274ffd9690c0077afe5d5 SHA512 4b3777e37c92dcf1a3da21c31da170533f1e9d2193592a85453b00ca37b2c7866c2238980395de576b0e7b2218c42bab64cfc8310d176abbbd63fc557a9e29cd WHIRLPOOL ee07fab5a08d299ce09e89ddec6d4e3059e8aea49c292a7ce1f7d9a829f01c50a9048b272f1d1f3aae6c24e5fe772f07917aa7072605167836006c2765eea886
|
||||
EBUILD autoconf-mode-2.69.ebuild 709 SHA256 a3d542655ee5e558edb326ec380a6ee35d793194601df6e092e5c60220dc4257 SHA512 a0fc7577b3900c0e2786a821840cae4d190a79dde9aefadec375055cd104af5e1ab087bef9cbce2ff50f2d315faf9f15c2a93558a8ba73f077e7219448a2f65f WHIRLPOOL 0566e337719a5d992c51abdcf6f0b30f9039629563428f2f3b4763670588489f47a11a320f27aaf6323ae4257e91e9dc419fcfbce7b236bae1a5d64304b2de09
|
||||
MISC ChangeLog 5406 SHA256 d2c592b8f190e54b1b503089a83090273ea40c50eba41abf556e795cdec6fd02 SHA512 6de111c5d1f0afcb4864478e5faf40195dde8f198489012e504e7197404fd84704993cc0cb819cfd8298d3d9e0e2773633ace4a7a7fe58900bb8974fb6ed1ced WHIRLPOOL 28b92fa9143f0abd9e7144df1d55914100de6b9941690866691959cb7135e8a303deaa4c1adce41bbc71f47f80574845f3e5726e4e8634c9bb408041951f047d
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQSxC+AAoJEDxpGckxwJCBaAAP/Rmd1NZym01rsf3deq0Q1iFb
|
||||
Vqy4xIZwQKw4q520+vauwJfwnb7KqmbtS8CzIkFS+f8HSUBWdmeBjH3YlbKFjP0H
|
||||
ECKtug3mVRpniTY/B5m3T6/313QV1FOUSDYkp3YJJfPiZL+dtiFPw2k1ZhVrJIQN
|
||||
CPoEavi5kQnkA4oJiOMfa6/C7qgji/S2WemFdXLyCqCrFqgBjMB8KHBOXYSgz5IB
|
||||
yFflseiH3zjN3JFVmma24H8iYmwYtZLyS9AZdRpOfNu4LPXCCa96bfp+8WViGtUT
|
||||
lIIyTANkyFP2Z6L7/j62MyoB1mDPh0msnRHlTUuQWTi5Xuh69DLDAb8PnabSNP/I
|
||||
orEggyqKaW3Lh3bW+v7zDLmO9vALSBRTooAA5pgqevFZh1TI4Sboj8tSmmv/njYK
|
||||
ZDyKTs+E8kSq6qqfc2LgR3LE1oklWa/UxkLMG1RWHZ36SVsmgyBHSWMgnUGSuCng
|
||||
TepX6PGXZzvFJhEQo1Ywa7swFvkfyGZglZXfpzpg83wnu5lBdcM+INE1lI2V1qtF
|
||||
TC/DHv0xmHq4VUEa1A1rk/bpwZzVuCO5oMyrKrs85t87tlYS77VBNYZTdd+O3oHe
|
||||
Oa1UO6E/7CH9JQO4dx97OQtYgbMY5cMTBae0XFpWpkxx0WfG2J6ymsgZMNkLnsN1
|
||||
JSMbf11gk0SLjKLjONXu
|
||||
=rNQG
|
||||
iQIcBAEBCgAGBQJRlQomAAoJELp701BxlEWfh0wP/AvRL7VqfrBI4L36d14WSrOK
|
||||
f5PKhrBhpCvnHMnv32ET1SPAwLWyiG7sGjOze2aOJvHm9c7Myrg/UD4JphwB4MSl
|
||||
zJlWfX4YFqDRxHzwxrdrxVhn4+CROII/TIDDCOdBlira6F/XDr29RX9vug4p//z/
|
||||
tnvnPwuusiNMNwJAk1d408I11H9HS/6uKvYqaYx/rjyIKiaRhWnxsrbd9b6KODXz
|
||||
Grmy10HJWd8E1DvZiiDV06vmCyEs2w3VQ6YvkYSOf36nE+jqr/k/Mfs86XoXtK4O
|
||||
qDvyCPZM+sGKL0ZVg+rhFtDc63Ns8Kmeq1e2Jn+6+0gAPWs9vb8/d5Jo3ZDjp4IU
|
||||
75QCiAZ36svN9FWOnJtywB/ApJXmZrnhyw5FziEdZnwZW1KQdOxFvNiJW4qBOOZ6
|
||||
gudhn73Q/he1YtVBd4bmseO4T1G49uzwnfcayfm7SojkGkTat8cIGc2CNfvW2r/d
|
||||
/7ums1AuupY9VAAHKKV0M1Qeg40OjkFwzKPynLzcM0MMyPq1d+L5CAEA6DG1jruk
|
||||
62t67QvivU+COdci9z7tGLA3OO+fKX6vTpmX6vYGMnQNZ59llJfNIhS0KqXPsUfz
|
||||
41yyLj9OXuslZV/HwE+rj2PyIY0YumD8v0SlaeGnWT0swqP8fLi0OTn2kH81WmA5
|
||||
q2xfNqSKAewCmYZFnJCV
|
||||
=G09u
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,23 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST emacs-daemon-0.19.tar.bz2 4988 SHA256 63231c4c0d04310eeeb432d33d195b620b5b8308aecfdb93825df0c4acc4a341 SHA512 f1684387f3018f1dcb2d9d600a4155ce7980264e817aff762a49b04ac0b01fe6ab68bb702694a9eba28770c4eaadbc1a02ef570270eb5b8369c789c7fc60370a WHIRLPOOL ec18ebae334e1da36aa79a0542cb3563962e5542fdaba72f667adc9831406ad8ac99dddf5ec649127eaff8d67890d3c8f6acdd32a79f33c27e8554157674ef59
|
||||
DIST emacs-daemon-0.20.tar.xz 5120 SHA256 5c0f0bc9a1fab391657737fc3b6af4088eff1ead2e05987fe50e02f5b6e50eb3 SHA512 ac1bfc543f38dd86aeef544a8d03aa2f2a6cb02ee2042ecb3f339baed98294deac1fc6d3d002e654f3d9f32f00379c4de40efa226ddd07715aee7fe0fcb41e43 WHIRLPOOL 5941c1ea18d238275aab312123eb598f3d3265f279674191a75bec6bfd6efeebadb20dc7e6db6454a9da10ed8e98b2916fad195741b4d5fddbb270528e040d63
|
||||
EBUILD emacs-daemon-0.19.ebuild 1736 SHA256 b81cb8c3bba074283cb019c33f3c1f3c16d6033670b371225efe6a479c476629 SHA512 968f226e3bcbcfc5a86760d4b87e5dd6113f9d882b1e4d5d0e062984be61a1bef3c409107084f8e94e0ece857af20ae27ee93a4df736e0c1e027665f1f431d3e WHIRLPOOL 033f24ffbfd313ff2f138f6f6e696bdb4137e30f65a6b971e13200696caa6346ea1d4b3fdf7b23c8eb15bedea421e3b3cb13ae4fe24b9ef5faacc5aa447c066d
|
||||
EBUILD emacs-daemon-0.20.ebuild 1769 SHA256 14c994bb7e5b2e902073a6ea00102243e3d80e21eb30c9c750940dcea1bea47c SHA512 176ba62a8be6b7ea385ec18e4d6cbfb2317022cdfda9a2f285cc2e0d6e4be9d9c78deb67f99972d55bf714b0d2cb1a224c84e07e9650838c6b6b74b9a884c69d WHIRLPOOL 2540b5105fd882c2fc43e7fb9b540ffdaffac856636d0255ec1e4af8a44222626241ed4328349727f5ff1a94454351c1a4de409b577417c75779b2982dea515a
|
||||
MISC ChangeLog 7347 SHA256 cf46bb7c9bb4f186e318b5ed9f1dd63576b2cfce688b100e5c19e7c8aff2f396 SHA512 83f68bf9b1f414f3d4dfefa49e925562dd0493f48a7c61ad41a99bb86051871804f1d540764842c7b874c0a98082d9762e2bb9c0d59e29b207b8188ea6316c17 WHIRLPOOL 27efe5b474b123272f781bd13029e8a9bba64c60d5afd76b461dfed9473968705456c2ba42c4fc92b584678d01663ef6254697478f5aa7033963bee77aa9811c
|
||||
EBUILD emacs-daemon-0.20.ebuild 1763 SHA256 c039eea8d8159bcb3f976ccc7153b492430125a7b65c60f5c4d3f954d70cdae9 SHA512 50aeb2f3323302e591f72c42c66730cd883b97b6b8bb88a9ad8d94c01b86f0218be3834af408a2b535077700abf053e7fc775d2613b83308a0d41b9d93d94194 WHIRLPOOL f45019443a20db4225ab2a55f085aea7d11f82be5a2cbed859c7e0890e2f07f28236d043ae159ea9e50cef5332d040684ee7ba6945579593520a18b7999ba2e2
|
||||
MISC ChangeLog 8008 SHA256 bedaf740958bbf7a0d94e5934dcc21c8ce94fa8b7f96a3f6577fd30035baa471 SHA512 507fad941a3908e3b877de372b18fea28c4efc5c78b4451c611e277d338b5866bab81eb87d7cdd2b82096efde1837a2e7b23ce7a5ed1d0e37b71504ba23225ce WHIRLPOOL 30951841ce960d8b501056d90592daa630ebc457edae73cb1a823aecff01f8d971ba01b4cde437389ea5b33e0d909f1474c892b6b79a72e2636378db086486ed
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQGcBAEBCAAGBQJRTif1AAoJEJQzkH1pP7W4vAcL/jmtDWtkjKrtb00NJUjYnbw7
|
||||
sL5BGHr3LLdMQZBkkbjIINnYh0bYh3mvuHJ9gn15d/kSSJ7KZvbJ4aGgRVuKDZ8U
|
||||
PhF1DG7n49qqm4cr+eOYJea9hIO5xXZgQsb96+8nzMwDgaghb9kmdINvkBEuaySt
|
||||
J6rfUzCk+ya6pYdt0P92Ez0R7njkchCi8QCOfF3FTpRUe5+hzrVAD564LR/IqBDW
|
||||
hP8HJLZx/rNJNlTO6X3dONULdFn/cxKWGM0IRZsk3fRqdhDzd2xyVfIrBCqDvNDA
|
||||
l6YI7wUYDz/jZtB1Wq/mIFGnQIwGsCh/bk/CuKIGfhZ1WPRQu+9PNmxN4aOWM36z
|
||||
0oMjkD5B+tY1qcmZKSvod2ef85lU2kke4sDpf9lMwIzsAx9WaabogRWSTouO0YPL
|
||||
y+EOYSKvpiUd8L5xw6nAgeyrSbltUYDtAPmWuHRiPdIaNY1SU6JUV2nh8Cf0CnW3
|
||||
NmcVXu8TgIxB/GFr8r07LEB+QHz7vYgiM5MUqh+ZgA==
|
||||
=pS/q
|
||||
iQIcBAEBCgAGBQJRlQphAAoJELp701BxlEWfrfAQAINBM0btE/B55Vm15vPbcIpm
|
||||
tlpQkgMJlmE5qY2GHSe3ttK1gwId7Zs4E1FT5su0RDEA9Nlc2OtYSNl3Ok3C6T1r
|
||||
qspWuRmaUqmHFHx/LV34cIS5zzTr8zjSiKoT8legK7LHTXRc3dGZlZVekB9DGZfb
|
||||
GsBiL6ADpBE+AnxRUAb/5ba+4pBjusb5TC95gqK2T6GG6Bi2a1Ykna0nWUS9bKJQ
|
||||
F+66RtDxQXoYqn8DYRA+/JD7lZZseXkQhvVGVVucF/BGbMJVddwaQ9HhMLuA3yHR
|
||||
UbRuHqg1fDacWnzZ0RtCgofvhAaz9wc/+7VvX07alW7mh2q1/XVq9WrFTsgDYiIi
|
||||
df4KAA/MPw/Y3G1ZAnfxp2izcHfkI3fiqpSCM1ouJ5152uSK12PFlVLHQTUJ6N5V
|
||||
LgmIA9udWd9cyyi/xkVHFtcE/xbY7KDJGD+6+2TYrxbBQTmuDoyT/nTKbSjxeRYO
|
||||
vFMLDDE4MA51zaU54Qn2bQDffXmO5qUnPGyC+3T+Ejy7ihY6uhhf07S2HaTQaayf
|
||||
NId+VLWS0iFsPEU7dnEOaLFKxUYPaGnHbJ5gumKbJVbKFNPm0DeO7DyvLQXlDqtp
|
||||
um/tsx9w7HpxCHRpGgFQagglLaSqySGRnMDnPMltuyyN16qaIqThHhDe9DZ0YHMQ
|
||||
7znGRpRWK1TXAxdFS07f
|
||||
=kP4d
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,24 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
AUX 50gentoo-syntax-gentoo.el 754 SHA256 86461009121d7190a0ff0826b0740649e04183abac5a7f272670b4df3bee29d8 SHA512 cd47f38b204fe62f6f14b2a90720698863467cfeccd37f2b9207b62f097fb2b8e8f69ab148ee06c55261e7b9061a48a4540a9305dba5ba67b79c9929ef278659 WHIRLPOOL d913f2f841d45f82e8dd8fb8ba00833e28daa153cbc96d386f7854ab2bd217e713de954c223d8c5cddeaa84096da6da79e5392a5a05fbf6274da6e570a8383c6
|
||||
DIST gentoo-syntax-1.20.tar.bz2 27271 SHA256 9c2bfdfb9f7c29fed99e3cf16e92d6c3e28e939ffeff4964f3984b49a9069686 SHA512 20d85efe13359e8568e3c41531c776e71ed30c5635b9320bfe227f6cc9107178bcf172ac638793e4c7eb0aa9c2aaedc25d8e51707a762f750e2dfc55a80a872f WHIRLPOOL ceefde589ba552f8eaed008e334d36e5ea3b243ff23e126ee51a2df52fe3d4302945be4139e6b78404f09cadd077075c4bd6daf20cc8f179886f0443537440de
|
||||
DIST gentoo-syntax-1.21.tar.xz 28632 SHA256 11ff9620d70742daef05ce3a8d4dea3d1d6ab9d400f34d038bdac0b76b52c89b SHA512 e538401350522e7358e1189345eff373b607d0e25070a2ce082c68e059c55043c75ba93c4c31638861dd6525acd6965b1b75d7a6039100164597d7dd42abb934 WHIRLPOOL 737ccd3f64a498694ba483d2427f767062d3dbc7aa2d60a3ddb8eba3863feb13639336629ee73623265f6a2dd4642c8c514c1d126f6f180a8fb0e254ebfcb8a0
|
||||
EBUILD gentoo-syntax-1.20.ebuild 854 SHA256 2a0e381906c281a461086682ce3b61be77ec82518d49ee7eea5070f419f749bf SHA512 4207d813b83431d9eca8ee63ff4a41eb714b35c909f0cc5d1aa547e603887c3562e18fb5acec7e5322b4c42506017be27afaa2ad811fcea559f83ebf7a182256 WHIRLPOOL 195c3a80ae5cdb18b49b6fe345886620fa26f3bcbaa7f16658a935af9f654b3d7929e4ca9eafaa224a90f05c493ec747a53b5d22db7788ba0c2026f634df2fdb
|
||||
EBUILD gentoo-syntax-1.21.ebuild 836 SHA256 edaf696c153461b3ea2d3e53b4edcdf2d4e51090e4886a2d18b9c382e27fed20 SHA512 d71a675a1622eec98b3d52f21e7e0bced6aba31a2b502ee57ec4258f1b6226e6c351f52a83f206d24d9845724f8ec0a211ac9c4f1452cd0df7d0db50d00addaa WHIRLPOOL 4831ff3d8acc1bd166eeafe2fa6fc2d09ed37d51d85a45813de97b61ea0a902ad7bcc54bc0e46a47ee87beab9ccd8f3bdbc1d8dedc1ac39127ce950277dee058
|
||||
MISC ChangeLog 15536 SHA256 5175480508fc5ec044e8432cc121be03b18815623c99509124ccdf56f37f56d0 SHA512 e4012b163e947d327aa8f3e7b6c6072cd19c37c12e4808672199c1efa954375d7fdd4ea9b7453fc3ca2e9025921e5d9c38aaecd67d2dcbae71f0bdaf4803b58d WHIRLPOOL 1de2019d0a2674d40241b87160ec9d64554d54a74552659149361097bd41481b683c698deb8ca61520e9c66f03bb5b23dbc91fb06c19fb358f6cbb4560926763
|
||||
EBUILD gentoo-syntax-1.21.ebuild 831 SHA256 d3e9156c73b424f495b4bf072432a15384bcc3d51a16f1749fd14e1a012ec8c5 SHA512 3a6a49278f12002e2c33787fac6321584f40a3b2d19aadd3303505bc3ac6defd023ea0db4d72d63c23f6cb20607a4d37407b218c33001a18bb2076b759f1484d WHIRLPOOL 5b50d8253672f45ce2adf4fa1ee5afb5d1af0ba120984d9115ae1675eab427dae91458a8469f894e45bf26a747fe70599fc76478fd0b4a17bcf38775c9ebd488
|
||||
MISC ChangeLog 16092 SHA256 75298186c215c9af49c41dd7c24dee5eae0253b97c906f65990169fc9312897e SHA512 5bc125d507a932310cf6513327497e57bbe7fe497c3b597d0d6edfc1f30bd83ac4b117ff1f0bb4a92f31e72bbb3bda8f8491e88c59b8c5f56d8499a826f9f973 WHIRLPOOL fe2241555d7e36e280bd657dd516723cc0329a92e05a60d9653cf9634e2bf13ef67e245917fe2079ecd48c41c331a40a8d1df06a075c78e9856930cdcbdf5677
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQGcBAEBCAAGBQJRRDsmAAoJEJQzkH1pP7W4KrsMAJdQe0mLPP2vn9FGGPC3jz+8
|
||||
CqTXc/70L0ztADNNZI0CPPF+B2PUsub6tp3XiJlJt2lBS3s2Xx4V27r5jJ2/ffQu
|
||||
IuMhYJQs99EfDU/H0paPVv1go8zFJ5Z7Dd2+F76st1JEvxKzK74ipFXL7znn4I2K
|
||||
DjdnIp/9DGiYa1pBLtNVSv2ofMJM27/gxU1AMOBkf8OCJlvNDrPsCjPJC72x5Umo
|
||||
0WOUi+YwrQiGrdKhei50eTdxd9pSUSL8uy16LzGGei0QNbdcG0dydKEBggsGHj2f
|
||||
OAhghUMj/jY1eXOJt/jobLpl/yWEuZp3digcT45Hc9yringACYxrFdSpo8E1Xx5o
|
||||
zBqGDNeUvhekSkGYhVL47EBKjBjQP/ysmlXPrBEWJ5yyohC/qKeIrOwQjNt/xjgn
|
||||
TYgwg2Av0lxRzj9WL/05P3IN2Q+f6fTvBXAlws+9TUDgRIOS2y1ovLwrCMTJxHHU
|
||||
r6apSuPnaNHJqt4Lghwf6lqPehCQvxLGqa7vdZn4oA==
|
||||
=SL82
|
||||
iQIcBAEBCgAGBQJRlP28AAoJELp701BxlEWfb5YP+wT3n0O9dbIBpphXbO7fhUkB
|
||||
Xf3c+4FiTUZeidgVn69KSwpYl2JE4GS8vAzkZaoqbtBZzTGcFsyjQmw8RpPgNIUv
|
||||
OjVRbhvS55+HMv3Ef1L4qKdVgwI/T86DBtHxSZnwB4bb6tXNFh31CUEW2yHiXrZx
|
||||
xuaxv/SQAg9FfnvmHcV3GiRIMZLIqawWMrqQXopHirM9VU9Q/F3yDk3nSkS1KS7A
|
||||
V6a+4lWMoL/m/V527DN8JDpyOp95ja5c1JhxUJEVRM5rDYt71KNcGmyzbHBVbvUj
|
||||
0StJN9rHEAXx3mICn3ezwvkG8Nx6ktXLkoBoWPFrSueORYHyfjELbocGaw7S8Ae8
|
||||
nqpaXJhVLG9FxjGDtmeeNbhsSawlAySiM7Dvb+HABo9wr+WvPNa1U5EO9JOUTqdd
|
||||
s4vhfen/5RYvJCVtfBGwaQd9viGpzwTM/LmVPxOA1aeWf5pqsWHVV0zLeZ+0FW+L
|
||||
7hRjLwr93PSkK5hRUy1dkndx/OJPrzSDwJ/ltWX4t5M5zdp5bB0hmtIPskgDjN8F
|
||||
/DVYHsL/xBVdJiDm+PkI9XQDV0+PdrqSQYWnJ2bc5J93Epj/UO7XyFAgsqgVSqpF
|
||||
N2oKjm8KaHxKD3e+nAFKlKfo1wEODlJ18Tyc7JhKktNl5rg7MkPlA6AIsllhj5Qk
|
||||
akkGAlvAbSjUOVZAEp1/
|
||||
=fyFo
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/haskell-mode/haskell-mode-2.6.4.ebuild,v 1.3 2010/01/07 19:23:02 ranger Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Mode for editing (and running) Haskell programs in Emacs"
|
||||
HOMEPAGE="http://projects.haskell.org/haskellmode-emacs/
|
||||
http://www.haskell.org/haskellwiki/Haskell_mode_for_Emacs"
|
||||
SRC_URI="http://projects.haskell.org/haskellmode-emacs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DOCS="ChangeLog NEWS README *.hs"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp-make-autoload-file haskell-site-file.el || die
|
||||
elisp-compile *.el || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
elog "If you update from before version 2.5 you must reconfigure,"
|
||||
elog "or indentation will not work."
|
||||
elog "Read the README file in /usr/share/doc/${PF}."
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/haskell-mode/haskell-mode-2.7.0.ebuild,v 1.1 2009/12/02 20:45:14 ulm Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Mode for editing (and running) Haskell programs in Emacs"
|
||||
HOMEPAGE="http://projects.haskell.org/haskellmode-emacs/
|
||||
http://www.haskell.org/haskellwiki/Haskell_mode_for_Emacs"
|
||||
SRC_URI="http://projects.haskell.org/haskellmode-emacs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DOCS="ChangeLog NEWS README *.hs"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp-make-autoload-file haskell-site-file.el || die
|
||||
elisp-compile *.el || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
elog "If you update from before version 2.5 you must reconfigure,"
|
||||
elog "or indentation will not work."
|
||||
elog "Read the README file in /usr/share/doc/${PF}."
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mew/mew-6.4-r1.ebuild,v 1.6 2012/03/18 17:46:12 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Great MIME mail reader for Emacs/XEmacs"
|
||||
HOMEPAGE="http://www.mew.org/"
|
||||
SRC_URI="http://www.mew.org/Release/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="ssl linguas_ja"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
ssl? ( net-misc/stunnel )"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-elispdir="${SITELISP}/${PN}" \
|
||||
--with-etcdir="${SITEETC}/${PN}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use linguas_ja && emake jinfo
|
||||
rm -f info/*~ # remove spurious backup files
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
use linguas_ja && emake DESTDIR="${D}" install-jinfo
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
dodoc 00api 00changes* 00diff 00readme dot.*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "Please refer to /usr/share/doc/${PF} for sample configuration files."
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
diff --git a/tools/ocaml/libs/xb/partial.ml b/tools/ocaml/libs/xb/partial.ml
|
||||
index 3558889..d4d1c7b 100644
|
||||
--- a/tools/ocaml/libs/xb/partial.ml
|
||||
+++ b/tools/ocaml/libs/xb/partial.ml
|
||||
@@ -27,8 +27,15 @@ external header_size: unit -> int = "stub_header_size"
|
||||
external header_of_string_internal: string -> int * int * int * int
|
||||
= "stub_header_of_string"
|
||||
|
||||
+let xenstore_payload_max = 4096 (* xen/include/public/io/xs_wire.h *)
|
||||
+
|
||||
let of_string s =
|
||||
let tid, rid, opint, dlen = header_of_string_internal s in
|
||||
+ (* A packet which is bigger than xenstore_payload_max is illegal.
|
||||
+ This will leave the guest connection is a bad state and will
|
||||
+ be hard to recover from without restarting the connection
|
||||
+ (ie rebooting the guest) *)
|
||||
+ let dlen = min xenstore_payload_max dlen in
|
||||
{
|
||||
tid = tid;
|
||||
rid = rid;
|
||||
@@ -38,6 +45,7 @@ let of_string s =
|
||||
}
|
||||
|
||||
let append pkt s sz =
|
||||
+ if pkt.len > 4096 then failwith "Buffer.add: cannot grow buffer";
|
||||
Buffer.add_string pkt.buf (String.sub s 0 sz)
|
||||
|
||||
let to_complete pkt =
|
||||
diff --git a/tools/ocaml/libs/xb/xs_ring_stubs.c b/tools/ocaml/libs/xb/xs_ring_stubs.c
|
||||
index 00414c5..4888ac5 100644
|
||||
--- a/tools/ocaml/libs/xb/xs_ring_stubs.c
|
||||
+++ b/tools/ocaml/libs/xb/xs_ring_stubs.c
|
||||
@@ -39,21 +39,23 @@ static int xs_ring_read(struct mmap_interface *interface,
|
||||
char *buffer, int len)
|
||||
{
|
||||
struct xenstore_domain_interface *intf = interface->addr;
|
||||
- XENSTORE_RING_IDX cons, prod;
|
||||
+ XENSTORE_RING_IDX cons, prod; /* offsets only */
|
||||
int to_read;
|
||||
|
||||
- cons = intf->req_cons;
|
||||
- prod = intf->req_prod;
|
||||
+ cons = *(volatile uint32*)&intf->req_cons;
|
||||
+ prod = *(volatile uint32*)&intf->req_prod;
|
||||
xen_mb();
|
||||
+ cons = MASK_XENSTORE_IDX(cons);
|
||||
+ prod = MASK_XENSTORE_IDX(prod);
|
||||
if (prod == cons)
|
||||
return 0;
|
||||
- if (MASK_XENSTORE_IDX(prod) > MASK_XENSTORE_IDX(cons))
|
||||
+ if (prod > cons)
|
||||
to_read = prod - cons;
|
||||
else
|
||||
- to_read = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons);
|
||||
+ to_read = XENSTORE_RING_SIZE - cons;
|
||||
if (to_read < len)
|
||||
len = to_read;
|
||||
- memcpy(buffer, intf->req + MASK_XENSTORE_IDX(cons), len);
|
||||
+ memcpy(buffer, intf->req + cons, len);
|
||||
xen_mb();
|
||||
intf->req_cons += len;
|
||||
return len;
|
||||
@@ -66,8 +68,8 @@ static int xs_ring_write(struct mmap_interface *interface,
|
||||
XENSTORE_RING_IDX cons, prod;
|
||||
int can_write;
|
||||
|
||||
- cons = intf->rsp_cons;
|
||||
- prod = intf->rsp_prod;
|
||||
+ cons = *(volatile uint32*)&intf->rsp_cons;
|
||||
+ prod = *(volatile uint32*)&intf->rsp_prod;
|
||||
xen_mb();
|
||||
if ( (prod - cons) >= XENSTORE_RING_SIZE )
|
||||
return 0;
|
@ -0,0 +1,293 @@
|
||||
x86: fix various issues with handling guest IRQs
|
||||
|
||||
- properly revoke IRQ access in map_domain_pirq() error path
|
||||
- don't permit replacing an in use IRQ
|
||||
- don't accept inputs in the GSI range for MAP_PIRQ_TYPE_MSI
|
||||
- track IRQ access permission in host IRQ terms, not guest IRQ ones
|
||||
(and with that, also disallow Dom0 access to IRQ0)
|
||||
|
||||
This is CVE-2013-1919 / XSA-46.
|
||||
|
||||
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
||||
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
|
||||
|
||||
--- a/tools/libxl/libxl_create.c
|
||||
+++ b/tools/libxl/libxl_create.c
|
||||
@@ -968,14 +968,16 @@ static void domcreate_launch_dm(libxl__e
|
||||
}
|
||||
|
||||
for (i = 0; i < d_config->b_info.num_irqs; i++) {
|
||||
- uint32_t irq = d_config->b_info.irqs[i];
|
||||
+ int irq = d_config->b_info.irqs[i];
|
||||
|
||||
- LOG(DEBUG, "dom%d irq %"PRIx32, domid, irq);
|
||||
+ LOG(DEBUG, "dom%d irq %d", domid, irq);
|
||||
|
||||
- ret = xc_domain_irq_permission(CTX->xch, domid, irq, 1);
|
||||
+ ret = irq >= 0 ? xc_physdev_map_pirq(CTX->xch, domid, irq, &irq)
|
||||
+ : -EOVERFLOW;
|
||||
+ if (!ret)
|
||||
+ ret = xc_domain_irq_permission(CTX->xch, domid, irq, 1);
|
||||
if ( ret<0 ){
|
||||
- LOGE(ERROR,
|
||||
- "failed give dom%d access to irq %"PRId32, domid, irq);
|
||||
+ LOGE(ERROR, "failed give dom%d access to irq %d", domid, irq);
|
||||
ret = ERROR_FAIL;
|
||||
}
|
||||
}
|
||||
--- a/tools/python/xen/xend/server/irqif.py
|
||||
+++ b/tools/python/xen/xend/server/irqif.py
|
||||
@@ -73,6 +73,12 @@ class IRQController(DevController):
|
||||
|
||||
pirq = get_param('irq')
|
||||
|
||||
+ rc = xc.physdev_map_pirq(domid = self.getDomid(),
|
||||
+ index = pirq,
|
||||
+ pirq = pirq)
|
||||
+ if rc < 0:
|
||||
+ raise VmError('irq: Failed to map irq %x' % (pirq))
|
||||
+
|
||||
rc = xc.domain_irq_permission(domid = self.getDomid(),
|
||||
pirq = pirq,
|
||||
allow_access = True)
|
||||
@@ -81,12 +87,6 @@ class IRQController(DevController):
|
||||
#todo non-fatal
|
||||
raise VmError(
|
||||
'irq: Failed to configure irq: %d' % (pirq))
|
||||
- rc = xc.physdev_map_pirq(domid = self.getDomid(),
|
||||
- index = pirq,
|
||||
- pirq = pirq)
|
||||
- if rc < 0:
|
||||
- raise VmError(
|
||||
- 'irq: Failed to map irq %x' % (pirq))
|
||||
back = dict([(k, config[k]) for k in self.valid_cfg if k in config])
|
||||
return (self.allocateDeviceID(), back, {})
|
||||
|
||||
--- a/xen/arch/x86/domain_build.c
|
||||
+++ b/xen/arch/x86/domain_build.c
|
||||
@@ -1219,7 +1219,7 @@ int __init construct_dom0(
|
||||
/* DOM0 is permitted full I/O capabilities. */
|
||||
rc |= ioports_permit_access(dom0, 0, 0xFFFF);
|
||||
rc |= iomem_permit_access(dom0, 0UL, ~0UL);
|
||||
- rc |= irqs_permit_access(dom0, 0, d->nr_pirqs - 1);
|
||||
+ rc |= irqs_permit_access(dom0, 1, nr_irqs_gsi - 1);
|
||||
|
||||
/*
|
||||
* Modify I/O port access permissions.
|
||||
--- a/xen/arch/x86/domctl.c
|
||||
+++ b/xen/arch/x86/domctl.c
|
||||
@@ -772,9 +772,13 @@ long arch_do_domctl(
|
||||
goto bind_out;
|
||||
|
||||
ret = -EPERM;
|
||||
- if ( !IS_PRIV(current->domain) &&
|
||||
- !irq_access_permitted(current->domain, bind->machine_irq) )
|
||||
- goto bind_out;
|
||||
+ if ( !IS_PRIV(current->domain) )
|
||||
+ {
|
||||
+ int irq = domain_pirq_to_irq(d, bind->machine_irq);
|
||||
+
|
||||
+ if ( irq <= 0 || !irq_access_permitted(current->domain, irq) )
|
||||
+ goto bind_out;
|
||||
+ }
|
||||
|
||||
ret = -ESRCH;
|
||||
if ( iommu_enabled )
|
||||
@@ -803,9 +807,13 @@ long arch_do_domctl(
|
||||
bind = &(domctl->u.bind_pt_irq);
|
||||
|
||||
ret = -EPERM;
|
||||
- if ( !IS_PRIV(current->domain) &&
|
||||
- !irq_access_permitted(current->domain, bind->machine_irq) )
|
||||
- goto unbind_out;
|
||||
+ if ( !IS_PRIV(current->domain) )
|
||||
+ {
|
||||
+ int irq = domain_pirq_to_irq(d, bind->machine_irq);
|
||||
+
|
||||
+ if ( irq <= 0 || !irq_access_permitted(current->domain, irq) )
|
||||
+ goto unbind_out;
|
||||
+ }
|
||||
|
||||
if ( iommu_enabled )
|
||||
{
|
||||
--- a/xen/arch/x86/irq.c
|
||||
+++ b/xen/arch/x86/irq.c
|
||||
@@ -184,6 +184,14 @@ int create_irq(int node)
|
||||
desc->arch.used = IRQ_UNUSED;
|
||||
irq = ret;
|
||||
}
|
||||
+ else if ( dom0 )
|
||||
+ {
|
||||
+ ret = irq_permit_access(dom0, irq);
|
||||
+ if ( ret )
|
||||
+ printk(XENLOG_G_ERR
|
||||
+ "Could not grant Dom0 access to IRQ%d (error %d)\n",
|
||||
+ irq, ret);
|
||||
+ }
|
||||
|
||||
return irq;
|
||||
}
|
||||
@@ -280,6 +288,17 @@ void clear_irq_vector(int irq)
|
||||
void destroy_irq(unsigned int irq)
|
||||
{
|
||||
BUG_ON(!MSI_IRQ(irq));
|
||||
+
|
||||
+ if ( dom0 )
|
||||
+ {
|
||||
+ int err = irq_deny_access(dom0, irq);
|
||||
+
|
||||
+ if ( err )
|
||||
+ printk(XENLOG_G_ERR
|
||||
+ "Could not revoke Dom0 access to IRQ%u (error %d)\n",
|
||||
+ irq, err);
|
||||
+ }
|
||||
+
|
||||
dynamic_irq_cleanup(irq);
|
||||
clear_irq_vector(irq);
|
||||
}
|
||||
@@ -1858,7 +1877,7 @@ int map_domain_pirq(
|
||||
|
||||
if ( !IS_PRIV(current->domain) &&
|
||||
!(IS_PRIV_FOR(current->domain, d) &&
|
||||
- irq_access_permitted(current->domain, pirq)))
|
||||
+ irq_access_permitted(current->domain, irq)))
|
||||
return -EPERM;
|
||||
|
||||
if ( pirq < 0 || pirq >= d->nr_pirqs || irq < 0 || irq >= nr_irqs )
|
||||
@@ -1887,17 +1906,18 @@ int map_domain_pirq(
|
||||
return ret;
|
||||
}
|
||||
|
||||
- ret = irq_permit_access(d, pirq);
|
||||
+ ret = irq_permit_access(d, irq);
|
||||
if ( ret )
|
||||
{
|
||||
- dprintk(XENLOG_G_ERR, "dom%d: could not permit access to irq %d\n",
|
||||
- d->domain_id, pirq);
|
||||
+ printk(XENLOG_G_ERR
|
||||
+ "dom%d: could not permit access to IRQ%d (pirq %d)\n",
|
||||
+ d->domain_id, irq, pirq);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = prepare_domain_irq_pirq(d, irq, pirq, &info);
|
||||
if ( ret )
|
||||
- return ret;
|
||||
+ goto revoke;
|
||||
|
||||
desc = irq_to_desc(irq);
|
||||
|
||||
@@ -1921,8 +1941,14 @@ int map_domain_pirq(
|
||||
spin_lock_irqsave(&desc->lock, flags);
|
||||
|
||||
if ( desc->handler != &no_irq_type )
|
||||
+ {
|
||||
+ spin_unlock_irqrestore(&desc->lock, flags);
|
||||
dprintk(XENLOG_G_ERR, "dom%d: irq %d in use\n",
|
||||
d->domain_id, irq);
|
||||
+ pci_disable_msi(msi_desc);
|
||||
+ ret = -EBUSY;
|
||||
+ goto done;
|
||||
+ }
|
||||
setup_msi_handler(desc, msi_desc);
|
||||
|
||||
if ( opt_irq_vector_map == OPT_IRQ_VECTOR_MAP_PERDEV
|
||||
@@ -1951,7 +1977,14 @@ int map_domain_pirq(
|
||||
|
||||
done:
|
||||
if ( ret )
|
||||
+ {
|
||||
cleanup_domain_irq_pirq(d, irq, info);
|
||||
+ revoke:
|
||||
+ if ( irq_deny_access(d, irq) )
|
||||
+ printk(XENLOG_G_ERR
|
||||
+ "dom%d: could not revoke access to IRQ%d (pirq %d)\n",
|
||||
+ d->domain_id, irq, pirq);
|
||||
+ }
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -2017,10 +2050,11 @@ int unmap_domain_pirq(struct domain *d,
|
||||
if ( !forced_unbind )
|
||||
cleanup_domain_irq_pirq(d, irq, info);
|
||||
|
||||
- ret = irq_deny_access(d, pirq);
|
||||
+ ret = irq_deny_access(d, irq);
|
||||
if ( ret )
|
||||
- dprintk(XENLOG_G_ERR, "dom%d: could not deny access to irq %d\n",
|
||||
- d->domain_id, pirq);
|
||||
+ printk(XENLOG_G_ERR
|
||||
+ "dom%d: could not deny access to IRQ%d (pirq %d)\n",
|
||||
+ d->domain_id, irq, pirq);
|
||||
|
||||
done:
|
||||
return ret;
|
||||
--- a/xen/arch/x86/physdev.c
|
||||
+++ b/xen/arch/x86/physdev.c
|
||||
@@ -147,7 +147,7 @@ int physdev_map_pirq(domid_t domid, int
|
||||
if ( irq == -1 )
|
||||
irq = create_irq(NUMA_NO_NODE);
|
||||
|
||||
- if ( irq < 0 || irq >= nr_irqs )
|
||||
+ if ( irq < nr_irqs_gsi || irq >= nr_irqs )
|
||||
{
|
||||
dprintk(XENLOG_G_ERR, "dom%d: can't create irq for msi!\n",
|
||||
d->domain_id);
|
||||
--- a/xen/common/domctl.c
|
||||
+++ b/xen/common/domctl.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <xen/paging.h>
|
||||
#include <xen/hypercall.h>
|
||||
#include <asm/current.h>
|
||||
+#include <asm/irq.h>
|
||||
#include <asm/page.h>
|
||||
#include <public/domctl.h>
|
||||
#include <xsm/xsm.h>
|
||||
@@ -897,9 +898,9 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
|
||||
else if ( xsm_irq_permission(d, pirq, allow) )
|
||||
ret = -EPERM;
|
||||
else if ( allow )
|
||||
- ret = irq_permit_access(d, pirq);
|
||||
+ ret = pirq_permit_access(d, pirq);
|
||||
else
|
||||
- ret = irq_deny_access(d, pirq);
|
||||
+ ret = pirq_deny_access(d, pirq);
|
||||
|
||||
rcu_unlock_domain(d);
|
||||
}
|
||||
--- a/xen/common/event_channel.c
|
||||
+++ b/xen/common/event_channel.c
|
||||
@@ -369,7 +369,7 @@ static long evtchn_bind_pirq(evtchn_bind
|
||||
if ( (pirq < 0) || (pirq >= d->nr_pirqs) )
|
||||
return -EINVAL;
|
||||
|
||||
- if ( !is_hvm_domain(d) && !irq_access_permitted(d, pirq) )
|
||||
+ if ( !is_hvm_domain(d) && !pirq_access_permitted(d, pirq) )
|
||||
return -EPERM;
|
||||
|
||||
spin_lock(&d->event_lock);
|
||||
--- a/xen/include/xen/iocap.h
|
||||
+++ b/xen/include/xen/iocap.h
|
||||
@@ -28,4 +28,22 @@
|
||||
#define irq_access_permitted(d, i) \
|
||||
rangeset_contains_singleton((d)->irq_caps, i)
|
||||
|
||||
+#define pirq_permit_access(d, i) ({ \
|
||||
+ struct domain *d__ = (d); \
|
||||
+ int i__ = domain_pirq_to_irq(d__, i); \
|
||||
+ i__ > 0 ? rangeset_add_singleton(d__->irq_caps, i__)\
|
||||
+ : -EINVAL; \
|
||||
+})
|
||||
+#define pirq_deny_access(d, i) ({ \
|
||||
+ struct domain *d__ = (d); \
|
||||
+ int i__ = domain_pirq_to_irq(d__, i); \
|
||||
+ i__ > 0 ? rangeset_remove_singleton(d__->irq_caps, i__)\
|
||||
+ : -EINVAL; \
|
||||
+})
|
||||
+#define pirq_access_permitted(d, i) ({ \
|
||||
+ struct domain *d__ = (d); \
|
||||
+ rangeset_contains_singleton(d__->irq_caps, \
|
||||
+ domain_pirq_to_irq(d__, i));\
|
||||
+})
|
||||
+
|
||||
#endif /* __XEN_IOCAP_H__ */
|
@ -0,0 +1,114 @@
|
||||
Add -f FMT / --format FMT arg to qemu-nbd
|
||||
|
||||
From: "Daniel P. Berrange" <berrange@redhat.com>
|
||||
|
||||
Currently the qemu-nbd program will auto-detect the format of
|
||||
any disk it is given. This behaviour is known to be insecure.
|
||||
For example, if qemu-nbd initially exposes a 'raw' file to an
|
||||
unprivileged app, and that app runs
|
||||
|
||||
'qemu-img create -f qcow2 -o backing_file=/etc/shadow /dev/nbd0'
|
||||
|
||||
then the next time the app is started, the qemu-nbd will now
|
||||
detect it as a 'qcow2' file and expose /etc/shadow to the
|
||||
unprivileged app.
|
||||
|
||||
The only way to avoid this is to explicitly tell qemu-nbd what
|
||||
disk format to use on the command line, completely disabling
|
||||
auto-detection. This patch adds a '-f' / '--format' arg for
|
||||
this purpose, mirroring what is already available via qemu-img
|
||||
and qemu commands.
|
||||
|
||||
qemu-nbd --format raw -p 9000 evil.img
|
||||
|
||||
will now always use raw, regardless of what format 'evil.img'
|
||||
looks like it contains
|
||||
|
||||
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
||||
[Use errx, not err. - Paolo]
|
||||
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||||
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
|
||||
|
||||
[ This is a security issue, CVE-2013-1922 / XSA-48. ]
|
||||
|
||||
diff --git a/qemu-nbd.c b/qemu-nbd.c
|
||||
index 291cba2..8fbe2cf 100644
|
||||
--- a/tools/qemu-xen/qemu-nbd.c
|
||||
+++ b/tools/qemu-xen/qemu-nbd.c
|
||||
@@ -247,6 +247,7 @@ out:
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
BlockDriverState *bs;
|
||||
+ BlockDriver *drv;
|
||||
off_t dev_offset = 0;
|
||||
off_t offset = 0;
|
||||
uint32_t nbdflags = 0;
|
||||
@@ -256,7 +257,7 @@ int main(int argc, char **argv)
|
||||
struct sockaddr_in addr;
|
||||
socklen_t addr_len = sizeof(addr);
|
||||
off_t fd_size;
|
||||
- const char *sopt = "hVb:o:p:rsnP:c:dvk:e:t";
|
||||
+ const char *sopt = "hVb:o:p:rsnP:c:dvk:e:f:t";
|
||||
struct option lopt[] = {
|
||||
{ "help", 0, NULL, 'h' },
|
||||
{ "version", 0, NULL, 'V' },
|
||||
@@ -271,6 +272,7 @@ int main(int argc, char **argv)
|
||||
{ "snapshot", 0, NULL, 's' },
|
||||
{ "nocache", 0, NULL, 'n' },
|
||||
{ "shared", 1, NULL, 'e' },
|
||||
+ { "format", 1, NULL, 'f' },
|
||||
{ "persistent", 0, NULL, 't' },
|
||||
{ "verbose", 0, NULL, 'v' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
@@ -292,6 +294,7 @@ int main(int argc, char **argv)
|
||||
int max_fd;
|
||||
int persistent = 0;
|
||||
pthread_t client_thread;
|
||||
+ const char *fmt = NULL;
|
||||
|
||||
/* The client thread uses SIGTERM to interrupt the server. A signal
|
||||
* handler ensures that "qemu-nbd -v -c" exits with a nice status code.
|
||||
@@ -368,6 +371,9 @@ int main(int argc, char **argv)
|
||||
errx(EXIT_FAILURE, "Shared device number must be greater than 0\n");
|
||||
}
|
||||
break;
|
||||
+ case 'f':
|
||||
+ fmt = optarg;
|
||||
+ break;
|
||||
case 't':
|
||||
persistent = 1;
|
||||
break;
|
||||
@@ -478,9 +484,19 @@ int main(int argc, char **argv)
|
||||
bdrv_init();
|
||||
atexit(bdrv_close_all);
|
||||
|
||||
+ if (fmt) {
|
||||
+ drv = bdrv_find_format(fmt);
|
||||
+ if (!drv) {
|
||||
+ errx(EXIT_FAILURE, "Unknown file format '%s'", fmt);
|
||||
+ }
|
||||
+ } else {
|
||||
+ drv = NULL;
|
||||
+ }
|
||||
+
|
||||
bs = bdrv_new("hda");
|
||||
srcpath = argv[optind];
|
||||
- if ((ret = bdrv_open(bs, srcpath, flags, NULL)) < 0) {
|
||||
+ ret = bdrv_open(bs, srcpath, flags, drv);
|
||||
+ if (ret < 0) {
|
||||
errno = -ret;
|
||||
err(EXIT_FAILURE, "Failed to bdrv_open '%s'", argv[optind]);
|
||||
}
|
||||
diff --git a/qemu-nbd.texi b/qemu-nbd.texi
|
||||
index 44996cc..f56c68e 100644
|
||||
--- a/tools/qemu-xen/qemu-nbd.texi
|
||||
+++ b/tools/qemu-xen/qemu-nbd.texi
|
||||
@@ -36,6 +36,8 @@ Export Qemu disk image using NBD protocol.
|
||||
disconnect the specified device
|
||||
@item -e, --shared=@var{num}
|
||||
device can be shared by @var{num} clients (default @samp{1})
|
||||
+@item -f, --format=@var{fmt}
|
||||
+ force block driver for format @var{fmt} instead of auto-detecting
|
||||
@item -t, --persistent
|
||||
don't exit on the last connection
|
||||
@item -v, --verbose
|
@ -0,0 +1,50 @@
|
||||
VT-d: don't permit SVT_NO_VERIFY entries for known device types
|
||||
|
||||
Only in cases where we don't know what to do we should leave the IRTE
|
||||
blank (suppressing all validation), but we should always log a warning
|
||||
in those cases (as being insecure).
|
||||
|
||||
This is CVE-2013-1952 / XSA-49.
|
||||
|
||||
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
||||
Acked-by: "Zhang, Xiantao" <xiantao.zhang@intel.com>
|
||||
|
||||
--- a/xen/drivers/passthrough/vtd/intremap.c
|
||||
+++ b/xen/drivers/passthrough/vtd/intremap.c
|
||||
@@ -440,16 +440,15 @@ static void set_msi_source_id(struct pci
|
||||
type = pdev_type(seg, bus, devfn);
|
||||
switch ( type )
|
||||
{
|
||||
+ case DEV_TYPE_PCIe_ENDPOINT:
|
||||
case DEV_TYPE_PCIe_BRIDGE:
|
||||
case DEV_TYPE_PCIe2PCI_BRIDGE:
|
||||
- case DEV_TYPE_LEGACY_PCI_BRIDGE:
|
||||
- break;
|
||||
-
|
||||
- case DEV_TYPE_PCIe_ENDPOINT:
|
||||
set_ire_sid(ire, SVT_VERIFY_SID_SQ, SQ_ALL_16, PCI_BDF2(bus, devfn));
|
||||
break;
|
||||
|
||||
case DEV_TYPE_PCI:
|
||||
+ case DEV_TYPE_LEGACY_PCI_BRIDGE:
|
||||
+ /* case DEV_TYPE_PCI2PCIe_BRIDGE: */
|
||||
ret = find_upstream_bridge(seg, &bus, &devfn, &secbus);
|
||||
if ( ret == 0 ) /* integrated PCI device */
|
||||
{
|
||||
@@ -461,10 +460,15 @@ static void set_msi_source_id(struct pci
|
||||
if ( pdev_type(seg, bus, devfn) == DEV_TYPE_PCIe2PCI_BRIDGE )
|
||||
set_ire_sid(ire, SVT_VERIFY_BUS, SQ_ALL_16,
|
||||
(bus << 8) | pdev->bus);
|
||||
- else if ( pdev_type(seg, bus, devfn) == DEV_TYPE_LEGACY_PCI_BRIDGE )
|
||||
+ else
|
||||
set_ire_sid(ire, SVT_VERIFY_SID_SQ, SQ_ALL_16,
|
||||
PCI_BDF2(bus, devfn));
|
||||
}
|
||||
+ else
|
||||
+ dprintk(XENLOG_WARNING VTDPREFIX,
|
||||
+ "d%d: no upstream bridge for %04x:%02x:%02x.%u\n",
|
||||
+ pdev->domain->domain_id,
|
||||
+ seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
|
||||
break;
|
||||
|
||||
default:
|
@ -0,0 +1,41 @@
|
||||
diff -ur xen-4.2.1.orig/xen/drivers/passthrough/vtd/intremap.c xen-4.2.1/xen/drivers/passthrough/vtd/intremap.c
|
||||
--- xen/drivers/passthrough/vtd/intremap.c 2012-12-17 23:01:55.000000000 +0800
|
||||
+++ xen/drivers/passthrough/vtd/intremap.c 2013-05-15 23:09:06.704546506 +0800
|
||||
@@ -440,16 +440,17 @@
|
||||
type = pdev_type(seg, bus, devfn);
|
||||
switch ( type )
|
||||
{
|
||||
+ case DEV_TYPE_PCIe_ENDPOINT:
|
||||
case DEV_TYPE_PCIe_BRIDGE:
|
||||
case DEV_TYPE_PCIe2PCI_BRIDGE:
|
||||
- case DEV_TYPE_LEGACY_PCI_BRIDGE:
|
||||
- break;
|
||||
|
||||
- case DEV_TYPE_PCIe_ENDPOINT:
|
||||
set_ire_sid(ire, SVT_VERIFY_SID_SQ, SQ_ALL_16, PCI_BDF2(bus, devfn));
|
||||
break;
|
||||
|
||||
case DEV_TYPE_PCI:
|
||||
+ case DEV_TYPE_LEGACY_PCI_BRIDGE:
|
||||
+ /* case DEV_TYPE_PCI2PCIe_BRIDGE: */
|
||||
+
|
||||
ret = find_upstream_bridge(seg, &bus, &devfn, &secbus);
|
||||
if ( ret == 0 ) /* integrated PCI device */
|
||||
{
|
||||
@@ -461,10 +462,15 @@
|
||||
if ( pdev_type(seg, bus, devfn) == DEV_TYPE_PCIe2PCI_BRIDGE )
|
||||
set_ire_sid(ire, SVT_VERIFY_BUS, SQ_ALL_16,
|
||||
(bus << 8) | pdev->bus);
|
||||
- else if ( pdev_type(seg, bus, devfn) == DEV_TYPE_LEGACY_PCI_BRIDGE )
|
||||
+ else
|
||||
set_ire_sid(ire, SVT_VERIFY_BUS, SQ_ALL_16,
|
||||
PCI_BDF2(bus, devfn));
|
||||
}
|
||||
+ else
|
||||
+ dprintk(XENLOG_WARNING VTDPREFIX,
|
||||
+ "d%d: no upstream bridge for %04x:%02x:%02x.%u\n",
|
||||
+ pdev->domain->domain_id,
|
||||
+ seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
|
||||
break;
|
||||
|
||||
default:
|
@ -0,0 +1,11 @@
|
||||
diff -ur xen-4.2.2.orig/tools/debugger/gdbsx/xg/xg_main.c xen-4.2.2/tools/debugger/gdbsx/xg/xg_main.c
|
||||
--- tools/debugger/gdbsx/xg/xg_main.c 2013-04-24 00:42:55.000000000 +0800
|
||||
+++ tools/debugger/gdbsx/xg/xg_main.c 2013-05-16 00:22:39.263704336 +0800
|
||||
@@ -50,6 +50,7 @@
|
||||
#include "xg_public.h"
|
||||
#include <xen/version.h>
|
||||
#include <xen/domctl.h>
|
||||
+#include <sys/types.h>
|
||||
#include <xen/sys/privcmd.h>
|
||||
#include <xen/foreign/x86_32.h>
|
||||
#include <xen/foreign/x86_64.h>
|
@ -0,0 +1,74 @@
|
||||
From: Roger Pau Monne
|
||||
Subject: [Qemu-devel] [PATCH RFC 2/3] xen_disk: fix memory leak
|
||||
Date: Mon, 31 Dec 2012 13:16:13 +0100
|
||||
|
||||
On ioreq_release the full ioreq
|
||||
was memset to 0, loosing all the data
|
||||
and memory allocations inside the QEMUIOVector, which leads to a
|
||||
memory leak. Create a new function to specifically reset ioreq.
|
||||
|
||||
Reported-by: Maik Wessler <address@hidden>
|
||||
Signed-off-by: Roger Pau Monné <address@hidden>
|
||||
Cc: address@hidden
|
||||
Cc: Stefano Stabellini <address@hidden>
|
||||
Cc: Anthony PERARD <address@hidden>
|
||||
---
|
||||
hw/xen_disk.c | 28 ++++++++++++++++++++++++++--
|
||||
1 files changed, 26 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hw/xen_disk.c b/hw/xen_disk.c
|
||||
index a159ee5..1eb485a 100644
|
||||
--- a/tools/qemu-xen/hw/xen_disk.c
|
||||
+++ b/tools/qemu-xen/hw/xen_disk.c
|
||||
@@ -113,6 +113,31 @@ struct XenBlkDev {
|
||||
|
||||
/* ------------------------------------------------------------- */
|
||||
|
||||
+static void ioreq_reset(struct ioreq *ioreq)
|
||||
+{
|
||||
+ memset(&ioreq->req, 0, sizeof(ioreq->req));
|
||||
+ ioreq->status = 0;
|
||||
+ ioreq->start = 0;
|
||||
+ ioreq->presync = 0;
|
||||
+ ioreq->postsync = 0;
|
||||
+ ioreq->mapped = 0;
|
||||
+
|
||||
+ memset(ioreq->domids, 0, sizeof(ioreq->domids));
|
||||
+ memset(ioreq->refs, 0, sizeof(ioreq->refs));
|
||||
+ ioreq->prot = 0;
|
||||
+ memset(ioreq->page, 0, sizeof(ioreq->page));
|
||||
+ ioreq->pages = NULL;
|
||||
+
|
||||
+ ioreq->aio_inflight = 0;
|
||||
+ ioreq->aio_errors = 0;
|
||||
+
|
||||
+ ioreq->blkdev = NULL;
|
||||
+ memset(&ioreq->list, 0, sizeof(ioreq->list));
|
||||
+ memset(&ioreq->acct, 0, sizeof(ioreq->acct));
|
||||
+
|
||||
+ qemu_iovec_reset(&ioreq->v);
|
||||
+}
|
||||
+
|
||||
static struct ioreq *ioreq_start(struct XenBlkDev *blkdev)
|
||||
{
|
||||
struct ioreq *ioreq = NULL;
|
||||
@@ -130,7 +155,6 @@ static struct ioreq *ioreq_start(struct XenBlkDev *blkdev)
|
||||
/* get one from freelist */
|
||||
ioreq = QLIST_FIRST(&blkdev->freelist);
|
||||
QLIST_REMOVE(ioreq, list);
|
||||
- qemu_iovec_reset(&ioreq->v);
|
||||
}
|
||||
QLIST_INSERT_HEAD(&blkdev->inflight, ioreq, list);
|
||||
blkdev->requests_inflight++;
|
||||
@@ -154,7 +178,7 @@ static void ioreq_release(struct ioreq *ioreq, bool finish)
|
||||
struct XenBlkDev *blkdev = ioreq->blkdev;
|
||||
|
||||
QLIST_REMOVE(ioreq, list);
|
||||
- memset(ioreq, 0, sizeof(*ioreq));
|
||||
+ ioreq_reset(ioreq);
|
||||
ioreq->blkdev = blkdev;
|
||||
QLIST_INSERT_HEAD(&blkdev->freelist, ioreq, list);
|
||||
if (finish) {
|
||||
--
|
||||
1.7.7.5 (Apple Git-26)
|
||||
|
@ -0,0 +1,348 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.1-r3.ebuild,v 1.2 2013/05/16 05:26:22 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
IPXE_TARBALL_URL="http://dev.gentoo.org/~idella4/tarballs/ipxe.tar.gz"
|
||||
XEN_SEABIOS_URL="http://dev.gentoo.org/~idella4/tarballs/seabios-0-20121121.tar.bz2"
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$IPXE_TARBALL_URL
|
||||
$XEN_SEABIOS_URL"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )"
|
||||
|
||||
CDEPEND="dev-libs/yajl
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pypam[${PYTHON_USEDEP}]
|
||||
dev-python/pyxml[${PYTHON_USEDEP}]
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
ocaml? ( dev-ml/findlib )
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
${PYTHON_DEPS}
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/transfig
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
ocaml? ( >=dev-lang/ocaml-3.12.0 )
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
if has_version dev-libs/libgcrypt; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
|
||||
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
|
||||
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
|
||||
eerror "to build xen-tools on your current profile."
|
||||
die "USE=hvm is unsupported on this system."
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
use api && export "LIBXENAPI_BINDINGS=y"
|
||||
use flask && export "FLASK_ENABLE=y"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
# Xend
|
||||
if ! use xend; then
|
||||
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
|
||||
-i tools/misc/Makefile || die "Disabling xend failed"
|
||||
sed -e 's:^XEND_INITD:#XEND_INITD:' \
|
||||
-i tools/examples/Makefile || die "Disabling xend failed"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
|
||||
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Fix texi2html build error with new texi2html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Prevent the downloading of ipxe, seabios
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-anti-download.patch
|
||||
cp "${DISTDIR}"/ipxe.tar.gz tools/firmware/etherboot/ || die
|
||||
mv ../seabios-dir-remote tools/firmware/ || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# Don't build ipxe with pie on hardened, Bug #360805
|
||||
if gcc-specs-pie; then
|
||||
epatch "${FILESDIR}"/ipxe-nopie.patch
|
||||
fi
|
||||
|
||||
# Prevent double stripping of files at install
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch
|
||||
|
||||
# add missing typedef
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
|
||||
|
||||
#Sec patches currently valid
|
||||
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch \
|
||||
"${FILESDIR}"/xen-4-CVE-2013-0215-XSA-38.patch \
|
||||
"${FILESDIR}"/xen-4-CVE-2013-1919-XSA-46.patch \
|
||||
"${FILESDIR}"/xen-4-CVE-2013-1922-XSA-48.patch \
|
||||
"${FILESDIR}"/xen-4-CVE-2013-1952-XSA_49.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${ED}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${ED}"/usr/share/doc/xen ] && mv "${ED}"/usr/share/doc/xen/* "${ED}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
if use xend; then
|
||||
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
|
||||
fi
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
mkdir -p "${D}"usr/lib64/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/lib64/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${ED}"usr/$(get_libdir)/*.a "${ED}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(udev_get_udevdir)"
|
||||
mv "${ED}"/etc/udev/* "${ED}/$(udev_get_udevdir)"
|
||||
rm -rf "${ED}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${ED}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
|
||||
|
||||
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
|
||||
echo
|
||||
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
|
||||
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
|
||||
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
|
||||
fi
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 multilib system is required to build HVM support."
|
||||
echo
|
||||
elog "The qemu use flag has been removed and replaced with hvm."
|
||||
fi
|
||||
|
||||
if use xend; then
|
||||
echo
|
||||
elog "xend capability has been enabled and installed"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,348 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.2-r1.ebuild,v 1.2 2013/05/16 05:26:22 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
IPXE_TARBALL_URL="http://dev.gentoo.org/~idella4/tarballs/ipxe.tar.gz"
|
||||
XEN_SEABIOS_URL="http://dev.gentoo.org/~idella4/tarballs/seabios-0-20121121.tar.bz2"
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$IPXE_TARBALL_URL
|
||||
$XEN_SEABIOS_URL"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen static-libs xend"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )"
|
||||
|
||||
CDEPEND="dev-libs/lzo:2
|
||||
dev-libs/yajl
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pypam[${PYTHON_USEDEP}]
|
||||
dev-python/pyxml[${PYTHON_USEDEP}]
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
dev-ml/findlib
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
${PYTHON_DEPS}
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/transfig
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
if has_version dev-libs/libgcrypt; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
|
||||
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
|
||||
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
|
||||
eerror "to build xen-tools on your current profile."
|
||||
die "USE=hvm is unsupported on this system."
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
use api && export "LIBXENAPI_BINDINGS=y"
|
||||
use flask && export "FLASK_ENABLE=y"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
# Xend
|
||||
if ! use xend; then
|
||||
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
|
||||
-i tools/misc/Makefile || die "Disabling xend failed"
|
||||
sed -e 's:^XEND_INITD:#XEND_INITD:' \
|
||||
-i tools/examples/Makefile || die "Disabling xend failed"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
|
||||
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Fix texi2html build error with new texi2html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Prevent the downloading of ipxe, seabios
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-anti-download.patch
|
||||
cp "${DISTDIR}"/ipxe.tar.gz tools/firmware/etherboot/ || die
|
||||
mv ../seabios-dir-remote tools/firmware/ || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# Don't build ipxe with pie on hardened, Bug #360805
|
||||
if gcc-specs-pie; then
|
||||
epatch "${FILESDIR}"/ipxe-nopie.patch
|
||||
fi
|
||||
|
||||
# Prevent double stripping of files at install
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch
|
||||
|
||||
# add missing header
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
|
||||
|
||||
#Sec patch, currently valid
|
||||
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch \
|
||||
"${FILESDIR}"/xen-4-CVE-2013-1922-XSA-48.patch \
|
||||
"${FILESDIR}"/xen-4-CVE-2013-1952-XSA-49.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${ED}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${ED}"/usr/share/doc/xen ] && mv "${ED}"/usr/share/doc/xen/* "${ED}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
if use xend; then
|
||||
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
|
||||
fi
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
mkdir -p "${D}"usr/lib64/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/lib64/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${ED}"usr/$(get_libdir)/*.a "${ED}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(udev_get_udevdir)"
|
||||
mv "${ED}"/etc/udev/* "${ED}/$(udev_get_udevdir)"
|
||||
rm -rf "${ED}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${ED}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
|
||||
|
||||
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
|
||||
echo
|
||||
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
|
||||
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
|
||||
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
|
||||
fi
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 multilib system is required to build HVM support."
|
||||
echo
|
||||
elog "The qemu use flag has been removed and replaced with hvm."
|
||||
fi
|
||||
|
||||
if use xend; then
|
||||
echo
|
||||
elog "xend capability has been enabled and installed"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue