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