Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/v86d: ChangeLog v86d-0.1.10.ebuild
Date: Sat, 26 Feb 2011 00:34:55
Message-Id: 20110226003444.991E520054@flycatcher.gentoo.org
1 spock 11/02/26 00:34:44
2
3 Modified: ChangeLog
4 Added: v86d-0.1.10.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.9.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.32 sys-apps/v86d/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/v86d/ChangeLog?rev=1.32&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/v86d/ChangeLog?rev=1.32&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/v86d/ChangeLog?r1=1.31&r2=1.32
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/v86d/ChangeLog,v
20 retrieving revision 1.31
21 retrieving revision 1.32
22 diff -u -r1.31 -r1.32
23 --- ChangeLog 28 Nov 2010 18:27:20 -0000 1.31
24 +++ ChangeLog 26 Feb 2011 00:34:44 -0000 1.32
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/v86d
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/v86d/ChangeLog,v 1.31 2010/11/28 18:27:20 spock Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/v86d/ChangeLog,v 1.32 2011/02/26 00:34:44 spock Exp $
31 +
32 +*v86d-0.1.10 (26 Feb 2011)
33 +
34 + 26 Feb 2011; Michał Januszewski <spock@g.o> +v86d-0.1.10.ebuild:
35 + Version bump.
36
37 28 Nov 2010; Michał Januszewski <spock@g.o> v86d-0.1.9.ebuild:
38 Disable stack protector (bug #346397).
39
40
41
42 1.1 sys-apps/v86d/v86d-0.1.10.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/v86d/v86d-0.1.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/v86d/v86d-0.1.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: v86d-0.1.10.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/v86d/v86d-0.1.10.ebuild,v 1.1 2011/02/26 00:34:44 spock Exp $
52
53 EAPI=2
54
55 inherit eutils flag-o-matic linux-info multilib
56
57 DESCRIPTION="A daemon to run x86 code in an emulated environment."
58 HOMEPAGE="http://dev.gentoo.org/~spock/projects/uvesafb/"
59 SRC_URI="http://dev.gentoo.org/~spock/projects/uvesafb/archive/${P/_/-}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="debug x86emu"
65
66 DEPEND="dev-libs/klibc"
67 RDEPEND=""
68
69 S="${WORKDIR}/${P//_*/}"
70
71 pkg_setup() {
72 if [ -z "$(grep V86D /usr/$(get_libdir)/klibc/include/linux/connector.h)" ]; then
73 eerror "You need to compile klibc against a kernel tree patched with uvesafb"
74 eerror "prior to merging this package."
75 die "Kernel not patched with uvesafb."
76 fi
77 linux-info_pkg_setup
78 }
79
80 src_configure() {
81 ./configure --with-klibc $(use_with debug) $(use_with x86emu) || die
82 }
83
84 src_compile() {
85 # Disable stack protector, as it does not work with klibc (bug #346397).
86 filter-flags -fstack-protector -fstack-protector-all
87 emake KDIR="${KV_DIR}" || die
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die
92
93 dodoc README ChangeLog
94
95 insinto /usr/share/${PN}
96 doins misc/initramfs
97 }
98
99 pkg_postinst() {
100 elog "If you wish to place v86d into an initramfs image, you might want to use"
101 elog "'/usr/share/${PN}/initramfs' in your kernel's CONFIG_INITRAMFS_SOURCE."
102 }