Gentoo Archives: gentoo-commits

From: "Daniel Gryniewicz (dang)" <dang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/usermode-utilities: ChangeLog usermode-utilities-20070815-r3.ebuild
Date: Mon, 02 May 2011 15:09:29
Message-Id: 20110502150919.03FAC20057@flycatcher.gentoo.org
1 dang 11/05/02 15:09:19
2
3 Modified: ChangeLog
4 Added: usermode-utilities-20070815-r3.ebuild
5 Log:
6 Fix owner of humfsify; bug #364531
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.34 sys-apps/usermode-utilities/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usermode-utilities/ChangeLog?rev=1.34&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usermode-utilities/ChangeLog?rev=1.34&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usermode-utilities/ChangeLog?r1=1.33&r2=1.34
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v
20 retrieving revision 1.33
21 retrieving revision 1.34
22 diff -u -r1.33 -r1.34
23 --- ChangeLog 5 Aug 2010 02:31:51 -0000 1.33
24 +++ ChangeLog 2 May 2011 15:09:18 -0000 1.34
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sys-apps/usermode-utilities
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v 1.33 2010/08/05 02:31:51 dang Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v 1.34 2011/05/02 15:09:18 dang Exp $
31 +
32 +*usermode-utilities-20070815-r3 (02 May 2011)
33 +
34 + 02 May 2011; Daniel Gryniewicz <dang@g.o>
35 + +usermode-utilities-20070815-r3.ebuild,
36 + +files/usermode-utilities-20070815-humfsify-owner.patch:
37 + Fix owner of humfsify; bug #364531
38
39 *usermode-utilities-20070815-r2 (05 Aug 2010)
40
41
42
43
44 1.1 sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: usermode-utilities-20070815-r3.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild,v 1.1 2011/05/02 15:09:18 dang Exp $
54
55 inherit eutils
56
57 DESCRIPTION="Tools for use with Usermode Linux virtual machines"
58 SRC_URI="http://user-mode-linux.sourceforge.net/uml_utilities_${PV}.tar.bz2"
59 HOMEPAGE="http://user-mode-linux.sourceforge.net/"
60
61 SLOT="0"
62 LICENSE="GPL-2"
63 KEYWORDS="-* ~amd64 ~x86"
64 IUSE="fuse"
65
66 RDEPEND="fuse? ( sys-fs/fuse )"
67 DEPEND="${RDEPEND}"
68
69 S="${WORKDIR}"/tools-${PV}
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 # Merge previous patches with fix for bug #331099
75 epatch "${FILESDIR}"/${P}-rollup.patch
76 # Fix owner of humfsify; bug #364531
77 epatch "${FILESDIR}"/${P}-humfsify-owner.patch
78 sed -i -e 's:-o \$(BIN):$(LDFLAGS) -o $(BIN):' "${S}"/*/Makefile || die "LDFLAGS sed failed"
79 sed -i -e 's:-o \$@:$(LDFLAGS) -o $@:' "${S}"/moo/Makefile || die "LDFLAGS sed (moo) failed"
80 if ! use fuse; then
81 einfo "Skipping build of umlmount to avoid sys-fs/fuse dependency."
82 sed -i -e 's/\<umlfs\>//' Makefile || die "sed to remove sys-fs/fuse dependency failed"
83 fi
84 }
85
86 src_compile() {
87 emake CFLAGS="${CFLAGS} -DTUNTAP -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall" all || die "Compilation failed"
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "Install failed"
92 }