/[gentoo-x86]/sys-kernel/hppa-sources/hppa-sources-2.6.17.4_p6.ebuild
Gentoo

Contents of /sys-kernel/hppa-sources/hppa-sources-2.6.17.4_p6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 2 17:48:41 2006 UTC (11 years, 2 months ago) by gustavoz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revbump to 2.6.17.7 to fix CVE-2006-2936 and minor cleanup
(Portage version: 2.1-r1)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.6.17.4_p6.ebuild,v 1.1 2006/07/12 22:29:28 gustavoz Exp $
4
5 ETYPE="sources"
6
7 CKV="${PV/_*}"
8 K_NOUSENAME=true
9 inherit kernel-2
10
11 KV_FULL=${CKV}-pa${PATCH_LEVEL}
12 detect_version
13
14 DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
15 PATCH_LEVEL="${PV/${CKV}_p/}"
16 SRC_URI="${KERNEL_URI}
17 http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa${PATCH_LEVEL}.gz
18 mirror://gentoo/4300_squashfs-3.0.patch.bz2"
19 UNIPATCH_LIST="${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
20 ${DISTDIR}/4300_squashfs-3.0.patch.bz2"
21 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
22 KEYWORDS="-* ~hppa"
23
24 src_unpack() {
25
26 if [[ -n ${KV_EXTRA} ]]
27 then
28
29 KV_EXTRA=".${KV_EXTRA}"
30
31 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | \
32 sed -e "/+EXTRAVERSION/s/=.*\$/=/" > \
33 ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
34 else
35 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz > \
36 ${T}/patch-${OKV}-pa${PATCH_LEVEL}.patch
37 fi
38
39 EXTRAVERSION=${KV_EXTRA}-pa${PATCH_LEVEL}
40
41 universal_unpack
42
43 # We force the order of patching. kernel-2.eclass does weird stuff
44 unipatch ${UNIPATCH_LIST}
45 unipatch ${UNIPATCH_LIST_DEFAULT}
46
47 unpack_set_extraversion
48 unpack_fix_docbook
49 unpack_fix_install_path
50 }

  ViewVC Help
Powered by ViewVC 1.1.20