Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 193249 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-16 / +8 lines)
Line  Link Here
0
-- ocfs2-tools-1.2.1.ebuild    2008-01-08 14:07:40.000000000 +0300
0
++ ocfs2-tools-1.2.7.ebuild    2008-01-09 18:30:35.000000000 +0300
Lines 36-61 Link Here
36
src_install() {
36
src_install() {
37
       make DESTDIR="${D}" install || die "Failed to install"
37
       make DESTDIR="${D}" install || die "Failed to install"
38
       doman \
39
               mkfs.ocfs2/mkfs.ocfs2.8 \
40
               ocfs2cdsl/ocfs2cdsl.8 \
41
               ocfs2console/ocfs2console.8 \
42
               ocfs2_hb_ctl/ocfs2_hb_ctl.8 \
43
               tunefs.ocfs2/tunefs.ocfs2.8
44
       dodoc \
38
       dodoc \
45
               COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \
39
               COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \
46
               documentation/users_guide.txt documentation/samples/cluster.conf \
40
               documentation/users_guide.txt documentation/samples/cluster.conf \
47
               "${FILESDIR}"/INSTALL.GENTOO
41
               documentation/ocfs2_faq.txt "${FILESDIR}"/INSTALL.GENTOO \
48
42
               vendor/common/o2cb.init vendor/common/o2cb.sysconfig
49
       # Keep o2cb script in case someone needs it
50
       insinto /usr/sbin
51
       newins "${S}"/vendor/common/o2cb.init o2cb
52
       insinto /etc/default
53
       newins "${S}"/vendor/common/o2cb.sysconfig o2cb
54
       # Move programs not needed before /usr is mounted to /usr/sbin/
43
       # Move programs not needed before /usr is mounted to /usr/sbin/
44
       mkdir -p "${D}"/usr/sbin
55
       mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/
45
       mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/
56
       mv "${D}"/sbin/ocfs2console "${D}"/usr/sbin/
46
       if use X; then
47
               mv "${D}"/sbin/ocfs2console "${D}"/usr/sbin/
48
       fi
57
       newinitd "${FILESDIR}"/ocfs2.init ocfs2
49
       newinitd "${FILESDIR}"/ocfs2.init ocfs2
58
       newconfd "${FILESDIR}"/ocfs2.conf ocfs2
50
       newconfd "${FILESDIR}"/ocfs2.conf ocfs2
Lines 69-75 Link Here
69
       # FIXME - fix the python lib.
61
       # FIXME - fix the python lib.
70
       # pythonians wouldn't like this probably, but I couldn't find better
62
       # pythonians wouldn't like this probably, but I couldn't find better
71
       # solution.
63
       # solution.
72
       mv "${D}"/lib "${D}"/usr
64
       mv "${D}"/$(get_libdir) "${D}"/usr
73
}
65
}
74
pkg_postinst() {
66
pkg_postinst() {

Return to bug 193249