Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/avfs: metadata.xml ChangeLog avfs-0.9.9.ebuild avfs-0.9.7.ebuild
Date: Sat, 09 Oct 2010 02:02:53
Message-Id: 20101009013233.2629E20051@flycatcher.gentoo.org
1 radhermit 10/10/09 01:32:33
2
3 Modified: metadata.xml ChangeLog
4 Added: avfs-0.9.9.ebuild
5 Removed: avfs-0.9.7.ebuild
6 Log:
7 Version bump and remove oldest revision. Update to EAPI=3, add static-libs and xz USE flags, use src_prepare and src_configure phases instead of src_compile, replace einstall with emake, and clean up src_install.
8
9 (Portage version: 2.2_rc90/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.4 sys-fs/avfs/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/metadata.xml?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/metadata.xml?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/metadata.xml?r1=1.3&r2=1.4
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-fs/avfs/metadata.xml,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- metadata.xml 22 May 2010 11:35:40 -0000 1.3
25 +++ metadata.xml 9 Oct 2010 01:32:33 -0000 1.4
26 @@ -6,4 +6,7 @@
27 <email>pete4abw@×××××××.net</email>
28 <name>Peter Hyman</name>
29 </maintainer>
30 + <use>
31 + <flag name="xz">Enable LZMA/XZ archive support</flag>
32 + </use>
33 </pkgmetadata>
34
35
36
37 1.22 sys-fs/avfs/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/ChangeLog?rev=1.22&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/ChangeLog?rev=1.22&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/ChangeLog?r1=1.21&r2=1.22
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/sys-fs/avfs/ChangeLog,v
46 retrieving revision 1.21
47 retrieving revision 1.22
48 diff -u -r1.21 -r1.22
49 --- ChangeLog 10 Sep 2010 12:39:56 -0000 1.21
50 +++ ChangeLog 9 Oct 2010 01:32:33 -0000 1.22
51 @@ -1,6 +1,14 @@
52 # ChangeLog for sys-fs/avfs
53 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/avfs/ChangeLog,v 1.21 2010/09/10 12:39:56 klausman Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/avfs/ChangeLog,v 1.22 2010/10/09 01:32:33 radhermit Exp $
56 +
57 +*avfs-0.9.9 (09 Oct 2010)
58 +
59 + 09 Oct 2010; Tim Harder <radhermit@g.o> -avfs-0.9.7.ebuild,
60 + +avfs-0.9.9.ebuild, metadata.xml:
61 + Version bump and remove oldest revision. Update to EAPI=3, add static-libs
62 + and xz USE flags, use src_prepare and src_configure phases instead of
63 + src_compile, replace einstall with emake, and clean up src_install.
64
65 10 Sep 2010; Tobias Klausmann <klausman@g.o> avfs-0.9.8-r1.ebuild:
66 Stable on alpha, bug #294831
67
68
69
70 1.1 sys-fs/avfs/avfs-0.9.9.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/avfs-0.9.9.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/avfs/avfs-0.9.9.ebuild?rev=1.1&content-type=text/plain
74
75 Index: avfs-0.9.9.ebuild
76 ===================================================================
77 # Copyright 1999-2010 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/sys-fs/avfs/avfs-0.9.9.ebuild,v 1.1 2010/10/09 01:32:33 radhermit Exp $
80
81 EAPI=3
82 inherit eutils linux-info
83
84 DESCRIPTION="AVFS is a virtual filesystem that allows browsing of compressed files."
85 HOMEPAGE="http://sourceforge.net/projects/avf"
86 SRC_URI="mirror://sourceforge/avf/${P}.tar.bz2"
87
88 LICENSE="GPL-2"
89 SLOT="0"
90 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
91 IUSE="static-libs +xz"
92
93 DEPEND=">=sys-fs/fuse-2.4
94 xz? ( app-arch/xz-utils )"
95 RDEPEND="${DEPEND}"
96
97 pkg_setup() {
98 kernel_is lt 2 6 && die "Must have a version 2.6 kernel. Cannot continue. :("
99 }
100
101 src_prepare() {
102 # Fixes bug #258295
103 epatch "${FILESDIR}/${PN}-0.9.8-gcc43_fix_open_missing_mode.patch"
104 }
105
106 src_configure() {
107 econf \
108 --enable-fuse \
109 --enable-library \
110 $(use_enable static-libs static) \
111 $(use_with xz)
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "emake install failed"
116 # remove cruft
117 rm -f "${D}"/bin/davpass "${D}"/bin/ftppass || die "rm failed"
118 # install docs
119 cd "${S}"/doc
120 dodoc api-overview background FORMAT INSTALL.* README.avfs-fuse || die "dodoc failed"
121 cd ..
122 dodoc AUTHORS ChangeLog COPYING* INSTALL NEWS README TODO || die "dodoc failed"
123 docinto scripts
124 dodoc scripts/avfs* scripts/*pass scripts/*mountavfs || die "dodoc failed"
125 dosym /usr/lib/avfs/extfs/README /usr/share/doc/${PF}/README.extfs || die "dosym failed"
126 }
127
128 pkg_postinst() {
129 einfo "This version of AVFS includes FUSE support. It is user-based."
130 einfo "To execute:"
131 einfo "1) as user, mkdir ~/.avfs"
132 einfo "2) make sure fuse is either compiled into the kernel OR"
133 einfo " modprobe fuse or add to startup."
134 einfo "3) run mountavfs"
135 einfo "To unload daemon, type umountavfs"
136 echo
137 einfo "READ the documentation! Enjoy :)"
138 }