Saturday, November 25, 2006

r4sus2-sources-2.6.18.ebuild

The reiser4 patch for 2.6.18 kernel is finally out! This ebuild is based on gentoo-sources-2.6.18-r3.ebuild, but I've removed the ultra1, sparc stuff. So it's again Gentoo-sources + Suspend2 + Reiser4.

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: r4sus2-sources-2.6.18.ebuild, 2006/11/25 $

ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="4"
R4V="-3"
SUSPEND2_VERSION="2"

inherit eutils kernel-2
detect_version
detect_arch

KEYWORDS="~amd64 ~x86"
HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://www.suspend2.net http://www.namesys.com/v4/v4.html"

DESCRIPTION="Full sources including the gentoo patchset, Software Suspend 2 and the Reiser4 patchset"

SUSPEND2_SRC="suspend2-patches-${CKV}-${SUSPEND2_VERSION}.tar.bz2"
SUSPEND2_URI="http://dev.gentoo.org/~phreak/distfiles/${SUSPEND2_SRC}"

UNIPATCH_LIST="${DISTDIR}/${SUSPEND2_SRC} ${DISTDIR}/reiser4-for-${PV}${R4V}.patch.gz"
UNIPATCH_STRICTORDER="yes"

SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SUSPEND2_URI} ftp://ftp.namesys.com/pub/reiser4-for-${KV_MAJOR}.${KV_MINOR}/${PV}/reiser4-for-${PV}${R4V}.patch.gz"

pkg_postinst() {
postinst_sources

echo

einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}