/[gentoo-x86]/sys-fs/aufs3/aufs3-3_p20130318.ebuild
Gentoo

Diff of /sys-fs/aufs3/aufs3-3_p20130318.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/Attic/aufs3-3_p20130318.ebuild,v 1.1 2013/03/15 09:36:59 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/Attic/aufs3-3_p20130318.ebuild,v 1.2 2013/03/21 08:39:21 jlec Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit eutils flag-o-matic linux-info linux-mod multilib toolchain-funcs 7inherit eutils flag-o-matic linux-info linux-mod multilib toolchain-funcs
8 8
74 combinediff ${PN}-base.patch ${PN}-standalone.patch > ${PN}-standalone-base-combined.patch 74 combinediff ${PN}-base.patch ${PN}-standalone.patch > ${PN}-standalone-base-combined.patch
75 if ! ( patch -p1 --dry-run --force -R -d ${KV_DIR} < ${PN}-standalone-base-combined.patch > /dev/null ); then 75 if ! ( patch -p1 --dry-run --force -R -d ${KV_DIR} < ${PN}-standalone-base-combined.patch > /dev/null ); then
76 if use kernel-patch; then 76 if use kernel-patch; then
77 cd ${KV_DIR} 77 cd ${KV_DIR}
78 ewarn "Patching your kernel..." 78 ewarn "Patching your kernel..."
79 patch --no-backup-if-mismatch --force -p1 -R -d ${KV_DIR} < "${T}"/${P}/${PN}-standalone/${PN}-standalone-base-combined.patch >/dev/null 79 patch --no-backup-if-mismatch --force -p1 -R -d ${KV_DIR} < "${T}"/${PN}-standalone/${PN}-standalone-base-combined.patch >/dev/null
80 epatch "${T}"/${P}/${PN}-standalone/${PN}-standalone-base-combined.patch 80 epatch "${T}"/${PN}-standalone/${PN}-standalone-base-combined.patch
81 ewarn "You need to compile your kernel with the applied patch" 81 ewarn "You need to compile your kernel with the applied patch"
82 ewarn "to be able to load and use the aufs kernel module" 82 ewarn "to be able to load and use the aufs kernel module"
83 else 83 else
84 eerror "You need to apply a patch to your kernel to compile and run the ${PN} module" 84 eerror "You need to apply a patch to your kernel to compile and run the ${PN} module"
85 eerror "Either enable the kernel-patch useflag to do it with this ebuild" 85 eerror "Either enable the kernel-patch useflag to do it with this ebuild"
140 140
141 insinto /usr/share/doc/${PF} 141 insinto /usr/share/doc/${PF}
142 142
143 use doc && doins -r Documentation 143 use doc && doins -r Documentation
144 144
145 use kernel-patch || doins "${T}"/${P}/${PN}-standalone/${PN}-standalone-base-combined.patch 145 use kernel-patch || doins "${T}"/${PN}-standalone/${PN}-standalone-base-combined.patch
146 146
147 dodoc Documentation/filesystems/aufs/README 147 dodoc Documentation/filesystems/aufs/README
148} 148}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20