diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-12-26 13:09:27 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-12-26 13:09:27 +0100 |
commit | 032ac897590a043b6414d0abba4a06ad78db615f (patch) | |
tree | 897cf1a1b2295d9b63a38b1a418da678f4e8affb | |
parent | 719eef2cbea3d4967cef09bd22dd5258dae8b0af (diff) | |
parent | 93079feae1048abe4ebe1ddc66197f31e1206101 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
libre/cdfs-libre/PKGBUILD
libre/vhba-module-libre/PKGBUILD
-rw-r--r-- | community/cgminer/PKGBUILD | 6 | ||||
-rw-r--r-- | community/virtualbox-modules-lts/PKGBUILD | 25 | ||||
-rw-r--r-- | community/virtualbox-modules/PKGBUILD | 28 | ||||
-rw-r--r-- | kernels/linux-libre-rt/PKGBUILD | 3 | ||||
-rw-r--r-- | kernels/linux-libre-rt/fat-3.6.x.patch | 33 | ||||
-rw-r--r-- | libre/cdfs-libre/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/linux-libre-api-headers/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/linux-libre-firmware/PKGBUILD | 11 | ||||
-rw-r--r-- | libre/linux-libre-manpages/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/linux-libre-tools/PKGBUILD | 10 | ||||
-rw-r--r-- | libre/linux-libre/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/lirc-libre/PKGBUILD | 6 | ||||
-rw-r--r-- | libre/tp_smapi-libre-lts/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/tp_smapi-libre/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/vhba-module-libre/PKGBUILD | 2 | ||||
-rw-r--r-- | pcr/freeipmi/PKGBUILD | 49 |
16 files changed, 138 insertions, 55 deletions
diff --git a/community/cgminer/PKGBUILD b/community/cgminer/PKGBUILD index 7ef232654..378b00845 100644 --- a/community/cgminer/PKGBUILD +++ b/community/cgminer/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 81385 2012-12-19 12:16:09Z fyan $ +# $Id: PKGBUILD 81650 2012-12-26 01:18:51Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: monson <holymonson@gmail.com> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: David Manouchehri <david@davidmanouchehri.com> pkgname=cgminer -pkgver=2.10.2 +pkgver=2.10.3 _build= pkgrel=1 pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." @@ -50,7 +50,7 @@ package() { sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf } -md5sums=('6c20c0c60a5c4c81b098b30b4874e366' +md5sums=('6c4851d2c86558432477104e9925d23b' 'fe4a243fabe24608f5c05e40f0f118f6' 'ee39698273671fee0e98d4af16014c36' 'bd76fc92fedce18c59ccea2aa79cc664') diff --git a/community/virtualbox-modules-lts/PKGBUILD b/community/virtualbox-modules-lts/PKGBUILD index c6aa0d0fc..c1fcbe5c5 100644 --- a/community/virtualbox-modules-lts/PKGBUILD +++ b/community/virtualbox-modules-lts/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 81591 2012-12-24 16:25:33Z seblu $ +# $Id: PKGBUILD 81642 2012-12-25 14:12:06Z seblu $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Sébastien Luttringer <seblu@aur.archlinux.org> @@ -6,18 +6,19 @@ pkgbase=virtualbox-modules-lts pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts') pkgver=4.2.6 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') makedepends=('linux-lts-headers' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver" - 'expac') + 'expac' + 'bc') build() { - # current kernel version _kernver=$(expac -Q '%v' linux-lts-headers)-lts + # dkms need modification to be run as user cp -r /var/lib/dkms . echo "dkms_tree='$srcdir/dkms'" > dkms.conf @@ -30,16 +31,16 @@ build() { } package_virtualbox-host-modules-lts(){ + _kernver=$(expac -Q '%v' linux-lts-headers)-lts + _extraver=extramodules-${_kernver%.*}-lts + pkgdesc='Host kernel modules for VirtualBox' - depends=('linux-lts>=3.0' 'linux-lts<3.1') + depends=("linux-lts>=${_kernver%.*}" "linux-lts<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-modules-lts') conflicts=('virtualbox-modules-lts') provides=("virtualbox-host-modules=$pkgver") install=virtualbox-host-modules-lts.install - _kernver=$(expac -Q '%v' linux-lts-headers)-lts - _extraver=extramodules-${_kernver%.*}-lts - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" @@ -48,17 +49,17 @@ package_virtualbox-host-modules-lts(){ } package_virtualbox-guest-modules-lts(){ + _kernver=$(expac -Q '%v' linux-lts-headers)-lts + _extraver=extramodules-${_kernver%.*}-lts + pkgdesc='Guest kernel modules for VirtualBox' license=('GPL') - depends=('linux-lts>=3.0' 'linux-lts<3.1') + depends=("linux-lts>=${_kernver%.*}" "linux-lts<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-archlinux-modules-lts') conflicts=('virtualbox-archlinux-modules-lts') provides=("virtualbox-host-modules=$pkgver") install=virtualbox-guest-modules-lts.install - _kernver=$(expac -Q '%v' linux-lts-headers)-lts - _extraver=extramodules-${_kernver%.*}-lts - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD index a3f87ede8..8dd813d13 100644 --- a/community/virtualbox-modules/PKGBUILD +++ b/community/virtualbox-modules/PKGBUILD @@ -1,23 +1,23 @@ -# $Id: PKGBUILD 81593 2012-12-24 16:28:35Z seblu $ +# $Id: PKGBUILD 81643 2012-12-25 14:12:31Z seblu $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgbase=virtualbox-modules pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules') pkgver=4.2.6 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') makedepends=('linux-headers' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver" - 'expac') + 'expac' + 'bc') build() { - # current kernel version - _kernver=3.7.0-1-ARCH _kernver=$(expac -Q '%v' linux-headers)-ARCH + # dkms need modification to be run as user cp -r /var/lib/dkms . echo "dkms_tree='$srcdir/dkms'" > dkms.conf @@ -30,16 +30,15 @@ build() { } package_virtualbox-host-modules(){ + _kernver=$(expac -Q '%v' linux-headers)-ARCH + _extraver=extramodules-${_kernver%.*}-ARCH + pkgdesc='Host kernel modules for VirtualBox' - depends=('linux>=3.7' 'linux<3.8') + depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-modules') conflicts=('virtualbox-modules') install=virtualbox-host-modules.install - _kernver=3.7.0-1-ARCH - _kernver=$(expac -Q '%v' linux-headers)-ARCH - _extraver=extramodules-${_kernver%.*}-ARCH - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" @@ -48,17 +47,16 @@ package_virtualbox-host-modules(){ } package_virtualbox-guest-modules(){ + _kernver=$(expac -Q '%v' linux-headers)-ARCH + _extraver=extramodules-${_kernver%.*}-ARCH + pkgdesc='Guest kernel modules for VirtualBox' license=('GPL') - depends=('linux>=3.7' 'linux<3.8') + depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)") replaces=('virtualbox-archlinux-modules') conflicts=('virtualbox-archlinux-modules') install=virtualbox-guest-modules.install - _kernver=3.7.0-1-ARCH - _kernver=$(expac -Q '%v' linux-headers)-ARCH - _extraver=extramodules-${_kernver%.*}-ARCH - install -dm755 "$pkgdir/usr/lib/modules/$_extraver" cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module" install -m644 * "$pkgdir/usr/lib/modules/$_extraver" diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index a30ceece0..ed61b0c86 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -39,7 +39,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn 'fat-3.6.x.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2") md5sums=('a2312edd0265b5b07bd4b50afae2b380' - 'bd4bba74093405887d521309a74c19e9' + 'ced16b674906cf8c3733c012f804f5c7' '0be405891c7fb02b0026d4143f2207da' '11161582d9050710ccfecbe077fc5a63' 'ac8f20b0cd83acb9525b5557e1fafeaf' @@ -51,6 +51,7 @@ md5sums=('a2312edd0265b5b07bd4b50afae2b380' '670931649c60fcb3ef2e0119ed532bd4' '8a71abc4224f575008f974a099b5cf6f' '4909a0271af4e5f373136b382826717f' + '88d501404f172dac6fcb248978251560' 'c188074cdc350ac7cf4e9c8d14c0575e') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. diff --git a/kernels/linux-libre-rt/fat-3.6.x.patch b/kernels/linux-libre-rt/fat-3.6.x.patch new file mode 100644 index 000000000..d8deeb788 --- /dev/null +++ b/kernels/linux-libre-rt/fat-3.6.x.patch @@ -0,0 +1,33 @@ +From: Dave Reisner <dreisner@archlinux.org> +Date: Thu, 29 Nov 2012 03:18:52 +0000 (+1100) +Subject: fs/fat: strip "cp" prefix from codepage in display +X-Git-Tag: next-20121130~1^2~97 +X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fnext%2Flinux-next.git;a=commitdiff_plain;h=f15914873184cc3f2a8d590fa4f7e32ab0a8a405 + +fs/fat: strip "cp" prefix from codepage in display + +Option parsing code expects an unsigned integer for the codepage option, +but prefixes and stores this option with "cp" before passing to +load_nls(). This makes the displayed option in /proc an invalid one. +Strip the prefix when printing so that the displayed option is valid for +reuse. + +Signed-off-by: Dave Reisner <dreisner@archlinux.org> +Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> +Signed-off-by: Andrew Morton <akpm@linux-foundation.org> +--- + +diff --git a/fs/fat/inode.c b/fs/fat/inode.c +index 3b733a7..3580681 100644 +--- a/fs/fat/inode.c ++++ b/fs/fat/inode.c +@@ -726,7 +726,8 @@ static int fat_show_options(struct seq_file *m, struct dentry *root) + if (opts->allow_utime) + seq_printf(m, ",allow_utime=%04o", opts->allow_utime); + if (sbi->nls_disk) +- seq_printf(m, ",codepage=%s", sbi->nls_disk->charset); ++ /* strip "cp" prefix from displayed option */ ++ seq_printf(m, ",codepage=%s", &sbi->nls_disk->charset[2]); + if (isvfat) { + if (sbi->nls_io) + seq_printf(m, ",iocharset=%s", sbi->nls_io->charset); diff --git a/libre/cdfs-libre/PKGBUILD b/libre/cdfs-libre/PKGBUILD index e36241067..45f2d1121 100644 --- a/libre/cdfs-libre/PKGBUILD +++ b/libre/cdfs-libre/PKGBUILD @@ -6,8 +6,8 @@ _pkgname=cdfs pkgname=cdfs-libre pkgver=2.6.27 -pkgrel=34 -pkgdesc="File system module libre that 'exports' all tracks and boot images on a CD as normal files." +pkgrel=34.1 +pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files. (adapted to linux-libre kernel)" arch=(i686 x86_64 mips64el) url="http://www.elis.UGent.be/~ronsse/cdfs/" license=('GPL') diff --git a/libre/linux-libre-api-headers/PKGBUILD b/libre/linux-libre-api-headers/PKGBUILD index c420c2070..0f7128226 100644 --- a/libre/linux-libre-api-headers/PKGBUILD +++ b/libre/linux-libre-api-headers/PKGBUILD @@ -8,8 +8,8 @@ pkgname=linux-libre-api-headers _basekernel=3.6 _sublevel=3 pkgver=${_basekernel}.${_sublevel} -pkgrel=1 -pkgdesc="Kernel libre headers sanitized for use in userspace" +pkgrel=1.1 +pkgdesc="Kernel headers sanitized for use in userspace (built from linux-libre source)" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/libc" license=('GPL2') diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD index 52fcbd887..e6461610b 100644 --- a/libre/linux-libre-firmware/PKGBUILD +++ b/libre/linux-libre-firmware/PKGBUILD @@ -1,10 +1,11 @@ # Maintainer: André Silva <emulatorman@lavabit.com> # Contributor: Márcio Silva <coadde@lavabit.com> +_pkgname=linux-firmware pkgname=linux-libre-firmware pkgver=3.7 -pkgrel=1 -pkgdesc='Free firmware files for Linux-libre' +pkgrel=2 +pkgdesc='Free firmware files for Linux (built from linux-libre source)' arch=('any') url='http://linux-libre.fsfla.org/' license=('GPL2') @@ -43,7 +44,7 @@ package() { make INSTALL_FW_PATH=$pkgdir/usr/lib/firmware firmware_install - # move WHENCE file to linux-libre-firmware license folder - install -d -m755 $pkgdir/usr/share/licenses/$pkgname - mv firmware/WHENCE $pkgdir/usr/share/licenses/$pkgname + # move WHENCE file to linux-firmware license folder + install -d -m755 $pkgdir/usr/share/licenses/$_pkgname + mv firmware/WHENCE $pkgdir/usr/share/licenses/$_pkgname } diff --git a/libre/linux-libre-manpages/PKGBUILD b/libre/linux-libre-manpages/PKGBUILD index e6cc4238c..92f3778ca 100644 --- a/libre/linux-libre-manpages/PKGBUILD +++ b/libre/linux-libre-manpages/PKGBUILD @@ -5,8 +5,8 @@ pkgname=linux-libre-manpages pkgver=3.1 -pkgrel=1.2 -pkgdesc="Kernel libre hackers manual - Section 9 manpages that comes with the linux-libre kernel" +pkgrel=1.3 +pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the linux-libre kernel" arch=('any') url="http://linux-libre.fsfla.org/" license=('GPL2') diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index c525abb93..2609ad281 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -91,7 +91,7 @@ build() { } package_libtraceevent-libre() { - pkgdesc='Linux-libre kernel trace event library' + pkgdesc='Linux kernel trace event library (built from linux-libre source)' depends=('glibc') replaces=('libtraceevent') conflicts=('libtraceevent') @@ -103,7 +103,7 @@ package_libtraceevent-libre() { } package_perf-libre() { - pkgdesc='Linux-libre kernel performance auditing tool' + pkgdesc='Linux kernel performance auditing tool (built from linux-libre source)' depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') replaces=('perf') conflicts=('perf') @@ -121,7 +121,7 @@ package_perf-libre() { } package_cpupower-libre() { - pkgdesc='Linux-libre kernel tool to examine and tune power saving related features of your processor' + pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor (built from linux-libre source)' backup=('etc/conf.d/cpupower') depends=('bash' 'pciutils') replaces=('cpupower' 'cpufrequtils') @@ -143,7 +143,7 @@ package_cpupower-libre() { } package_x86_energy_perf_policy-libre() { - pkgdesc='Read or write MSR_IA32_ENERGY_PERF_BIAS' + pkgdesc='Read or write MSR_IA32_ENERGY_PERF_BIAS (built from linux-libre source)' depends=('glibc') replaces=('x86_energy_perf_policy') conflicts=('x86_energy_perf_policy') @@ -155,7 +155,7 @@ package_x86_energy_perf_policy-libre() { } package_usbip-libre() { - pkgdesc='An USB device sharing system over IP network' + pkgdesc='An USB device sharing system over IP network (built from linux-libre source)' depends=('glib2' 'sysfsutils') options=('!libtool') replaces=('usbip') diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index 711d8efb5..29a814519 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -393,7 +393,7 @@ _package-headers() { } _package-docs() { - pkgdesc="Kernel libre hackers manual - HTML documentation that comes with the ${pkgbase} kernel" + pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase} kernel" provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD index c8cd92d40..d6bf55f57 100644 --- a/libre/lirc-libre/PKGBUILD +++ b/libre/lirc-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgbase=lirc pkgbase=lirc-libre pkgname=('lirc-libre' 'lirc-utils-libre') pkgver=0.9.0 -pkgrel=35 +pkgrel=35.1 epoch=1 _extramodules=extramodules-3.7-LIBRE arch=('i686' 'x86_64' 'mips64el') @@ -55,7 +55,7 @@ build() { } package_lirc-libre() { - pkgdesc="Linux-libre Infrared Remote Control kernel modules for stock kernel libre" + pkgdesc="Linux Infrared Remote Control kernel modules for stock kernel (adapted to linux-libre kernel) " depends=('lirc-utils-libre' 'linux-libre>=3.7' 'linux-libre<3.8') replaces=('lirc' 'lirc+pctv') conflicts=('lirc') @@ -72,7 +72,7 @@ package_lirc-libre() { } package_lirc-utils-libre() { - pkgdesc="Linux-libre Infrared Remote Control utils" + pkgdesc="Linux Infrared Remote Control utils (adapted to linux-libre kernel)" depends=('alsa-lib' 'libx11' 'libftdi' 'libirman') optdepends=('python2: pronto2lirc utility') options=('strip' '!libtool') diff --git a/libre/tp_smapi-libre-lts/PKGBUILD b/libre/tp_smapi-libre-lts/PKGBUILD index 01502f813..d3228b177 100644 --- a/libre/tp_smapi-libre-lts/PKGBUILD +++ b/libre/tp_smapi-libre-lts/PKGBUILD @@ -13,7 +13,7 @@ _pkgname=tp_smapi _extramodules=/usr/lib/modules/extramodules-3.0-LIBRE-LTS pkgver=0.41 pkgrel=9.3 -pkgdesc="linux-libre-lts modules for ThinkPad's SMAPI functionality" +pkgdesc="Modules for ThinkPad's SMAPI functionality (adapted to linux-libre-lts kernel)" arch=('i686' 'x86_64') url='https://github.com/evgeni/tp_smapi' license=('GPL') diff --git a/libre/tp_smapi-libre/PKGBUILD b/libre/tp_smapi-libre/PKGBUILD index 37a7c1ad9..11b515683 100644 --- a/libre/tp_smapi-libre/PKGBUILD +++ b/libre/tp_smapi-libre/PKGBUILD @@ -11,8 +11,8 @@ _pkgname=tp_smapi pkgname=tp_smapi-libre pkgver=0.41 -pkgrel=12 -pkgdesc="Modules for ThinkPad's SMAPI functionality" +pkgrel=12.1 +pkgdesc="Modules for ThinkPad's SMAPI functionality (adapted to linux-libre kernel)" arch=('i686' 'x86_64') url='https://github.com/evgeni/tp_smapi' license=('GPL') diff --git a/libre/vhba-module-libre/PKGBUILD b/libre/vhba-module-libre/PKGBUILD index af7f7156e..6467942a6 100644 --- a/libre/vhba-module-libre/PKGBUILD +++ b/libre/vhba-module-libre/PKGBUILD @@ -9,7 +9,7 @@ pkgname=vhba-module-libre pkgver=20120422 _extramodules=extramodules-3.7-LIBRE pkgrel=15 -pkgdesc="Kernel libre module that emulates SCSI devices" +pkgdesc="Kernel module that emulates SCSI devices (adapted to linux-libre kernel)" arch=('i686' 'x86_64' 'mips64el') url="http://cdemu.sourceforge.net/" license=('GPL') diff --git a/pcr/freeipmi/PKGBUILD b/pcr/freeipmi/PKGBUILD new file mode 100644 index 000000000..ff321ea02 --- /dev/null +++ b/pcr/freeipmi/PKGBUILD @@ -0,0 +1,49 @@ +# http://github.com/fukawi2/aur-packages +# Contributor: Nathan Owe <ndowens04 at gmail> +# Contributor: Phillip Smith <fukawi2@NO-SPAM.gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO> + +pkgname=freeipmi +pkgver=1.2.3 +pkgrel=1 +pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/freeipmi/" +license=('GPL') +depends=('libgcrypt') +options=('!libtool') +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") + +build() { + cd $srcdir/$pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir/ install + + # Move init scripts and config to Arch paths + mv $pkgdir/etc/init.d $pkgdir/etc/rc.d + mv $pkgdir/etc/sysconfig $pkgdir/etc/conf.d + + # Fix references to 'init.d' and 'sysconfig' + sed -e 's|/etc/init.d/|/etc/rc.d/|g' \ + -e 's|/etc/rc.d/init.d/functions|/etc/rc.d/functions|g' \ + -i $pkgdir/etc/rc.d/* + sed -e 's|CONFFILE=/etc/sysconfig/bmc-watchdog|CONFFILE=/etc/cond.f/bmc-watchdog|g' \ + -i $pkgdir/etc/rc.d/bmc-watchdog + + rm -Rf $pkgdir/usr/share/info/dir +} + +# vim:set ts=2 sw=2 et: |