1 |
dragonheart 08/04/01 14:39:23 |
2 |
|
3 |
Modified: ChangeLog cowloop-3.0-r2.ebuild |
4 |
Added: cowloop-3.0-r3.ebuild |
5 |
Removed: cowloop-2.15-r1.ebuild cowloop-1.4.ebuild |
6 |
cowloop-2.14.ebuild |
7 |
Log: |
8 |
introduced 2.6.23+ compatibility as per bug #208059. Patches by Jouni Kosonen and bug written by Jérôme Poulin |
9 |
(Portage version: 2.1.4.4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.20 sys-fs/cowloop/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/ChangeLog?rev=1.20&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/ChangeLog?rev=1.20&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/ChangeLog?r1=1.19&r2=1.20 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/cowloop/ChangeLog,v |
21 |
retrieving revision 1.19 |
22 |
retrieving revision 1.20 |
23 |
diff -u -r1.19 -r1.20 |
24 |
--- ChangeLog 2 May 2007 10:50:30 -0000 1.19 |
25 |
+++ ChangeLog 1 Apr 2008 14:39:22 -0000 1.20 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-fs/cowloop |
28 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/ChangeLog,v 1.19 2007/05/02 10:50:30 robbat2 Exp $ |
30 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/ChangeLog,v 1.20 2008/04/01 14:39:22 dragonheart Exp $ |
32 |
+ |
33 |
+*cowloop-3.0-r3 (01 Apr 2008) |
34 |
+ |
35 |
+ 01 Apr 2008; Daniel Black <dragonheart@g.o> |
36 |
+ +files/cowloop-3.0-kern-2.6.23.patch, +cowloop-3.0-r3.ebuild: |
37 |
+ introduced 2.6.23+ compatibility as per bug #208059. Patches by Jouni |
38 |
+ Kosonen and bug written by Jerôme Poulin |
39 |
|
40 |
02 May 2007; Robin H. Johnson <robbat2@g.o> cowloop-3.0-r2.ebuild: |
41 |
Add ~amd64 after some quick testing. |
42 |
@@ -53,7 +60,7 @@ |
43 |
|
44 |
04 Aug 2005; Daniel Black <dragonheart@g.o> -cowloop-2.11.ebuild, |
45 |
-cowloop-2.15.ebuild, +cowloop-2.15-r1.ebuild: |
46 |
- added cowmerge thanks to bug #101159 by Jérôme Poulin |
47 |
+ added cowmerge thanks to bug #101159 by Jérôme Poulin |
48 |
|
49 |
26 Jun 2005; David Holm <dholm@g.o> cowloop-2.15.ebuild: |
50 |
Added to ~ppc. |
51 |
|
52 |
|
53 |
|
54 |
1.3 sys-fs/cowloop/cowloop-3.0-r2.ebuild |
55 |
|
56 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r2.ebuild?rev=1.3&view=markup |
57 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r2.ebuild?rev=1.3&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r2.ebuild?r1=1.2&r2=1.3 |
59 |
|
60 |
Index: cowloop-3.0-r2.ebuild |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r2.ebuild,v |
63 |
retrieving revision 1.2 |
64 |
retrieving revision 1.3 |
65 |
diff -u -r1.2 -r1.3 |
66 |
--- cowloop-3.0-r2.ebuild 2 May 2007 10:50:30 -0000 1.2 |
67 |
+++ cowloop-3.0-r2.ebuild 1 Apr 2008 14:39:22 -0000 1.3 |
68 |
@@ -1,6 +1,6 @@ |
69 |
-# Copyright 1999-2007 Gentoo Foundation |
70 |
+# Copyright 1999-2008 Gentoo Foundation |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r2.ebuild,v 1.2 2007/05/02 10:50:30 robbat2 Exp $ |
73 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r2.ebuild,v 1.3 2008/04/01 14:39:22 dragonheart Exp $ |
74 |
|
75 |
inherit linux-mod toolchain-funcs |
76 |
|
77 |
@@ -25,16 +25,15 @@ |
78 |
if kernel_is lt 2 6 |
79 |
then |
80 |
eerror "This version only works with 2.6 kernels" |
81 |
- eerror "For 2.4 kernel support, use version 1.4" |
82 |
die "No compatible kernel detected!" |
83 |
fi |
84 |
} |
85 |
|
86 |
src_unpack() { |
87 |
unpack ${A} |
88 |
- epatch ${FILESDIR}/${P}-cflags.patch |
89 |
- epatch ${FILESDIR}/${P}-config_h.patch |
90 |
- epatch ${FILESDIR}/${P}-vfs_statfs.patch |
91 |
+ epatch "${FILESDIR}"/${P}-cflags.patch |
92 |
+ epatch "${FILESDIR}"/${P}-config_h.patch |
93 |
+ epatch "${FILESDIR}"/${P}-vfs_statfs.patch |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
@@ -48,6 +47,6 @@ |
98 |
emake DESTDIR="${D}" install-utils install-man || die 'make failed' |
99 |
dodoc "${S}"/../RELEASENOTES "${S}"/../HOWTO ../doc/* |
100 |
dodir /etc/udev/rules.d |
101 |
- echo 'KERNEL=="cowctl" NAME="cow/ctl"' > ${D}/etc/udev/rules.d/70-cow.rules |
102 |
- echo 'KERNEL=="cow[0-9]*" NAME="cow/%n"' >> ${D}/etc/udev/rules.d/70-cow.rules |
103 |
+ echo 'KERNEL=="cowctl" NAME="cow/ctl"' > "${D}"/etc/udev/rules.d/70-cow.rules |
104 |
+ echo 'KERNEL=="cow[0-9]*" NAME="cow/%n"' >> "${D}"/etc/udev/rules.d/70-cow.rules |
105 |
} |
106 |
|
107 |
|
108 |
|
109 |
1.1 sys-fs/cowloop/cowloop-3.0-r3.ebuild |
110 |
|
111 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r3.ebuild?rev=1.1&view=markup |
112 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r3.ebuild?rev=1.1&content-type=text/plain |
113 |
|
114 |
Index: cowloop-3.0-r3.ebuild |
115 |
=================================================================== |
116 |
# Copyright 1999-2008 Gentoo Foundation |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r3.ebuild,v 1.1 2008/04/01 14:39:22 dragonheart Exp $ |
119 |
|
120 |
inherit linux-mod toolchain-funcs |
121 |
|
122 |
DESCRIPTION="A copy-on-write loop driver (block device) to be used on top of any other block driver" |
123 |
HOMEPAGE="http://www.atconsultancy.nl/cowloop/" |
124 |
SRC_URI="http://www.atconsultancy.nl/cowloop/packages/${P}.tar.gz" |
125 |
|
126 |
LICENSE="GPL-2" |
127 |
KEYWORDS="~amd64 ~ppc ~x86" |
128 |
IUSE="" |
129 |
DEPEND="virtual/libc |
130 |
virtual/linux-sources" |
131 |
|
132 |
S=${WORKDIR}/${P}/src |
133 |
MODULE_NAMES="cowloop(fs:)" |
134 |
BUILD_TARGETS="modules" |
135 |
|
136 |
pkg_setup() { |
137 |
linux-mod_pkg_setup |
138 |
BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} -I." |
139 |
einfo "Linux kernel ${KV_FULL}" |
140 |
if kernel_is lt 2 6 |
141 |
then |
142 |
eerror "This version only works with 2.6 kernels" |
143 |
eerror "For 2.4 kernel support, use version 1.4" |
144 |
die "No compatible kernel detected!" |
145 |
fi |
146 |
} |
147 |
|
148 |
src_unpack() { |
149 |
unpack ${A} |
150 |
epatch "${FILESDIR}"/${P}-cflags.patch |
151 |
epatch "${FILESDIR}"/${P}-config_h.patch |
152 |
epatch "${FILESDIR}"/${P}-vfs_statfs.patch |
153 |
epatch "${FILESDIR}"/${P}-kern-2.6.23.patch |
154 |
} |
155 |
|
156 |
src_compile() { |
157 |
touch .gpl_license_accepted |
158 |
linux-mod_src_compile |
159 |
CC="$(tc-getCC)" emake utils || die "make failed" |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
linux-mod_src_install |
164 |
emake DESTDIR="${D}" install-utils install-man || die 'make failed' |
165 |
dodoc "${S}"/../RELEASENOTES "${S}"/../HOWTO ../doc/* |
166 |
dodir /etc/udev/rules.d |
167 |
echo 'KERNEL=="cowctl" NAME="cow/ctl"' > "${D}"/etc/udev/rules.d/70-cow.rules |
168 |
echo 'KERNEL=="cow[0-9]*" NAME="cow/%n"' >> "${D}"/etc/udev/rules.d/70-cow.rules |
169 |
} |
170 |
|
171 |
|
172 |
|
173 |
-- |
174 |
gentoo-commits@l.g.o mailing list |