Commit b4777b5a authored by Phil Miller's avatar Phil Miller

* kernel-updates - PKGBUILDs and patches

parent 418cae15
#
# KDEmod, mod[ded|ular] KDE packages for Arch Linux, part of chakra-project.org
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Jan Mette (funkyou) <funkyou @ kdemod.ath.cx>
# maintainer (x86_64): Martin Sandsmark (PhinnFort) <sandsmark @ kdemod.ath.cx>
# maintainer (x86_64): Phil Miller (Amnnon82) <philm @ chakra-project.org>
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=aufs2-util
pkgver=20100514
pkgrel=1
pkgrel=2
pkgdesc="Another Unionfs Implementation that supports NFS branches"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
......
#
# KDEmod, mod[ded|ular] KDE packages for Arch Linux, part of chakra-project.org
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Jan Mette (funkyou) <funkyou @ kdemod.ath.cx>
# maintainer (x86_64): Martin Sandsmark (PhinnFort) <sandsmark @ kdemod.ath.cx>
# maintainer (x86_64): Phil Miller (Amnnon82) <philm @ chakra-project.org>
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=aufs2
pkgver=2.6.33_20100514
pkgrel=1
_kernver=${pkgver%_*}-ARCH
pkgrel=2
_kernver=${pkgver%_*}-CHAKRA
pkgdesc="Another Unionfs Implementation"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
license=('GPL2')
depends=('kernel26>=2.6.33.4' 'kernel26<2.6.34')
depends=('kernel26>=2.6.33.5' 'kernel26<2.6.34')
makedepends=('kernel26-headers>=2.6.33' 'kernel26-headers<2.6.34')
replaces=('aufs')
install=${pkgname}.install
......
post_install() {
KERNEL_VERSION=2.6.33-ARCH
KERNEL_VERSION=2.6.33-CHAKRA
depmod $KERNEL_VERSION
}
post_upgrade() {
KERNEL_VERSION=2.6.33-ARCH
KERNEL_VERSION=2.6.33-CHAKRA
depmod $KERNEL_VERSION
}
post_remove() {
KERNEL_VERSION=2.6.33-ARCH
KERNEL_VERSION=2.6.33-CHAKRA
depmod $KERNEL_VERSION
}
......
......@@ -2,7 +2,7 @@
pkgname=broadcom-wl
pkgver=5.60.48.36
pkgrel=2
pkgrel=3
pkgdesc="Broadcom 802.11abg Networking Drivers"
arch=('i686' 'x86_64')
[ "$CARCH" = "i686" ] && ARCH=x86_32
......
# $Id: PKGBUILD 60356 2009-12-03 23:38:44Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase="kernel26"
pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -CHAKRA kernel
# pkgname=kernel26-custom # Build kernel with a different name
_kernelname=${pkgname#kernel26}
_basekernel=2.6.33
pkgver=${_basekernel}.4
pkgver=${_basekernel}.5
pkgrel=1
_patchname="patch-${pkgver}-1-CHAKRA"
arch=(i686 x86_64)
......@@ -19,15 +25,14 @@ source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
# standard config files for mkinitcpio ramdisk
kernel26.preset)
md5sums=('c3883760b18d50e8d78819c54d579b00'
'4985965d86a3858cab635c7eb1660d41'
'0149294fda983d0a4658b9e1a21e8956'
'1f24529018de11b9a9f4f30041bd9c0f'
'd06a205390f7a815a56bced9cea574fe'
'515db189443ae3a30445b38bb95eb91e'
'f653903dcddc6e466c5a4e4d8a4e376e'
'25584700a0a679542929c4bed31433b6')
build() {
cd ${srcdir}/linux-$_basekernel
# Add -ARCH patches
# See http://projects.archlinux.org/linux-2.6-ARCH.git/
# Add -CHAKRA patches
patch -Np1 -i ${srcdir}/${_patchname} || return 1
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
......
......@@ -63,7 +63,7 @@ CONFIG_CONSTRUCTORS=y
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION="-ARCH"
CONFIG_LOCALVERSION="-CHAKRA"
CONFIG_LOCALVERSION_AUTO=n
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
......
......@@ -64,7 +64,7 @@ CONFIG_CONSTRUCTORS=y
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION="-ARCH"
CONFIG_LOCALVERSION="-CHAKRA"
CONFIG_LOCALVERSION_AUTO=n
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
......
......@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
KERNEL_VERSION=2.6.33-ARCH
KERNEL_VERSION=2.6.33-CHAKRA
post_install () {
# updating module dependencies
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -3,14 +3,14 @@ SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.tar.bz2"
# Original source directory
SRCORIG="linux-2.6.33"
# Our source directory
SRCNAME="linux-2.6.33-ARCH"
SRCNAME="linux-2.6.33-CHAKRA"
# Patches:
# URL%patchlevel
# or
# filename%patchlevel (file must be in patches/ subdirectory)
PATCHES=(
# add upstream patch from 2.6.33 series
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.33.4.bz2%1
http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.33.5.bz2%1
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
......@@ -31,7 +31,7 @@ PATCHES=(
0009-Squashfs-force-lzma-wrapper-to-be-retained.patch%1
)
# Name of the resulting patch (will be bzipped afterwards)
PATCHNAME="patch-2.6.33.4-1-CHAKRA"
PATCHNAME="patch-2.6.33.5-1-CHAKRA"
# Run this before applying patches
pre_apply() {
......@@ -41,15 +41,10 @@ pre_apply() {
# Run this after applying patches
post_apply() {
# remove the extraversion from Makefile
# this ensures our kernel version is always 2.6.XX-ARCH
# this ensures our kernel version is always 2.6.XX-CHAKRA
# this way, minor kernel updates will not break external modules
sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION = |g' Makefile
# Add Arch logo!
cp ${startdir}/patches/logo_linux_clut224.ppm drivers/video/logo/
cp ${startdir}/patches/logo_linux_mono.pbm drivers/video/logo/
cp ${startdir}/patches/logo_linux_vga16.ppm drivers/video/logo/
# Kill some files
find . -name '*~' -exec rm -f {} \; 2>/dev/null
}
......@@ -20,7 +20,7 @@ get_file() {
cd ${SRCDEST}
[ ! -f ${file} ] && wget -c ${1}
cd ${startdir}/src
ln -s ${SRCDEST}/${file} .
ln -s ../../_sources/${file} .
else
cd ${startdir}/src
ln -s ../patches/${file} .
......@@ -28,7 +28,7 @@ get_file() {
cd ${OPWD}
}
source ../_buildsystem/chakra-${_arch}_makepkg.conf
source ../_buildscripts/core-testing-${_arch}-makepkg.conf
source PATCHCFG
export SRCNAME
......
#$Id: PKGBUILD 70587 2010-02-27 13:11:26Z tpowa $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ndiswrapper
_kernver=2.6.33-ARCH
_kernver=2.6.33-CHAKRA
pkgver=1.56
pkgrel=2
pkgrel=3
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For stock arch 2.6 kernel."
license=('GPL')
arch=(i686 x86_64)
......
......@@ -2,7 +2,7 @@
post_install()
{
ndiswrapper -m
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod -ae $KERNEL_VERSION > /dev/null 2>&1
}
......@@ -11,13 +11,13 @@ post_install()
post_upgrade()
{
ndiswrapper -m
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod -ae $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the old package version
post_remove()
{
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod -ae $KERNEL_VERSION > /dev/null 2>&1
}
# $Id: PKGBUILD 70643 2010-02-27 18:32:42Z tpowa $
# Maintainer: James Rayner <iphitus@gmail.com>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=tiacx
pkgver=20080210
pkgrel=14
pkgrel=15
pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock arch 2.6 kernel"
arch=(i686 x86_64)
url="http://acx100.sourceforge.net/"
......@@ -16,7 +22,7 @@ source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
kernel-2.6.30.patch
kernel-2.6.31.patch
kernel-2.6.33.patch)
_kernver=2.6.33-ARCH
_kernver=2.6.33-CHAKRA
build() {
cd $startdir/src/acx-$pkgver
......
# arg 1: the new package version
post_install() {
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the old package version
post_remove() {
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
# $Id: PKGBUILD 12126 2010-02-27 16:39:21Z ibiru $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=vhba-module
pkgver=1.2.1
_kernver='2.6.33-ARCH'
pkgrel=7
_kernver='2.6.33-CHAKRA'
pkgrel=8
pkgdesc="Kernel module that emulates SCSI devices"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
......
post_install() {
echo ">> Place 'vhba' in MODULES= in /etc/rc.conf to enable vhba on system boot."
echo ">> This module needs to be recompiled for every kernel version upgrade."
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
......@@ -10,7 +10,7 @@ post_upgrade() {
}
post_remove() {
KERNEL_VERSION='2.6.33-ARCH'
KERNEL_VERSION='2.6.33-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment