1 |
robbat2 07/10/02 08:12:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: device-mapper-1.02.22-r1.ebuild |
5 |
Log: |
6 |
Bug #192174, include dmevent support in device-mapper. |
7 |
(Portage version: 2.1.3.11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.83 sys-fs/device-mapper/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/ChangeLog?rev=1.83&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/ChangeLog?rev=1.83&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/ChangeLog?r1=1.82&r2=1.83 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v |
19 |
retrieving revision 1.82 |
20 |
retrieving revision 1.83 |
21 |
diff -u -r1.82 -r1.83 |
22 |
--- ChangeLog 26 Aug 2007 14:06:14 -0000 1.82 |
23 |
+++ ChangeLog 2 Oct 2007 08:12:27 -0000 1.83 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-fs/device-mapper |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.82 2007/08/26 14:06:14 zzam Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.83 2007/10/02 08:12:27 robbat2 Exp $ |
29 |
+ |
30 |
+*device-mapper-1.02.22-r1 (02 Oct 2007) |
31 |
+ |
32 |
+ 02 Oct 2007; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/1.02.22-dmeventd.initd, +device-mapper-1.02.22-r1.ebuild: |
34 |
+ Bug #192174, include dmevent support in device-mapper. |
35 |
|
36 |
*device-mapper-1.02.22 (26 Aug 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: device-mapper-1.02.22-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild,v 1.1 2007/10/02 08:12:27 robbat2 Exp $ |
51 |
|
52 |
inherit eutils multilib toolchain-funcs |
53 |
|
54 |
DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities" |
55 |
HOMEPAGE="http://sources.redhat.com/dm/" |
56 |
SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz |
57 |
ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
62 |
IUSE="selinux" |
63 |
|
64 |
DEPEND="selinux? ( sys-libs/libselinux )" |
65 |
|
66 |
S="${WORKDIR}/${PN}.${PV}" |
67 |
|
68 |
src_unpack() { |
69 |
unpack ${A} |
70 |
cd "${S}" |
71 |
epatch "${FILESDIR}"/device-mapper-1.02.22-export-format.diff |
72 |
} |
73 |
|
74 |
src_compile() { |
75 |
econf --sbindir=/sbin $(use_enable selinux) --enable-dmeventd || die "econf failed" |
76 |
emake || die "compile problem" |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
make install DESTDIR="${D}" || die |
81 |
|
82 |
# move shared libs to / |
83 |
mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir" |
84 |
dolib.a lib/ioctl/libdevmapper.a || die "dolib.a" |
85 |
gen_usr_ldscript libdevmapper.so |
86 |
|
87 |
insinto /etc |
88 |
doins "${FILESDIR}"/dmtab |
89 |
insinto /lib/rcscripts/addons |
90 |
doins "${FILESDIR}"/dm-start.sh |
91 |
|
92 |
newinitd "${FILESDIR}"/device-mapper.rc device-mapper || die |
93 |
|
94 |
newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die |
95 |
dolib.a dmeventd/libdevmapper-event.a || die |
96 |
gen_usr_ldscript libdevmapper-event.so |
97 |
|
98 |
insinto /etc/udev/rules.d/ |
99 |
newins "${FILESDIR}"/64-device-mapper.rules-1.02.22 64-device-mapper.rules |
100 |
|
101 |
dodoc INSTALL INTRO README VERSION WHATS_NEW |
102 |
} |
103 |
|
104 |
pkg_preinst() { |
105 |
local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01 |
106 |
[[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/ |
107 |
} |
108 |
|
109 |
pkg_postinst() { |
110 |
preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01 |
111 |
|
112 |
elog "device-mapper volumes are no longer automatically created for" |
113 |
elog "baselayout-2 users. If you are using baselayout-2, be sure to" |
114 |
elog "run: # rc-update add device-mapper boot" |
115 |
} |
116 |
|
117 |
|
118 |
|
119 |
-- |
120 |
gentoo-commits@g.o mailing list |