summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-21 00:01:36 +0000
committerroot <root@rshg054.dnsready.net>2012-06-21 00:01:36 +0000
commit6d22541bcebb7236bedfb98a96d5a1292072e86c (patch)
tree1656959d3d65b061d69d74cef6b740dbc3476683 /core
parent530e6e88786befa5d1bcd569e480f1b9fec5b102 (diff)
Thu Jun 21 00:01:36 UTC 2012
Diffstat (limited to 'core')
-rw-r--r--core/cloog/PKGBUILD4
-rw-r--r--core/gcc/PKGBUILD35
-rw-r--r--core/gcc/gcc-4.7.1-libada-pic.patch12
-rw-r--r--core/gcc/gcc-4.7.1-libgo-write.patch13
-rw-r--r--core/gzip/PKGBUILD24
-rw-r--r--core/gzip/gzip.install13
-rw-r--r--core/isl/PKGBUILD10
-rw-r--r--core/libtool/PKGBUILD6
-rw-r--r--core/logrotate/PKGBUILD31
-rwxr-xr-xcore/logrotate/logrotate.cron.daily23
-rw-r--r--core/psmisc/PKGBUILD6
11 files changed, 109 insertions, 68 deletions
diff --git a/core/cloog/PKGBUILD b/core/cloog/PKGBUILD
index 94a65e428..c73b689a2 100644
--- a/core/cloog/PKGBUILD
+++ b/core/cloog/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 148650 2012-02-05 03:55:34Z allan $
+# $Id: PKGBUILD 162068 2012-06-19 12:27:34Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=cloog
pkgver=0.17.0
-pkgrel=1
+pkgrel=2
pkgdesc="Library that generates loops for scanning polyhedra"
arch=('i686' 'x86_64')
url="http://www.bastoul.net/cloog/"
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index cddfb1edc..9b371168a 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 158746 2012-05-09 01:14:02Z allan $
+# $Id: PKGBUILD 162069 2012-06-19 12:27:55Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: libtool requires rebuilt with each new gcc version
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.7.0
-pkgrel=6
-_snapshot=4.7-20120505
-_libstdcppmanver=20120307 # Note: check source directory name when updating this
+pkgver=4.7.1
+pkgrel=1
+#_snapshot=4.7-20120505
+_libstdcppmanver=20120605 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -16,15 +16,19 @@ url="http://gcc.gnu.org"
makedepends=('binutils>=2.22' 'libmpc' 'cloog' 'ppl' 'gcc-ada')
checkdepends=('dejagnu')
options=('!libtool' '!emptydirs')
-source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
- ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
+ #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api.${_libstdcppmanver}.man.tar.bz2
gcc_pure64.patch
- gcc-4.7.0-cloog-0.17.patch)
-md5sums=('8e2df3b9a755c9262db0df019cc3542e'
- '489d2f5311535800a120efd8d18db719'
+ gcc-4.7.0-cloog-0.17.patch
+ gcc-4.7.1-libada-pic.patch
+ gcc-4.7.1-libgo-write.patch)
+md5sums=('933e6f15f51c031060af64a9e14149ff'
+ '767c62f9a047c4434f2345decf1d0819'
'ced48436c1b3c981d721a829f1094de1'
- '575f7d17b022e609447a590e481b18b5')
+ '575f7d17b022e609447a590e481b18b5'
+ '2acbc9d35cc9d72329dc71d6b1f162ef'
+ 'df82dd175ac566c8a6d46b11ac21f14c')
if [ -n "${_snapshot}" ]; then
@@ -49,6 +53,12 @@ build() {
# compatibility with latest cloog
patch -p1 -i ${srcdir}/gcc-4.7.0-cloog-0.17.patch
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53679
+ patch -p1 -i ${srcdir}/gcc-4.7.1-libgo-write.patch
+
+ # bug to file...
+ patch -p1 -i ${srcdir}/gcc-4.7.1-libada-pic.patch
+
echo ${pkgver} > gcc/BASE-VER
cd ${srcdir}
@@ -182,7 +192,8 @@ EOF
# install the libstdc++ man pages
install -dm755 ${pkgdir}/usr/share/man/man3
- install -m644 ${srcdir}/man/man3/* ${pkgdir}/usr/share/man/man3/
+ install -m644 ${srcdir}/libstdc++-api.${_libstdcppmanver}.man/man3/* \
+ ${pkgdir}/usr/share/man/man3/
# Install Runtime Library Exception
install -Dm644 ${_basedir}/COPYING.RUNTIME \
diff --git a/core/gcc/gcc-4.7.1-libada-pic.patch b/core/gcc/gcc-4.7.1-libada-pic.patch
new file mode 100644
index 000000000..591da1e4a
--- /dev/null
+++ b/core/gcc/gcc-4.7.1-libada-pic.patch
@@ -0,0 +1,12 @@
+diff -Naur gcc-4.7.1-orig/libada/Makefile.in gcc-4.7.1/libada/Makefile.in
+--- gcc-4.7.1-orig/libada/Makefile.in 2012-06-13 01:12:37.000000000 +1000
++++ gcc-4.7.1/libada/Makefile.in 2012-06-16 15:04:32.179911023 +1000
+@@ -54,7 +54,7 @@
+ PICFLAG = @PICFLAG@
+ GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
+ GNATLIBCFLAGS= -g -O2
+-GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) \
++GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(PICFLAG) \
+ -fexceptions -DIN_RTS @have_getipinfo@
+
+ host_subdir = @host_subdir@
diff --git a/core/gcc/gcc-4.7.1-libgo-write.patch b/core/gcc/gcc-4.7.1-libgo-write.patch
new file mode 100644
index 000000000..a7be83fda
--- /dev/null
+++ b/core/gcc/gcc-4.7.1-libgo-write.patch
@@ -0,0 +1,13 @@
+diff -Naur gcc-4.7.1-orig/libgo/runtime/print.c gcc-4.7.1/libgo/runtime/print.c
+--- gcc-4.7.1-orig/libgo/runtime/print.c 2012-05-26 04:22:14.000000000 +1000
++++ gcc-4.7.1/libgo/runtime/print.c 2012-06-16 15:06:28.553138502 +1000
+@@ -17,7 +17,8 @@
+ G* g = runtime_g();
+
+ if(g == nil || g->writebuf == nil) {
+- runtime_write(2, v, n);
++ ssize_t bytesWritten = runtime_write(2, v, n);
++ (void)bytesWritten;
+ return;
+ }
+
diff --git a/core/gzip/PKGBUILD b/core/gzip/PKGBUILD
index 67e967ed8..df04137a8 100644
--- a/core/gzip/PKGBUILD
+++ b/core/gzip/PKGBUILD
@@ -1,31 +1,25 @@
-# $Id: PKGBUILD 142064 2011-11-04 23:35:55Z allan $
+# $Id: PKGBUILD 162088 2012-06-19 15:43:54Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=gzip
-pkgver=1.4
-pkgrel=4
+pkgver=1.5
+pkgrel=1
pkgdesc="GNU compression utility"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gzip/"
license=('GPL3')
groups=('base')
depends=('glibc' 'bash')
-makedepends=('patch')
install=gzip.install
-source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz{,.sig})
-md5sums=('e381b8506210c794278f5527cba0e765'
- '3b11d485d1638f2d16f7494a0486a6e8')
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('2a431e169b6f62f7332ef6d47cc53bae'
+ '2de95937a3f65137acf9c55d4ad0447a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
- # By default Gzip uses assembly code. While this may preform better,
- # it is not position independent. The DEFS environment variable is
- # set to use only C code.
- export DEFS="NO_ASM"
./configure --prefix=/usr
- make
+ make
}
check() {
@@ -35,9 +29,5 @@ check() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
make prefix=${pkgdir}/usr install
-
- install -dm755 ${pkgdir}/bin
- mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/
}
diff --git a/core/gzip/gzip.install b/core/gzip/gzip.install
index 24c8b8fb9..43218d98e 100644
--- a/core/gzip/gzip.install
+++ b/core/gzip/gzip.install
@@ -1,11 +1,8 @@
infodir=usr/share/info
-filelist=(gzip.info)
post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null
}
post_upgrade() {
@@ -13,8 +10,6 @@ post_upgrade() {
}
pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null
}
diff --git a/core/isl/PKGBUILD b/core/isl/PKGBUILD
index 00a47106f..2aa5e2194 100644
--- a/core/isl/PKGBUILD
+++ b/core/isl/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 158750 2012-05-09 01:14:11Z allan $
+# $Id: PKGBUILD 162067 2012-06-19 12:27:31Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=isl
-pkgver=0.09
-pkgrel=2
+pkgver=0.10
+pkgrel=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
arch=('i686' 'x86_64')
url="http://www.kotnet.org/~skimo/isl/"
license=('LGPL2.1')
options=('!libtool')
source=(http://www.kotnet.org/~skimo/isl/$pkgname-$pkgver.tar.bz2)
-md5sums=('6873f0b3c9f4d1fb8efae4aea53f2ab2')
+md5sums=('c1ece653891bb2a5f55ca25e3f4e8f35')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -28,5 +28,5 @@ package() {
make -j1 DESTDIR="$pkgdir/" install
install -dm755 $pkgdir/usr/share/gdb/auto-load/usr/lib/
- mv $pkgdir/{,/usr/share/gdb/auto-load/}usr/lib/libisl.so.9.0.0-gdb.py
+ mv $pkgdir/{,/usr/share/gdb/auto-load/}usr/lib/libisl.so.10.0.0-gdb.py
}
diff --git a/core/libtool/PKGBUILD b/core/libtool/PKGBUILD
index 329b016cf..96b3479f6 100644
--- a/core/libtool/PKGBUILD
+++ b/core/libtool/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 155409 2012-04-03 11:10:30Z allan $
+# $Id: PKGBUILD 162070 2012-06-19 12:28:01Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
@@ -6,7 +6,7 @@
pkgname=('libtool' 'libltdl')
pkgver=2.4.2
-pkgrel=5
+pkgrel=6
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libtool"
@@ -28,7 +28,7 @@ check() {
}
package_libtool() {
- depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.7.0')
+ depends=('sh' "libltdl=$pkgver" 'tar' 'gcc=4.7.1')
groups=('base-devel')
install=libtool.install
diff --git a/core/logrotate/PKGBUILD b/core/logrotate/PKGBUILD
index c59ae4eca..2e38d8051 100644
--- a/core/logrotate/PKGBUILD
+++ b/core/logrotate/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 139123 2011-09-30 02:57:48Z eric $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 162089 2012-06-19 15:44:03Z allan $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=logrotate
pkgver=3.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="Rotates system logs automatically"
arch=('i686' 'x86_64')
url="https://fedorahosted.org/logrotate/"
@@ -12,26 +11,26 @@ license=('GPL')
groups=('base')
depends=('popt' 'cron' 'gzip')
backup=('etc/logrotate.conf')
-source=(https://fedorahosted.org/releases/l/o/logrotate/logrotate-${pkgver}.tar.gz
- logrotate-3.8.1-noasprintf.patch
- logrotate.conf
- logrotate.cron.daily)
+source=("https://fedorahosted.org/releases/l/o/logrotate/logrotate-${pkgver}.tar.gz"
+ 'logrotate-3.8.1-noasprintf.patch'
+ 'logrotate.conf'
+ 'logrotate.cron.daily')
md5sums=('bd2e20d8dc644291b08f9215397d28a5'
'fc8e4e15211d8aefd431d0e2e96223c4'
'462a5f364717461537eb2ae6394ad23e'
- '8e23d5d4cc29b1e055b24df87e355cdc')
+ 'aa8ac8283908b6114483a293adcb650f')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
patch -p1 -i "$srcdir"/logrotate-3.8.1-noasprintf.patch
- sed -i 's|#define DEFAULT_MAIL_COMMAND .*|#define DEFAULT_MAIL_COMMAND "/usr/bin/mail"|'\
- config.h
- sed -i "s|CFLAGS = -Wall|CFLAGS = -Wall $CFLAGS|" Makefile
- sed -i 's|$(BASEDIR)/man|$(BASEDIR)/share/man|' Makefile
-
- make
+ sed -e 's|#define DEFAULT_MAIL_COMMAND .*|#define DEFAULT_MAIL_COMMAND "/usr/bin/mail"|'\
+ -e 's|#define COMPRESS_COMMAND .*|#define COMPRESS_COMMAND "/usr/bin/gzip"|'\
+ -e 's|#define UNCOMPRESS_COMMAND .*|#define UNCOMPRESS_COMMAND "/usr/bin/gunzip"|'\
+ -i config.h
+
+ make RPM_OPT_FLAGS="$CFLAGS" EXTRA_LDFLAGS="$LDFLAGS"
}
check() {
@@ -41,7 +40,7 @@ check() {
package() {
cd "$srcdir/${pkgname}-${pkgver}"
- make PREFIX="$pkgdir" install
+ make PREFIX="$pkgdir" MANDIR="usr/share/man" install
install -Dm644 "$srcdir/logrotate.conf" "$pkgdir/etc/logrotate.conf"
install -Dm744 "$srcdir/logrotate.cron.daily" "$pkgdir/etc/cron.daily/logrotate"
diff --git a/core/logrotate/logrotate.cron.daily b/core/logrotate/logrotate.cron.daily
index e8ab921ea..ee0eeeb48 100755
--- a/core/logrotate/logrotate.cron.daily
+++ b/core/logrotate/logrotate.cron.daily
@@ -1,3 +1,24 @@
#!/bin/sh
-/usr/sbin/logrotate /etc/logrotate.conf
+# nicenesses range from -20 (most favorable scheduling) to 19 (least favorable)
+NICE=19
+
+# 0 for none, 1 for real time, 2 for best-effort, 3 for idle
+IONICE_CLASS=2
+
+# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest
+IONICE_PRIORITY=7
+
+CMD_LOGROTATE="/usr/sbin/logrotate /etc/logrotate.conf"
+
+if [ -x /usr/bin/nice ]; then
+ CMD_LOGROTATE="/usr/bin/nice -n ${NICE:-19} ${CMD_LOGROTATE}"
+fi
+
+if [ -x /usr/bin/ionice ]; then
+ CMD_LOGROTATE="/usr/bin/ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} ${CMD_LOGROTATE}"
+fi
+
+${CMD_LOGROTATE}
+
+exit 0
diff --git a/core/psmisc/PKGBUILD b/core/psmisc/PKGBUILD
index 3cf8b44ba..5aff0c1d7 100644
--- a/core/psmisc/PKGBUILD
+++ b/core/psmisc/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 161394 2012-06-11 01:18:35Z eric $
+# $Id: PKGBUILD 162104 2012-06-20 02:05:56Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=psmisc
-pkgver=22.17
+pkgver=22.18
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ license=('GPL')
groups=('base')
depends=('ncurses')
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('5d400710cf030bf7396aec40f53e933942ec8b4a')
+sha1sums=('964f6daa0950b128a0840d9df4dc0b671730a83c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"