diff options
Diffstat (limited to 'sys-kernel/hppa-sources')
7 files changed, 4 insertions, 382 deletions
diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest index d5e8cfc12d6a..af745e92636e 100644 --- a/sys-kernel/hppa-sources/Manifest +++ b/sys-kernel/hppa-sources/Manifest @@ -1,21 +1,15 @@ -MD5 f176b7d1c3f6ed8055e2d49209e0fa90 hppa-sources-2.6.10_p10.ebuild 781 MD5 fbfd4f9cf611b51f445dc4d48ae0b3da ChangeLog 9407 -MD5 cbcc313360e342751159394094cc7a91 hppa-sources-2.4.26_p6-r1.ebuild 2292 -MD5 6065b6be713a1b35043dc723a2a4113e hppa-sources-2.4.26_p7-r1.ebuild 2788 -MD5 05ed5731534e9423f109cbec1aa7e993 metadata.xml 223 -MD5 d8189a6d07a8c842dc8bda25932e315b hppa-sources-2.4.26_p7.ebuild 2470 -MD5 10fd255ebe40865f3882ba5eb379a572 hppa-sources-2.4.27_p4-r1.ebuild 2419 -MD5 3acd524873881040a638ee146acab19b hppa-sources-2.4.27_p4-r2.ebuild 2482 MD5 dcf6adc464035c767d3183e5f7774b26 hppa-sources-2.6.10_p1.ebuild 692 +MD5 f176b7d1c3f6ed8055e2d49209e0fa90 hppa-sources-2.6.10_p10.ebuild 781 MD5 074dd720871b3b04b90e6f39c3664c7c hppa-sources-2.6.10_p2.ebuild 717 MD5 ca691817130aedfb73c935b3cda1e75b hppa-sources-2.6.10_p4.ebuild 717 MD5 53ec312f4db825cb5bf2971f99f3d35f hppa-sources-2.6.10_p6.ebuild 717 -MD5 9cfa49a935c84e6fd5ac3bd761ec17a2 hppa-sources-2.4.27_p4.ebuild 2077 -MD5 bd7b5cad7b0cadde6daab1e2c3abd13e files/digest-hppa-sources-2.6.10_p10 132 +MD5 05ed5731534e9423f109cbec1aa7e993 metadata.xml 223 +MD5 001b0a631c9fc28133013a1f8f78f74c files/CAN-2004-1056.patch 8458 MD5 cd0a7533c43364e377348613c6d76bb7 files/CAN-2004-1235.patch 9736 MD5 b4f71191d0b9bc4439cdb8645ff474a7 files/LKA-20050107.patch 6122 -MD5 001b0a631c9fc28133013a1f8f78f74c files/CAN-2004-1056.patch 8458 MD5 9d48df2d294a63b45bb9159d718000a2 files/digest-hppa-sources-2.6.10_p1 131 +MD5 bd7b5cad7b0cadde6daab1e2c3abd13e files/digest-hppa-sources-2.6.10_p10 132 MD5 818ff61f20404922a662b3383416b453 files/digest-hppa-sources-2.6.10_p2 131 MD5 47f5d83813a16f62c031edd2e0c1b79b files/digest-hppa-sources-2.6.10_p4 131 MD5 db1af05869240e3d6499fb4554fa4540 files/digest-hppa-sources-2.6.10_p6 131 diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.26_p6-r1.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.26_p6-r1.ebuild deleted file mode 100644 index 398c6e68507c..000000000000 --- a/sys-kernel/hppa-sources/hppa-sources-2.4.26_p6-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.26_p6-r1.ebuild,v 1.3 2005/01/01 23:10:37 gmsoft Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils -OKV="${PV/_p*/}" -PATCH_LEVEL="${PV/${OKV}_p/}" -EXTRAVERSION="-pa${PATCH_LEVEL}" -[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" -KV="${OKV}${EXTRAVERSION}" - -S=${WORKDIR}/linux-${KV} - - -DESCRIPTION="Full sources for the Linux kernel with patch for hppa" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_LEVEL}.gz -http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" -KEYWORDS="hppa -*" -IUSE="" -SLOT="${KV}" - - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} - cd ${S} - - einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz - zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1 - - DEFCONFIG="${S}/arch/parisc/defconfig" - - # Tweaks the default configuration - - # Enable stuff - for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \ - CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \ - CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS - do - sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}" - echo "${i}=y" >> "${DEFCONFIG}" - done - - # Disable stuff - for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \ - CONFIG_CRYPTO CONFIG_DEVPTS_FS - do - sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}" - done - - epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!" - epatch ${FILESDIR}/CAN-2004-0394.patch || die "Failed to patch CAN-2004-0394 security fix!" - epatch ${FILESDIR}/CAN-2004-0495-2.4-sparse.patch || die "Failed to patch CAN-2004-0495 security fix!" - epatch ${FILESDIR}/CAN-2004-0535-2.4-e1000.patch || die "Failed to patch CAN-2004-0535 security fix!" - epatch ${FILESDIR}/CAN-2004-0497.patch || die "Failed to patch CAN-2004-0497 security fix!" - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7-r1.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7-r1.ebuild deleted file mode 100644 index efdb373ddc91..000000000000 --- a/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7-r1.ebuild,v 1.3 2005/01/01 23:10:37 gmsoft Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils -OKV="${PV/_p*/}" -PATCH_LEVEL="${PV/${OKV}_p/}" -EXTRAVERSION="-pa${PATCH_LEVEL}" -[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" -KV="${OKV}${EXTRAVERSION}" - -S=${WORKDIR}/linux-${KV} - - -DESCRIPTION="Full sources for the Linux kernel with patch for hppa" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_LEVEL}.gz -http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff http://dev.gentoo.org/~gmsoft/patches/lasi-config-max-tag-queue-dep.patch http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.26-CAN-2004-0415.patch" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" -KEYWORDS="hppa -*" -IUSE="" -SLOT="${KV}" - - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} - cd ${S} - - einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz - zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1 - - DEFCONFIG="${S}/arch/parisc/defconfig" - - # Tweaks the default configuration - - # Enable stuff - for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \ - CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \ - CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS - do - sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}" - echo "${i}=y" >> "${DEFCONFIG}" - done - - # Disable stuff - for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \ - CONFIG_CRYPTO CONFIG_DEVPTS_FS - do - sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}" - done - - epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!" - epatch ${DISTDIR}/lasi-config-max-tag-queue-dep.patch || die "Failed to patch lasi config max taq queue!" - epatch ${FILESDIR}/CAN-2004-0394.patch || die "Failed to patch CAN-2004-0394 security fix!" - epatch ${FILESDIR}/CAN-2004-0495-2.4-sparse.patch || die "Failed to patch CAN-2004-0495 security fix!" - epatch ${FILESDIR}/CAN-2004-0535-2.4-e1000.patch || die "Failed to patch CAN-2004-0535 security fix!" - epatch ${FILESDIR}/CAN-2004-0497.patch || die "Failed to patch CAN-2004-0497 security fix!" - epatch ${DISTDIR}/linux-2.4.26-CAN-2004-0415.patch || die "Failed to patch CAN-2004-0415 security fix!" - epatch ${FILESDIR}/security-proc-cmdline.patch || die "Failed to patch security-proc-cmdline.patch security fix!" - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7.ebuild deleted file mode 100644 index f186d22855cb..000000000000 --- a/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.26_p7.ebuild,v 1.2 2005/01/01 23:10:37 gmsoft Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils -OKV="${PV/_p*/}" -PATCH_LEVEL="${PV/${OKV}_p/}" -EXTRAVERSION="-pa${PATCH_LEVEL}" -[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" -KV="${OKV}${EXTRAVERSION}" - -S=${WORKDIR}/linux-${KV} - - -DESCRIPTION="Full sources for the Linux kernel with patch for hppa" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_LEVEL}.gz -http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff http://dev.gentoo.org/~gmsoft/patches/lasi-config-max-tag-queue-dep.patch" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" -KEYWORDS="hppa -*" -IUSE="" -SLOT="${KV}" - - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} - cd ${S} - - einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz - zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1 - - DEFCONFIG="${S}/arch/parisc/defconfig" - - # Tweaks the default configuration - - # Enable stuff - for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \ - CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \ - CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS - do - sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}" - echo "${i}=y" >> "${DEFCONFIG}" - done - - # Disable stuff - for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \ - CONFIG_CRYPTO CONFIG_DEVPTS_FS - do - sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}" - done - - epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!" - epatch ${DISTDIR}/lasi-config-max-tag-queue-dep.patch || die "Failed to patch lasi config max taq queue!" - epatch ${FILESDIR}/CAN-2004-0394.patch || die "Failed to patch CAN-2004-0394 security fix!" - epatch ${FILESDIR}/CAN-2004-0495-2.4-sparse.patch || die "Failed to patch CAN-2004-0495 security fix!" - epatch ${FILESDIR}/CAN-2004-0535-2.4-e1000.patch || die "Failed to patch CAN-2004-0535 security fix!" - epatch ${FILESDIR}/CAN-2004-0497.patch || die "Failed to patch CAN-2004-0497 security fix!" - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r1.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r1.ebuild deleted file mode 100644 index 08d7f4d6d977..000000000000 --- a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r1.ebuild,v 1.2 2005/01/01 23:10:37 gmsoft Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils -OKV="${PV/_p*/}" -PATCH_LEVEL="${PV/${OKV}_p/}" -EXTRAVERSION="-pa${PATCH_LEVEL}" -[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" -KV="${OKV}${EXTRAVERSION}" - -S=${WORKDIR}/linux-${KV} - - -DESCRIPTION="Full sources for the Linux kernel with patch for hppa" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_LEVEL}.gz -http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff http://dev.gentoo.org/~gmsoft/patches/lasi-config-max-tag-queue-dep.patch" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" -KEYWORDS="hppa -*" -IUSE="" -SLOT="${KV}" - - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} - cd ${S} - - einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz - zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1 - - DEFCONFIG="${S}/arch/parisc/defconfig" - - # Tweaks the default configuration - - # Enable stuff - for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \ - CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \ - CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS - do - sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}" - echo "${i}=y" >> "${DEFCONFIG}" - done - - # Disable stuff - for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \ - CONFIG_CRYPTO CONFIG_DEVPTS_FS - do - sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}" - done - - epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!" - epatch ${DISTDIR}/lasi-config-max-tag-queue-dep.patch || die "Failed to patch lasi config max taq queue!" - epatch ${FILESDIR}/NFS-XDR-security.patch || die "Patch failed!" - epatch ${FILESDIR}/CAN-2004-0814.patch || die "Patch failed!" - epatch ${FILESDIR}/binfmt_elf-loader-security.patch || die "Patch failed!" - epatch ${FILESDIR}/CAN-2004-0882-0883.patch || die "Patch failed!" - epatch ${FILESDIR}/AF_UNIX-security.patch || die "Patch failed!" - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r2.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r2.ebuild deleted file mode 100644 index 22ac8c4982f8..000000000000 --- a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4-r2.ebuild,v 1.2 2005/01/01 23:10:37 gmsoft Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils -OKV="${PV/_p*/}" -PATCH_LEVEL="${PV/${OKV}_p/}" -EXTRAVERSION="-pa${PATCH_LEVEL}" -[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" -KV="${OKV}${EXTRAVERSION}" - -S=${WORKDIR}/linux-${KV} - - -DESCRIPTION="Full sources for the Linux kernel with patch for hppa" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_LEVEL}.gz -http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff http://dev.gentoo.org/~gmsoft/patches/lasi-config-max-tag-queue-dep.patch" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" -KEYWORDS="hppa -*" -IUSE="" -SLOT="${KV}" - - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} - cd ${S} - - einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz - zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1 - - DEFCONFIG="${S}/arch/parisc/defconfig" - - # Tweaks the default configuration - - # Enable stuff - for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \ - CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \ - CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS - do - sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}" - echo "${i}=y" >> "${DEFCONFIG}" - done - - # Disable stuff - for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \ - CONFIG_CRYPTO CONFIG_DEVPTS_FS - do - sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}" - done - - epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!" - epatch ${DISTDIR}/lasi-config-max-tag-queue-dep.patch || die "Failed to patch lasi config max taq queue!" - epatch ${FILESDIR}/NFS-XDR-security.patch || die "Patch failed!" - epatch ${FILESDIR}/CAN-2004-0814.patch || die "Patch failed!" - epatch ${FILESDIR}/CAN-2004-1074.patch || die "Patch failed!" - epatch ${FILESDIR}/binfmt_elf-loader-security.patch || die "Patch failed!" - epatch ${FILESDIR}/CAN-2004-0882-0883.patch || die "Patch failed!" - epatch ${FILESDIR}/AF_UNIX-security.patch || die "Patch failed!" - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild deleted file mode 100644 index fa7d30a3f3e7..000000000000 --- a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild,v 1.2 2005/01/01 23:10:37 gmsoft Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils -OKV="${PV/_p*/}" -PATCH_LEVEL="${PV/${OKV}_p/}" -EXTRAVERSION="-pa${PATCH_LEVEL}" -[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" -KV="${OKV}${EXTRAVERSION}" - -S=${WORKDIR}/linux-${KV} - - -DESCRIPTION="Full sources for the Linux kernel with patch for hppa" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_LEVEL}.gz -http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff http://dev.gentoo.org/~gmsoft/patches/lasi-config-max-tag-queue-dep.patch" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org" -KEYWORDS="hppa -*" -IUSE="" -SLOT="${KV}" - - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} - cd ${S} - - einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz - zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1 - - DEFCONFIG="${S}/arch/parisc/defconfig" - - # Tweaks the default configuration - - # Enable stuff - for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \ - CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \ - CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS - do - sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}" - echo "${i}=y" >> "${DEFCONFIG}" - done - - # Disable stuff - for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \ - CONFIG_CRYPTO CONFIG_DEVPTS_FS - do - sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}" - done - - epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!" - epatch ${DISTDIR}/lasi-config-max-tag-queue-dep.patch || die "Failed to patch lasi config max taq queue!" - - kernel_universal_unpack -} |