[arch-commits] Commit in pacman/repos (core-x86_64 testing-x86_64)
Date: Wednesday, April 20, 2011 @ 18:10:34 Author: dan Revision: 120188 db-move: moved pacman from [testing] to [core] (x86_64) Added: pacman/repos/core-x86_64/ Deleted: pacman/repos/testing-x86_64/
[arch-commits] Commit in pacman/repos (core-x86_64)
Date: Wednesday, April 20, 2011 @ 18:10:33 Author: dan Revision: 120187 db-move: pacman removed by dan for move to [core] (x86_64) Deleted: pacman/repos/core-x86_64/
[arch-commits] Commit in pacman/repos (core-i686 testing-i686)
Date: Wednesday, April 20, 2011 @ 18:10:33 Author: dan Revision: 120186 db-move: moved pacman from [testing] to [core] (i686) Added: pacman/repos/core-i686/ Deleted: pacman/repos/testing-i686/
[arch-commits] Commit in pacman/repos (core-i686)
Date: Wednesday, April 20, 2011 @ 18:10:32 Author: dan Revision: 120185 db-move: pacman removed by dan for move to [core] (i686) Deleted: pacman/repos/core-i686/
[arch-commits] Commit in php/repos (extra-x86_64 testing-x86_64)
Date: Wednesday, April 20, 2011 @ 17:05:25 Author: pierre Revision: 120184 db-move: moved php from [testing] to [extra] (x86_64) Added: php/repos/extra-x86_64/ Deleted: php/repos/testing-x86_64/
[arch-commits] Commit in php/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 17:05:24 Author: pierre Revision: 120183 db-move: php removed by pierre for move to [extra] (x86_64) Deleted: php/repos/extra-x86_64/
[arch-commits] Commit in php/repos (extra-i686 testing-i686)
Date: Wednesday, April 20, 2011 @ 17:05:23 Author: pierre Revision: 120182 db-move: moved php from [testing] to [extra] (i686) Added: php/repos/extra-i686/ Deleted: php/repos/testing-i686/
[arch-commits] Commit in php/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 17:05:23 Author: pierre Revision: 120181 db-move: php removed by pierre for move to [extra] (i686) Deleted: php/repos/extra-i686/
[arch-commits] Commit in nvidia-lts/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:16:05 Author: ibiru Revision: 120180 archrelease: copy trunk to extra-x86_64 Added: nvidia-lts/repos/extra-x86_64/
[arch-commits] Commit in nvidia-lts/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:15:53 Author: ibiru Revision: 120179 archrelease: remove extra-x86_64 Deleted: nvidia-lts/repos/extra-x86_64/
[arch-commits] Commit in nvidia-lts/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:15:50 Author: ibiru Revision: 120178 archrelease: copy trunk to extra-i686 Added: nvidia-lts/repos/extra-i686/
[arch-commits] Commit in nvidia-lts/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:15:37 Author: ibiru Revision: 120177 archrelease: remove extra-i686 Deleted: nvidia-lts/repos/extra-i686/
[arch-commits] Commit in nvidia-lts/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 14:15:33 Author: ibiru Revision: 120176 upgpkg: nvidia-lts 270.41.06-1 update to 270.41.06 Modified: nvidia-lts/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 18:12:15 UTC (rev 120175) +++ PKGBUILD2011-04-20 18:15:33 UTC (rev 120176) @@ -2,7 +2,7 @@ # Maintainer: Eric Bélanger pkgname=nvidia-lts -pkgver=270.41.03 +pkgver=270.41.06 _kernver='2.6.32-lts' pkgrel=1 pkgdesc="NVIDIA drivers for kernel26-lts" @@ -18,12 +18,12 @@ _arch='x86' _pkg="NVIDIA-Linux-${_arch}-${pkgver}" source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) - md5sums=('4e3b54ee55c6cfa4437c12a8bd9a4250') + md5sums=('702868c77b13bba46f0fce26ed7a1fb7') elif [ "$CARCH" = "x86_64" ]; then _arch='x86_64' _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) - md5sums=('8fa312dd8aff26299f8df1e721665960') + md5sums=('d62243b91d0dc8f2c4b2ab646b72ca65') fi build() {
[arch-commits] Commit in nvidia/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:12:15 Author: ibiru Revision: 120175 archrelease: copy trunk to extra-x86_64 Added: nvidia/repos/extra-x86_64/
[arch-commits] Commit in nvidia/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:12:03 Author: ibiru Revision: 120174 archrelease: remove extra-x86_64 Deleted: nvidia/repos/extra-x86_64/
[arch-commits] Commit in nvidia/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:12:00 Author: ibiru Revision: 120173 archrelease: copy trunk to extra-i686 Added: nvidia/repos/extra-i686/
[arch-commits] Commit in nvidia-utils/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:11:58 Author: ibiru Revision: 120172 archrelease: copy trunk to extra-x86_64 Added: nvidia-utils/repos/extra-x86_64/
[arch-commits] Commit in nvidia/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:11:46 Author: ibiru Revision: 120171 archrelease: remove extra-i686 Deleted: nvidia/repos/extra-i686/
[arch-commits] Commit in nvidia-utils/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:11:43 Author: ibiru Revision: 120170 archrelease: remove extra-x86_64 Deleted: nvidia-utils/repos/extra-x86_64/
[arch-commits] Commit in nvidia/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 14:11:42 Author: ibiru Revision: 120169 upgpkg: nvidia 270.41.06-1 update to 270.41.06 Modified: nvidia/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 18:11:35 UTC (rev 120168) +++ PKGBUILD2011-04-20 18:11:42 UTC (rev 120169) @@ -2,7 +2,7 @@ # Maintainer : Thomas Baechler pkgname=nvidia -pkgver=270.41.03 +pkgver=270.41.06 _kernver='2.6.38-ARCH' pkgrel=1 pkgdesc="NVIDIA drivers for kernel26." @@ -19,12 +19,12 @@ _arch='x86' _pkg="NVIDIA-Linux-${_arch}-${pkgver}" source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) -md5sums=('4e3b54ee55c6cfa4437c12a8bd9a4250') +md5sums=('702868c77b13bba46f0fce26ed7a1fb7') elif [ "$CARCH" = "x86_64" ]; then _arch='x86_64' _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) -md5sums=('8fa312dd8aff26299f8df1e721665960') +md5sums=('d62243b91d0dc8f2c4b2ab646b72ca65') fi build() {
[arch-commits] Commit in nvidia-utils/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:11:35 Author: ibiru Revision: 120168 archrelease: copy trunk to extra-i686 Added: nvidia-utils/repos/extra-i686/
[arch-commits] Commit in nvidia-utils/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:11:23 Author: ibiru Revision: 120167 archrelease: remove extra-i686 Deleted: nvidia-utils/repos/extra-i686/
[arch-commits] Commit in nvidia-utils/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 14:11:19 Author: ibiru Revision: 120166 upgpkg: nvidia-utils 270.41.06-1 update to 270.41.06 Modified: nvidia-utils/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 18:04:36 UTC (rev 120165) +++ PKGBUILD2011-04-20 18:11:19 UTC (rev 120166) @@ -3,7 +3,7 @@ # Contributor: James Rayner pkgname=nvidia-utils -pkgver=270.41.03 +pkgver=270.41.06 pkgrel=1 pkgdesc="NVIDIA drivers utilities and libraries." arch=('i686' 'x86_64') @@ -21,12 +21,12 @@ _arch='x86' _pkg="NVIDIA-Linux-${_arch}-${pkgver}" source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) -md5sums=('4e3b54ee55c6cfa4437c12a8bd9a4250') +md5sums=('702868c77b13bba46f0fce26ed7a1fb7') elif [ "$CARCH" = "x86_64" ]; then _arch='x86_64' _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) -md5sums=('8fa312dd8aff26299f8df1e721665960') +md5sums=('d62243b91d0dc8f2c4b2ab646b72ca65') fi source[1]='20-nvidia.conf'
[arch-commits] Commit in nvidia-173xx-utils/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:04:36 Author: ibiru Revision: 120165 archrelease: copy trunk to extra-x86_64 Added: nvidia-173xx-utils/repos/extra-x86_64/
[arch-commits] Commit in nvidia-173xx/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 14:04:23 Author: ibiru Revision: 120164 archrelease: copy trunk to extra-x86_64 Added: nvidia-173xx/repos/extra-x86_64/
[arch-commits] Commit in nvidia-173xx-utils/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:04:22 Author: ibiru Revision: 120163 archrelease: copy trunk to extra-i686 Added: nvidia-173xx-utils/repos/extra-i686/
[arch-commits] Commit in nvidia-173xx/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 14:04:10 Author: ibiru Revision: 120162 archrelease: copy trunk to extra-i686 Added: nvidia-173xx/repos/extra-i686/
[arch-commits] Commit in nvidia-173xx-utils/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 14:04:09 Author: ibiru Revision: 120161 upgpkg: nvidia-173xx-utils 173.14.30-1 update to 173.14.30 Modified: nvidia-173xx-utils/trunk/PKGBUILD --+ PKGBUILD | 46 +++--- 1 file changed, 23 insertions(+), 23 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 18:03:56 UTC (rev 120160) +++ PKGBUILD2011-04-20 18:04:09 UTC (rev 120161) @@ -2,11 +2,11 @@ # Maintainer: Thomas Bächler pkgname=nvidia-173xx-utils -pkgver=173.14.28 +pkgver=173.14.30 pkgrel=1 pkgdesc="NVIDIA drivers utilities and libraries, 173xx branch." arch=('i686' 'x86_64') -[ "$CARCH" = "i686" ] && ARCH=x86 +[ "$CARCH" = "i686" ] && ARCH=x86 [ "$CARCH" = "x86_64" ] && ARCH=x86_64 url="http://www.nvidia.com/"; depends=('xorg-server') @@ -18,8 +18,8 @@ options=(!strip) backup=('etc/X11/xorg.conf.d/20-nvidia.conf') source=("http://download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0.run";) -md5sums=('3b2085ffc2047e701a01b3163129f763') -[ "$CARCH" = "x86_64" ] && md5sums=('8f48430f2b759d4efbf022cb415ecc5d') +md5sums=('665f9f730c18ab24a997e0e14b863262') +[ "$CARCH" = "x86_64" ] && md5sums=('8c47463ae14a2f742d0fa00160456745') source[1]='20-nvidia.conf' md5sums[1]='37e417b2c69e46de1346a653e07027fa' @@ -34,32 +34,32 @@ mkdir -p $pkgdir/usr/share/licenses/nvidia-173xx/ install lib/{libGLcore,libGL,libnvidia-cfg,tls/libnvidia-tls}.so.${pkgver} \ - $pkgdir/usr/lib/ || return 1 - install -m644 share/man/man1/* $pkgdir/usr/share/man/man1/ || return 1 - rm $pkgdir/usr/share/man/man1/nvidia-installer.1.gz || return 1 - install X11R6/lib/libXv* $pkgdir/usr/lib/ || return 1 - install -m644 share/applications/nvidia-settings.desktop $pkgdir/usr/share/applications/ || return 1 + $pkgdir/usr/lib/ + install -m644 share/man/man1/* $pkgdir/usr/share/man/man1/ + rm $pkgdir/usr/share/man/man1/nvidia-installer.1.gz + install X11R6/lib/libXv* $pkgdir/usr/lib/ + install -m644 share/applications/nvidia-settings.desktop $pkgdir/usr/share/applications/ # fix nvidia .desktop file sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $pkgdir/usr/share/applications/nvidia-settings.desktop - install -m644 share/pixmaps/nvidia-settings.png $pkgdir/usr/share/pixmaps/ || return 1 - install X11R6/lib/modules/drivers/nvidia_drv.so $pkgdir/usr/lib/xorg/modules/drivers || return 1 - install X11R6/lib/modules/extensions/libglx.so.$pkgver $pkgdir/usr/lib/xorg/modules/extensions || return 1 - install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $pkgdir/usr/bin/ || return 1 + install -m644 share/pixmaps/nvidia-settings.png $pkgdir/usr/share/pixmaps/ + install X11R6/lib/modules/drivers/nvidia_drv.so $pkgdir/usr/lib/xorg/modules/drivers + install X11R6/lib/modules/extensions/libglx.so.$pkgver $pkgdir/usr/lib/xorg/modules/extensions + install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $pkgdir/usr/bin/ cd $pkgdir/usr/lib/ - ln -s libGL.so.$pkgver libGL.so || return 1 - ln -s libGL.so.$pkgver libGL.so.1 || return 1 - ln -s libGLcore.so.$pkgver libGLcore.so.1 || return 1 - ln -s libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1 || return 1 - ln -s libnvidia-tls.so.$pkgver libnvidia-tls.so.1 || return 1 - ln -s libXvMCNVIDIA.so.$pkgver libXvMCNVIDIA_dynamic.so.1 || return 1 + ln -s libGL.so.$pkgver libGL.so + ln -s libGL.so.$pkgver libGL.so.1 + ln -s libGLcore.so.$pkgver libGLcore.so.1 + ln -s libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1 + ln -s libnvidia-tls.so.$pkgver libnvidia-tls.so.1 + ln -s libXvMCNVIDIA.so.$pkgver libXvMCNVIDIA_dynamic.so.1 cd $pkgdir/usr/lib/xorg/modules/extensions - ln -s libglx.so.$pkgver libglx.so || return 1 + ln -s libglx.so.$pkgver libglx.so - install -m644 $srcdir/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/LICENSE $pkgdir/usr/share/licenses/nvidia-173xx/ || return 1 - ln -s nvidia-173xx $pkgdir/usr/share/licenses/nvidia-173xx-utils || return 1 + install -m644 $srcdir/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/LICENSE $pkgdir/usr/share/licenses/nvidia-173xx/ + ln -s nvidia-173xx $pkgdir/usr/share/licenses/nvidia-173xx-utils - install -D -m644 $srcdir/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/usr/share/doc/README.txt $pkgdir/usr/share/doc/nvidia-173xx/README || return 1 + install -D -m644 $srcdir/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/usr/share/doc/README.txt $pkgdir/usr/share/doc/nvidia-173xx/README find $pkgdir/usr -type d -exec chmod 755 {} \;
[arch-commits] Commit in nvidia-173xx/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 14:03:56 Author: ibiru Revision: 120160 upgpkg: nvidia-173xx 173.14.30-1 update to 173.14.30 Modified: nvidia-173xx/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 16:50:29 UTC (rev 120159) +++ PKGBUILD2011-04-20 18:03:56 UTC (rev 120160) @@ -2,9 +2,9 @@ # Maintainer : Thomas Baechler pkgname=nvidia-173xx -pkgver=173.14.28 +pkgver=173.14.30 _kernver='2.6.38-ARCH' -pkgrel=5 +pkgrel=1 pkgdesc="NVIDIA drivers for kernel26, 173xx branch." arch=('i686' 'x86_64') [ "$CARCH" = "i686" ] && ARCH=x86 @@ -17,8 +17,8 @@ install=nvidia.install source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run";) options=(!strip) -md5sums=('3b2085ffc2047e701a01b3163129f763') -[ "$CARCH" = "x86_64" ] && md5sums=('8f48430f2b759d4efbf022cb415ecc5d') +md5sums=('665f9f730c18ab24a997e0e14b863262') +[ "$CARCH" = "x86_64" ] && md5sums=('8c47463ae14a2f742d0fa00160456745') build() { cd $srcdir
[arch-commits] Commit in lucene/repos (extra-any)
Date: Wednesday, April 20, 2011 @ 12:50:29 Author: andyrtr Revision: 120159 archrelease: copy trunk to extra-any Added: lucene/repos/extra-any/
[arch-commits] Commit in lucene/repos (extra-any)
Date: Wednesday, April 20, 2011 @ 12:50:11 Author: andyrtr Revision: 120158 archrelease: remove extra-any Deleted: lucene/repos/extra-any/
[arch-commits] Commit in lucene/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 12:50:06 Author: andyrtr Revision: 120157 upgpkg: lucene 2.9.4-1 upstream update 2.9.4 Modified: lucene/trunk/PKGBUILD --+ PKGBUILD | 12 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 16:41:02 UTC (rev 120156) +++ PKGBUILD2011-04-20 16:50:06 UTC (rev 120157) @@ -3,17 +3,21 @@ # Contributor: Andy Roberts (arooaroo) pkgname=lucene -pkgver=2.9.3 # don't update to 3.x tree - OOo is not yet ready to use it +pkgver=2.9.4 # don't update to 3.x tree - OOo is not yet ready to use it pkgrel=1 arch=('any') pkgdesc="A high-performance, full-featured text search engine library written entirely in Java" url="http://lucene.apache.org/java/docs/index.html"; -license="APACHE" +license=("APACHE") depends=('java-runtime') -source=(http://www.mirrorservice.org/sites/ftp.apache.org/lucene/java/lucene-${pkgver}.tar.gz) -md5sums=('7f7e04bfbafe7148abdc31aad5103af8') +source=(http://www.mirrorservice.org/sites/ftp.apache.org/lucene/java/$pkgver/lucene-${pkgver}.tar.gz) +md5sums=('ffc60c3a163105b22610dec15602329a') build() { + /bin/true +} + +package() { cd ${srcdir}/${pkgname}-${pkgver} install -m755 -d ${pkgdir}/usr/share/java/
[arch-commits] Commit in xfce4-xkb-plugin/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 12:41:02 Author: andyrtr Revision: 120156 archrelease: copy trunk to extra-x86_64 Added: xfce4-xkb-plugin/repos/extra-x86_64/
[arch-commits] Commit in xfce4-xkb-plugin/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 12:40:46 Author: andyrtr Revision: 120155 archrelease: remove extra-x86_64 Deleted: xfce4-xkb-plugin/repos/extra-x86_64/
[arch-commits] Commit in xfce4-xkb-plugin/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 12:40:42 Author: andyrtr Revision: 120154 archrelease: copy trunk to extra-i686 Added: xfce4-xkb-plugin/repos/extra-i686/
[arch-commits] Commit in xfce4-xkb-plugin/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 12:40:25 Author: andyrtr Revision: 120153 archrelease: remove extra-i686 Deleted: xfce4-xkb-plugin/repos/extra-i686/
[arch-commits] Commit in xfce4-xkb-plugin/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 12:40:20 Author: andyrtr Revision: 120152 upgpkg: xfce4-xkb-plugin 0.5.4.0-1 upstream update 0.5.4.0; should also fix FS#23805 Modified: xfce4-xkb-plugin/trunk/PKGBUILD --+ PKGBUILD | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 15:41:05 UTC (rev 120151) +++ PKGBUILD2011-04-20 16:40:20 UTC (rev 120152) @@ -3,30 +3,21 @@ # Contributor: Tobias Kieslich pkgname=xfce4-xkb-plugin -pkgver=0.5.3.3 -pkgrel=4 +pkgver=0.5.4.0 +pkgrel=1 pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel" arch=(i686 x86_64) license=('custom') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"; groups=('xfce4-goodies') -depends=('xfce4-panel' 'libxfcegui4' 'libxklavier>=5.0' 'librsvg') +depends=('xfce4-panel' 'libxklavier>=5.0' 'librsvg') makedepends=('intltool') options=('!libtool') -source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.5/${pkgname}-${pkgver}.tar.gz -xfce4-xkb-plugin-0.5.3.3-libxklavier.patch - crashfix.diff) -md5sums=('b233cc9de1cbace075eaf6e2c9a8e685' - '781165ce1bc08059ae8e846c45c0bab2' - '4faeaaea7d294cbad2972af964508086') +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.5/${pkgname}-${pkgver}.tar.bz2) +md5sums=('3ea1efe366367af660e6e1d24a240b5f') build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i "${srcdir}/xfce4-xkb-plugin-0.5.3.3-libxklavier.patch" - - # https://bugs.archlinux.org/task/21067 - http://bugzilla.xfce.org/show_bug.cgi?id=6477 - patch -Np1 -i ${srcdir}/crashfix.diff - ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \
[arch-commits] Commit in libreoffice/trunk (7 files)
Date: Wednesday, April 20, 2011 @ 11:41:05 Author: andyrtr Revision: 120151 prepare 3.4 branch builds, make install still doesn't work properly Added: libreoffice/trunk/buildfix_ct2n.diff libreoffice/trunk/buildfix_i116795.diff libreoffice/trunk/buildfix_kde4.diff libreoffice/trunk/buildfix_kde4_2.diff libreoffice/trunk/old-install-behaviour.diff Modified: libreoffice/trunk/PKGBUILD Deleted: libreoffice/trunk/ArchLinux.patch + ArchLinux.patch| 11 PKGBUILD | 516 ++- buildfix_ct2n.diff | 17 + buildfix_i116795.diff | 22 + buildfix_kde4.diff | 30 ++ buildfix_kde4_2.diff | 34 ++ old-install-behaviour.diff | 103 7 files changed, 427 insertions(+), 306 deletions(-) The diff is longer than the limit of 200KB. Use svn diff -r 120150:120151 to see the changes.
[arch-commits] Commit in python-mako/repos (extra-any)
Date: Wednesday, April 20, 2011 @ 08:05:48 Author: ibiru Revision: 120150 archrelease: copy trunk to extra-any Added: python-mako/repos/extra-any/
[arch-commits] Commit in python-mako/repos (extra-any)
Date: Wednesday, April 20, 2011 @ 08:05:34 Author: ibiru Revision: 120149 archrelease: remove extra-any Deleted: python-mako/repos/extra-any/
[arch-commits] Commit in python-mako/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 08:05:04 Author: ibiru Revision: 120148 update to 0.4.1 Modified: python-mako/trunk/PKGBUILD --+ PKGBUILD | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 12:01:11 UTC (rev 120147) +++ PKGBUILD2011-04-20 12:05:04 UTC (rev 120148) @@ -2,19 +2,24 @@ # Maintainer : Ionut Biru # Contributor: Roberto Alsina pkgname=python-mako -pkgver=0.3.4 -pkgrel=4 +pkgver=0.4.1 +pkgrel=1 pkgdesc="Hyperfast and lightweight templating for the Python platform." arch=('any') url="http://www.makotemplates.org/"; license=('custom') -depends=('python2' 'python-markupsafe>=0.9.2' 'python-beaker>=1.5.4') -makedepends=('setuptools') +depends=('python2' 'python-markupsafe' 'python-beaker') +makedepends=('python2-distribute') source=(http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz) -md5sums=('2ae56ccc6c9b5c4e2e67f42b69475009') +md5sums=('c69bceb23c832b74075f438408fea118') build() { - cd "$srcdir/Mako-$pkgver" - python2 setup.py install --root="$pkgdir" --optimize=1 || return 1 - install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING" || return 1 +cd "$srcdir/Mako-$pkgver" +python2 setup.py build } + +build() { +cd "$srcdir/Mako-$pkgver" +python2 setup.py install --root="$pkgdir" --optimize=1 +install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING" +}
[arch-commits] Commit in libplist/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 08:01:11 Author: ibiru Revision: 120147 archrelease: copy trunk to extra-x86_64 Added: libplist/repos/extra-x86_64/
[arch-commits] Commit in libplist/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 08:00:51 Author: ibiru Revision: 120146 archrelease: remove extra-x86_64 Deleted: libplist/repos/extra-x86_64/
[arch-commits] Commit in libplist/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 08:00:48 Author: ibiru Revision: 120145 archrelease: copy trunk to extra-i686 Added: libplist/repos/extra-i686/
[arch-commits] Commit in libplist/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 08:00:35 Author: ibiru Revision: 120144 archrelease: remove extra-i686 Deleted: libplist/repos/extra-i686/
[arch-commits] Commit in libplist/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:59:42 Author: ibiru Revision: 120143 update to 1.4 Modified: libplist/trunk/PKGBUILD --+ PKGBUILD | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 11:52:47 UTC (rev 120142) +++ PKGBUILD2011-04-20 11:59:42 UTC (rev 120143) @@ -3,34 +3,28 @@ # Contributor: Gabriel Martinez < reitaka at gmail dot com > pkgname=libplist -pkgver=1.3 -pkgrel=2 +pkgver=1.4 +pkgrel=1 pkgdesc="A library to handle Apple Property List format whereas it's binary or XML" url="http://libimobiledevice.org/"; arch=('i686' 'x86_64') license=('GPL2' 'LGPL2.1') -depends=('glib2>=2.24.1' 'libxml2>=2.7.7') -makedepends=('cmake' 'swig' 'python2') -source=(http://cloud.github.com/downloads/JonathanBeck/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('982c8aac59cdc3fafc925a407a29b6cf367c5ec9bad6ad509fe5ea25d3e5b6b0') +depends=('glib2' 'libxml2' 'python2') +makedepends=('cmake' 'swig') +source=(http://www.libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('2ad226abe1131a72e7ecbb2b921ad92f54b8e787c2281c89b00145b519479a71') build() { - # CMake is not patched yet - cd "${srcdir}/${pkgname}-${pkgver}/cmake/modules" - cp /usr/share/cmake-2.8/Modules/FindPython*.cmake . - sed -i -e 's#2.6#2.7 2.6#' FindPythonLibs.cmake - sed -i -e 's#python2.6#python2.7 python2.6#' FindPythonInterp.cmake - cd "${srcdir}" mkdir build cd build cmake ../"${pkgname}-${pkgver}" \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX:PATH=/usr - make || return 1 + make } package() { cd "${srcdir}"/build - make DESTDIR="${pkgdir}" install || return 1 + make DESTDIR="${pkgdir}" install }
[arch-commits] Commit in sofia-sip/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:52:47 Author: ibiru Revision: 120142 archrelease: copy trunk to extra-x86_64 Added: sofia-sip/repos/extra-x86_64/
[arch-commits] Commit in sofia-sip/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:52:33 Author: ibiru Revision: 120141 archrelease: remove extra-x86_64 Deleted: sofia-sip/repos/extra-x86_64/
[arch-commits] Commit in sofia-sip/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:52:30 Author: ibiru Revision: 120140 archrelease: copy trunk to extra-i686 Added: sofia-sip/repos/extra-i686/
[arch-commits] Commit in sofia-sip/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:52:16 Author: ibiru Revision: 120139 archrelease: remove extra-i686 Deleted: sofia-sip/repos/extra-i686/
[arch-commits] Commit in sofia-sip/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:51:10 Author: ibiru Revision: 120138 updatet to 1.12.11 Modified: sofia-sip/trunk/PKGBUILD --+ PKGBUILD | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 11:44:55 UTC (rev 120137) +++ PKGBUILD2011-04-20 11:51:10 UTC (rev 120138) @@ -2,20 +2,24 @@ # Maintainer : Ionut Biru # Contributor: Bjorn Lindeijer pkgname=sofia-sip -pkgver=1.12.10 -pkgrel=2 +pkgver=1.12.11 +pkgrel=1 pkgdesc="An open-source SIP User-Agent library" arch=('i686' 'x86_64') url="http://sofia-sip.sourceforge.net"; options=('!libtool' 'zipman') license=('LGPL') depends=('glib2' 'openssl') -source=(http://downloads.sourceforge.net/sofia-sip/$pkgname-$pkgver.tar.gz) -md5sums=('9e07fde3ad2009e44d1100ca3950d02b') +source=(http://downloads.sourceforge.net/sofia-sip/${pkgname}-${pkgver}.tar.gz) +md5sums=('f3582c62080eeecd3fa4cd5d4ccb4225') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --with-openssl - make || return 1 - make DESTDIR="$pkgdir" install + make } + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}
[arch-commits] Commit in nilfs-utils/repos (testing-x86_64)
Date: Wednesday, April 20, 2011 @ 07:44:55 Author: ibiru Revision: 120137 archrelease: copy trunk to testing-x86_64 Added: nilfs-utils/repos/testing-x86_64/
[arch-commits] Commit in nilfs-utils/repos (testing-i686)
Date: Wednesday, April 20, 2011 @ 07:44:41 Author: ibiru Revision: 120136 archrelease: copy trunk to testing-i686 Added: nilfs-utils/repos/testing-i686/
[arch-commits] Commit in nilfs-utils/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:43:51 Author: ibiru Revision: 120135 update to 2.0.22 Modified: nilfs-utils/trunk/PKGBUILD --+ PKGBUILD |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 11:38:27 UTC (rev 120134) +++ PKGBUILD2011-04-20 11:43:51 UTC (rev 120135) @@ -2,7 +2,7 @@ # Maintainer : Ionut Biru # Contributor: Geoffroy Carrier pkgname=nilfs-utils -pkgver=2.0.21 +pkgver=2.0.22 pkgrel=1 pkgdesc="A log-structured file system supporting continuous snapshotting (userspace utils)" arch=('i686' 'x86_64') @@ -12,11 +12,15 @@ depends=('util-linux-ng') options=(!libtool) source=(http://www.nilfs.org/download/${pkgname}-${pkgver}.tar.bz2) -md5sums=('7f970f35950b429ac490df594c9d8fc1') +md5sums=('d7650e53fbd4a73ef56e07a354fdd2b0') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --libdir=/lib make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install LDCONFIG=/bin/true }
[arch-commits] Commit in libtorrent-rasterbar/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:38:27 Author: ibiru Revision: 120134 archrelease: copy trunk to extra-x86_64 Added: libtorrent-rasterbar/repos/extra-x86_64/
[arch-commits] Commit in libtorrent-rasterbar/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:38:14 Author: ibiru Revision: 120133 archrelease: remove extra-x86_64 Deleted: libtorrent-rasterbar/repos/extra-x86_64/
[arch-commits] Commit in libtorrent-rasterbar/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:38:09 Author: ibiru Revision: 120132 archrelease: copy trunk to extra-i686 Added: libtorrent-rasterbar/repos/extra-i686/
[arch-commits] Commit in libtorrent-rasterbar/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:37:51 Author: ibiru Revision: 120131 archrelease: remove extra-i686 Deleted: libtorrent-rasterbar/repos/extra-i686/
[arch-commits] Commit in libtorrent-rasterbar/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:35:26 Author: ibiru Revision: 120130 update to 0.15.6 Modified: libtorrent-rasterbar/trunk/PKGBUILD --+ PKGBUILD |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 11:23:07 UTC (rev 120129) +++ PKGBUILD2011-04-20 11:35:26 UTC (rev 120130) @@ -3,8 +3,8 @@ # Contributor: Hugo Doria pkgname=libtorrent-rasterbar -pkgver=0.15.5 -pkgrel=2 +pkgver=0.15.6 +pkgrel=1 pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" url="http://www.rasterbar.com/products/libtorrent/"; arch=('i686' 'x86_64') @@ -12,12 +12,10 @@ depends=('boost-libs' 'python2') makedepends=('boost') source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) -md5sums=('f1504a619e876c2731ee9a6b7d19cb1d') +sha1sums=('e6f33b139933ec245e8850558efe52e88081fc6d') build() { cd "${srcdir}/${pkgname}-${pkgver}" - export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=2" - export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" ./configure --prefix=/usr --enable-python-binding make }
[arch-commits] Commit in nitrogen/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:23:07 Author: ibiru Revision: 120129 archrelease: copy trunk to extra-x86_64 Added: nitrogen/repos/extra-x86_64/
[arch-commits] Commit in nitrogen/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:22:53 Author: ibiru Revision: 120128 archrelease: remove extra-x86_64 Deleted: nitrogen/repos/extra-x86_64/
[arch-commits] Commit in nitrogen/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:22:50 Author: ibiru Revision: 120127 archrelease: copy trunk to extra-i686 Added: nitrogen/repos/extra-i686/
[arch-commits] Commit in nitrogen/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:22:37 Author: ibiru Revision: 120126 archrelease: remove extra-i686 Deleted: nitrogen/repos/extra-i686/
[arch-commits] Commit in nitrogen/trunk (ChangeLog PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:21:45 Author: ibiru Revision: 120125 update to 1.5.2 Modified: nitrogen/trunk/PKGBUILD Deleted: nitrogen/trunk/ChangeLog ---+ ChangeLog |9 - PKGBUILD | 19 +++ 2 files changed, 11 insertions(+), 17 deletions(-) Deleted: ChangeLog === --- ChangeLog 2011-04-20 11:13:58 UTC (rev 120124) +++ ChangeLog 2011-04-20 11:21:45 UTC (rev 120125) @@ -1,9 +0,0 @@ -2008-08-04 Alexander Fehr - - * nitrogen-1.4-1: - New upstream release. - New maintainer. - Changed url. - Added dependency on hicolor-icon-theme. - Added install file (gtk-update-icon-cache). - Added ChangeLog. Modified: PKGBUILD === --- PKGBUILD2011-04-20 11:13:58 UTC (rev 120124) +++ PKGBUILD2011-04-20 11:21:45 UTC (rev 120125) @@ -4,21 +4,24 @@ # Contributor: Sebastian Sareyko pkgname=nitrogen -pkgver=1.5.1 +pkgver=1.5.2 pkgrel=1 pkgdesc="Background browser and setter for X windows" arch=('i686' 'x86_64') url="http://projects.l3ib.org/nitrogen/"; license=('GPL') -depends=('gtkmm' 'hicolor-icon-theme' 'librsvg>=2.26') +depends=('gtkmm' 'hicolor-icon-theme' 'librsvg') install=nitrogen.install -source=(http://projects.l3ib.org/nitrogen/files/nitrogen-$pkgver.tar.gz) -md5sums=('e683d7c10c17bd18eb9fd78c87c4e08c') +source=(http://projects.l3ib.org/nitrogen/files/${pkgname}-${pkgver}.tar.gz) +md5sums=('dd779a252a222eb9d329d74b809cfe73') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install }
[arch-commits] Commit in orc/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:13:58 Author: ibiru Revision: 120124 archrelease: copy trunk to extra-x86_64 Added: orc/repos/extra-x86_64/
[arch-commits] Commit in orc/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:13:44 Author: ibiru Revision: 120123 archrelease: remove extra-x86_64 Deleted: orc/repos/extra-x86_64/
[arch-commits] Commit in orc/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:13:41 Author: ibiru Revision: 120122 archrelease: copy trunk to extra-i686 Added: orc/repos/extra-i686/
[arch-commits] Commit in orc/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:13:27 Author: ibiru Revision: 120121 archrelease: remove extra-i686 Deleted: orc/repos/extra-i686/
[arch-commits] Commit in orc/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:12:16 Author: ibiru Revision: 120120 update to 0.4.13 Modified: orc/trunk/PKGBUILD --+ PKGBUILD | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 11:09:24 UTC (rev 120119) +++ PKGBUILD2011-04-20 11:12:16 UTC (rev 120120) @@ -1,7 +1,7 @@ # $Id$ # Maintainer: Ionut Biru pkgname=orc -pkgver=0.4.11 +pkgver=0.4.13 pkgrel=1 pkgdesc="The Oild Runtime Compiler" arch=('i686' 'x86_64') @@ -10,14 +10,15 @@ depends=('glibc') options=('!libtool') source=(http://code.entropywave.com/download/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('b8b0b148d319422c3ad250c29483b3c4') +md5sums=('f6d0aed003f67c91933c22d9e5f1696a') build () { cd "${srcdir}/${pkgname}-${pkgver}" - -./configure --prefix=/usr \ ---disable-static +./configure --prefix=/usr --disable-static make +} +package() { +cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }
[arch-commits] Commit in mirage/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:09:24 Author: ibiru Revision: 120119 archrelease: copy trunk to extra-x86_64 Added: mirage/repos/extra-x86_64/
[arch-commits] Commit in mirage/repos (extra-x86_64)
Date: Wednesday, April 20, 2011 @ 07:09:05 Author: ibiru Revision: 120118 archrelease: remove extra-x86_64 Deleted: mirage/repos/extra-x86_64/
[arch-commits] Commit in mirage/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:09:01 Author: ibiru Revision: 120117 archrelease: copy trunk to extra-i686 Added: mirage/repos/extra-i686/
[arch-commits] Commit in mirage/repos (extra-i686)
Date: Wednesday, April 20, 2011 @ 07:08:48 Author: ibiru Revision: 120116 archrelease: remove extra-i686 Deleted: mirage/repos/extra-i686/
[arch-commits] Commit in mirage/trunk (PKGBUILD)
Date: Wednesday, April 20, 2011 @ 07:08:02 Author: ibiru Revision: 120115 update to 0.9.5.2 Modified: mirage/trunk/PKGBUILD --+ PKGBUILD | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-20 09:35:35 UTC (rev 120114) +++ PKGBUILD2011-04-20 11:08:02 UTC (rev 120115) @@ -3,18 +3,22 @@ # Contributor: James Rayner # Contributor: Scott Horowitz pkgname=mirage -pkgver=0.9.5.1 -pkgrel=2 +pkgver=0.9.5.2 +pkgrel=1 pkgdesc="A simple GTK+ Image Viewer" url="http://mirageiv.berlios.de"; license=("GPL") -depends=('pygtk>=2.17.0' 'desktop-file-utils') +depends=('pygtk' 'desktop-file-utils') arch=('i686' 'x86_64') source=(http://download.berlios.de/mirageiv/${pkgname}-${pkgver}.tar.gz) install=$pkgname.install -md5sums=('8b74db43ca6c81e3326d70c81df4bc56') +md5sums=('dace5cf01e5e53317ba8be0f8a74f4bf') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - python2 setup.py install --root="${pkgdir}" +cd "${srcdir}/${pkgname}-${pkgver}" +python2 setup.py build } +package() { +cd "${srcdir}/${pkgname}-${pkgver}" +python2 setup.py install --root="${pkgdir}" +}
[arch-commits] Commit in polkit/repos (testing-x86_64)
Date: Wednesday, April 20, 2011 @ 05:35:35 Author: jgc Revision: 120114 archrelease: copy trunk to testing-x86_64 Added: polkit/repos/testing-x86_64/
[arch-commits] Commit in polkit/repos (testing-x86_64)
Date: Wednesday, April 20, 2011 @ 05:35:22 Author: jgc Revision: 120113 archrelease: remove testing-x86_64 Deleted: polkit/repos/testing-x86_64/
[arch-commits] Commit in polkit/repos (testing-i686)
Date: Wednesday, April 20, 2011 @ 05:35:20 Author: jgc Revision: 120112 archrelease: copy trunk to testing-i686 Added: polkit/repos/testing-i686/
[arch-commits] Commit in polkit/repos (testing-i686)
Date: Wednesday, April 20, 2011 @ 05:35:02 Author: jgc Revision: 120111 archrelease: remove testing-i686 Deleted: polkit/repos/testing-i686/
[arch-commits] Commit in polkit/trunk (CVE-2011-1485.patch PKGBUILD)
Date: Wednesday, April 20, 2011 @ 05:34:59 Author: jgc Revision: 120110 upgpkg: polkit 0.101-2 Fix security issue (FS#23851) Added: polkit/trunk/CVE-2011-1485.patch Modified: polkit/trunk/PKGBUILD -+ CVE-2011-1485.patch | 908 ++ PKGBUILD|5 2 files changed, 912 insertions(+), 1 deletion(-) Added: CVE-2011-1485.patch === --- CVE-2011-1485.patch (rev 0) +++ CVE-2011-1485.patch 2011-04-20 09:34:59 UTC (rev 120110) @@ -0,0 +1,908 @@ +From dd848a42a64a3b22a0cc60f6657b56ce9b6010ae Mon Sep 17 00:00:00 2001 +From: David Zeuthen +Date: Thu, 31 Mar 2011 16:59:09 + +Subject: PolkitUnixProcess: Clarify that the real uid is returned, not the effective one + +On Linux, also switch to parsing /proc//status instead of relying +on the st_uid returned by stat(2) to be the uid we want. + +This was pointed out by Neel Mehta . Thanks! + +Signed-off-by: David Zeuthen +--- +diff --git a/src/polkit/polkitunixprocess.c b/src/polkit/polkitunixprocess.c +index d95a1d4..876da69 100644 +--- a/src/polkit/polkitunixprocess.c b/src/polkit/polkitunixprocess.c +@@ -24,9 +24,7 @@ + #endif + + #include +-#ifndef HAVE_FREEBSD +-#include +-#else ++#ifdef HAVE_FREEBSD + #include + #include + #include +@@ -34,6 +32,7 @@ + #include + #include + #include ++#include + + #include "polkitunixprocess.h" + #include "polkitsubject.h" +@@ -208,6 +207,8 @@ polkit_unix_process_get_pid (PolkitUnixProcess *process) + * + * Gets the uid of the owner of @process. + * ++ * Note that this returns the real user-id (not the effective user-id) of @process. ++ * + * Returns: The UNIX user id of the owner for @process or 0 if @error is set. + **/ + gint +@@ -215,17 +216,21 @@ polkit_unix_process_get_owner (PolkitUnixProcess *process, +GError**error) + { + gint result; ++ gchar *contents; ++ gchar **lines; + #ifdef HAVE_FREEBSD + struct kinfo_proc p; + #else +- struct stat statbuf; +- char procbuf[32]; ++ gchar filename[64]; ++ guint n; + #endif + + g_return_val_if_fail (POLKIT_IS_UNIX_PROCESS (process), 0); + g_return_val_if_fail (error == NULL || *error == NULL, 0); + + result = 0; ++ lines = NULL; ++ contents = NULL; + + #ifdef HAVE_FREEBSD + if (get_kinfo_proc (process->pid, &p) == 0) +@@ -241,23 +246,52 @@ polkit_unix_process_get_owner (PolkitUnixProcess *process, + + result = p.ki_uid; + #else +- g_snprintf (procbuf, sizeof procbuf, "/proc/%d", process->pid); +- if (stat (procbuf, &statbuf) != 0) ++ ++ /* see 'man proc' for layout of the status file ++ * ++ * Uid, Gid: Real, effective, saved set, and file system UIDs (GIDs). ++ */ ++ g_snprintf (filename, sizeof filename, "/proc/%d/status", process->pid); ++ if (!g_file_get_contents (filename, ++&contents, ++NULL, ++error)) + { +- g_set_error (error, +- POLKIT_ERROR, +- POLKIT_ERROR_FAILED, +- "stat() failed for /proc/%d: %s", +- process->pid, +- g_strerror (errno)); + goto out; + } ++ lines = g_strsplit (contents, "\n", -1); ++ for (n = 0; lines != NULL && lines[n] != NULL; n++) ++{ ++ gint real_uid, effective_uid; ++ if (!g_str_has_prefix (lines[n], "Uid:")) ++continue; ++ if (sscanf (lines[n] + 4, "%d %d", &real_uid, &effective_uid) != 2) ++{ ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Unexpected line `%s' in file %s", ++ lines[n], ++ filename); ++ goto out; ++} ++ else ++{ ++ result = real_uid; ++ goto out; ++} ++} + +- result = statbuf.st_uid; ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Didn't find any line starting with `Uid:' in file %s", ++ filename); + #endif + +- out: +- ++out: ++ g_strfreev (lines); ++ g_free (contents); + return result; + } + +-- +cgit v0.8.3-6-g21f6 +From 129b6223a19e7fb2753f8cad7957ac5402394076 Mon Sep 17 00:00:00 2001 +From: David Zeuthen +Date: Fri, 01 Apr 2011 16:09:45 + +Subject: Make PolkitUnixProcess also record the uid of the process + +This is needed to avoid possible TOCTTOU issues since a process can +change both its real uid and effective uid. + +Signed-off-by: David Zeuthen +--- +diff --git a/docs/polkit/polkit-1-sections.txt b/docs/polkit/polkit-1-sections.txt +index 12141e3..9f4fcf8 100644 +--- a/docs/polkit/polkit-1-sections.txt b/docs/polkit/polkit-1-sections.txt +@@ -145,10 +145,13 @@ POLKIT_UNIX_SESSION_GET_CLASS + PolkitUnixProcess + pol