parent
5f43fb417c
commit
6b7d7b9d0f
@ -1,26 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX 50color-theme-gentoo.el 4375 SHA256 27e539708b3ee753637688a00458a4baced4347bb5c18f9bccd336e46defe791 SHA512 318354c71e75b343eaf90b3be2f94c0b6b93c776afe3289a5c18a5b837478291ce6a8d554a6357c13f14cbe568bf10c5d7ed9690ee8c382ec3cc4aeeac70412a WHIRLPOOL 2f26621ca95bd3b7217487f51ae145d70caf2bb8eb9d942297d11ec2e27aa8ec26f9adb36f481c0eef5162af4d5913930c9d2a5a3807007707204fde39587fc6
|
||||
AUX color-theme-6.6.0-replace-in-string.patch 1173 SHA256 f8e9b98847755b656bc36277e62850e98f4602cb377eebc01320bbd782168804 SHA512 bdf1ebb03c1fc70bf78adf4886b005780d1c540ac59730e644111f5a3a925b6b05d2e910520b67ec768815f0fecca3a5e617472ca9e415900daf890ca77bc6d1 WHIRLPOOL f6b271fb770a0112ec3e524f0bd43669682cb55027858c050258dffa57316e6206fe5a2f1f22df8250268e325beef7e2638164582d38f9fe4fd196dfb55cbeee
|
||||
DIST color-theme-6.6.0.tar.gz 124858 SHA256 56d35f02dc4c8dd386a7242007432adc458466c8a48d0d680eda1826197ca17b SHA512 4faa22900f6ad4a1dd57452470e23b57827d3f02bf2b9e3c4eed6f5693432d6478aa5008e67f219a95412a63fe52dbcad15b0ac7a3b4d39f1d28ceda75e5e76c WHIRLPOOL d4139af0f1c2d3c14e6b142cb7eac1f28bcb89cf011e4b6041fca0bc5c01810ddb2e1e9cc916887c5f11741fe69d0fed996473d5f662ec35a85de224909b96ae
|
||||
EBUILD color-theme-6.6.0-r1.ebuild 1247 SHA256 c944ee0db496ded822aaf05a25025993efad8c48f238998875ee992c1f1d7e3f SHA512 b0664d25daa84f9878c7b6e20b7c0bb7e110ab99522421f8b60429bb9613b12c38ed0012089d126689eff8e2e88b3706c3ee5771c06207e167e6a8055e63889d WHIRLPOOL 97aefbd50e641b0d0af4261c464fd35ee9b38bf8eb111befe45fa9f1eea998e0dcfecf20135f3a7ca036f601b83b0608889c3a17d664605c4428557bbc69fbc2
|
||||
MISC ChangeLog 5594 SHA256 3196b24dc46b262e18a6a140c292b70bfc2d895b9617c62ea793a9bd317ed77e SHA512 79c73a9ee70c3a543c461fe6c6c4d9890930e896ac662745b12b5a9bdc6ca2da56a0564458ced813dec0d6a0cf489831cca1ebc8abfd1c5af6a8f3beb63a852a WHIRLPOOL b0bfacf3d08286d339f88817b6489e872064a0edbc815dc8cf70d9c0832ba88f131207d0af26dabf935bb9c10b4919245d399a1acbc33be8be21fb7e00430262
|
||||
EBUILD color-theme-6.6.0-r1.ebuild 1169 SHA256 ee6ff9b3c47e0a30196374e0ecb3e2717f94d411e591345019fb6a1345c3ff9b SHA512 dd4c9d072d0f733d445f97cd60fe1f754e92054a5b7eba2f8352107ae2f04010d7f279087aebc5766d4a538b4935b811c8fa8ebb13ff25128634c754d15648c5 WHIRLPOOL 37641a97fc6117375b5f38821efa5a4fbbf78b55030858c8dcfe0b524765deba2cf90b35f1953694c677444da49e313f17116214058462e57dd08717622264b0
|
||||
MISC ChangeLog 5756 SHA256 7e5095699e03422483473e6847791d97cdbb975d76e9f3be83035dc19b88d0d3 SHA512 81371cd5f09193ae970a72fc30d2bdc8689e8d490c2d63baed354a092f696c41366f9dd4e686c05e0322cd321250c14548c1aad5b79160face09dd905f1dd111 WHIRLPOOL b09e58c19b2af45a0961bb57db56272817488a3a55c47d0798e10bfdcbfe15d79c96cddfee5e49373d2996d7590186936df84ae410f940ed8303f63936715f43
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBAgAGBQJP9euMAAoJEDxpGckxwJCBbAoP/0F0zV8HkBvNlqf4So7R7lsJ
|
||||
zzZigUUz7D5A6BatmwUkN/o7tGdCUaFSNAm9HOzTRkPY7AkkXndY07vSrlfTC+su
|
||||
2nOsSYZqcqkLtFjJbuivvUHFvOA8gnl5LWfg/nvPxvf9AbmR6cOm/aa0TyDQWgdP
|
||||
tSAp8DDnZ+swGJxe1ofQQtTPVrNt4iNSSMWJwNZ78enyvuXqg89MoPmY1/ULnyvg
|
||||
+ZqDzeaTfcbwvZ6l49cOVUYgvFNCoQOTfRb40OGcDxqunBwN+VFGXOg418MYei+T
|
||||
LiMxWUtoKGuEamKMCjy4QX+W+d/PyZNWEvdel/yDQJti650Alne79OjpUpMy2Y9w
|
||||
NJQmnJZ6JDNwI0e1xR5YleMldUxhMsWWbf8IgW/EhPIxUA/JL8bHwKs5x/DZnIjh
|
||||
5QPHndb+E7uLysVbTyXCLz6vfODrEdX8exaLXimBu5waH4GCRadKbBq8HTXbU4ge
|
||||
b47mZy7zWpUiQl2CgW20AvxRhh9rlUsoeT58JePA5glTm5E3f5h1QgYb+TGSmh8d
|
||||
fsfTlJwxQq9NbUuDwHHVxPCUbAVTTWz9hua0nmstiL+B/xkubAotng6loMnghsnW
|
||||
1hI85ryXvmQ6v4ahRBV563PnEmQYX6fYyybL6OWCyOtl75upjkm2nBz8xIKChZkm
|
||||
EVkxfOe37wVwV9ewBUb3
|
||||
=3q26
|
||||
iQGcBAEBCAAGBQJTA76xAAoJEJQzkH1pP7W4fy0L/0Yo7m7ggvT3pS16+zsjEhc0
|
||||
tLqWSlzfx5T8SFdtdhpOGvzgy6UCD/wvTVZCBBrXCBLYDck3rg88qIEIFKwvXJGv
|
||||
vPX0PtNH8NWURpWCWKIn3KkdrDJ2o2wje3iDj5eD/Eu0PSZb81UkmfOXPw7SbQDP
|
||||
nE533Xh0/L3ZKc2f0bpfCFF70LkhiiA5Zvia+JOa35SUJLsFRSD+VAb71r+rgC9L
|
||||
x3d4RhHZ0nKr7p/DJ07A+mmntV2BLYo9jXfB5xhpibIkWMi/avWK5ee7EE/2tHka
|
||||
wxREmHqc0QyLwcSM3iqhSDZWHW5TuK9DQFfPBjAfNcyeHIRx3fuRiH8tsafVyqK+
|
||||
Pr5slgK4YkI9VXcfjo3Sfw+wMNxSGSGNtXyP2tljKGL9oU8Mj04arSq/uZL5WMki
|
||||
dyaFonvUoVEFALHVmknUSPurD8VxxNFOUI/W9cL7DcvyMf285rkeXBdnuKXItYj6
|
||||
K8m89linLp1mIL0phiv4JKMX8SgkiFmXROFtS0n/fQ==
|
||||
=bwWW
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,37 +1,34 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild,v 1.7 2009/11/24 20:54:40 fauli Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild,v 1.8 2014/02/18 20:12:15 ulm Exp $
|
||||
|
||||
inherit elisp eutils
|
||||
EAPI=5
|
||||
|
||||
inherit readme.gentoo elisp
|
||||
|
||||
DESCRIPTION="Install color themes (includes many themes and allows you to share your own with the world)"
|
||||
HOMEPAGE="http://www.nongnu.org/color-theme/"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
ELISP_PATCHES="${P}-replace-in-string.patch"
|
||||
ELISP_REMOVE="color-theme-autoloads.*"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
rm "${S}"/*.elc "${S}"/color-theme-autoloads*
|
||||
epatch "${FILESDIR}/${P}-replace-in-string.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} *.el *.elc || die
|
||||
elisp-install ${PN}/themes themes/*.el || die
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
dodoc AUTHORS BUGS ChangeLog README || die
|
||||
}
|
||||
elisp-install ${PN} *.el *.elc
|
||||
elisp-install ${PN}/themes themes/*.el
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
dodoc AUTHORS BUGS ChangeLog README
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "To use color-theme non-interactively, initialise it in your ~/.emacs"
|
||||
elog "as in the following example (which is for the \"Blue Sea\" theme):"
|
||||
elog " (color-theme-initialize)"
|
||||
elog " (color-theme-blue-sea)"
|
||||
DOC_CONTENTS="To use color-theme non-interactively, initialise it
|
||||
in your ~/.emacs file as in the following example (which is
|
||||
for the \"Blue Sea\" theme):
|
||||
\n
|
||||
\n(color-theme-initialize)
|
||||
\n(color-theme-blue-sea)"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
@ -1,25 +1,25 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX 50dictionary-gentoo-1.10.el 63 SHA256 e7198f0db42f21158c9bc76415e1b11cab099da6a8f990d942832fe300b85fcc SHA512 2565c135f51cc6fedd38da6355471728335bad88f5723a988e988e6963f61e1dcbd8afd8db62c691ca63521eb85213c65935efa7e216d32d75baec32db0ee326 WHIRLPOOL c6748b6dded46dc63d31814a19681a41ba761fc269f4d6029f0a198afcba64c76c02f7130d4ef1dd4483ba93ebb62144b207b523dbd4a2ee4f87ef302eb55289
|
||||
AUX 50dictionary-gentoo.el 199 SHA256 4cfa76f00322f8e2bbc375605cef7146184f5bcb02da959d03c43c0f6c01a658 SHA512 68dd3c004af108b345dc7d020617128657c816a1ac4d114870b0e637f78d392e6d64d2dadadb4bdb800ba42a98fa489ddab9b372a86c79f12e9618b6fe003c1f WHIRLPOOL 9a182e3c4eee244e2d7a36749e3dd6fcacfdfb0829a4346a24fd97dbc01eb48829bb5d50dac00aef7f5c043c7603dffc9d25082a47af716715b76229a7b6f3d0
|
||||
DIST dictionary-1.10.tar.gz 33332 SHA256 9a8e0111590b09d3587f790ed1cd6d117bf82887cb10135be93af3e1e8e5ea60 SHA512 7f5ec0e023ea2ab3f42fbf9200c1ac86cbcb330c14d2fce791f65cdce010d7e6a6c72e0589769dd94fe3c3d7543b730aacfb373e496933caccf8542224bfa356 WHIRLPOOL bd1d2efad94679981de38b3e14497c256d4bfe23a532e16e6457c89aa1a27e5ffe68433e50647cc42c6090d4f15f9fd6616f38c3819a4fbe8f3718bfa93d10d2
|
||||
DIST dictionary-1.8.7.tar.gz 32764 SHA256 c2b6445df24d9e105e5e6dcad03de1d5fe93c44b39408142d118245771ce4432 SHA512 29bba42bc8996430696e74dd3490e748c58fed19c87dbf40e1ffe73b85ace6998fc9fc20562626be127219bf274be49de6fb5cf5b0a3c64f0e7c66a963ecca76 WHIRLPOOL bc5754db222449046019adf0d7887935ea95329cdfdd67f827914c816c78c2f3f39c5cb390a114de2ce08871a716417d86d56b9da77f53f4402d594f67cf4431
|
||||
EBUILD dictionary-1.10.ebuild 578 SHA256 99ef4da86d48de572a7d6a99526e9850473834200c3218360c30fb112539c073 SHA512 1e3f36b4c4d9bcf511799d975d4e7272ec6eb36e7d05cc36e2d5a4a471c8a33edd09348216cae29527aaf3371c35b05986a89d57de7f539b0fb26b179cf4f388 WHIRLPOOL 2f98cd5335a73ed7a301d73470b5e7a3adea3e48addcd9089955d30854a5f35996dc03709fca49222ce32ff072a0c3505e785c7ff8b7a9eacd9190283efd28f8
|
||||
EBUILD dictionary-1.8.7.ebuild 592 SHA256 7e9028f1ed78eb60a52b6d1a9b2cfba0aeaf25cdba50ba5e2f67df01f22c94ea SHA512 ede08272f3f65354831de11bc7d214fff9928c3c9e2c2201587253202325d115c74d36c6564641bb94e766417fea7030b3284d4305cc65dff4d6d54d8add1062 WHIRLPOOL aec1b95852c6cfa1d4086d94e70337c16b9bcc53bfd39230360a69883cb9bfb3a2294c6bed53f3ca1c8c89fce8248129527525510e38929656cf163f6f26b5dd
|
||||
MISC ChangeLog 1523 SHA256 ee98efe86a101968d3557973c9e778ed11d1e303fcf4cf102ae43be130938b5c SHA512 5b8abc1b1ca1d71916b886cd453b90e2d1b4bd407fc5dc1bd5d89f453b935656c6f8930d3966f5022fc93deca871c187c84bcec01f8e463118a4034c54836b76 WHIRLPOOL 8ae6f879ee3d765de7c471072834fb6521a631d42469ef0f7955f587edca956adabbbe8f90d734b4330df247b31ee83131332ece846cb9dfcf468be7b1928a57
|
||||
MISC ChangeLog 1680 SHA256 ec3af7a0ca777a05073e8a9577ac678983e1e2995fa045dad18f1de0f3863e49 SHA512 3cd5d9dd2515a526715c4f97e5f4ddd85b5a6e6ca9cdcade307e9197d5aa807737df2c32d8586c96d44f66c192f0275d5a5dcf1745817e11d34b7e51a8a95d08 WHIRLPOOL ce964dcbea793dfafd21cc8b79d269413600889bde880c07c1ba6cf362b384573fd11eafbfb5b15b7281374e5d16bb372fc4eb4c400169099b581d74cc1b4197
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBAgAGBQJP9exoAAoJEDxpGckxwJCBLH8P/RB5YRDqnILmF+hvMntx4Lj3
|
||||
1MjVsvRt79B8AJkwAHWhJ+kf/uIk0H7jMb2u5308Lnz4rnxdBGFXXuWhR3cZC/QU
|
||||
0pQUQhHLyehE3A6xxvlfdeQj7y7iZIT8e7+xdchm2xl+UcsbEQ37N6OLEKaLVM8J
|
||||
xdrzvn/7iaX0+u5Hvf/gQB6z+bkBwh6woDFr0/W7RkKCois14aKogZqx8Dtik6kE
|
||||
MIikGmTwayPvP8Zx1aM7pW90x0z2utGbIGFQREtqKnXVUfrbTejBsgDwQ+uEFQNj
|
||||
cdCYxFP4uVQ9pnASiJh8g2JqCqyiv4xu4aJo0XImhkZVLorhELeKtQi/sIV75k36
|
||||
nrdgqHXA2JaV2R5MwMYXJUCs0dPekX9GktzNrzv8255Mw3EqW+653EZOwQYzxgix
|
||||
R/OIl/XYNMuhOxdf79I9FOLoKtp1UKsvEa6pclT/gFXGGBbFaPxLoIayrTx6exOJ
|
||||
KGyutBM3Snu6F1wLGA0ccXiShwOYHPI15ICrwwKh3clsCjdlTRW9y1Cs7KkVFLrL
|
||||
bJ5NpPH1NzZFDINTAJ+YmlyJhSo44LjUz1Nefx3XDdy+zaonfn1ZC2CSUvr+Es0O
|
||||
mz9OIFx12iO/GzKB47KSzPjZ8065Kczk2xqbvaYVSYO+JpaL5UfOxR+21kLSN57e
|
||||
HmrXB1/thA0X5+jOq2Uw
|
||||
=fpBa
|
||||
iQGcBAEBCAAGBQJTA+0XAAoJEJQzkH1pP7W4u8gL/jqrONzBrL8s0wiqzS+xrBSg
|
||||
vQPVDS84ARLNfzF56pGSjmmRDBvATEFnmC+OSz86oIEA58ZqYbGiQOWIegFDtZ+C
|
||||
QchZlfwPO2RBb/RcymwjMpOB4s0u/TGTvmmsdVT5E2OXHzHiOdCbMDi7cjbrX08l
|
||||
L0JKvRPVMGTAHi49HzekctoPfPJ1cEZ9WM+XozcMcokXXLm8pRE+6+hZRVfXNkZx
|
||||
hvbijT9dVWGkvWP3ogYBYn9hK3f61q2y5DywNc+aG7JlBZPOtD2qQJHRcpJHJIzj
|
||||
CU6JbWO9mOOGKwh02YMiJTdOpr1goe5iQxGL5Nv27c4fgDDGiL2v9mipFOtR3nTU
|
||||
Gln1cXuT1ACLJkms6gD9JSG3ynZGCrINHbXEQXumnIHHgf847H4fDWnaHEYA1Vip
|
||||
iVKk7BW90ba6ksNW8ZYHBYvTkMIIY2tBObT4wWm3lnoWV5pqBZ92f/SBvCsCOCs/
|
||||
p1S+VAGuwSTJtPnLHf/sdeh4H2WXKCSKeL1qERYi/w==
|
||||
=9Vpl
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/dictionary/dictionary-1.10.ebuild,v 1.1 2014/02/18 23:30:12 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs package for talking to a dictionary server"
|
||||
HOMEPAGE="http://www.myrkr.in-berlin.de/dictionary/index.html"
|
||||
SRC_URI="http://www.myrkr.in-berlin.de/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
ELISP_REMOVE="install-package.el lpath.el"
|
||||
SITEFILE="50${PN}-gentoo-${PV}.el"
|
||||
DOCS="README"
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "dictionary-init")
|
@ -1,25 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX 50emacs-wget-gentoo.el 230 SHA256 d18b16edccebd283de7dd8182c533553a159dc4f716dc4c9f32537557eaa28b6 SHA512 803bf76202edd3d130a8050a026ddf84a4a2dbe65f6bf5fc159a66b3af12e2d46ce519a61296fcada0ad0ed3fbf61d62bcc87e3329dde02a83d09f94ff257d01 WHIRLPOOL e22bc0bde1eb87d43c420afd94083ca295bddedc01a1acb3eb5469317ac1c4cc084a0c765654b46bcca68addafc3a10cbbd366aa6834280a9343e67f1a7a4c38
|
||||
AUX 65emacs-wget-gentoo.el 290 SHA256 b019f0025a2524cd936d3b5761ab7879f33a52d7721ee0039c5b5c0b6747f64b SHA512 5a621e59de4cdef9e1d9beca287a6096d142c7846766effb62e57ea71a9f01697bffe0daf07babd6d1fab91db20532b0eb38a610235dd190e710acc9e5c7f08d WHIRLPOOL 14ac4daccdb9ad6c70be29795d56c93e10f15315cc934d9a853ce3b35075ba69f2370933ded31a61f37a43a2bd200c56f43e0a5920ea9bdcd9209b149982bfa6
|
||||
DIST emacs-wget-0.5.0.tar.gz 37074 SHA256 ce59516c15f9de0c637d033419605c58f4da2f5ba762f74a5911cc96b6df7e81 SHA512 32d322cda7435b901115cdc01ef6b6e84f2af7f686f7d6a89cc486523d9d8b9807903c4ee0fb945a4ff457720033523beb34037e29ef7c9cdf2a10c62b725d54 WHIRLPOOL 9ba21389535396d8cb79dabf263cc276a087644f52a5497b7bce30d26162598636fcff8fdec1a5e9b362afa4101501b8138ce8ce8d995857ac745b9ff12b0818
|
||||
EBUILD emacs-wget-0.5.0-r1.ebuild 700 SHA256 0251f3c6addd44b35c8418aaedece23ac0bd9474fa946a55e9ad3d209c38cf55 SHA512 af512b265281d8fa9df5743bae9b7cc58da68fed850629c3444d2a71bda3012a84f7aa21047d78d4df60214e51b8b75e4531dc6162bd9dfd38760ad26a191d49 WHIRLPOOL 2a2eafc44c5f7d92ff2db4e4d81005c0c2f1d5cd64691723a649502811ad21235676e54417c3dff784869bb50b3007ecccfae7dbef4bfb2044ddc4479db97d08
|
||||
EBUILD emacs-wget-0.5.0.ebuild 579 SHA256 b607fd116af7f983999d1c83b365d44b3713d3467193ec7fe68001c40dbe28c0 SHA512 6ecd729277ec5fe4818c3798caaeb1bab6ee35a749206abdfe72b54a9d6ccc9bb185d2c1030192c3019d03ff50f3dfb5c2f99959ee3cfe0a2e4cec0f4ab46cff WHIRLPOOL 276bb7a313fa7c4e0f36f869129d967e229caa9f35517e37daaf1b6760f45a40a45fdd49aca150ea7d22dac754e93a421178c3cf5d49be32f78be8e40edefb90
|
||||
MISC ChangeLog 2366 SHA256 9f0c7671b22f0e2419eb4bc81619337307d70d53f6cab34b8e305b9c7f9cc807 SHA512 3062339a0c388abbbe53ffaf0479b8ee2ed45ec3cf1397a8a4b1e9b8bc809a8c82343b5c191617fcfba76ed216ebae86246213e7a015d0fa690a96642b2a0503 WHIRLPOOL 9b56f96b51ca45f8fbe6dcf4b461a94b6e3dd4c894f90b3a87ac57c87e82b1f56d32b88d0fe39b8e6626711b4e718ef7a67ab45dc3e41a32d1b65dd7eda58135
|
||||
MISC ChangeLog 2684 SHA256 cda4752ca34a114dbb2098c738e42b79b48fcc00cdfaaca4a548088dd0ae6edb SHA512 cc1ceb3f5ecc0cbff3e12b4a1aded4847462a69de468ece7b988404d39f637d9a389a0f43b16142870e3ed5219b3f9f9330d8d50368fdaee92b57f4fa7ffcc53 WHIRLPOOL c818fd0c8a2807dca2373a1bc17098bc1de27fdde5d8cc6f85546d68175925eab4350d5d567a6527f2ec2cd8c5be39d011e9e852877183604b0378cd27cd440b
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBAgAGBQJP9e2lAAoJEDxpGckxwJCBhbsP/2ZiccSSB70LIJkCX930aEMC
|
||||
24Z5HHYxOzw/SVV3sjDjukC5jt+sMxJqCIYCaotnPscAjkoU+Bf274AF+htevln0
|
||||
Bug8eIXw6Wh2bu4l+0rWidhM7NVqSL7fqI4t9Hw9mxVgjfAPW5zOpvVmzjXdLRf5
|
||||
e8CztBpx7a+/mMbZGx/OARFrYqnSybSY2DOTvbdDvEbxHKJ0EG7Ih8Rg+R7Od+bP
|
||||
d4NpWEDvbNoCGH1TROIEBqMxnG2MMPVrJ4U/tAP4tL0XBE2iDUO3dckR7xWvqh8y
|
||||
QqI9xeZ8SHypBd/fZ6v1ZMblZ7rfG6T+/0J7MXDuCHR4kf7p/tX4YDDWsAUsoG5L
|
||||
dVlet6HBYPmMH1SzlND2Ns5lbYcBEL+OM25YT8HTESxpAkEALNSzulOHjMO7tJ4l
|
||||
ingqOVjKq6KooW8efe9QhMs6FU5yn0vnixQW0WJiSS1BgUzD421UxBWyHROHqXIq
|
||||
NIOwQegRPRJT4xqDO927d972SCnltkeI+tXSUXBWFQzX9xiNdVFUK81NQw1jU+G8
|
||||
CwxTIIlFHh+zqfYK4cvxQcikd5WO0CiDlV36t2BVwxKQw7uScFdXYzwCa/CzEcSO
|
||||
fY/BCjnkW+SmTWdReTUYxbONbFuV9m2xstdP9NGWXdE9zC6nXijvt9RHa1JGSRO2
|
||||
r5JqD+aX6RPqT4OoeV0O
|
||||
=IMnX
|
||||
iQGcBAEBCAAGBQJTBFa5AAoJEJQzkH1pP7W4uiIMAJY4xO60LkqpLqSTd1nQ9/I6
|
||||
VFb+HUctJ2H44qZpHwTLSoM9DcyWdfbBTtZgIMq5CBl5H8H4jlo653dQ2lWSsrgZ
|
||||
eE0d4Ds7VJ5Uctor/++41U9ahyBQiMaziH+VgNwsaihj0DJfnoPb513yV01n6ICb
|
||||
vRXc02LAZYNEHVB1qRA1lYGpRfijlM+l1Gg3YB1SHraz8HW0oNcYFBIrF2gpJ3qM
|
||||
QeAgya8o1tkJKregg4vLHBslPEKJ6R0UlgWHQuyVef5ntTIWtkdjFXxNPax5Ne/X
|
||||
rdHbzMbsRVly2wbs/luFo21PRjTQycUqwc8Z1t35aSmQrFbPcoYsHeDGF3xWYPVH
|
||||
vAp+0a6idplCJ+5cfxsInLwqQ56ULIeUaqyyWl1XwTW4+nNweabKxebGu2Y4xEXK
|
||||
HiKjEKBsaFW1RsGIrl9hwslisL+kF1/oPqXLPXBQhgmuHxzltzmkHpk/CDbkZohF
|
||||
PKYCVlfZcWlAH8k4Np41Ol4g20vuXPcilmBTQ/0RCA==
|
||||
=B8NP
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-wget/emacs-wget-0.5.0-r1.ebuild,v 1.1 2014/02/19 07:00:53 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Wget interface for Emacs"
|
||||
HOMEPAGE="http://www.emacswiki.org/emacs/EmacsWget"
|
||||
SRC_URI="http://pop-club.hp.infoseek.co.jp/emacs/emacs-wget/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="linguas_ja"
|
||||
|
||||
RDEPEND=">=net-misc/wget-1.8.2"
|
||||
|
||||
ELISP_REMOVE="lpath.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
dodoc ChangeLog README USAGE
|
||||
use linguas_ja && dodoc README.ja USAGE.ja
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'wget "wget" "wget interface for Emacs." t)
|
||||
(autoload 'wget-web-page "wget" "wget interface to download whole web page." t)
|
||||
(add-hook 'w3m-mode-hook (lambda () (require 'w3m-wget)))
|
@ -1,25 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX 60flim-gentoo.el 38 SHA256 f34ea07a3270a25cce3430e4781df47d9903052c9f3a4ea24efb64b1e63bd115 SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5 WHIRLPOOL cc5e2fd5081f5fb0018e1fa461c0802c7c90891accc55c02c2935dd3d413c5f8941e918af9341040526b037be4c34dab26008dfca91c153c11fca41338f77c14
|
||||
DIST limit-1_14-200811252332.tar.gz 186477 SHA256 41951bf2a0b4fca79cfa14b4a249e655ea028ecfc27b1380acb615ba05916701 SHA512 59cce771747cc1e144cf5b3e043c87b09f81935334327a1ea46197951f2c572c3f3e28efc71076fd3da54f9f667852574088ab009d2e966ea3eb363ee53ce0a0 WHIRLPOOL 39351e0a869225c374e98687ea1d65af30f0a0ca7721bb1f332e8ace26e38213513c192f6b0fb8c0827ec79cd0bc17961e7021507789575d924bcd9b0a8c3af0
|
||||
EBUILD limit-1.14.10_pre200811252332.ebuild 1150 SHA256 57cb9fd06c5bb26b6d97ad59e23ff2a1826ba322a4a1bebfe5ec8dc847ec441b SHA512 2dba1ec4b388cc71548d73aef5d2ccaa16cbe2b86224711239d441bf57c834ba8a300331067008b155d21600fbc5699def9f640093cf7174da23e6bcff333730 WHIRLPOOL 5693ba8688d58ccbc83adfd7a05dc12545552a357f0f46b321350bbe244029dd791b5c722bead1f74d587842f88a9c55c81fab14230a449bd3baf808a2853003
|
||||
MISC ChangeLog 5058 SHA256 b15de13945a532ff10a00ea06feab7f0d16e44efd5b527ee0c9eba632455a111 SHA512 7815cbb0cd368aef221e10e8b49a7ebd12797d1bd74fd706af1d578a10d405ba45d41769c859f863585239efca40214d561d85c8633c2436a4277b078966d62d WHIRLPOOL 10074a7983f3a57f3195d58f52955ad0f24f27de411259b6aae909145ce6c5015b7636019358fef1be5edfd935ea0c57a74b1d55c78d182ba2a622f5e0dd5006
|
||||
EBUILD limit-1.14.10_pre200811252332.ebuild 1030 SHA256 9213e62ae46cffc562795642d50132c5ae2114dfe2216ac4a632bf367facfab8 SHA512 113c05433750f2131d0ecb16fa8a945298fba624084bf08cb575967077608545d99cee5ec59f2cb6490c96aa978d3319e994d13b9b7190385404e1c88a7c4384 WHIRLPOOL 27c8ee1a04a764872e1465d8f1b2976d963564d54ed344f3ec4cb9f88934b3c7918168bd1485d12f26be83f2907b9202cd61ab7d5b7069f62d78e7a2ff7b3a71
|
||||
MISC ChangeLog 5220 SHA256 bcd7247c6c73dbfbc5dc144cfe053e9ce6043a24e90a180228d9103468a4581a SHA512 92cc94f6369d0cb154f184e4853310879a2be3185c9518a9c859712483bad9d823cade61017dc6060c800219ead4fdb73214fe3faa4dd4e396437b4da8370b98 WHIRLPOOL dd627d678e33e3d1ccfb907f202a777d044979d4928aab83655fb6f294bc83756e1930e5a0c3e69f2091b1423eaf6fea76fc203c2cc8e43641ed1255fe7d39da
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBAgAGBQJP9fBmAAoJEDxpGckxwJCBMhUQAJhWXoHvlBsaJmRNLqcZ+pPP
|
||||
ezNS517Teq/rdKkJ0jBMK6VAircVs28yb9Y8DznYBaG0NE9BjyyA8GHhaN6360C7
|
||||
HbFESOWwabjrmSyBXKfnhQST/t4tjEaTZANMcqPztMaxPCb/RHP7Bhev12yC2YWY
|
||||
9H2v3wObQVZVemtkQdVSgIVEX8GJjiR3OTUPNRAnMfYsoN9zN0TmVqgZPKmnFPUG
|
||||
v5Om5cv4RXOp8rkegkEQQoIVJwADHmxNzUwIkJ+eCZ/GDd87aj3moMrcjAdRFKlO
|
||||
NpSGpQjcZNtkn+AuEEVVpW8ZM2awS7qgz2PZ8p1f1quUsYV5y/7ZpLlR7SvfHcvj
|
||||
zWVDrk4dxVEkFkVoKcIV/SdsefLw4gnqRUhbbHUonUC22uwgTjss97wFneBuI8cU
|
||||
7dVIXMfE1guJ9b3gIdlMg6G/J8sEVliwISuZfdsGBHyV3stSRokB8YKXJla0dnYI
|
||||
WMkfijaShuoFvyO3WCt1kml9ligRVFC/jApVxoreNsIpu1DyahzbcpGMUNFKS3Ws
|
||||
XR1SIEj8LncmDiuP8FfmVtT+ZyMTZADj/NeL8cFXNG/0oupwUFblR81klW3cQU94
|
||||
cYrdcluBzoEAawFWK1wR2i362F6ZW3ULZaWCgISH4tc9osrJTcec5PnzgN7VYhpO
|
||||
5A9O8xHlQJHgXTOqf9FC
|
||||
=uGAI
|
||||
iQGcBAEBCAAGBQJTA7o4AAoJEJQzkH1pP7W4CfQL/jyUQwgSkFCn/kToHcJo2Jcb
|
||||
mwqg3ujLMiRUxruqjB29kkdoBhlkzbE/n5cNIZMiNtSXOLWVsdHUm8LecF1SZIJu
|
||||
ITdIZPEwYPJ097jYeKMbnDn82kWvqmjbsn0mbpxCTxMHgfUmC9KGM+Z0g29YP8Ty
|
||||
mhzp0KWFbNaIYQ3f3zCbTVtRGtHLBgeyYGDqhJtwP8Pb5/BYTx4aeUD2E07CuMCz
|
||||
m1IpqxGYJ99vyY6BZz4vDu4fMyrUPbXwFnlfQDal+1mGbkSBdle/PJ/owze9fLoC
|
||||
H1vdErFez0Rs2t350OjH8Hb2Dgsbk39VL1gp/jlRtREXG9udmNNKUTTmq0Or3GXf
|
||||
SNxfM1jaiOjBwPNZacRb8Rpiwp43k98Qq4LBLTYBCxG8KnIHVG54RGSmaY7J2VKi
|
||||
WItNoHUN2hjWVSCqzjrU397vs737lwGl4Ljf0lGZLcQ3Pfip//AR08CJcj1of7DS
|
||||
Is8quWnhEFgutk5Ad+G3AzfDa0QlhHrJtPhov346dw==
|
||||
=82gJ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/paredit/paredit-23.ebuild,v 1.1 2014/02/15 20:25:02 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/paredit/paredit-23-r1.ebuild,v 1.1 2014/02/18 13:13:08 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,25 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX 50qwerty-gentoo.el 140 SHA256 6f22b9cbce1a54e5ea75657f3681aeaee74c535d2b35907b68a6ef062a122137 SHA512 5b4b0c39324d68769698a83000e7c291a685f3b0c0118ef238557674d56075df45714aab28c662bcc5e487ae1438639ab310bb21c1b6def7aa617aa6ac406c82 WHIRLPOOL 36fdb989129ad8b74b1489e6acee49ef1a2ae8415a1db4d03d4d7e3c8cf7d45cde1c2ba24884eb973effee4c345b3042a0cd07fdc1855072e383449aeab0acc9
|
||||
DIST qwerty-1.1.tar.gz 3629 SHA256 e420815acb8bea40e2cfac7f241b275bd131e5079abdf9e0164872bffaef6a7d SHA512 1e808f758c2db054a1ae9fbfd961a1ca279226738d2cfcfc640e1613814469320dba75a2b6be00641403ce165e0fd02da04b791928979506deb8ef98cb9b9ada WHIRLPOOL 5cb0feed5d84f530691e5f0da78373005a81947802df1f592401eb1d186511ff9ae8a59754031dbc0b356634b44228e46fd2f5871724523f517f9ecfd6b71e25
|
||||
EBUILD qwerty-1.1.ebuild 596 SHA256 519e4e075321619989252488214e16530068feea7008c3520ea9599d993ef1b9 SHA512 d459d7f797a2e6fc76b5442b2c8ebfb3ed758e178b4188a702ba93b87f5bfdf19597cca15ce375d2d446845fd6325024a744a0d1ec5863529c561653a80176db WHIRLPOOL 402fc84c74fda1f1b484cc15623b9be6c4f84065881508b05d26e8264b84ee9983328c134113fe7557c50a5eff8ae7f36152920db686b3f68f356e2bb0c31b41
|
||||
MISC ChangeLog 1337 SHA256 b5f8e31ae0ae2ac5a5b8c52913155a0668a75cb8436e8408c993b62b69d321bc SHA512 ec0f9f0b17b224114e6da6304184151c40e4b864406822732e66e61df4cf09fe111e400124ffd1dcfa72b7bc7c91ceae6415213ccdce3e159abbb4604a8aea1f WHIRLPOOL 26cc32012f192d03c77f02ac98cdf8b6637bb6c3e28a62e6ecf079dc49d08e3ca09eaa266fc4e22204a3f5125fe1a54ea01b863732fda1d0c14a91f6713586f2
|
||||
EBUILD qwerty-1.1.ebuild 596 SHA256 04a85b56b0af835f96727e0e1b4c613d80ea1515f0f8de98245ac0d77109572c SHA512 12d9cdd4790586f9028634ac52a5eac21fbd83b74cb705fb1659812a85a6751de2acd83a00db8dbcfcb30bca0db3f3fab5c0999f4ee2c8dcb44fcebebebfbbb4 WHIRLPOOL 3aa0a91dfee36af6a689eb1944165b937b5c38c76327e049d46b566db23310d7dc5ce492d319a992d810bd8201afe86e2457cc7d4142700fc91b47789afae4f3
|
||||
MISC ChangeLog 1463 SHA256 bc1ee516a1ff91c9abe9fe8528e5961d5fe9636dd6c67e5fc984f94d2ad88ddb SHA512 64df721de03e58e2b69d2f68b051ede429bf0369140c618dc5b9fbf28e32db3f4503132f2d0b87bf61d2ab7817dfd4de846a2843c7b0d74620836e3f3fac7378 WHIRLPOOL c05bd7764ca25c11c9a53e8aafa163e3ee385b38bcf945c32d9909cd99c4e9a884bc8918bf7a692afb2209f0b910ff8bbb94ab60fce518e34646d914e2976659
|
||||
MISC metadata.xml 158 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab SHA512 e55d75feae933ba948ae987305ea58e36f5880f18687e8acaf91237e33e251be3ecfd5be27048f4907ea6799e0bcf784b602096dd7e2bc9c450eb5e2bb6a73d2 WHIRLPOOL 1d1676172186235a3e99ca1d148298fb24f6a089f9b7908b3c28c246c8854969835fd3742b8b81e0a30b63d76ee0be0c42bfede2416a30dfc3c8b915a147340c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBAgAGBQJP9fOrAAoJEDxpGckxwJCBvjUP+gLZf+aCCiM6P4UhqSP7Ungr
|
||||
3IPdPymYF/UllTGqyi5Te6pVLlaEOBbfRcLaN5Yfji8KZ0YIfeIe/vQrEqcmQT8D
|
||||
l1NBYrAyPI/L30DCqQz5SYhlF1b3tsHSfJvRBY0Jexh5SUdKri2PiY5mDwwsKns3
|
||||
tJx6oJMW8wN8l+ieaAfxrQor6pjaw6wHtIB5kIgl83OxJuEjVuow9IAhxupMfwQ7
|
||||
zq/yu7sT30XFUKcHpj/D1I86vO+NQGpzONqAifZ9u1ZHwCY3zY0BKCNpa1BthZoc
|
||||
GT2EpemqkF+QhXF9D0VRNj1t0j10GuFhVyF90JW57Q/5LKTEK/YiwP40qEdxhW6n
|
||||
G3NdMiDR4zpVw+40HAEJRcN44cGxhmTZkwTSXToCCv/gk/31h/iuUqcOUUYM0GfI
|
||||
VVHDZOpXDV46Ssas6cxinuOoHAZKaUFLMm0FDikPOr4WilUV+pZm6ohC9s7b2r75
|
||||
WEis8ZhqQ1QuLoT/mhjpdwFU96P4Rx6ByfbEvEI2+EyNxD+ObzhUOaDmMIwfNuBi
|
||||
WMCgB7zlGl5a6dyaOYQhN/LcYqvmkjdCeIEQuhSiEaQ9fIvcHaf24APKVbkyyIZk
|
||||
Bi9r7KNIP15zSLivTWxEDouT8IJxpmnRSHIReihoHO0OpecTn5D2Wztwmbk8O4uZ
|
||||
F9iJb7a2/1mslNyty6Vq
|
||||
=6Ji/
|
||||
iQGcBAEBCAAGBQJTA+dkAAoJEJQzkH1pP7W4tcEL/jEAJWVCQFMl4+j7K/g4FVWY
|
||||
lr36hKJCyjPy0LQz8dk7kA9Y2dxt0ZV+wl9er3Z+5RxN2IgJ8Hbbmro8MMtiElbn
|
||||
EoyfeaTIoOihFd4wUYUBwv/+nhKeF8TU88LKdd1tzNckFL5m07gW0+DiCy4J1lrw
|
||||
B7qrX4rsZ5cRotxQvpMq1r3cbNByggdhrR+JFT/l4uLmXvK0cmTOtr1hTNfAxbLB
|
||||
RBVdrGdXlpa9d2zv9JZhCiLrFr0BCF9oFVlW6aqHj4ZNQn8ct3BeMOeCWvoMU2vc
|
||||
2zPKqzjIVtTJ1B89QzaFstmYBE7Pox5CCAu4/tf/4jmk44NzPbZ/HIiAGIE8kP5T
|
||||
Ecijn3yDx/9KtCgFu9pQoWEzglhF4WORmCSnE/LyyITP8WeARLkGSgQwW5V/UEig
|
||||
CcPGjus6xaAe/EwRd33kkMoAJtv0D7BVxue++oh+Km5m+wTjlTR7DhPpdLOQIGWg
|
||||
JzA2IOLvgYPzvOYUqOL3USYmlRh25HICNPp3LDVQ5A==
|
||||
=lFVn
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,17 +1,18 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/qwerty/qwerty-1.1.ebuild,v 1.14 2010/03/05 23:01:21 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/qwerty/qwerty-1.1.ebuild,v 1.15 2014/02/18 23:05:53 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Switch between QWERTY and DVORAK without changing the console keymap"
|
||||
# gnu.emacs.sources Message-ID: <NJ104.93Mar1125218@bootes.cus.cam.ac.uk>"
|
||||
# gnu.emacs.sources Message-ID: <NJ104.93Mar1125218@bootes.cus.cam.ac.uk>
|
||||
HOMEPAGE="http://groups.google.com/group/gnu.emacs.sources/msg/eab31c752dfdd3a5"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-1"
|
||||
LICENSE="GPL-1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.2.4.ebuild,v 1.1 2014/02/19 07:06:02 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext"
|
||||
|
||||
RDEPEND=">=app-emulation/xen-4.2.1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
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 custom-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 {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.2.1-externals.patch
|
||||
|
||||
# Drop .config and Fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
|
||||
|
||||
# gcc warnings/QA fix
|
||||
epatch "${FILESDIR}"/${PN}-4.2.3-qa.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.3.2.ebuild,v 1.1 2014/02/19 07:06:02 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-apps/texinfo"
|
||||
|
||||
RDEPEND=">=app-emulation/xen-4.2.1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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 custom-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 {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
|
||||
|
||||
# Drop .config and Fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
|
||||
|
||||
# gcc warnings/QA fix
|
||||
epatch "${FILESDIR}"/${PN}-4.3.1-qa.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
--- xen-4.2.0/tools/firmware/hvmloader/Makefile.orig 2012-05-27 21:57:04.481812859 +0100
|
||||
+++ xen-4.2.0/tools/firmware/hvmloader/Makefile 2012-06-02 18:52:44.935034128 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
else
|
||||
CIRRUSVGA_ROM := ../vgabios/VGABIOS-lgpl-latest.cirrus.bin
|
||||
endif
|
||||
-ETHERBOOT_ROMS := $(addprefix ../etherboot/ipxe/src/bin/, $(addsuffix .rom, $(ETHERBOOT_NICS)))
|
||||
+ETHERBOOT_ROMS := $(addprefix /usr/share/ipxe/, $(addsuffix .rom, $(ETHERBOOT_NICS)))
|
||||
endif
|
||||
|
||||
ROMS :=
|
||||
--- xen-4.2.0/Config.mk.orig 2012-05-27 21:57:04.479812884 +0100
|
||||
+++ xen-4.2.0/Config.mk 2012-06-02 18:55:14.087169469 +0100
|
||||
@@ -206,7 +206,7 @@
|
||||
# Wed Jun 26 16:30:45 2013 +0100
|
||||
# xen: Don't perform SMP setup.
|
||||
|
||||
-ETHERBOOT_NICS ?= rtl8139 8086100e
|
||||
+ETHERBOOT_NICS ?= 10ec8139 8086100e
|
||||
|
||||
# Specify which qemu-dm to use. This may be `ioemu' to use the old
|
||||
# Mercurial in-tree version, or a local directory, or a git URL.
|
||||
--- xen-4.2.0/tools/firmware/Makefile.orig 2012-05-27 21:57:04.480812871 +0100
|
||||
+++ xen-4.2.0/tools/firmware/Makefile 2012-06-02 19:03:52.254691484 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
#SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir
|
||||
SUBDIRS-$(CONFIG_ROMBIOS) += rombios
|
||||
SUBDIRS-$(CONFIG_ROMBIOS) += vgabios
|
||||
-SUBDIRS-$(CONFIG_ROMBIOS) += etherboot
|
||||
+#SUBDIRS-$(CONFIG_ROMBIOS) += etherboot
|
||||
SUBDIRS-y += hvmloader
|
||||
|
||||
ovmf:
|
@ -0,0 +1,22 @@
|
||||
--- xen-4.2.0/tools/firmware/Makefile.orig 2012-05-12 16:40:47.000000000 +0100
|
||||
+++ xen-4.2.0/tools/firmware/Makefile 2012-05-27 21:55:23.438076078 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
SUBDIRS-y :=
|
||||
SUBDIRS-$(CONFIG_OVMF) += ovmf
|
||||
-SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir
|
||||
+#SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir
|
||||
SUBDIRS-$(CONFIG_ROMBIOS) += rombios
|
||||
SUBDIRS-$(CONFIG_ROMBIOS) += vgabios
|
||||
SUBDIRS-$(CONFIG_ROMBIOS) += etherboot
|
||||
--- xen-4.2.0/tools/firmware/hvmloader/Makefile.orig 2012-05-12 16:40:47.000000000 +0100
|
||||
+++ xen-4.2.0/tools/firmware/hvmloader/Makefile 2012-05-27 21:53:45.625298906 +0100
|
||||
@@ -70,7 +70,7 @@
|
||||
ifeq ($(CONFIG_SEABIOS),y)
|
||||
OBJS += seabios.o
|
||||
CFLAGS += -DENABLE_SEABIOS
|
||||
-SEABIOS_ROM := $(SEABIOS_DIR)/out/bios.bin
|
||||
+SEABIOS_ROM := /usr/share/seabios/bios.bin
|
||||
ROMS += $(SEABIOS_ROM)
|
||||
endif
|
||||
|
@ -0,0 +1,400 @@
|
||||
# Copyright 1999-2014 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.3-r1.ebuild,v 1.1 2014/02/18 10:37:12 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
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"
|
||||
UPSTREAM_VER=0
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic 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 )
|
||||
${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pypam[${PYTHON_USEDEP}]
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
sys-firmware/seabios
|
||||
sys-firmware/ipxe
|
||||
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} )
|
||||
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
|
||||
!net-libs/libiscsi )"
|
||||
RDEPEND="sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
ocaml? ( >=dev-lang/ocaml-4 )
|
||||
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() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# 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, qemu.doc.html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
|
||||
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# 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, Bug #467200
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 463840
|
||||
epatch "${FILESDIR}"/${PN}-4.2.2-install.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || die
|
||||
|
||||
# Bug 445986
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die
|
||||
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
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 V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -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}" install-tools \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"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
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/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
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
|
||||
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 [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"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 "${D}"/etc/udev/* "${D}/$(udev_get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -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 offical wiki page:"
|
||||
elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem at boot."
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
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."
|
||||
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,400 @@
|
||||
# Copyright 1999-2014 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.4.ebuild,v 1.1 2014/02/19 06:54:00 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
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"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic 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 )
|
||||
${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pypam[${PYTHON_USEDEP}]
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
sys-firmware/seabios
|
||||
sys-firmware/ipxe
|
||||
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} )
|
||||
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
|
||||
!net-libs/libiscsi )"
|
||||
RDEPEND="sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
ocaml? ( >=dev-lang/ocaml-4 )
|
||||
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() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# 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, qemu.doc.html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
|
||||
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# 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, Bug #467200
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 463840
|
||||
epatch "${FILESDIR}"/${PN}-4.2.2-install.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || die
|
||||
|
||||
# Bug 445986
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die
|
||||
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
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 V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -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}" install-tools \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"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
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/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
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
|
||||
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 [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"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 "${D}"/etc/udev/* "${D}/$(udev_get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -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 offical wiki page:"
|
||||
elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem at boot."
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
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."
|
||||
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,437 @@
|
||||
# Copyright 1999-2014 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.3.2.ebuild,v 1.1 2014/02/19 06:54:00 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
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"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic 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"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
sys-firmware/seabios
|
||||
sys-firmware/ipxe
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
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
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
RDEPEND="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
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
|
||||
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# 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.3-jserver.patch
|
||||
|
||||
# add missing header
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 477676
|
||||
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Prevent file collision with qemu package Bug 478064
|
||||
epatch "${FILESDIR}"/qemu-bridge.patch
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# 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-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/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
|
||||
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || die
|
||||
|
||||
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
|
||||
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
|
||||
-i tools/libxl/libxl_bootloader.c || die
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=/usr --disable-werror"
|
||||
|
||||
if use ocaml
|
||||
then
|
||||
myconf="${myconf} $(use_enable ocaml ocamltools)"
|
||||
else
|
||||
myconf="${myconf} --disable-ocamltools"
|
||||
fi
|
||||
|
||||
if ! use pam
|
||||
then
|
||||
myconf="${myconf} --disable-pam"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
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 V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -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 "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"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
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/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
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# Move files built with use qemu, Bug #477884
|
||||
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /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 "${D}"/etc/udev/* "${D}/$(udev_get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -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 offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
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."
|
||||
fi
|
||||
|
||||
if use xend; then
|
||||
elog"";elog "xend capability has been enabled and installed"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
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,154 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.4.ebuild,v 1.1 2014/02/19 06:49:59 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
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"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask pae xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="
|
||||
flask? ( xsm )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
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
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config and fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
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 custom-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
|
||||
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use pae && ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.3.2.ebuild,v 1.1 2014/02/19 06:49:59 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
# Set to match entry in stable 4.3.1-r1, Bug 493944
|
||||
KEYWORDS="~amd64 -x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
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
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config and fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
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 custom-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
|
||||
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.3.9.ebuild,v 1.1 2014/01/09 22:57:08 idl0r Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Security and system auditing tool"
|
||||
HOMEPAGE="http://www.rootkit.nl/projects/lynis.html"
|
||||
SRC_URI="http://cisofy.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins -r db/ include/ plugins/ || die "failed to install lynis base files"
|
||||
|
||||
insopts -m0640
|
||||
doins -r include/
|
||||
insopts -m0644
|
||||
|
||||
dosbin lynis
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins default.prf
|
||||
|
||||
doman lynis.8
|
||||
dodoc CHANGELOG FAQ README dev/TODO
|
||||
|
||||
# Remove the old one during the next stabilize progress
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
|
||||
einfo
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.4.0.ebuild,v 1.1 2014/01/29 19:01:51 idl0r Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.4.1.ebuild,v 1.1 2014/02/18 18:50:07 idl0r Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.73.ebuild,v 1.1 2014/02/19 10:07:24 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/odeskteam/odeskteam-3.10.5.ebuild,v 1.1 2014/02/19 01:41:57 titanofold Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit rpm eutils
|
||||
|
||||
# Binary only distribution
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DESCRIPTION="Project collaboration and tracking software for oDesk.com"
|
||||
HOMEPAGE="https://www.odesk.com/"
|
||||
SRC_URI="amd64? ( https://www.odesk.com/downloads/linux/beta/${P}-1fc19.x86_64.rpm )
|
||||
x86? ( https://www.odesk.com/downloads/linux/beta/${P}-1fc19.i386.rpm )
|
||||
"
|
||||
|
||||
LICENSE="ODESK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2
|
||||
app-arch/bzip2
|
||||
dev-libs/libxml2
|
||||
dev-qt/qtcore:4[ssl]
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtdeclarative:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
dev-qt/qtscript:4
|
||||
dev-qt/qtsql:4
|
||||
dev-qt/qtsvg:4
|
||||
dev-qt/qtxmlpatterns:4
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.6.1_desktop_file.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /opt
|
||||
dobin usr/bin/odeskteam-qt4
|
||||
|
||||
domenu usr/share/applications/odeskteam.desktop
|
||||
|
||||
doicon usr/share/pixmaps/odeskteam.png
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/dash/dash-0.5.5.1.2.ebuild,v 1.8 2010/07/25 17:36:53 armin76 Exp $
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DEB_PV=${PV%.*}
|
||||
DEB_PATCH=${PV##*.}
|
||||
DEB_PF="${PN}_${DEB_PV}-${DEB_PATCH}"
|
||||
MY_P="${PN}-${DEB_PV}"
|
||||
|
||||
DESCRIPTION="DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell) and is POSIX compliant"
|
||||
HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
|
||||
SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz
|
||||
mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="libedit static"
|
||||
|
||||
DEPEND="libedit? ( dev-libs/libedit )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
epatch "${WORKDIR}"/${DEB_PF}.diff
|
||||
cd "${S}"
|
||||
epatch debian/diff/*
|
||||
|
||||
# Fix the invalid sort
|
||||
sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
|
||||
|
||||
# Always statically link libedit in to ensure we always boot if it changes
|
||||
# which it has done in the past.
|
||||
local s="s/-ledit/-Wl,-Bstatic -ledit -Wl,-Bdynamic -lcurses/g"
|
||||
use static && s="s/-ledit/-ledit -lcurses/g"
|
||||
sed -i -e "${s}" configure.ac || die "Failed to sed configure.ac"
|
||||
|
||||
# May as well, as the debian patches force this anyway
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
econf \
|
||||
--bindir=/bin \
|
||||
$(use_with libedit) \
|
||||
|| die "econf failed"
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc ChangeLog debian/changelog
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10_beta3.ebuild,v 1.1 2014/02/19 04:10:12 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 java-utils-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:3
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/jempbox:1.7
|
||||
dev-java/log4j:0
|
||||
dev-java/spin:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
java_prepare() {
|
||||
# Remove bundled dependencies.
|
||||
rm lib/antlr*.jar || die
|
||||
rm lib/fontbox*.jar || die
|
||||
rm lib/jempbox*.jar || die
|
||||
rm lib/spin.jar || die
|
||||
|
||||
# Remove unjarlib target (do this only once we have removed all
|
||||
# bundled dependencies in lib).
|
||||
#sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
|
||||
|
||||
# Fix incorrect version information.
|
||||
sed -i -e 's:2.10b2:2.10b3:' build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,spin"
|
||||
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
|
||||
eant \
|
||||
-Dgentoo.classpath=${CLASSPATH} \
|
||||
jars \
|
||||
$(usex doc docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-1.0.ebuild,v 1.7 2012/05/24 19:27:18 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit elisp-common python eutils
|
||||
|
||||
DESCRIPTION="A simple but powerful template language for C++"
|
||||
HOMEPAGE="http://code.google.com/p/google-ctemplate/"
|
||||
SRC_URI="http://google-ctemplate.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc emacs vim-syntax static-libs test"
|
||||
|
||||
DEPEND="test? ( =dev-lang/python-2* )"
|
||||
RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE="70ctemplate-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
if use test ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc-4.7.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Installs just every piece
|
||||
rm -rf "${ED}/usr/share/doc"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
use doc && dohtml doc/*
|
||||
|
||||
if use vim-syntax ; then
|
||||
cd "${S}/contrib"
|
||||
sh highlighting.vim || die "unpacking vim scripts failed"
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r .vim/*
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
cd "${S}/contrib"
|
||||
elisp-install ${PN} tpl-mode.el tpl-mode.elc || die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
find "${ED}"/usr -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
backported fix from ctemplate-2.2 for building with gcc-4.7+
|
||||
|
||||
--- ctemplate-1.0/src/base/small_map.h
|
||||
+++ ctemplate-1.0/src/base/small_map.h
|
||||
@@ -360,20 +360,20 @@ class small_map {
|
||||
if (size_ >= 0) {
|
||||
for (int i = 0; i < size_; i++) {
|
||||
if (compare(array_[i]->first, x.first)) {
|
||||
- return make_pair(iterator(array_ + i), false);
|
||||
+ return std::make_pair(iterator(array_ + i), false);
|
||||
}
|
||||
}
|
||||
if (size_ == kArraySize) {
|
||||
ConvertToRealMap(); // Invalidates all iterators!
|
||||
std::pair<typename NormalMap::iterator, bool> ret = map_->insert(x);
|
||||
- return make_pair(iterator(ret.first), ret.second);
|
||||
+ return std::make_pair(iterator(ret.first), ret.second);
|
||||
} else {
|
||||
array_[size_].Init(x);
|
||||
- return make_pair(iterator(array_ + size_++), true);
|
||||
+ return std::make_pair(iterator(array_ + size_++), true);
|
||||
}
|
||||
} else {
|
||||
std::pair<typename NormalMap::iterator, bool> ret = map_->insert(x);
|
||||
- return make_pair(iterator(ret.first), ret.second);
|
||||
+ return std::make_pair(iterator(ret.first), ret.second);
|
||||
}
|
||||
}
|
||||
|
@ -1,19 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX jspeex-0.9.7-remove-junit-report.patch 426 SHA256 ee07c750104915e51fe2513f048471608b93035fd14bd486dbcd10a1e14b9db6 SHA512 51062e969363f4f7d2871c5870ad37e29780278041eff7e480a7d1bba1e58d977f0638e99d20eb4caebf8a133ccc3f57b988abc30ffffcc7e65074ac591cc00d WHIRLPOOL a5c1d7108d05a5dfdfbbfbd905a0e539a06226dc3f6435489a674af97f4856846adf5c08da959af7922d059b900135112c4d4290c9bab78df96bfa780f5aef9c
|
||||
AUX jspeex-0.9.7-remove-junit-report.patch 530 SHA256 4d826766c13b91991e6189014e0a9641a901924433762960cd73411a1d8ace74 SHA512 8a38a6033ca138a131ee716712efd463c2fda87829d46eabd8fa561af0327fd8718a673075eaa0f6a08a931bfd142be23c65e16959a36e1a845dc002744010aa WHIRLPOOL f8e7b03866eff9aec912add63c49828597b9f5c781b6f5be84e009b8094094a0112e6142d4701683f490bda5beb889ea1b33f834222f0c2bd081f7b2896b215d
|
||||
AUX jspeex-0.9.7-remove-proguard-taskdef.patch 1655 SHA256 a5cf1d2af63fed9c255f30878627d952d180c513640bc03d3a512d223133d7ef SHA512 d8c6358d01c659bf2e83d99d7831f1177383701ea34c76e8b39fa83a85477f8712b6911b6bea5da4e07b0e677816a1b7b4e90e51ee3c71fb7d0faffc9fc9b0d1 WHIRLPOOL 8cd3815b3ef36db1b185c29da6dc6839f6ac034e9c40f6823c6aea57a99202063d964b03967adda094a230f5c35be5d84c22a0d1d765d7609998191fd6113d0a
|
||||
DIST jspeex-0.9.7.zip 733580 SHA256 55d04780617d87ea2216401dfb66dfdfda9ecf5c018e48a2e4bcdd5c60910daa SHA512 9673bef155f1cccc45bc0a0d5596e79b48ba044309ba3446548b570bc7bad60b4b22cc7761749b0769114c7341b9fab6db8e8a155070f9de6fe2730c843199fe WHIRLPOOL d7555da834098c223b0b0f7c188d35594ef837a79d044c97ea14504a1173c65cc3741e993d936cda2812d3121d3a57e5226be9502db3fdf918b6e55e89bda5d1
|
||||
EBUILD jspeex-0.9.7.ebuild 1246 SHA256 b84f5825f5edfbd263f5bb75eb5c1032466e52f1b7d55825750a69ff0f2e4727 SHA512 ba1ab7d3feebd98f16d5cbba167d33c491b15cd8303e1b575dee57416cf906029be43f9107ce49c26e1409dc06b57a077e97fde1ad4d07af60b843399f74d046 WHIRLPOOL 6a267d6fc8c16f24c54bfe03dc16d4a663ee45309cd9ae6078889b85c511834ea645b88c536ee80f899c60161c52efe2a0104afeac0a8d083b89fb92084fa3bb
|
||||
MISC ChangeLog 540 SHA256 e61900f3144b221c13b444d54a5e6b6a66370b9fc62f28a5eaee7865394c018f SHA512 9014178e21b5559bf8275752e88eb6b2781157a9f4ebfc9da53d7aec2870a0398c6e0d4bfc34ae7931479bc12aa924ffcd9e5b77f8af936ff385e727c5ac6345 WHIRLPOOL 083a4d62150282ec3912fc399c7739b2bfca06d27386ed7688c32f0f4313def17f199cd6834122c03bd5565ac5c8c96e750ce8c9369dfcd6ec77871f0faeec9f
|
||||
EBUILD jspeex-0.9.7-r1.ebuild 1263 SHA256 6aeddf11223b51cf3a7cd7079de6e7e6abc3cb1e2002486e9aec5481c1e4fb5f SHA512 6ae3733ca5f7ee3d5e3ba4eadb3c4f9d137ddfed04cdf5f251b98e6dceaee94f4a88886ba7905c662eda3246aab6c0f105e9d71fc8e39e9e51d7268dda78f8f2 WHIRLPOOL 720d3dce32a596791551e8de3ebd16bcd0a8d07d93ea38f852ae67e75835fcec933173fcbe65d69a8b6e82d5c1231f3d80c5f3884ec51f1f7f85d7515e75b5c7
|
||||
MISC ChangeLog 832 SHA256 a2296e0e59bc36718910789b85182ddf272e88d4e7d7e02b81a06f8ec9ebcef6 SHA512 8437b75975236ab1787b0060c99f8c049fa021954304c12f47122a2a9f437bc282591897d23e9322ce13a8718373b41d3ef4543043387efa3b2e55f1845450db WHIRLPOOL 841855d881824a45f07a1245814a632a62d4685e9dda8145220fddbb00572e68cd0ddeca5c151d6b5a8f27dcfac4d1cecade12fb2e387b6f44ad2376b3b7d51f
|
||||
MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRz1OKAAoJEJWyH81tNOV9dNkIALk+9gsDdwUhtEJmwmzrfYDM
|
||||
lFxnsYl1Yv9tt7HNjtmB337lhs4NCn1nVuO/8HF9BSPMlpyd7GEfXDRQirN/tzQI
|
||||
7aq9UEfoJ46+zcupZBMVa11nIQXIExF/uNv8lcRZ+597eX8qu1j95DXEeMtiDx1R
|
||||
u3RWUXOnwIGFv7C0pQvaI4ruJ+jEDqWPH9KH4ToS0ZXW7CBxnfzs/oKW5/8GQuOH
|
||||
x9h2HikY37wgkVf6CXXHBI4fyM5iZwYxm7JFWUo4LK1ks0aGxLMShlQGD8JUHpaW
|
||||
It1mtu9Mge5rKM4KOxEeuhCr2AqUi5gSpjDTqfr1N4JZUcHDEBaG5eVYjIMwpjw=
|
||||
=o39B
|
||||
iQEcBAEBCAAGBQJTA+DBAAoJEJWyH81tNOV9vAMIAKIDDbyRiJvtglrW00dzV0X7
|
||||
Qdeh3ftbjSwnAsg78Ws8jmALF5HpHGESMGHtrLLB2Ui9S5Q5kys1q4y7lSlUCpUJ
|
||||
GaVN+cavD/x4bmOgM+tEUTIddNT6fx/Cxhxt7A8JcRZJl/LG1Ce5r66Aqo8GArfS
|
||||
Z3nO8rbhfbvhek7YPJCcMlMzPlGE2SAbNwmpsJOPv2OPP9r8NQt1D3Llbi5MDCUx
|
||||
vB/fMqFJsBSWtGiX8agwajG6zivZzIsR+V0F31dehksX4mWSuRXqTXrYGuxyZSNs
|
||||
iJYp6MuiPF9811vI1gg/suC72gwWEYWm8rdxGAnhr71xweJBqQr87J/ttaI3Z/I=
|
||||
=90y+
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,53 @@
|
||||
diff -Naur a/build.xml b/build.xml
|
||||
--- a/build.xml 2014-02-18 23:32:25.440819710 +0100
|
||||
+++ b/build.xml 2014-02-18 23:33:26.308555686 +0100
|
||||
@@ -57,10 +57,6 @@
|
||||
|
||||
<property name="version" value="0.9.7"/>
|
||||
|
||||
- <!-- Define additional tasks -->
|
||||
- <taskdef name="proguard" classname="proguard.ant.ProGuardTask"
|
||||
- classpath="${lib}/proguard3.2.jar" />
|
||||
-
|
||||
<target name="init" description="Initialise ant" depends="clean">
|
||||
<tstamp>
|
||||
<format property="NOW" pattern="dd/MM/yyyy HH:mm" locale="en"/>
|
||||
@@ -138,19 +134,6 @@
|
||||
<target name="compress" depends="package"
|
||||
description="Package obfuscated JSpeex library" >
|
||||
<mkdir dir="${log}"/>
|
||||
- <proguard>
|
||||
--libraryjars ${java.home}/lib/rt.jar
|
||||
--injars ${dist}/jspeex.jar
|
||||
--outjar ${dist}/jspeex-obf.jar
|
||||
--renamesourcefileattribute SourceFile
|
||||
--keepattributes InnerClasses,SourceFile
|
||||
--printmapping ${log}/jspeex-obf.map
|
||||
--overloadaggressively
|
||||
-
|
||||
--keep public class * {
|
||||
- public protected *;
|
||||
-}
|
||||
- </proguard>
|
||||
</target>
|
||||
|
||||
<target name="compress-dec-nb" depends="compile-nb"
|
||||
@@ -161,18 +144,6 @@
|
||||
<attribute name="Main-Class" value="JSpeexDec"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
- <proguard>
|
||||
--libraryjars ${java.home}/lib/rt.jar
|
||||
--injars ${dist}/jspeex-dec-nb.jar
|
||||
--outjar ${dist}/jspeex-dec-nb-obf.jar
|
||||
--printmapping ${log}/jspeex-dec-nb-obf.map
|
||||
--overloadaggressively
|
||||
--defaultpackage ''
|
||||
-
|
||||
--keep public class JSpeexDec {
|
||||
- public static void main(java.lang.String[]);
|
||||
-}
|
||||
- </proguard>
|
||||
</target>
|
||||
|
||||
<!-- ******************************************************************** -->
|
@ -0,0 +1,194 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/mercury-extras-13.05.2.ebuild,v 1.1 2014/02/18 10:36:37 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
MY_P=mercury-srcdist-${PV}
|
||||
|
||||
DESCRIPTION="Additional libraries and tools that are not part of the Mercury standard library"
|
||||
HOMEPAGE="http://www.mercurylang.org/index.html"
|
||||
SRC_URI="http://dl.mercurylang.org/release/${MY_P}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="X cairo examples glut iodbc ncurses odbc opengl ssl tcl tk xml"
|
||||
|
||||
RDEPEND="~dev-lang/mercury-${PV}
|
||||
cairo? ( >=x11-libs/cairo-1.10.0 )
|
||||
glut? ( media-libs/freeglut )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
iodbc? ( !odbc? ( dev-db/libiodbc ) )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
opengl? ( virtual/opengl )
|
||||
tcl? ( tk? (
|
||||
dev-lang/tcl
|
||||
dev-lang/tk
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu ) )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}/extras
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"
|
||||
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
if use odbc; then
|
||||
epatch "${WORKDIR}"/${PV}-odbc/${P}-odbc.patch
|
||||
elif use iodbc; then
|
||||
epatch "${WORKDIR}"/${PV}-odbc/${P}-iodbc.patch
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
sed -i -e "s:references:references solver_types/library:" \
|
||||
-e "s:windows_installer_generator::" \
|
||||
Mmakefile || die "sed default packages failed"
|
||||
|
||||
if use cairo; then
|
||||
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_cairo lex \\\\:" Mmakefile \
|
||||
|| die "sed cairo failed"
|
||||
fi
|
||||
|
||||
if use glut; then
|
||||
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_glut lex \\\\:" Mmakefile \
|
||||
|| die "sed glut failed"
|
||||
fi
|
||||
|
||||
if use opengl; then
|
||||
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_opengl lex \\\\:" Mmakefile \
|
||||
|| die "sed opengl failed"
|
||||
fi
|
||||
|
||||
if use tcl && use tk; then
|
||||
sed -i -e "s:lex[ \t]*\\\\:graphics/mercury_tcltk lex \\\\:" Mmakefile \
|
||||
|| die "sed tcltk failed"
|
||||
fi
|
||||
|
||||
if use odbc || use iodbc; then
|
||||
sed -i -e "s:moose:moose odbc:" Mmakefile \
|
||||
|| die "sed odbc failed"
|
||||
fi
|
||||
|
||||
if use ncurses; then
|
||||
sed -i -e "s:complex_numbers:complex_numbers curs curses:" Mmakefile \
|
||||
|| die "sed ncurses failed"
|
||||
fi
|
||||
|
||||
if ! use xml; then
|
||||
sed -i -e "s:xml::" Mmakefile \
|
||||
|| die "sed xml failed"
|
||||
fi
|
||||
|
||||
sed -i -e "s:@libdir@:$(get_libdir):" \
|
||||
dynamic_linking/Mmakefile \
|
||||
|| die "sed libdir failed"
|
||||
|
||||
# disable broken packages
|
||||
sed -i -e "s:references::" Mmakefile \
|
||||
|| die "sed broken packages failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Mercury dependency generation must be run single-threaded
|
||||
mmake \
|
||||
-j1 depend || die "mmake depend failed"
|
||||
|
||||
# Compiling Mercury submodules is not thread-safe
|
||||
mmake -j1 \
|
||||
EXTRA_MLFLAGS=--no-strip \
|
||||
EXTRA_LDFLAGS="${LDFLAGS}" \
|
||||
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
|
||||
|| die "mmake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Compiling Mercury submodules is not thread-safe
|
||||
mmake -j1 \
|
||||
EXTRA_LD_LIBFLAGS="${LDFLAGS}" \
|
||||
INSTALL_PREFIX="${D}"/usr \
|
||||
install || die "mmake install failed"
|
||||
|
||||
find "${D}"/usr/$(get_libdir)/mercury -type l | xargs rm
|
||||
|
||||
cd "${S}"
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/samples/base64
|
||||
doins base64/*.m || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/complex_numbers
|
||||
doins complex_numbers/samples/* || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/dynamic_linking
|
||||
doins dynamic_linking/hello.m || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/error
|
||||
doins error/* || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/fixed
|
||||
doins fixed/*.m || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/gator
|
||||
doins -r gator/* || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/lex
|
||||
doins lex/samples/* || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/log4m
|
||||
doins log4m/*.m || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/monte
|
||||
doins monte/*.m || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/moose
|
||||
doins moose/samples/* || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/net
|
||||
doins net/*.m || die
|
||||
|
||||
if use ncurses; then
|
||||
insinto /usr/share/doc/${PF}/samples/curs
|
||||
doins curs/samples/* || die
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples/curses
|
||||
doins curses/sample/* || die
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
insinto /usr/share/doc/${PF}/samples/graphics
|
||||
doins graphics/easyx/samples/*.m || die
|
||||
fi
|
||||
|
||||
if use glut && use opengl; then
|
||||
insinto /usr/share/doc/${PF}/samples/graphics
|
||||
doins graphics/samples/calc/* || die
|
||||
doins graphics/samples/gears/* || die
|
||||
doins graphics/samples/maze/* || die
|
||||
doins graphics/samples/pent/* || die
|
||||
fi
|
||||
|
||||
if use opengl && use tcl && use tk; then
|
||||
insinto /usr/share/doc/${PF}/samples/graphics
|
||||
doins graphics/samples/pent/*.m || die
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
insinto /usr/share/doc/${PF}/samples/mopenssl
|
||||
doins mopenssl/*.m || die
|
||||
fi
|
||||
|
||||
rm -rf $(find "${D}"/usr/share/doc/${PF}/samples -name CVS)
|
||||
fi
|
||||
|
||||
dodoc README || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue