Commit 2b7c5aa2 authored by Phil's avatar Phil

update kernel26 and modules to 2.6.38rc5 - note x64 config not written yet

parent cafe51bf
......@@ -8,17 +8,17 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=acpi_call
pkgver=20101109
pkgrel=3
pkgver=20110218
pkgrel=1
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
arch=('i686' 'x86_64')
url=("http://github.com/mkottman/acpi_call")
license=('GPL')
depends=('kernel26' 'kernel26-headers')
depends=('kernel26>=2.6.38rc5' 'kernel26-headers')
makedepends=('git')
install=acpi_call.install
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz)
md5sums=('79e7a95ebeff1df29201cae22067921f')
md5sums=('eedbf22f96b476a19c12a578f7dfef6c')
# create tarball: source PKGBUILD && mksource
......@@ -39,6 +39,9 @@ build() {
cp -r ${srcdir}/$pkgname ${srcdir}/$pkgname-build
cd ${srcdir}/$pkgname-build
sed \
-e 's/$(shell uname -r)/2.6.38-CHAKRA/g' \
-i Makefile
make
}
package() {
......
......@@ -9,12 +9,12 @@ _kernver=`pacman -Qf kernel26 | cut -c10-15 | sed 's/kernel26 //g'`-CHAKRA
pkgname=broadcom-wl
pkgver=5.100.82.38
pkgrel=1
pkgrel=2
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
arch=('i686' 'x86_64')
url='http://www.broadcom.com/support/802.11/linux_sta.php'
license=('custom')
depends=('kernel26')
depends=('kernel26>=2.6.38rc5')
makedepends=('kernel26-headers')
[ "$CARCH" = 'x86_64' ] && ARCH=x86_64 || ARCH=x86_32
......
This diff is collapsed.
This diff is collapsed.
......@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
KERNEL_VERSION=2.6.37-CHAKRA
KERNEL_VERSION=2.6.38-CHAKRA
post_install () {
# updating module dependencies
......
# Kernel source file
SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.tar.bz2"
SRC="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.38-rc5.tar.bz2"
# Original source directory
SRCORIG="linux-2.6.37"
SRCORIG="linux-2.6.38-rc5"
# Our source directory
SRCNAME="linux-2.6.37-CHAKRA"
SRCNAME="linux-2.6.38-rc5-CHAKRA"
# Patches:
# URL%patchlevel
# or
# filename%patchlevel (file must be in patches subdirectory)
PATCHES=(
# add upstream patch from 2.6.37 series
#http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.37.1.bz2%1
# add upstream patch from 2.6.38 series
#http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.38.1.bz2%1
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# add aufs2 support, in reference to:
# http://aufs.sourceforge.net
http://chakra-project.org/sources/kernel26/patches/37/aufs2.1/aufs2-kbuild.patch%1
http://chakra-project.org/sources/kernel26/patches/37/aufs2.1/aufs2-base.patch%1
http://chakra-project.org/sources/kernel26/patches/37/aufs2.1/aufs2-standalone.patch%1
http://chakra-project.org/sources/kernel26/patches/37/aufs2.1/aufs2.1-2010-12-20.patch.bz2%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-kbuild-30.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-base-38.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2-standalone-38.patch%1
http://chakra-project.org/sources/kernel26/patches/38/aufs2.1/aufs2.1-standalone.tree-38-rcN-20110207.patch.bz2%1
# squashfs with lzma
http://chakra-project.org/sources/kernel26/patches/37/squashfs-lzma/01-squashfs_revert_to_2.6.35.patch%1
http://chakra-project.org/sources/kernel26/patches/37/squashfs-lzma/02-squashfs_add_lzma.patch%1
http://chakra-project.org/sources/kernel26/patches/37/squashfs-lzma/03-squashfs_make_lzma_available.patch%1
http://chakra-project.org/sources/kernel26/patches/37/squashfs-lzma/04-decompress_unlzo_fix.patch%1
http://chakra-project.org/sources/kernel26/patches/37/squashfs-lzma/05-fix_building_squashfs_with_xattrs.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/squashfs-lzma/01-squashfs_revert_to_2.6.35.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/squashfs-lzma/02-squashfs_add_lzma.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/squashfs-lzma/03-squashfs_make_lzma_available.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/squashfs-lzma/04-decompress_unlzo_fix.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/squashfs-lzma/05-fix_building_squashfs_with_xattrs.patch%1
# sched_autogroup
http://chakra-project.org/sources/kernel26/patches/37/autogroup/kernel2.6.37-cgroup.patch%1
#http://chakra-project.org/sources/kernel26/patches/38/autogroup/kernel2.6.38-cgroup.patch%1
)
# Name of the resulting patch (will be bzipped afterwards)
PATCHNAME="patch-2.6.37-1-CHAKRA"
PATCHNAME="patch-2.6.38-rc5-1-CHAKRA"
# Run this before applying patches
pre_apply() {
......
# $Id: PKGBUILD 79944 2010-05-09 17:50:54Z thomas $
# Maintainer: Thomas Bächler <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>
pkgname=mkinitcpio-busybox
pkgver=1.16.1
pkgrel=3
pkgver=1.18.2
pkgrel=1
pkgdesc="base initramfs tools"
arch=('i686' 'x86_64')
url="http://www.busybox.net/"
license=('GPL')
depends=('glibc')
source=(http://busybox.net/downloads/busybox-${pkgver}.tar.bz2
config
loadfont-setfont-optional-psf2-font-support.patch)
sha256sums=('6d45ec8e72ca85516c8669f81267e0fbe11881435983e32532a56b44651dd6c5'
'd629e936941c854e7aa5e1b564d74bde3a1d328f1e0dd30c86a958d2724685ce'
'624d21345cd869c174a3ae1b9cfe23a461ce8b463c7ac4c052726430890c4eb1')
config)
sha256sums=('aa7e1cec8cd9c7f4e56098b9e4bb2ab5d593d5a35f766ad9e6a312289bf57080'
'dd6dca08fbc335f1394e0f1b619df6895349c759d0c6e43456aed411e16d4194')
build() {
cd "${srcdir}/busybox-${pkgver}"
# Backport http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2
# to busybox 1.16 to fix https://bugs.archlinux.org/task/19109
patch -p1 -i ../loadfont-setfont-optional-psf2-font-support.patch || return 1
unset CFLAGS CXXFLAGS
# -fno-tree-pta is required to work around a bug in gcc 4.5.0
# A patch is scheduled to be backported to 4.5.1, so we can remove it
# once that is released. Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43987
if [ ${CARCH} = "x86_64" ]; then
sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -O0 -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
else
sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=i686 -mtune=generic -O0 -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=i686 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
fi
make || return 1
make
}
package() {
install -D -m755 "${srcdir}/busybox-${pkgver}"/busybox "${pkgdir}/lib/initcpio/busybox"
}
# vim:set ts=2 sw=2 et:
}
\ No newline at end of file
This diff is collapsed.
......@@ -4,28 +4,26 @@
# 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=mkinitcpio
pkgver=0.6.7
pkgrel=2
pkgver=0.6.8
pkgrel=1
pkgdesc="Modular initramfs image creation utility"
arch=(any)
url="http://www.archlinux.org/"
license=('GPL')
depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux-ng>=2.17' 'gen-init-cpio' 'coreutils'
'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=150' 'file' 'gzip'
'which' 'mkinitcpio-nfs-utils')
'which')
optdepends=('xz: Use lzma compression for the initramfs image'
'bzip2: Use bzip2 compression for the initramfs image')
'bzip2: Use bzip2 compression for the initramfs image'
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
replaces=('mkinitrd' 'mkinitramfs' 'klibc' 'klibc-extras' 'klibc-kbd'
'klibc-module-init-tools' 'klibc-udev')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
backup=(etc/mkinitcpio.conf)
sha256sums=('8d34bfa9c8018f02ee938ac68285e3aa16a1ad84ddc0433998e2d43a428cdcbd')
sha256sums=('b2bb47594d6d7a75086dce9205040eebc2459a0371b4d269f10452907a0865c3')
build() {
package() {
cd $srcdir/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# $Id: PKGBUILD 65219 2010-01-25 07:32:18Z allan $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: judd <jvinet@zeroflux.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>
pkgname=module-init-tools
pkgver=3.11.1
pkgrel=2
pkgver=3.12
pkgrel=1
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
arch=('i686' 'x86_64')
url="http://kerneltools.org"
license=('GPL')
groups=('base')
depends=('glibc')
backup=('etc/modprobe.d/modprobe.conf')
source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
modprobe.conf)
md5sums=('28dfcb9e24cdbeb12b99ac1eb8af7dea'
md5sums=('8b2257ce9abef74c4a44d825d23140f3'
'316f1bda4c21af02b30252eb014a0a55')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --exec-prefix=/
make || return 1
make DESTDIR=$pkgdir install || return 1
# do not regenerate man pages
touch *.{5,8}
./configure --prefix=/usr --exec-prefix=/ --enable-zlib
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
# Install our custom (read: empty) modprobe.conf
install -Dm644 $srcdir/modprobe.conf $pkgdir/etc/modprobe.d/modprobe.conf
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ndiswrapper
pkgver=1.56
pkgrel=11
pkgrel=12
# Find the kernel name inside the chroot
_kernver=`pacman -Qf kernel26 | cut -c10-15 | sed 's/kernel26 //g'`-CHAKRA
......@@ -19,25 +19,18 @@ license=('GPL')
arch=(i686 x86_64)
url="http://ndiswrapper.sourceforge.net"
install="ndiswrapper.install"
depends=("ndiswrapper-utils=$pkgver" 'kernel26')
depends=("ndiswrapper-utils=$pkgver" 'kernel26>=2.6.38rc5')
makedepends=('kernel26-headers')
source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz kernel-2.6.35.patch ndiswrapper-ioctl.patch)
md5sums=('1431f7ed5f8e92e752d330bbb3aed333'
'0a03d613b1fd545a75c5dd1a7c2aaec4'
'a71bd3add8802e1b2fdff55bf6d0577e')
groups=("kernel26-modules")
conflicts=("ndiswrapper")
replaces=("ndiswrapper")
source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz
kernel-2.6.35.patch
kernel-2.6.36.patch)
build()
{
cd $srcdir/ndiswrapper-$pkgver/driver
patch -Np2 -i $startdir/kernel-2.6.35.patch
cd $srcdir/ndiswrapper-$pkgver/
patch -Np0 -i $startdir/ndiswrapper-ioctl.patch
cd $srcdir/ndiswrapper-$pkgver/driver
make KVERS=$_kernver || return 1
make DESTDIR=$pkgdir KVERS=$_kernver install || return 1
patch -Np2 -i $startdir/kernel-2.6.36.patch
make KVERS=$_kernver
make DESTDIR=$pkgdir KVERS=$_kernver install
rm $pkgdir/lib/modules/$_kernver/modules.* #wtf?
sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
......@@ -47,3 +40,6 @@ build()
rm -r $pkgdir/lib/modules/$_kernver/misc/
}
md5sums=('1431f7ed5f8e92e752d330bbb3aed333'
'0a03d613b1fd545a75c5dd1a7c2aaec4'
'cc16ed13449f17e90865df688b180b2c')
\ No newline at end of file
......@@ -4,32 +4,29 @@
# 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=squashfs-tools
pkgver=4.0.lzma
pkgver=4.1
_gitcheckout=20101231
pkgrel=1
pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
url="http://squashfs.sourceforge.net"
license=("GPL")
arch=('i686' 'x86_64')
depends=('zlib' 'glibc')
source=(squashfs4.0-lzma-snapshot.tgz
http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2
Makefile)
depends=('zlib' 'glibc' 'lzo2' 'xz')
source=("http://chakra-project.org/sources/${pkgname}/squashfs-${pkgver}-${_gitcheckout}.tar.xz")
md5sums=('98e880d4b3f2bc282f35a29116c6663a')
build()
{
cd $startdir/src/squashfs4.0-lzma-snapshot/$pkgname
build() {
cd ${srcdir}/squashfs-${pkgver}-${_gitcheckout}/${pkgname}
#reduce memory requirements of unsquashfs to support installation on systems with 256 MB RAM
sed -i -e 's/BUFFER_DEFAULT [0-9]*/BUFFER_DEFAULT 32/' $startdir/src/squashfs4.0-lzma-snapshot/$pkgname/unsquashfs.h
cp -f $srcdir/Makefile $srcdir/squashfs4.0-lzma-snapshot/$pkgname
make || return 1
mkdir -p $startdir/pkg/sbin
cp -a mksquashfs unsquashfs $startdir/pkg/sbin
sed -i -e 's/BUFFER_DEFAULT [0-9]*/BUFFER_DEFAULT 32/' ${srcdir}/squashfs-${pkgver}-${_gitcheckout}/${pkgname}/unsquashfs.h
sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile
sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile
make
}
md5sums=('a2e01bcd59a56cf17587d6481f341b64'
'29d5ffd03a5a3e51aef6a74e9eafb759'
'06a8f904515801c8a66c7b806b0f901a')
package() {
cd ${srcdir}/squashfs-${pkgver}-${_gitcheckout}/${pkgname}
install -Dm755 mksquashfs ${pkgdir}/sbin/mksquashfs
install -m755 unsquashfs ${pkgdir}/sbin/unsquashfs
}
\ No newline at end of file
......@@ -9,12 +9,12 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=tiacx
pkgver=20080210
pkgrel=23
pkgrel=24
pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock chakra 2.6 kernel"
arch=(i686 x86_64)
url="http://acx100.sourceforge.net/"
license=('MPL')
depends=('wireless_tools' 'kernel26' 'tiacx-firmware')
depends=('wireless_tools' 'kernel26>=2.6.38rc5' 'tiacx-firmware')
makedepends=('kernel26-headers' 'kernel26-headers')
install=acx.install
source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
......@@ -22,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.37-CHAKRA
_kernver=2.6.38-CHAKRA
build() {
cd $startdir/src/acx-$pkgver
......
# arg 1: the new package version
post_install() {
KERNEL_VERSION='2.6.37-CHAKRA'
KERNEL_VERSION='2.6.38-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.37-CHAKRA'
KERNEL_VERSION='2.6.38-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the old package version
post_remove() {
KERNEL_VERSION='2.6.37-CHAKRA'
KERNEL_VERSION='2.6.38-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
......@@ -6,8 +6,8 @@
pkgname=vhba-module
pkgver=20100822
_kernver='2.6.37-CHAKRA'
pkgrel=1
_kernver='2.6.38-CHAKRA'
pkgrel=2
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.37-CHAKRA'
KERNEL_VERSION='2.6.38-CHAKRA'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
......@@ -10,7 +10,7 @@ post_upgrade() {
}
post_remove() {
KERNEL_VERSION='2.6.37-CHAKRA'
KERNEL_VERSION='2.6.38-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