[arch-commits] Commit in glib-networking/trunk (2 files)

2011-09-17 Thread Jan Steffens
Date: Saturday, September 17, 2011 @ 03:58:51
  Author: heftig
Revision: 138134

add patch

Added:
  glib-networking/trunk/fix_G_TLS_ERROR_EOF_handling.patch
Modified:
  glib-networking/trunk/PKGBUILD

+
 PKGBUILD   |   12 +++--
 fix_G_TLS_ERROR_EOF_handling.patch |   73 +++
 2 files changed, 81 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 03:21:49 UTC (rev 138133)
+++ PKGBUILD2011-09-17 07:58:51 UTC (rev 138134)
@@ -1,21 +1,25 @@
 # $Id$
 # Maintainer: Jan heftig Steffens jan.steff...@gmail.com
+
 pkgname=glib-networking
 pkgver=2.29.18
-pkgrel=1
+pkgrel=2
 pkgdesc=Network-related giomodules for glib
 arch=('i686' 'x86_64')
 url=http://www.gtk.org/;
 license=('GPL2')
 depends=('glib2' 'libproxy' 'gnutls' 'libgcrypt' 'ca-certificates' 
'gsettings-desktop-schemas')
-makedepends=('intltool' 'namcap')
+makedepends=('intltool')
 options=('!libtool')
 install=glib-networking.install
-source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz)
-sha256sums=('87d77d9bf184398cd8b7f709e6de42f11b2badf9df1bd96a9ab69c0c8a0766f0')
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz
+fix_G_TLS_ERROR_EOF_handling.patch)
+sha256sums=('87d77d9bf184398cd8b7f709e6de42f11b2badf9df1bd96a9ab69c0c8a0766f0'
+'286d64a121cb987866b51af70f55d47bafc5bf60e813aa1412dce51e426cc553')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
+  patch -Np1 -i $srcdir/fix_G_TLS_ERROR_EOF_handling.patch
   ./configure \
 --prefix=/usr --sysconfdir=/etc \
 --libexecdir=/usr/lib/glib-networking --disable-static

Added: fix_G_TLS_ERROR_EOF_handling.patch
===
--- fix_G_TLS_ERROR_EOF_handling.patch  (rev 0)
+++ fix_G_TLS_ERROR_EOF_handling.patch  2011-09-17 07:58:51 UTC (rev 138134)
@@ -0,0 +1,73 @@
+From 9e2aaacafb45d51cff57dc033f4b5ad5bc1a1762 Mon Sep 17 00:00:00 2001
+From: Dan Winship d...@gnome.org
+Date: Fri, 16 Sep 2011 15:29:29 +
+Subject: gnutls: fix G_TLS_ERROR_EOF handling with gnutls 3.0
+
+gnutls 3.0 has a new error code for peer closed connection without
+sending a Close packet, so add some #ifdefs to do the right thing
+with either 2.x or 3.x.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=659233
+---
+diff --git a/tls/gnutls/gtlsconnection-gnutls.c 
b/tls/gnutls/gtlsconnection-gnutls.c
+index c1ede79..0f792bb 100644
+--- a/tls/gnutls/gtlsconnection-gnutls.c
 b/tls/gnutls/gtlsconnection-gnutls.c
+@@ -132,7 +132,10 @@ struct _GTlsConnectionGnutlsPrivate
+ 
+   GError *error;
+   GCancellable *cancellable;
+-  gboolean blocking, eof;
++  gboolean blocking;
++#ifndef GNUTLS_E_PREMATURE_TERMINATION
++  gboolean eof;
++#endif
+   GIOCondition internal_direction;
+ };
+ 
+@@ -548,19 +551,22 @@ end_gnutls_io (GTlsConnectionGnutls  *gnutls,
+   gnutls-priv-need_handshake = TRUE;
+   return status;
+ }
+-  else if (status == GNUTLS_E_UNEXPECTED_PACKET_LENGTH)
++  else if (
++#ifdef GNUTLS_E_PREMATURE_TERMINATION
++ status == GNUTLS_E_PREMATURE_TERMINATION
++#else
++ status == GNUTLS_E_UNEXPECTED_PACKET_LENGTH  gnutls-priv-eof
++#endif
++ )
+ {
+-  if (gnutls-priv-eof)
++  if (gnutls-priv-require_close_notify)
+   {
+-if (gnutls-priv-require_close_notify)
+-  {
+-g_set_error_literal (error, G_TLS_ERROR, G_TLS_ERROR_EOF,
+- _(TLS connection closed unexpectedly));
+-return status;
+-  }
+-else
+-  return 0;
++g_set_error_literal (error, G_TLS_ERROR, G_TLS_ERROR_EOF,
++ _(TLS connection closed unexpectedly));
++return status;
+   }
++  else
++  return 0;
+ }
+ 
+   return status;
+@@ -795,8 +801,10 @@ g_tls_connection_gnutls_pull_func (gnutls_transport_ptr_t 
 transport_data,
+ 
+   if (ret  0)
+ set_gnutls_error (gnutls, G_IO_IN);
++#ifndef GNUTLS_E_PREMATURE_TERMINATION
+   else if (ret == 0)
+ gnutls-priv-eof = TRUE;
++#endif
+ 
+   return ret;
+ }
+--
+cgit v0.9.0.2



[arch-commits] Commit in glib-networking/repos (14 files)

2011-09-17 Thread Jan Steffens
Date: Saturday, September 17, 2011 @ 04:01:40
  Author: heftig
Revision: 138135

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  glib-networking/repos/gnome-unstable-i686/PKGBUILD
(from rev 138134, glib-networking/trunk/PKGBUILD)
  glib-networking/repos/gnome-unstable-i686/fix_G_TLS_ERROR_EOF_handling.patch
(from rev 138134, glib-networking/trunk/fix_G_TLS_ERROR_EOF_handling.patch)
  
glib-networking/repos/gnome-unstable-i686/glib-networking-2.29.9-port-gnutls3-API.patch
(from rev 138134, 
glib-networking/trunk/glib-networking-2.29.9-port-gnutls3-API.patch)
  glib-networking/repos/gnome-unstable-i686/glib-networking.install
(from rev 138134, glib-networking/trunk/glib-networking.install)
  glib-networking/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 138134, glib-networking/trunk/PKGBUILD)
  glib-networking/repos/gnome-unstable-x86_64/fix_G_TLS_ERROR_EOF_handling.patch
(from rev 138134, glib-networking/trunk/fix_G_TLS_ERROR_EOF_handling.patch)
  
glib-networking/repos/gnome-unstable-x86_64/glib-networking-2.29.9-port-gnutls3-API.patch
(from rev 138134, 
glib-networking/trunk/glib-networking-2.29.9-port-gnutls3-API.patch)
  glib-networking/repos/gnome-unstable-x86_64/glib-networking.install
(from rev 138134, glib-networking/trunk/glib-networking.install)
Deleted:
  glib-networking/repos/gnome-unstable-i686/PKGBUILD
  
glib-networking/repos/gnome-unstable-i686/glib-networking-2.29.9-port-gnutls3-API.patch
  glib-networking/repos/gnome-unstable-i686/glib-networking.install
  glib-networking/repos/gnome-unstable-x86_64/PKGBUILD
  
glib-networking/repos/gnome-unstable-x86_64/glib-networking-2.29.9-port-gnutls3-API.patch
  glib-networking/repos/gnome-unstable-x86_64/glib-networking.install

-+
 gnome-unstable-i686/PKGBUILD|   64 

 gnome-unstable-i686/fix_G_TLS_ERROR_EOF_handling.patch  |   73 
++
 gnome-unstable-i686/glib-networking-2.29.9-port-gnutls3-API.patch   |   34 ++--
 gnome-unstable-i686/glib-networking.install |   22 +--
 gnome-unstable-x86_64/PKGBUILD  |   64 

 gnome-unstable-x86_64/fix_G_TLS_ERROR_EOF_handling.patch|   73 
++
 gnome-unstable-x86_64/glib-networking-2.29.9-port-gnutls3-API.patch |   34 ++--
 gnome-unstable-x86_64/glib-networking.install   |   22 +--
 8 files changed, 270 insertions(+), 116 deletions(-)

Deleted: gnome-unstable-i686/PKGBUILD
===
--- gnome-unstable-i686/PKGBUILD2011-09-17 07:58:51 UTC (rev 138134)
+++ gnome-unstable-i686/PKGBUILD2011-09-17 08:01:40 UTC (rev 138135)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Jan heftig Steffens jan.steff...@gmail.com
-pkgname=glib-networking
-pkgver=2.29.18
-pkgrel=1
-pkgdesc=Network-related giomodules for glib
-arch=('i686' 'x86_64')
-url=http://www.gtk.org/;
-license=('GPL2')
-depends=('glib2' 'libproxy' 'gnutls' 'libgcrypt' 'ca-certificates' 
'gsettings-desktop-schemas')
-makedepends=('intltool' 'namcap')
-options=('!libtool')
-install=glib-networking.install
-source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz)
-sha256sums=('87d77d9bf184398cd8b7f709e6de42f11b2badf9df1bd96a9ab69c0c8a0766f0')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure \
---prefix=/usr --sysconfdir=/etc \
---libexecdir=/usr/lib/glib-networking --disable-static
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=${pkgdir} install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: glib-networking/repos/gnome-unstable-i686/PKGBUILD (from rev 138134, 
glib-networking/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2011-09-17 08:01:40 UTC (rev 138135)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan heftig Steffens jan.steff...@gmail.com
+
+pkgname=glib-networking
+pkgver=2.29.18
+pkgrel=2
+pkgdesc=Network-related giomodules for glib
+arch=('i686' 'x86_64')
+url=http://www.gtk.org/;
+license=('GPL2')
+depends=('glib2' 'libproxy' 'gnutls' 'libgcrypt' 'ca-certificates' 
'gsettings-desktop-schemas')
+makedepends=('intltool')
+options=('!libtool')
+install=glib-networking.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz
+fix_G_TLS_ERROR_EOF_handling.patch)
+sha256sums=('87d77d9bf184398cd8b7f709e6de42f11b2badf9df1bd96a9ab69c0c8a0766f0'
+'286d64a121cb987866b51af70f55d47bafc5bf60e813aa1412dce51e426cc553')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  patch -Np1 -i $srcdir/fix_G_TLS_ERROR_EOF_handling.patch
+  ./configure \
+--prefix=/usr --sysconfdir=/etc \
+--libexecdir=/usr/lib/glib-networking 

[arch-commits] Commit in xorg-server/repos (4 files)

2011-09-17 Thread Ionut Biru
Date: Saturday, September 17, 2011 @ 04:05:32
  Author: ibiru
Revision: 138136

update to 1.10.4

Modified:
  xorg-server/repos/extra-i686/PKGBUILD
  xorg-server/repos/extra-x86_64/PKGBUILD
Deleted:
  
xorg-server/repos/extra-i686/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch
  
xorg-server/repos/extra-x86_64/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch

---+
 extra-i686/PKGBUILD   |
7 -
 extra-i686/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch   |   
36 --
 extra-x86_64/PKGBUILD |
7 -
 extra-x86_64/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch |   
36 --
 4 files changed, 4 insertions(+), 82 deletions(-)

Modified: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-09-17 08:01:40 UTC (rev 138135)
+++ extra-i686/PKGBUILD 2011-09-17 08:05:32 UTC (rev 138136)
@@ -3,7 +3,7 @@
 
 pkgbase=xorg-server
 pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 
'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-common' 'xorg-server-devel')
-pkgver=1.10.3.901
+pkgver=1.10.4
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('custom')
@@ -18,7 +18,7 @@
 xvfb-run
 xvfb-run.1
 10-quirks.conf)
-sha1sums=('c7b0d4a29adf91baeae4783841303ccf8ba285e2'
+sha1sums=('857d6377025c77851a3cc5f8ec2ce84164a2fdc6'
   '571f2925f2f3d1b5cdbb2e5a676205fcea256198'
   '629c6d8d52126eab81ee1b72a9e4209535f8cb81'
   '1b95e91384a57d966428c7db98ed06f4cc562f91'
@@ -29,9 +29,6 @@
 
 build() {
   cd ${srcdir}/${pkgbase}-${pkgver}
-  # Upstream post-release commit
-  patch -Np1 -i 
${srcdir}/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch
-
   # Add pointer barrier support, patch from Fedora
   patch -Np1 -i ${srcdir}/xserver-1.10-pointer-barriers.patch
 

Deleted: extra-i686/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch
===
--- extra-i686/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch 
2011-09-17 08:01:40 UTC (rev 138135)
+++ extra-i686/randr-compare-all-the-bytes-in-rrpostpendingproperties.patch 
2011-09-17 08:05:32 UTC (rev 138136)
@@ -1,36 +0,0 @@
-From fa425363e3927e86d57f42c4b6e4995d26d6bd0c Mon Sep 17 00:00:00 2001
-From: Aaron Plattner aplatt...@nvidia.com
-Date: Fri, 29 Jul 2011 23:12:06 +
-Subject: randr: Compare all the bytes in RRPostPendingProperties
-
-RRPostPendingProperties tries to compare the pending and current
-property values to decide whether they're actually changing.  However,
-it does this using a memcmp that passes in pending_value-size as the
-number of bytes.  This is actually the number of elements, where each
-element is (pending_value-format / 8) bytes long.  This causes the
-pending value to not be propagated if the first pending_value-size
-bytes are the same and only the end of it is changing.
-
-Fix this by computing the total number of bytes to compare in the
-memcmp.
-
-Signed-off-by: Aaron Plattner aplatt...@nvidia.com
-Reviewed-by: Keith Packard kei...@keithp.com
-Signed-off-by: Keith Packard kei...@keithp.com
-(cherry picked from commit 08dfff92e8d0c2b1726634392c147f6634d1706d)

-diff --git a/randr/rrproperty.c b/randr/rrproperty.c
-index ba04c16..61e7bb4 100644
 a/randr/rrproperty.c
-+++ b/randr/rrproperty.c
-@@ -283,7 +283,7 @@ RRPostPendingProperties (RROutputPtr output)
-   pending_value-format == current_value-format 
-   pending_value-size == current_value-size 
-   !memcmp (pending_value-data, current_value-data,
--   pending_value-size))
-+   pending_value-size * (pending_value-format / 8)))
-   continue;
- 
-   if (RRChangeOutputProperty (output, property-propertyName,
---
-cgit v0.8.3-6-g21f6

Modified: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2011-09-17 08:01:40 UTC (rev 138135)
+++ extra-x86_64/PKGBUILD   2011-09-17 08:05:32 UTC (rev 138136)
@@ -3,7 +3,7 @@
 
 pkgbase=xorg-server
 pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 
'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-common' 'xorg-server-devel')
-pkgver=1.10.3.901
+pkgver=1.10.4
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('custom')
@@ -18,7 +18,7 @@
 xvfb-run
 xvfb-run.1
 10-quirks.conf)
-sha1sums=('c7b0d4a29adf91baeae4783841303ccf8ba285e2'
+sha1sums=('857d6377025c77851a3cc5f8ec2ce84164a2fdc6'
   '571f2925f2f3d1b5cdbb2e5a676205fcea256198'
   '629c6d8d52126eab81ee1b72a9e4209535f8cb81'
   '1b95e91384a57d966428c7db98ed06f4cc562f91'
@@ -29,9 +29,6 @@
 
 build() {
   cd ${srcdir}/${pkgbase}-${pkgver}
-  # Upstream post-release 

[arch-commits] Commit in mdadm/repos (18 files)

2011-09-17 Thread Tobias Powalowski
Date: Saturday, September 17, 2011 @ 06:36:08
  Author: tpowa
Revision: 138137

db-move: moved mdadm from [testing] to [core] (i686)

Added:
  mdadm/repos/core-i686/PKGBUILD
(from rev 138136, mdadm/repos/testing-i686/PKGBUILD)
  mdadm/repos/core-i686/disable-werror.patch
(from rev 138136, mdadm/repos/testing-i686/disable-werror.patch)
  mdadm/repos/core-i686/linux-3.0.patch
(from rev 138136, mdadm/repos/testing-i686/linux-3.0.patch)
  mdadm/repos/core-i686/mdadm
(from rev 138136, mdadm/repos/testing-i686/mdadm)
  mdadm/repos/core-i686/mdadm.conf
(from rev 138136, mdadm/repos/testing-i686/mdadm.conf)
  mdadm/repos/core-i686/mdadm.install
(from rev 138136, mdadm/repos/testing-i686/mdadm.install)
  mdadm/repos/core-i686/mdadm_hook
(from rev 138136, mdadm/repos/testing-i686/mdadm_hook)
  mdadm/repos/core-i686/mdadm_install
(from rev 138136, mdadm/repos/testing-i686/mdadm_install)
  mdadm/repos/core-i686/mdadm_udev_install
(from rev 138136, mdadm/repos/testing-i686/mdadm_udev_install)
Deleted:
  mdadm/repos/core-i686/PKGBUILD
  mdadm/repos/core-i686/disable-werror.patch
  mdadm/repos/core-i686/linux-3.0.patch
  mdadm/repos/core-i686/mdadm
  mdadm/repos/core-i686/mdadm.conf
  mdadm/repos/core-i686/mdadm.install
  mdadm/repos/core-i686/mdadm_hook
  mdadm/repos/core-i686/mdadm_install
  mdadm/repos/testing-i686/

--+
 PKGBUILD |  103 -
 disable-werror.patch |   22 
 linux-3.0.patch  |   90 
 mdadm|   74 +--
 mdadm.conf   |  134 -
 mdadm.install|   20 +++
 mdadm_hook   |   86 ---
 mdadm_install|   91 -
 mdadm_udev_install   |   23 
 9 files changed, 337 insertions(+), 306 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2011-09-17 08:05:32 UTC (rev 138136)
+++ core-i686/PKGBUILD  2011-09-17 10:36:08 UTC (rev 138137)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski tp...@archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-pkgname=mdadm
-pkgver=3.2.2
-pkgrel=3
-pkgdesc=A tool for managing/monitoring Linux md device arrays, also known as 
Software RAID
-arch=(i686 x86_64)
-license=('GPL')
-url=http://www.cse.unsw.edu.au/~neilb/source/mdadm/;
-groups=('base')
-conflicts=('mkinitcpio0.7')
-depends=('glibc')
-backup=('etc/mdadm.conf')
-source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2
-mdadm 
-mdadm.conf 
-mdadm_install
-mdadm_hook
-disable-werror.patch
-linux-3.0.patch)
-install=mdadm.install
-replaces=('raidtools')
-md5sums=('12ee2fbf3beddb60601fb7a4c4905651'
- '6df172c8f77b280018cf87eb3d313f29'
- '00cbed931db4f15b6ce49e3e7d433966'
- '4bb000166fb13e82ceaa2422fdfaac7e'
- '36f7cc564ed3267888d90208e0eb7adc'
- '4ad87b74a4bc9a34621280abe0e0c3e4'
- 'c499b3edbf2c400c8a1984e18c7ce7fa')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -Np0 -i ../disable-werror.patch
-  patch -Np1 -i ../linux-3.0.patch
-  make CXiFLAGS=$CFLAGS
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make INSTALL=/bin/install DESTDIR=$pkgdir install
-  install -D -m644 ../mdadm.conf $pkgdir/etc/mdadm.conf
-  install -D -m755 ../mdadm $pkgdir/etc/rc.d/mdadm
-  install -D -m644 ../mdadm_install $pkgdir/lib/initcpio/install/mdadm
-  install -D -m644 ../mdadm_hook $pkgdir/lib/initcpio/hooks/mdadm
-  # symlink for backward compatibility
-  ln -sf /lib/initcpio/hooks/mdadm  $pkgdir/lib/initcpio/hooks/raid
-}

Copied: mdadm/repos/core-i686/PKGBUILD (from rev 138136, 
mdadm/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2011-09-17 10:36:08 UTC (rev 138137)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+pkgname=mdadm
+pkgver=3.2.2
+pkgrel=4
+pkgdesc=A tool for managing/monitoring Linux md device arrays, also known as 
Software RAID
+arch=(i686 x86_64)
+license=('GPL')
+url=http://www.cse.unsw.edu.au/~neilb/source/mdadm/;
+groups=('base')
+conflicts=('mkinitcpio0.7')
+depends=('glibc')
+backup=('etc/mdadm.conf')
+source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2
+mdadm 
+mdadm.conf 
+mdadm_install
+mdadm_hook
+mdadm_udev_install
+disable-werror.patch
+linux-3.0.patch)
+install=mdadm.install
+replaces=('raidtools')
+md5sums=('12ee2fbf3beddb60601fb7a4c4905651'
+ '6df172c8f77b280018cf87eb3d313f29'
+ '00cbed931db4f15b6ce49e3e7d433966'
+ '9b01e96b6c3c218fb61628c9281fe688'
+ 

[arch-commits] Commit in mdadm/repos (18 files)

2011-09-17 Thread Tobias Powalowski
Date: Saturday, September 17, 2011 @ 06:36:09
  Author: tpowa
Revision: 138138

db-move: moved mdadm from [testing] to [core] (x86_64)

Added:
  mdadm/repos/core-x86_64/PKGBUILD
(from rev 138136, mdadm/repos/testing-x86_64/PKGBUILD)
  mdadm/repos/core-x86_64/disable-werror.patch
(from rev 138136, mdadm/repos/testing-x86_64/disable-werror.patch)
  mdadm/repos/core-x86_64/linux-3.0.patch
(from rev 138136, mdadm/repos/testing-x86_64/linux-3.0.patch)
  mdadm/repos/core-x86_64/mdadm
(from rev 138136, mdadm/repos/testing-x86_64/mdadm)
  mdadm/repos/core-x86_64/mdadm.conf
(from rev 138136, mdadm/repos/testing-x86_64/mdadm.conf)
  mdadm/repos/core-x86_64/mdadm.install
(from rev 138136, mdadm/repos/testing-x86_64/mdadm.install)
  mdadm/repos/core-x86_64/mdadm_hook
(from rev 138136, mdadm/repos/testing-x86_64/mdadm_hook)
  mdadm/repos/core-x86_64/mdadm_install
(from rev 138136, mdadm/repos/testing-x86_64/mdadm_install)
  mdadm/repos/core-x86_64/mdadm_udev_install
(from rev 138136, mdadm/repos/testing-x86_64/mdadm_udev_install)
Deleted:
  mdadm/repos/core-x86_64/PKGBUILD
  mdadm/repos/core-x86_64/disable-werror.patch
  mdadm/repos/core-x86_64/linux-3.0.patch
  mdadm/repos/core-x86_64/mdadm
  mdadm/repos/core-x86_64/mdadm.conf
  mdadm/repos/core-x86_64/mdadm.install
  mdadm/repos/core-x86_64/mdadm_hook
  mdadm/repos/core-x86_64/mdadm_install
  mdadm/repos/testing-x86_64/

--+
 PKGBUILD |  103 -
 disable-werror.patch |   22 
 linux-3.0.patch  |   90 
 mdadm|   74 +--
 mdadm.conf   |  134 -
 mdadm.install|   20 +++
 mdadm_hook   |   86 ---
 mdadm_install|   91 -
 mdadm_udev_install   |   23 
 9 files changed, 337 insertions(+), 306 deletions(-)

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2011-09-17 10:36:08 UTC (rev 138137)
+++ core-x86_64/PKGBUILD2011-09-17 10:36:09 UTC (rev 138138)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski tp...@archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-pkgname=mdadm
-pkgver=3.2.2
-pkgrel=3
-pkgdesc=A tool for managing/monitoring Linux md device arrays, also known as 
Software RAID
-arch=(i686 x86_64)
-license=('GPL')
-url=http://www.cse.unsw.edu.au/~neilb/source/mdadm/;
-groups=('base')
-conflicts=('mkinitcpio0.7')
-depends=('glibc')
-backup=('etc/mdadm.conf')
-source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2
-mdadm 
-mdadm.conf 
-mdadm_install
-mdadm_hook
-disable-werror.patch
-linux-3.0.patch)
-install=mdadm.install
-replaces=('raidtools')
-md5sums=('12ee2fbf3beddb60601fb7a4c4905651'
- '6df172c8f77b280018cf87eb3d313f29'
- '00cbed931db4f15b6ce49e3e7d433966'
- '4bb000166fb13e82ceaa2422fdfaac7e'
- '36f7cc564ed3267888d90208e0eb7adc'
- '4ad87b74a4bc9a34621280abe0e0c3e4'
- 'c499b3edbf2c400c8a1984e18c7ce7fa')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -Np0 -i ../disable-werror.patch
-  patch -Np1 -i ../linux-3.0.patch
-  make CXiFLAGS=$CFLAGS
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make INSTALL=/bin/install DESTDIR=$pkgdir install
-  install -D -m644 ../mdadm.conf $pkgdir/etc/mdadm.conf
-  install -D -m755 ../mdadm $pkgdir/etc/rc.d/mdadm
-  install -D -m644 ../mdadm_install $pkgdir/lib/initcpio/install/mdadm
-  install -D -m644 ../mdadm_hook $pkgdir/lib/initcpio/hooks/mdadm
-  # symlink for backward compatibility
-  ln -sf /lib/initcpio/hooks/mdadm  $pkgdir/lib/initcpio/hooks/raid
-}

Copied: mdadm/repos/core-x86_64/PKGBUILD (from rev 138136, 
mdadm/repos/testing-x86_64/PKGBUILD)
===
--- core-x86_64/PKGBUILD(rev 0)
+++ core-x86_64/PKGBUILD2011-09-17 10:36:09 UTC (rev 138138)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+pkgname=mdadm
+pkgver=3.2.2
+pkgrel=4
+pkgdesc=A tool for managing/monitoring Linux md device arrays, also known as 
Software RAID
+arch=(i686 x86_64)
+license=('GPL')
+url=http://www.cse.unsw.edu.au/~neilb/source/mdadm/;
+groups=('base')
+conflicts=('mkinitcpio0.7')
+depends=('glibc')
+backup=('etc/mdadm.conf')
+source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2
+mdadm 
+mdadm.conf 
+mdadm_install
+mdadm_hook
+mdadm_udev_install
+disable-werror.patch
+linux-3.0.patch)
+install=mdadm.install
+replaces=('raidtools')
+md5sums=('12ee2fbf3beddb60601fb7a4c4905651'
+ '6df172c8f77b280018cf87eb3d313f29'
+ 

[arch-commits] Commit in libwebkit/repos (extra-i686/PKGBUILD extra-x86_64/PKGBUILD)

2011-09-17 Thread Evangelos Foutras
Date: Saturday, September 17, 2011 @ 07:15:02
  Author: foutrelis
Revision: 138139

New upstream release: 1.4.3.

Modified:
  libwebkit/repos/extra-i686/PKGBUILD
  libwebkit/repos/extra-x86_64/PKGBUILD

---+
 extra-i686/PKGBUILD   |6 +++---
 extra-x86_64/PKGBUILD |6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-09-17 10:36:09 UTC (rev 138138)
+++ extra-i686/PKGBUILD 2011-09-17 11:15:02 UTC (rev 138139)
@@ -2,8 +2,8 @@
 # Maintainer: Andreas Radke andy...@archlinux.org
 
 pkgbase=libwebkit
-pkgname=(libwebkit libwebkit3)
-pkgver=1.4.2
+pkgname=('libwebkit' 'libwebkit3')
+pkgver=1.4.3
 pkgrel=1
 pkgdesc=An opensource web content engine
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 options=('!libtool')
 install=libwebkit.install
 source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz)
-md5sums=('361f8420e93d12101d650758fec09fa0')
+md5sums=('86a4354e65853687bf942100763225bb')
 
 build() {
   cd ${srcdir}/webkit-${pkgver}

Modified: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2011-09-17 10:36:09 UTC (rev 138138)
+++ extra-x86_64/PKGBUILD   2011-09-17 11:15:02 UTC (rev 138139)
@@ -2,8 +2,8 @@
 # Maintainer: Andreas Radke andy...@archlinux.org
 
 pkgbase=libwebkit
-pkgname=(libwebkit libwebkit3)
-pkgver=1.4.2
+pkgname=('libwebkit' 'libwebkit3')
+pkgver=1.4.3
 pkgrel=1
 pkgdesc=An opensource web content engine
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 options=('!libtool')
 install=libwebkit.install
 source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz)
-md5sums=('361f8420e93d12101d650758fec09fa0')
+md5sums=('86a4354e65853687bf942100763225bb')
 
 build() {
   cd ${srcdir}/webkit-${pkgver}



[arch-commits] Commit in libssh/trunk (PKGBUILD)

2011-09-17 Thread Andrea Scarpino
Date: Saturday, September 17, 2011 @ 08:40:51
  Author: andrea
Revision: 138140

upgpkg: libssh 0.5.2-1

upstream release

Modified:
  libssh/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 11:15:02 UTC (rev 138139)
+++ PKGBUILD2011-09-17 12:40:51 UTC (rev 138140)
@@ -4,7 +4,7 @@
 # Contributor: sergeantspoon sergeantsp...@archlinux.us
 
 pkgname=libssh
-pkgver=0.5.1
+pkgver=0.5.2
 pkgrel=1
 pkgdesc=Library for accessing ssh client services through C libraries
 url=http://www.libssh.org/;
@@ -12,8 +12,8 @@
 arch=('i686' 'x86_64')
 depends=('openssl')
 makedepends=('cmake' 'doxygen')
-source=(http://www.libssh.org/files/0.5/${pkgname}-${pkgver}.tar.gz;)
-md5sums=('0cd8bc9336398e23a76f4e25c1412eb4')
+source=(https://red.libssh.org/attachments/download/27/${pkgname}-${pkgver}.tar.gz;)
+md5sums=('38b67c48af7a9204660a3e08f97ceba6')
 
 build() {
   cd ${srcdir}



[arch-commits] Commit in vala/trunk (PKGBUILD)

2011-09-17 Thread Ionut Biru
Date: Saturday, September 17, 2011 @ 12:57:52
  Author: ibiru
Revision: 138142

update to 0.14.0

Modified:
  vala/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 12:41:18 UTC (rev 138141)
+++ PKGBUILD2011-09-17 16:57:52 UTC (rev 138142)
@@ -3,7 +3,7 @@
 # Contributor: Timm Preetz t...@preetz.us
 
 pkgname=vala
-pkgver=0.13.4
+pkgver=0.14.0
 pkgrel=1
 pkgdesc=Compiler for the GObject type system
 arch=('i686' 'x86_64')
@@ -12,8 +12,8 @@
 depends=('glib2')
 makedepends=('libxslt')
 options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.13/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('edf1b2927da96aabb2c4426145433765696f8520e7d4b682ee19487d1459c0a9')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.14/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('3830a30b54738ddfb29ab7819a4ac2370392f52fde090742a8a304fadaec747c')
 
 build() {
 cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in vala/repos (4 files)

2011-09-17 Thread Ionut Biru
Date: Saturday, September 17, 2011 @ 13:00:45
  Author: ibiru
Revision: 138143

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  vala/repos/gnome-unstable-i686/PKGBUILD
(from rev 138142, vala/trunk/PKGBUILD)
  vala/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 138142, vala/trunk/PKGBUILD)
Deleted:
  vala/repos/gnome-unstable-i686/PKGBUILD
  vala/repos/gnome-unstable-x86_64/PKGBUILD

+
 gnome-unstable-i686/PKGBUILD   |   54 +++
 gnome-unstable-x86_64/PKGBUILD |   54 +++
 2 files changed, 54 insertions(+), 54 deletions(-)

Deleted: gnome-unstable-i686/PKGBUILD
===
--- gnome-unstable-i686/PKGBUILD2011-09-17 16:57:52 UTC (rev 138142)
+++ gnome-unstable-i686/PKGBUILD2011-09-17 17:00:45 UTC (rev 138143)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru ib...@archlinux.org
-# Contributor: Timm Preetz t...@preetz.us
-
-pkgname=vala
-pkgver=0.13.4
-pkgrel=1
-pkgdesc=Compiler for the GObject type system
-arch=('i686' 'x86_64')
-url=http://live.gnome.org/Vala;
-license=('LGPL')
-depends=('glib2')
-makedepends=('libxslt')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.13/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('edf1b2927da96aabb2c4426145433765696f8520e7d4b682ee19487d1459c0a9')
-
-build() {
-cd ${srcdir}/${pkgname}-${pkgver}
-./configure --prefix=/usr --enable-vapigen
-make
-}
-
-package() {
-cd ${srcdir}/${pkgname}-${pkgver}
-make DESTDIR=${pkgdir} install
-}

Copied: vala/repos/gnome-unstable-i686/PKGBUILD (from rev 138142, 
vala/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2011-09-17 17:00:45 UTC (rev 138143)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer : Ionut Biru ib...@archlinux.org
+# Contributor: Timm Preetz t...@preetz.us
+
+pkgname=vala
+pkgver=0.14.0
+pkgrel=1
+pkgdesc=Compiler for the GObject type system
+arch=('i686' 'x86_64')
+url=http://live.gnome.org/Vala;
+license=('LGPL')
+depends=('glib2')
+makedepends=('libxslt')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.14/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('3830a30b54738ddfb29ab7819a4ac2370392f52fde090742a8a304fadaec747c')
+
+build() {
+cd ${srcdir}/${pkgname}-${pkgver}
+./configure --prefix=/usr --enable-vapigen
+make
+}
+
+package() {
+cd ${srcdir}/${pkgname}-${pkgver}
+make DESTDIR=${pkgdir} install
+}

Deleted: gnome-unstable-x86_64/PKGBUILD
===
--- gnome-unstable-x86_64/PKGBUILD  2011-09-17 16:57:52 UTC (rev 138142)
+++ gnome-unstable-x86_64/PKGBUILD  2011-09-17 17:00:45 UTC (rev 138143)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru ib...@archlinux.org
-# Contributor: Timm Preetz t...@preetz.us
-
-pkgname=vala
-pkgver=0.13.4
-pkgrel=1
-pkgdesc=Compiler for the GObject type system
-arch=('i686' 'x86_64')
-url=http://live.gnome.org/Vala;
-license=('LGPL')
-depends=('glib2')
-makedepends=('libxslt')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.13/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('edf1b2927da96aabb2c4426145433765696f8520e7d4b682ee19487d1459c0a9')
-
-build() {
-cd ${srcdir}/${pkgname}-${pkgver}
-./configure --prefix=/usr --enable-vapigen
-make
-}
-
-package() {
-cd ${srcdir}/${pkgname}-${pkgver}
-make DESTDIR=${pkgdir} install
-}

Copied: vala/repos/gnome-unstable-x86_64/PKGBUILD (from rev 138142, 
vala/trunk/PKGBUILD)
===
--- gnome-unstable-x86_64/PKGBUILD  (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD  2011-09-17 17:00:45 UTC (rev 138143)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer : Ionut Biru ib...@archlinux.org
+# Contributor: Timm Preetz t...@preetz.us
+
+pkgname=vala
+pkgver=0.14.0
+pkgrel=1
+pkgdesc=Compiler for the GObject type system
+arch=('i686' 'x86_64')
+url=http://live.gnome.org/Vala;
+license=('LGPL')
+depends=('glib2')
+makedepends=('libxslt')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.14/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('3830a30b54738ddfb29ab7819a4ac2370392f52fde090742a8a304fadaec747c')
+
+build() {
+cd ${srcdir}/${pkgname}-${pkgver}
+./configure --prefix=/usr --enable-vapigen
+make
+}
+
+package() {
+cd ${srcdir}/${pkgname}-${pkgver}
+make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in syslog-ng/trunk (syslog-ng.rc)

2011-09-17 Thread Dave Reisner
Date: Saturday, September 17, 2011 @ 14:50:18
  Author: dreisner
Revision: 138144

rewrite rc script, particularly to use syslog-ng's own PID file

Modified:
  syslog-ng/trunk/syslog-ng.rc

--+
 syslog-ng.rc |   56 ++--
 1 file changed, 30 insertions(+), 26 deletions(-)

Modified: syslog-ng.rc
===
--- syslog-ng.rc2011-09-17 17:00:45 UTC (rev 138143)
+++ syslog-ng.rc2011-09-17 18:50:18 UTC (rev 138144)
@@ -4,51 +4,56 @@
 . /etc/rc.d/functions
 
 checkconfig() {
-syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf
-if [ $? -gt 0 ]; then
-   stat_busy Configuration error. Please fix your config file 
(/etc/syslog-ng/syslog-ng.conf).
-   stat_fail
-exit 0
-fi
+  if ! syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf; then
+stat_busy Configuration error. Please fix your config file 
(/etc/syslog-ng/syslog-ng.conf).
+stat_fail
+exit 1
+  fi
 }
 
-PID=`pidof -o %PPID /usr/sbin/syslog-ng`
-case $1 in
+pidfile=/run/syslog-ng.pid
+if [[ -r $pidfile ]]; then
+  read -r PID  $pidfile
+  if [[ ! -d /proc/$PID ]]; then
+# stale pidfile
+unset PID
+rm -f $pidfile
+  fi
+fi
+
+case $1 in
   start)
 stat_busy Starting Syslog-NG
 checkconfig
-[ -z $PID ]  /usr/sbin/syslog-ng
-if [ $? -gt 0 ]; then
-  stat_fail
-else
+if [[ -z $PID ]]  /usr/sbin/syslog-ng; then
   add_daemon syslog-ng
   stat_done
+else
+  stat_fail
+  exit 1
 fi
 ;;
   stop)
 stat_busy Stopping Syslog-NG
-[ ! -z $PID ]  kill $PID  /dev/null
-if [ $? -gt 0 ]; then
-  stat_fail
-else
-  rm -f /var/run/syslog-ng.pid
-# Removing stale syslog-ng.persist file. Its new location, as of 2.0.6-1, 
is /var/lib/syslog-ng/
-  rm -f /var/syslog-ng.persist
+if [[ $PID ]]  kill $PID /dev/null; then
   rm_daemon syslog-ng
   stat_done
+else
+  stat_fail
+  exit 1
 fi
 ;;
   reload)
 stat_busy Reloading Syslog-NG configuration and re-opening log files
-if [ -z $PID ]; then
+if [[ -z $PID ]]; then
   stat_fail
 else
   checkconfig
-  kill -HUP $PID  /dev/null
-  if [ $? -gt 0 ]; then
+  if kill -HUP $PID /dev/null; then
+stat_done
+  else
 stat_fail
-  else
-stat_done
+exit 1
   fi
 fi
 ;;
@@ -58,6 +63,5 @@
 $0 start
 ;;
   *)
-echo usage: $0 {start|stop|restart|reload}  
+echo usage: $0 {start|stop|restart|reload}
 esac
-exit 0



[arch-commits] Commit in syslog-ng/trunk (cap_syslog.patch)

2011-09-17 Thread Dave Reisner
Date: Saturday, September 17, 2011 @ 14:52:54
  Author: dreisner
Revision: 138145

use backport of upstream patch for cap_syslog usage

Modified:
  syslog-ng/trunk/cap_syslog.patch

--+
 cap_syslog.patch |  211 -
 1 file changed, 144 insertions(+), 67 deletions(-)

Modified: cap_syslog.patch
===
--- cap_syslog.patch2011-09-17 18:50:18 UTC (rev 138144)
+++ cap_syslog.patch2011-09-17 18:52:54 UTC (rev 138145)
@@ -1,101 +1,178 @@
-diff --git a/lib/gprocess.h b/lib/gprocess.h
-index cda35b0..5c449f7 100644
 a/lib/gprocess.h
-+++ b/lib/gprocess.h
-@@ -28,9 +28,14 @@
- #include syslog-ng.h
+From ae0ff59d9a761c2fda8a19b0c05e0e05c59bae57 Mon Sep 17 00:00:00 2001
+From: Balazs Scheidler ba...@balabit.hu
+Date: Thu, 12 May 2011 13:11:58 +0200
+Subject: [PATCH] Use CAP_SYSLOG instead of CAP_SYS_ADMIN, if available.
+
+If cap_syslog exists, the kernel will complain (once) that we only
+have cap_sys_admin.  Additionally, using cap_syslog instead of
+cap_sys_admin significantly lowers the unneeded privs we are
+using.
+
+Upon startup, syslog-ng will detect whether CAP_SYSLOG is available,
+and use capabilities based on that finding. This detection will also
+have a side-effect, which will make it so that
+g_process_cap_modify(CAP_SYSLOG) will fall back to CAP_SYS_ADMIN, if
+CAP_SYSLOG support was not detected.
+
+Thanks to Andrew Morgan for pointing out a nice way to detect whether
+the kernel has CAP_SYSLOG. Original code by Serge Hallyn, with minor
+changes based on Balazs Scheidler's review by Gergely Nagy.
+
+Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
+Signed-off-by: Gergely Nagy alger...@balabit.hu
+Signed-off-by: Balazs Scheidler ba...@balabit.hu
+---
+ lib/gprocess.c  |   27 +++
+ lib/gprocess.h  |6 ++
+ modules/affile/affile.c |2 +-
+ syslog-ng/main.c|   38 ++
+ 4 files changed, 64 insertions(+), 9 deletions(-)
+
+diff --git a/lib/gprocess.c b/lib/gprocess.c
+index 38bcb12..e2159fc 100644
+--- a/lib/gprocess.c
 b/lib/gprocess.c
+@@ -98,6 +98,7 @@ static gint startup_result_pipe[2] = { -1, -1 };
+ static gint init_result_pipe[2] = { -1, -1 };
+ static GProcessKind process_kind = G_PK_STARTUP;
+ static gboolean stderr_present = TRUE;
++static int have_capsyslog = FALSE;
  
- #include sys/types.h
-+#include sys/utsname.h
+ /* global variables */
+ static struct
+@@ -216,6 +217,13 @@ g_process_cap_modify(int capability, int onoff)
+   if (!process_opts.caps)
+ return TRUE;
  
- #if ENABLE_LINUX_CAPS
- #  include sys/capability.h
-+#
-+#  ifndef CAP_SYSLOG
-+#define CAP_SYSLOG 34
-+#  endif
++  /*
++   * if libcap or kernel doesn't support cap_syslog, then resort to
++   * cap_sys_admin
++   */
++  if (capability == CAP_SYSLOG  (!have_capsyslog || CAP_SYSLOG == -1))
++capability = CAP_SYS_ADMIN;
++
+   caps = cap_get_proc();
+   if (!caps)
+ return FALSE;
+@@ -297,6 +305,25 @@ g_process_cap_restore(cap_t r)
+   return;
+ }
+ 
++gboolean
++g_process_check_cap_syslog(void)
++{
++  int ret;
++
++  if (have_capsyslog)
++return TRUE;
++
++  if (CAP_SYSLOG == -1)
++return FALSE;
++
++  ret = prctl(PR_CAPBSET_READ, CAP_SYSLOG);
++  if (ret == -1)
++return FALSE;
++
++  have_capsyslog = TRUE;
++  return TRUE;
++}
++
  #endif
  
- typedef enum
-@@ -78,5 +83,8 @@ void g_process_finish(void);
+ /**
+diff --git a/lib/gprocess.h b/lib/gprocess.h
+index a6dd7c4..1bdd719 100644
+--- a/lib/gprocess.h
 b/lib/gprocess.h
+@@ -46,6 +46,10 @@ gboolean g_process_cap_modify(int capability, int onoff);
+ cap_t g_process_cap_save(void);
+ void g_process_cap_restore(cap_t r);
  
- void g_process_add_option_group(GOptionContext *ctx);
++#ifndef CAP_SYSLOG
++#define CAP_SYSLOG -1
++#endif
++
+ #else
  
-+extern int kernel_version;
-+extern void get_kernel_version(void);
-+#define LINUX_VERSION(x,y,z)(0x1*(x) + 0x100*(y) + z)
+ typedef gpointer cap_t;
+@@ -71,6 +75,8 @@ void g_process_set_argv_space(gint argc, gchar **argv);
+ void g_process_set_use_fdlimit(gboolean use);
+ void g_process_set_check(gint check_period, gboolean (*check_fn)(void));
  
- #endif
++gboolean g_process_check_cap_syslog(void);
++
+ void g_process_start(void);
+ void g_process_startup_failed(guint ret_num, gboolean may_exit);
+ void g_process_startup_ok(void);
 diff --git a/modules/affile/affile.c b/modules/affile/affile.c
-index e145324..886fa72 100644
+index ce343cd..bb8aa75 100644
 --- a/modules/affile/affile.c
 +++ b/modules/affile/affile.c
-@@ -59,7 +59,12 @@ affile_open_file(gchar *name, gint flags,
+@@ -59,7 +59,7 @@ affile_open_file(gchar *name, gint flags,
if (privileged)
  {
g_process_cap_modify(CAP_DAC_READ_SEARCH, TRUE);
 -  g_process_cap_modify(CAP_SYS_ADMIN, TRUE);
-+  if (!kernel_version)
-+get_kernel_version();
-+  if 

[arch-commits] Commit in syslog-ng/trunk (PKGBUILD)

2011-09-17 Thread Dave Reisner
Date: Saturday, September 17, 2011 @ 14:53:57
  Author: dreisner
Revision: 138146

freshen checksums

Modified:
  syslog-ng/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 18:52:54 UTC (rev 138145)
+++ PKGBUILD2011-09-17 18:53:57 UTC (rev 138146)
@@ -25,14 +25,14 @@
  '25e43afe51eb2223c25168e3c3e7aaf6'
  '344dddfff946300f5576b13a7e8ea19f'
  '735636090be4582885974542d2a75855'
- '8b4441343d859c2f01c2cf799a7e6f98'
- '46e5dcff71f820d497898331a3f608fe')
+ '39f41dc7cee7efc6250adc5e970ca7a7'
+ 'bd317a7fb2339a39b8adcf8fdcd20396')
 sha1sums=('ff732f7223bd2bd0424d4b9028b523cf62133af1'
   '73b83deae9a8b945dfb13adf331e6bf6f119b83e'
   'b9eb8c61f7cccda543fc5c97fe1d40a8d15e713f'
   'ac997b25d7d8e69e66782d3771a0e12aff55ae7f'
-  '4481819762fd1b6f25903016a8878e63c0058fcb'
-  'f093a09626a528d23f0f2aeece018cab15a735a9')
+  'a1b59b2bde30dfb00907d1c77f3071b910a40401'
+  '20991412f2e82e12cbf272a414974ff135fb1981')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in bitlbee/trunk (PKGBUILD)

2011-09-17 Thread Gaetan Bisson
Date: Saturday, September 17, 2011 @ 15:45:22
  Author: bisson
Revision: 138147

build against openssl (again) for FS#23678 (again)

Modified:
  bitlbee/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 18:53:57 UTC (rev 138146)
+++ PKGBUILD2011-09-17 19:45:22 UTC (rev 138147)
@@ -7,12 +7,12 @@
 
 pkgname=bitlbee
 pkgver=3.0.3
-pkgrel=3
+pkgrel=4
 pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to 
IRC'
 arch=('i686' 'x86_64')
 url='http://www.bitlbee.org/'
 license=('GPL')
-depends=('gnutls' 'glib2' 'libotr')
+depends=('openssl' 'glib2' 'libotr')
 optdepends=('xinetd: to run bitlbee through xinetd')
 source=(http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz;
'xinetd'
@@ -32,7 +32,7 @@
--pidfile=/var/run/bitlbee/bitlbee.pid \
--ipcsocket=/var/run/bitlbee/bitlbee.sock \
--systemdsystemunitdir=/lib/systemd/system \
-   --ssl=gnutls \
+   --ssl=openssl \
--strip=0 \
--otr=1 \
 



[arch-commits] Commit in bitlbee/repos (10 files)

2011-09-17 Thread Gaetan Bisson
Date: Saturday, September 17, 2011 @ 15:45:43
  Author: bisson
Revision: 138148

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  bitlbee/repos/testing-i686/
  bitlbee/repos/testing-i686/PKGBUILD
(from rev 138147, bitlbee/trunk/PKGBUILD)
  bitlbee/repos/testing-i686/install
(from rev 138147, bitlbee/trunk/install)
  bitlbee/repos/testing-i686/rc.d
(from rev 138147, bitlbee/trunk/rc.d)
  bitlbee/repos/testing-i686/xinetd
(from rev 138147, bitlbee/trunk/xinetd)
  bitlbee/repos/testing-x86_64/
  bitlbee/repos/testing-x86_64/PKGBUILD
(from rev 138147, bitlbee/trunk/PKGBUILD)
  bitlbee/repos/testing-x86_64/install
(from rev 138147, bitlbee/trunk/install)
  bitlbee/repos/testing-x86_64/rc.d
(from rev 138147, bitlbee/trunk/rc.d)
  bitlbee/repos/testing-x86_64/xinetd
(from rev 138147, bitlbee/trunk/xinetd)

-+
 testing-i686/PKGBUILD   |   52 ++
 testing-i686/install|   14 
 testing-i686/rc.d   |   40 +++
 testing-i686/xinetd |   12 ++
 testing-x86_64/PKGBUILD |   52 ++
 testing-x86_64/install  |   14 
 testing-x86_64/rc.d |   40 +++
 testing-x86_64/xinetd   |   12 ++
 8 files changed, 236 insertions(+)

Copied: bitlbee/repos/testing-i686/PKGBUILD (from rev 138147, 
bitlbee/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 19:45:43 UTC (rev 138148)
@@ -0,0 +1,52 @@
+# $Id$
+# Contributor: FUBAR mrfu...@gmail.com
+# Contributor: simo s...@archlinux.org
+# Contributor: Jeff 'codemac' Mickey j...@archlinux.org
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+
+pkgname=bitlbee
+pkgver=3.0.3
+pkgrel=4
+pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to 
IRC'
+arch=('i686' 'x86_64')
+url='http://www.bitlbee.org/'
+license=('GPL')
+depends=('openssl' 'glib2' 'libotr')
+optdepends=('xinetd: to run bitlbee through xinetd')
+source=(http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz;
+   'xinetd'
+   'rc.d')
+sha1sums=('4140eb7aaa2c6a39fa059d19f8fbaec0d7a1ebff'
+  '5e0af27ba9cc4fe455e3381c75fc49a9326e2f17'
+  'be09d29af3853825778331df451f16ca9e452d03')
+
+backup=('etc/bitlbee/bitlbee.conf' 'etc/bitlbee/motd.txt' 
'etc/xinetd.d/bitlbee')
+install=install
+
+build() { 
+   cd ${srcdir}/${pkgname}-${pkgver}
+   
+   ./configure --prefix=/usr \
+   --etcdir=/etc/bitlbee \
+   --pidfile=/var/run/bitlbee/bitlbee.pid \
+   --ipcsocket=/var/run/bitlbee/bitlbee.sock \
+   --systemdsystemunitdir=/lib/systemd/system \
+   --ssl=openssl \
+   --strip=0 \
+   --otr=1 \
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   install -o65 -g65 -dm770 ${pkgdir}/var/lib/bitlbee
+   install -Dm644 ${srcdir}/xinetd ${pkgdir}/etc/xinetd.d/bitlbee
+   install -Dm755 ${srcdir}/rc.d ${pkgdir}/etc/rc.d/bitlbee
+
+   make DESTDIR=${pkgdir} install
+   make DESTDIR=${pkgdir} install-etc
+   make DESTDIR=${pkgdir} install-dev
+}

Copied: bitlbee/repos/testing-i686/install (from rev 138147, 
bitlbee/trunk/install)
===
--- testing-i686/install(rev 0)
+++ testing-i686/install2011-09-17 19:45:43 UTC (rev 138148)
@@ -0,0 +1,14 @@
+post_install() {
+   echo '== Bitlbee can run through xinetd or as a daemon for now.'
+   getent group bitlbee /dev/null || groupadd -r -g 65 bitlbee /dev/null
+   getent passwd bitlbee /dev/null || useradd -r -u 65 -g bitlbee -d 
/var/lib/bitlbee -s /bin/false -c bitlbee bitlbee /dev/null
+}
+
+post_upgrade() {
+   post_install
+}
+
+post_remove() {
+   getent passwd bitlbee /dev/null  userdel bitlbee /dev/null
+   getent group bitlbee /dev/null  groupdel bitlbee /dev/null
+}

Copied: bitlbee/repos/testing-i686/rc.d (from rev 138147, bitlbee/trunk/rc.d)
===
--- testing-i686/rc.d   (rev 0)
+++ testing-i686/rc.d   2011-09-17 19:45:43 UTC (rev 138148)
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+name=bitlbee
+PID=$(pidof -o %PPID /usr/sbin/bitlbee)
+install -o bitlbee -g bitlbee -d -m 755 /var/run/bitlbee
+
+case $1 in
+start)
+   stat_busy Starting $name daemon
+   [[ -z $PID ]]  {
+   rm -f /var/run/bitlbee/bitlbee.pid
+   su -s /bin/sh -c '/usr/sbin/bitlbee -F' bitlbee
+   }  {
+   add_daemon $name
+   stat_done
+   } || { stat_fail; exit 1; }
+   ;;

[arch-commits] Commit in koffice/trunk (PKGBUILD)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 16:56:26
  Author: stephane
Revision: 138149

upgpkg: koffice 2.3.3-7

glew 1.7.0 rebuild

Modified:
  koffice/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 19:45:43 UTC (rev 138148)
+++ PKGBUILD2011-09-17 20:56:26 UTC (rev 138149)
@@ -37,7 +37,7 @@
 #  'koffice-kdgantt' # still an empty package
 )
 pkgver=2.3.3
-pkgrel=6
+pkgrel=7
 arch=('i686' 'x86_64')
 url='http://koffice.kde.org'
 license=('GPL' 'LGPL' 'FDL')



[arch-commits] Commit in koffice/repos (14 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 16:57:09
  Author: stephane
Revision: 138150

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  koffice/repos/staging-i686/
  koffice/repos/staging-i686/PKGBUILD
(from rev 138149, koffice/trunk/PKGBUILD)
  koffice/repos/staging-i686/filters.install
(from rev 138149, koffice/trunk/filters.install)
  koffice/repos/staging-i686/gcc46.patch
(from rev 138149, koffice/trunk/gcc46.patch)
  koffice/repos/staging-i686/kde4-koffice-libwpg02.patch
(from rev 138149, koffice/trunk/kde4-koffice-libwpg02.patch)
  koffice/repos/staging-i686/koffice.install
(from rev 138149, koffice/trunk/koffice.install)
  koffice/repos/staging-i686/krita.install
(from rev 138149, koffice/trunk/krita.install)
  koffice/repos/staging-x86_64/
  koffice/repos/staging-x86_64/PKGBUILD
(from rev 138149, koffice/trunk/PKGBUILD)
  koffice/repos/staging-x86_64/filters.install
(from rev 138149, koffice/trunk/filters.install)
  koffice/repos/staging-x86_64/gcc46.patch
(from rev 138149, koffice/trunk/gcc46.patch)
  koffice/repos/staging-x86_64/kde4-koffice-libwpg02.patch
(from rev 138149, koffice/trunk/kde4-koffice-libwpg02.patch)
  koffice/repos/staging-x86_64/koffice.install
(from rev 138149, koffice/trunk/koffice.install)
  koffice/repos/staging-x86_64/krita.install
(from rev 138149, koffice/trunk/krita.install)

+
 staging-i686/PKGBUILD  |  301 ++
 staging-i686/filters.install   |   11 
 staging-i686/gcc46.patch   |   23 
 staging-i686/kde4-koffice-libwpg02.patch   | 1323 +++
 staging-i686/koffice.install   |   11 
 staging-i686/krita.install |   12 
 staging-x86_64/PKGBUILD|  301 ++
 staging-x86_64/filters.install |   11 
 staging-x86_64/gcc46.patch |   23 
 staging-x86_64/kde4-koffice-libwpg02.patch | 1323 +++
 staging-x86_64/koffice.install |   11 
 staging-x86_64/krita.install   |   12 
 12 files changed, 3362 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 138149:138150 to see the changes.


[arch-commits] Commit in blender/repos (4 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:39
  Author: stephane
Revision: 138151

db-move: moved blender from [staging] to [testing] (i686)

Added:
  blender/repos/testing-i686/
  blender/repos/testing-i686/PKGBUILD
(from rev 138150, blender/repos/staging-i686/PKGBUILD)
  blender/repos/testing-i686/blender.install
(from rev 138150, blender/repos/staging-i686/blender.install)
Deleted:
  blender/repos/staging-i686/

-+
 PKGBUILD|   92 ++
 blender.install |   17 +
 2 files changed, 109 insertions(+)

Copied: blender/repos/testing-i686/PKGBUILD (from rev 138150, 
blender/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 21:02:39 UTC (rev 138151)
@@ -0,0 +1,92 @@
+# $Id$
+# Contributor: John Sowiak j...@archlinux.org
+# Maintainer: tobias tob...@archlinux.org
+
+# Apparently, the blender guys refuse to release source tarballs for
+# intermediate releases that deal mainly with binaries but incorporate tiny
+# minor changes from svn. Since I'm sick and tired of the urges of users that
+# look for release numbers only, we make a messy PKGBUILD that can checkout svn
+# release if necessary.
+
+#_svn=true
+_svn=false
+
+pkgname=blender
+pkgver=2.59
+pkgrel=3
+epoch=2
+pkgdesc=A fully integrated 3D graphics creation suite
+arch=('i686' 'x86_64')
+license=('GPL')
+url=http://www.blender.org;
+depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' \
+ 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' \
+ 'freetype2' 'openal' 'libsamplerate' 'ffmpeg')
+makedepends=('cmake') # 'subversion'
+install=blender.install
+if [ $_svn = false ]; then
+  source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
+  md5sums=('6f68fe3c3c2b6a85f1ba9ebc5b1155fe')
+else
+  source=(ftp://ftp.archlinux.org/other/${pkgname}/$pkgname-$pkgver.tar.xz)
+  md5sums=('7579d1139d0d6025df8afcfca64a65c4')
+fi
+
+# source PKGBUILD  mksource
+mksource() {
+  _svnver=38016
+  _svntrunk=https://svn.blender.org/svnroot/bf-blender/trunk/blender;
+  _svnmod=$pkgname-$pkgver
+  mkdir ${pkgname}-$pkgver
+  pushd ${pkgname}-$pkgver
+  svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod
+  find . -depth -type d -name .svn -exec rm -rf {} \;
+  tar -cJf ../${pkgname}-$pkgver.tar.xz ${pkgname}-$pkgver/*
+  popd
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  mkdir build
+  cd build
+
+  [[ $CARCH == i686 ]]  ENABLESSE2=-DSUPPORT_SSE2_BUILD:BOOL=OFF
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX:PATH=/usr \
+-DCMAKE_BUILD_TYPE:STRING=Release \
+-DWITH_INSTALL_PORTABLE:BOOL=OFF \
+-DWITH_PYTHON_INSTALL:BOOL=OFF \
+-DWITH_OPENCOLLADA:BOOL=OFF \
+-DWITH_GAMEENGINE:BOOL=ON \
+-DWITH_PLAYER:BOOL=ON \
+-DWITH_BUILTIN_GLEW:BOOL=OFF \
+-DWITH_CODEC_FFMPEG:BOOL=ON \
+-DWITH_CODEC_SNDFILE:BOOL=ON \
+-DPYTHON_VERSION:STRING=3.2 \
+-DPYTHON_LIBPATH:STRING=/usr/lib \
+-DPYTHON_LIBRARY:STRING=python3.2mu \
+-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.2mu \
+$ENABLESSE2
+
+  make $MAKEFLAGS
+
+  cp -rf $srcdir/${pkgname}-$pkgver/release/plugins/* \
+$srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi/
+  cd $srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi
+  chmod 755 bmake
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver/build
+  make DESTDIR=${pkgdir} install
+  python -m compileall ${pkgdir}/usr/share/blender
+
+# install plugins
+  install -d -m755 
$pkgdir/usr/share/blender/${pkgver%[a-z]}/plugins/{sequence,texture}
+  cp $srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi/sequence/*.so \
+$pkgdir/usr/share/blender/${pkgver%[a-z]}/plugins/sequence/
+  cp $srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi/texture/*.so \
+$pkgdir/usr/share/blender/${pkgver%[a-z]}/plugins/texture/
+}

Copied: blender/repos/testing-i686/blender.install (from rev 138150, 
blender/repos/staging-i686/blender.install)
===
--- testing-i686/blender.install(rev 0)
+++ testing-i686/blender.install2011-09-17 21:02:39 UTC (rev 138151)
@@ -0,0 +1,17 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+  xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}
+
+post_upgrade() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+  xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}
+
+post_remove() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+  xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}



[arch-commits] Commit in blender/repos (4 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:40
  Author: stephane
Revision: 138152

db-move: moved blender from [staging] to [testing] (x86_64)

Added:
  blender/repos/testing-x86_64/
  blender/repos/testing-x86_64/PKGBUILD
(from rev 138150, blender/repos/staging-x86_64/PKGBUILD)
  blender/repos/testing-x86_64/blender.install
(from rev 138150, blender/repos/staging-x86_64/blender.install)
Deleted:
  blender/repos/staging-x86_64/

-+
 PKGBUILD|   92 ++
 blender.install |   17 +
 2 files changed, 109 insertions(+)

Copied: blender/repos/testing-x86_64/PKGBUILD (from rev 138150, 
blender/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 21:02:40 UTC (rev 138152)
@@ -0,0 +1,92 @@
+# $Id$
+# Contributor: John Sowiak j...@archlinux.org
+# Maintainer: tobias tob...@archlinux.org
+
+# Apparently, the blender guys refuse to release source tarballs for
+# intermediate releases that deal mainly with binaries but incorporate tiny
+# minor changes from svn. Since I'm sick and tired of the urges of users that
+# look for release numbers only, we make a messy PKGBUILD that can checkout svn
+# release if necessary.
+
+#_svn=true
+_svn=false
+
+pkgname=blender
+pkgver=2.59
+pkgrel=3
+epoch=2
+pkgdesc=A fully integrated 3D graphics creation suite
+arch=('i686' 'x86_64')
+license=('GPL')
+url=http://www.blender.org;
+depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' \
+ 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' \
+ 'freetype2' 'openal' 'libsamplerate' 'ffmpeg')
+makedepends=('cmake') # 'subversion'
+install=blender.install
+if [ $_svn = false ]; then
+  source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
+  md5sums=('6f68fe3c3c2b6a85f1ba9ebc5b1155fe')
+else
+  source=(ftp://ftp.archlinux.org/other/${pkgname}/$pkgname-$pkgver.tar.xz)
+  md5sums=('7579d1139d0d6025df8afcfca64a65c4')
+fi
+
+# source PKGBUILD  mksource
+mksource() {
+  _svnver=38016
+  _svntrunk=https://svn.blender.org/svnroot/bf-blender/trunk/blender;
+  _svnmod=$pkgname-$pkgver
+  mkdir ${pkgname}-$pkgver
+  pushd ${pkgname}-$pkgver
+  svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod
+  find . -depth -type d -name .svn -exec rm -rf {} \;
+  tar -cJf ../${pkgname}-$pkgver.tar.xz ${pkgname}-$pkgver/*
+  popd
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  mkdir build
+  cd build
+
+  [[ $CARCH == i686 ]]  ENABLESSE2=-DSUPPORT_SSE2_BUILD:BOOL=OFF
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX:PATH=/usr \
+-DCMAKE_BUILD_TYPE:STRING=Release \
+-DWITH_INSTALL_PORTABLE:BOOL=OFF \
+-DWITH_PYTHON_INSTALL:BOOL=OFF \
+-DWITH_OPENCOLLADA:BOOL=OFF \
+-DWITH_GAMEENGINE:BOOL=ON \
+-DWITH_PLAYER:BOOL=ON \
+-DWITH_BUILTIN_GLEW:BOOL=OFF \
+-DWITH_CODEC_FFMPEG:BOOL=ON \
+-DWITH_CODEC_SNDFILE:BOOL=ON \
+-DPYTHON_VERSION:STRING=3.2 \
+-DPYTHON_LIBPATH:STRING=/usr/lib \
+-DPYTHON_LIBRARY:STRING=python3.2mu \
+-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.2mu \
+$ENABLESSE2
+
+  make $MAKEFLAGS
+
+  cp -rf $srcdir/${pkgname}-$pkgver/release/plugins/* \
+$srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi/
+  cd $srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi
+  chmod 755 bmake
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver/build
+  make DESTDIR=${pkgdir} install
+  python -m compileall ${pkgdir}/usr/share/blender
+
+# install plugins
+  install -d -m755 
$pkgdir/usr/share/blender/${pkgver%[a-z]}/plugins/{sequence,texture}
+  cp $srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi/sequence/*.so \
+$pkgdir/usr/share/blender/${pkgver%[a-z]}/plugins/sequence/
+  cp $srcdir/${pkgname}-$pkgver/source/blender/blenpluginapi/texture/*.so \
+$pkgdir/usr/share/blender/${pkgver%[a-z]}/plugins/texture/
+}

Copied: blender/repos/testing-x86_64/blender.install (from rev 138150, 
blender/repos/staging-x86_64/blender.install)
===
--- testing-x86_64/blender.install  (rev 0)
+++ testing-x86_64/blender.install  2011-09-17 21:02:40 UTC (rev 138152)
@@ -0,0 +1,17 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+  xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}
+
+post_upgrade() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+  xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}
+
+post_remove() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+  xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}



[arch-commits] Commit in bzflag/repos (3 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:40
  Author: stephane
Revision: 138153

db-move: moved bzflag from [staging] to [testing] (i686)

Added:
  bzflag/repos/testing-i686/
  bzflag/repos/testing-i686/PKGBUILD
(from rev 138150, bzflag/repos/staging-i686/PKGBUILD)
Deleted:
  bzflag/repos/staging-i686/

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Copied: bzflag/repos/testing-i686/PKGBUILD (from rev 138150, 
bzflag/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 21:02:40 UTC (rev 138153)
@@ -0,0 +1,35 @@
+# $Id$
+# Contributor: Damir Perisa damir.per...@bluewin.ch
+# Contributor: Kevin Piche ke...@archlinux.org
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+
+pkgname=bzflag
+pkgver=2.4.0
+pkgrel=2
+pkgdesc='Multiplayer 3D tank battle game'
+url='http://bzflag.org/'
+license=('LGPL')
+options=('!libtool')
+arch=('i686' 'x86_64')
+depends=('curl' 'glew' 'mesa' 'sdl')
+source=(http://downloads.sourceforge.net/project/bzflag/bzflag%20source/${pkgver}/bzflag-${pkgver}.tar.bz2;)
+sha1sums=('af469d63af7143479176ea0ac91ce2eaa6e4561f')
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   ./configure --prefix=/usr
+   make
+
+   cd misc
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   make DESTDIR=${pkgdir} install
+
+   install -Dm644 misc/bzflag.desktop 
${pkgdir}/usr/share/applications/bzflag.desktop
+   install -Dm644 data/bzflag-48x48.png 
${pkgdir}/usr/share/pixmaps/bzflag-48x48.png
+}



[arch-commits] Commit in enblend-enfuse/repos (5 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:44
  Author: stephane
Revision: 138156

db-move: moved enblend-enfuse from [staging] to [testing] (x86_64)

Added:
  enblend-enfuse/repos/testing-x86_64/
  enblend-enfuse/repos/testing-x86_64/PKGBUILD
(from rev 138150, enblend-enfuse/repos/staging-x86_64/PKGBUILD)
  enblend-enfuse/repos/testing-x86_64/enblend-enfuse.install
(from rev 138150, 
enblend-enfuse/repos/staging-x86_64/enblend-enfuse.install)
  enblend-enfuse/repos/testing-x86_64/libpng-1.4.patch
(from rev 138150, enblend-enfuse/repos/staging-x86_64/libpng-1.4.patch)
Deleted:
  enblend-enfuse/repos/staging-x86_64/

+
 PKGBUILD   |   34 ++
 enblend-enfuse.install |   20 
 libpng-1.4.patch   |   14 ++
 3 files changed, 68 insertions(+)

Copied: enblend-enfuse/repos/testing-x86_64/PKGBUILD (from rev 138150, 
enblend-enfuse/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 21:02:44 UTC (rev 138156)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: tobias tob...@archlinux.org
+# Contributor: Dominik Ryba domr...@post.pl
+
+pkgname=enblend-enfuse
+pkgver=4.0
+pkgrel=3
+pkgdesc=intelligent blend tool for overlapping picture
+arch=(i686 x86_64)
+license=('GPL')
+url=http://enblend.sourceforge.net;
+depends=('openexr' 'glew=1.5' 'libxmi' 'freeglut' 'libgl' 'lcms' 'texinfo' 
'libpng')
+makedepends=('boost' 'pkgconfig')
+replaces=('enblend')
+conflicts=('enblend')
+provides=('enblend')
+install=${pkgname}.install
+source=(http://downloads.sourceforge.net/sourceforge/enblend/${pkgname}-${pkgver}.tar.gz
 libpng-1.4.patch)
+md5sums=('2e7c950061e0085fd75d94576130250f' 'a39df8dd32ccfa020dea2ea388642575')
+sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' 
'eae6cf48ea082865130302d0b4d1ca0b884a563b')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}-753b534c819d
+  patch -Np1 -i ../libpng-1.4.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}-753b534c819d
+  make DESTDIR=${pkgdir} install
+  install -D -m644 doc/enblend.info ${pkgdir}/usr/share/info/enblend.info
+  install -D -m644 doc/enfuse.info ${pkgdir}/usr/share/info/enfuse.info
+}

Copied: enblend-enfuse/repos/testing-x86_64/enblend-enfuse.install (from rev 
138150, enblend-enfuse/repos/staging-x86_64/enblend-enfuse.install)
===
--- testing-x86_64/enblend-enfuse.install   (rev 0)
+++ testing-x86_64/enblend-enfuse.install   2011-09-17 21:02:44 UTC (rev 
138156)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(enblend.info enfuse-focus-stacking.info enfuse.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: enblend-enfuse/repos/testing-x86_64/libpng-1.4.patch (from rev 138150, 
enblend-enfuse/repos/staging-x86_64/libpng-1.4.patch)
===
--- testing-x86_64/libpng-1.4.patch (rev 0)
+++ testing-x86_64/libpng-1.4.patch 2011-09-17 21:02:44 UTC (rev 138156)
@@ -0,0 +1,14 @@
+diff -Naur enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx 
enblend-enfuse-3.2/src/vigra_impex/png.cxx
+--- enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx2010-01-19 
22:09:36.0 -0500
 enblend-enfuse-3.2/src/vigra_impex/png.cxx 2010-01-19 22:13:43.0 
-0500
+@@ -275,8 +275,8 @@
+ // expand gray values to at least one byte size
+ if ( color_type == PNG_COLOR_TYPE_GRAY  bit_depth  8 ) {
+ if (setjmp(png-jmpbuf))
+-vigra_postcondition( false,png_error_message.insert(0, error 
in png_set_gray_1_2_4_to_8(): ).c_str());
+-png_set_gray_1_2_4_to_8(png);
++vigra_postcondition( false,png_error_message.insert(0, error 
in png_set_expand_gray_1_2_4_to_8(): ).c_str());
++png_set_expand_gray_1_2_4_to_8(png);
+ bit_depth = 8;
+ }
+ 



[arch-commits] Commit in enblend-enfuse/repos (5 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:43
  Author: stephane
Revision: 138155

db-move: moved enblend-enfuse from [staging] to [testing] (i686)

Added:
  enblend-enfuse/repos/testing-i686/
  enblend-enfuse/repos/testing-i686/PKGBUILD
(from rev 138150, enblend-enfuse/repos/staging-i686/PKGBUILD)
  enblend-enfuse/repos/testing-i686/enblend-enfuse.install
(from rev 138150, enblend-enfuse/repos/staging-i686/enblend-enfuse.install)
  enblend-enfuse/repos/testing-i686/libpng-1.4.patch
(from rev 138150, enblend-enfuse/repos/staging-i686/libpng-1.4.patch)
Deleted:
  enblend-enfuse/repos/staging-i686/

+
 PKGBUILD   |   34 ++
 enblend-enfuse.install |   20 
 libpng-1.4.patch   |   14 ++
 3 files changed, 68 insertions(+)

Copied: enblend-enfuse/repos/testing-i686/PKGBUILD (from rev 138150, 
enblend-enfuse/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 21:02:43 UTC (rev 138155)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: tobias tob...@archlinux.org
+# Contributor: Dominik Ryba domr...@post.pl
+
+pkgname=enblend-enfuse
+pkgver=4.0
+pkgrel=3
+pkgdesc=intelligent blend tool for overlapping picture
+arch=(i686 x86_64)
+license=('GPL')
+url=http://enblend.sourceforge.net;
+depends=('openexr' 'glew=1.5' 'libxmi' 'freeglut' 'libgl' 'lcms' 'texinfo' 
'libpng')
+makedepends=('boost' 'pkgconfig')
+replaces=('enblend')
+conflicts=('enblend')
+provides=('enblend')
+install=${pkgname}.install
+source=(http://downloads.sourceforge.net/sourceforge/enblend/${pkgname}-${pkgver}.tar.gz
 libpng-1.4.patch)
+md5sums=('2e7c950061e0085fd75d94576130250f' 'a39df8dd32ccfa020dea2ea388642575')
+sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' 
'eae6cf48ea082865130302d0b4d1ca0b884a563b')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}-753b534c819d
+  patch -Np1 -i ../libpng-1.4.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}-753b534c819d
+  make DESTDIR=${pkgdir} install
+  install -D -m644 doc/enblend.info ${pkgdir}/usr/share/info/enblend.info
+  install -D -m644 doc/enfuse.info ${pkgdir}/usr/share/info/enfuse.info
+}

Copied: enblend-enfuse/repos/testing-i686/enblend-enfuse.install (from rev 
138150, enblend-enfuse/repos/staging-i686/enblend-enfuse.install)
===
--- testing-i686/enblend-enfuse.install (rev 0)
+++ testing-i686/enblend-enfuse.install 2011-09-17 21:02:43 UTC (rev 138155)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(enblend.info enfuse-focus-stacking.info enfuse.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: enblend-enfuse/repos/testing-i686/libpng-1.4.patch (from rev 138150, 
enblend-enfuse/repos/staging-i686/libpng-1.4.patch)
===
--- testing-i686/libpng-1.4.patch   (rev 0)
+++ testing-i686/libpng-1.4.patch   2011-09-17 21:02:43 UTC (rev 138155)
@@ -0,0 +1,14 @@
+diff -Naur enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx 
enblend-enfuse-3.2/src/vigra_impex/png.cxx
+--- enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx2010-01-19 
22:09:36.0 -0500
 enblend-enfuse-3.2/src/vigra_impex/png.cxx 2010-01-19 22:13:43.0 
-0500
+@@ -275,8 +275,8 @@
+ // expand gray values to at least one byte size
+ if ( color_type == PNG_COLOR_TYPE_GRAY  bit_depth  8 ) {
+ if (setjmp(png-jmpbuf))
+-vigra_postcondition( false,png_error_message.insert(0, error 
in png_set_gray_1_2_4_to_8(): ).c_str());
+-png_set_gray_1_2_4_to_8(png);
++vigra_postcondition( false,png_error_message.insert(0, error 
in png_set_expand_gray_1_2_4_to_8(): ).c_str());
++png_set_expand_gray_1_2_4_to_8(png);
+ bit_depth = 8;
+ }
+ 



[arch-commits] Commit in glew/repos (staging-i686 testing-i686 testing-i686/PKGBUILD)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:45
  Author: stephane
Revision: 138157

db-move: moved glew from [staging] to [testing] (i686)

Added:
  glew/repos/testing-i686/
  glew/repos/testing-i686/PKGBUILD
(from rev 138150, glew/repos/staging-i686/PKGBUILD)
Deleted:
  glew/repos/staging-i686/

--+
 PKGBUILD |   29 +
 1 file changed, 29 insertions(+)

Copied: glew/repos/testing-i686/PKGBUILD (from rev 138150, 
glew/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 21:02:45 UTC (rev 138157)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.7.0
+pkgrel=1
+pkgdesc=The OpenGL Extension Wrangler Library
+arch=('i686' 'x86_64')
+url=http://glew.sourceforge.net;
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'mesa')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
+sha1sums=('9266f2360c1687a96f2ea06419671d370b2928d1')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed -i 's|lib64|lib|' config/Makefile.linux
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make GLEW_DEST=${pkgdir}/usr install.all
+  install -D -m644 LICENSE.txt 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  rm ${pkgdir}/usr/lib/{libGLEW,libGLEWmx}.a
+  chmod 0755 ${pkgdir}/usr/lib/libGLEW*.so.${pkgver}
+}



[arch-commits] Commit in glew/repos (3 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:46
  Author: stephane
Revision: 138158

db-move: moved glew from [staging] to [testing] (x86_64)

Added:
  glew/repos/testing-x86_64/
  glew/repos/testing-x86_64/PKGBUILD
(from rev 138150, glew/repos/staging-x86_64/PKGBUILD)
Deleted:
  glew/repos/staging-x86_64/

--+
 PKGBUILD |   29 +
 1 file changed, 29 insertions(+)

Copied: glew/repos/testing-x86_64/PKGBUILD (from rev 138150, 
glew/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 21:02:46 UTC (rev 138158)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.7.0
+pkgrel=1
+pkgdesc=The OpenGL Extension Wrangler Library
+arch=('i686' 'x86_64')
+url=http://glew.sourceforge.net;
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'mesa')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
+sha1sums=('9266f2360c1687a96f2ea06419671d370b2928d1')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed -i 's|lib64|lib|' config/Makefile.linux
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make GLEW_DEST=${pkgdir}/usr install.all
+  install -D -m644 LICENSE.txt 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  rm ${pkgdir}/usr/lib/{libGLEW,libGLEWmx}.a
+  chmod 0755 ${pkgdir}/usr/lib/libGLEW*.so.${pkgver}
+}



[arch-commits] Commit in hugin/repos (4 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:48
  Author: stephane
Revision: 138159

db-move: moved hugin from [staging] to [testing] (i686)

Added:
  hugin/repos/testing-i686/
  hugin/repos/testing-i686/PKGBUILD
(from rev 138150, hugin/repos/staging-i686/PKGBUILD)
  hugin/repos/testing-i686/hugin.install
(from rev 138150, hugin/repos/staging-i686/hugin.install)
Deleted:
  hugin/repos/staging-i686/

---+
 PKGBUILD  |   35 +++
 hugin.install |   15 +++
 2 files changed, 50 insertions(+)

Copied: hugin/repos/testing-i686/PKGBUILD (from rev 138150, 
hugin/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 21:02:48 UTC (rev 138159)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Tobias Kieslich tob...@archlinux.org
+# Contributor: Giovanni Scafora giova...@archlinux.org
+# Contributor: Dominik Ryba domr...@post.pl
+
+pkgname=hugin
+pkgver=2011.0.0
+pkgrel=3
+pkgdesc=A frontend to the panorama-tools
+arch=('i686' 'x86_64')
+url=http://hugin.sourceforge.net/;
+license=('LGPL')
+depends=('wxgtk' 'libpano13' 'boost-libs' 'enblend-enfuse' 'exiv2' 'openexr'
+ 'autopano-sift-c' 'lapack' 'desktop-file-utils' 'make' 
'perl-exiftool')
+makedepends=('zip' 'cmake' 'boost')
+install=hugin.install
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('ac8a129b4c3021233df6d9368c8164cf')
+sha1sums=('22e1ad3846291a9bbe58570683e213921a6f0116')
+
+build() {
+  cd ${srcdir}
+  mkdir build  cd build
+  cmake ${srcdir}/${pkgname}-${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_EXE_LINKER_FLAGS=-lpthread \
+-DENABLE_LAPACK=yes
+  make
+}
+
+package(){
+  cd ${srcdir}/build
+  make DESTDIR=${pkgdir} install
+}

Copied: hugin/repos/testing-i686/hugin.install (from rev 138150, 
hugin/repos/staging-i686/hugin.install)
===
--- testing-i686/hugin.install  (rev 0)
+++ testing-i686/hugin.install  2011-09-17 21:02:48 UTC (rev 138159)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+}



[arch-commits] Commit in hugin/repos (4 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:50
  Author: stephane
Revision: 138160

db-move: moved hugin from [staging] to [testing] (x86_64)

Added:
  hugin/repos/testing-x86_64/
  hugin/repos/testing-x86_64/PKGBUILD
(from rev 138150, hugin/repos/staging-x86_64/PKGBUILD)
  hugin/repos/testing-x86_64/hugin.install
(from rev 138150, hugin/repos/staging-x86_64/hugin.install)
Deleted:
  hugin/repos/staging-x86_64/

---+
 PKGBUILD  |   35 +++
 hugin.install |   15 +++
 2 files changed, 50 insertions(+)

Copied: hugin/repos/testing-x86_64/PKGBUILD (from rev 138150, 
hugin/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 21:02:50 UTC (rev 138160)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Tobias Kieslich tob...@archlinux.org
+# Contributor: Giovanni Scafora giova...@archlinux.org
+# Contributor: Dominik Ryba domr...@post.pl
+
+pkgname=hugin
+pkgver=2011.0.0
+pkgrel=3
+pkgdesc=A frontend to the panorama-tools
+arch=('i686' 'x86_64')
+url=http://hugin.sourceforge.net/;
+license=('LGPL')
+depends=('wxgtk' 'libpano13' 'boost-libs' 'enblend-enfuse' 'exiv2' 'openexr'
+ 'autopano-sift-c' 'lapack' 'desktop-file-utils' 'make' 
'perl-exiftool')
+makedepends=('zip' 'cmake' 'boost')
+install=hugin.install
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('ac8a129b4c3021233df6d9368c8164cf')
+sha1sums=('22e1ad3846291a9bbe58570683e213921a6f0116')
+
+build() {
+  cd ${srcdir}
+  mkdir build  cd build
+  cmake ${srcdir}/${pkgname}-${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_EXE_LINKER_FLAGS=-lpthread \
+-DENABLE_LAPACK=yes
+  make
+}
+
+package(){
+  cd ${srcdir}/build
+  make DESTDIR=${pkgdir} install
+}

Copied: hugin/repos/testing-x86_64/hugin.install (from rev 138150, 
hugin/repos/staging-x86_64/hugin.install)
===
--- testing-x86_64/hugin.install(rev 0)
+++ testing-x86_64/hugin.install2011-09-17 21:02:50 UTC (rev 138160)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+  update-desktop-database -q
+  update-mime-database usr/share/mime  /dev/null
+}



[arch-commits] Commit in koffice/repos (8 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:52
  Author: stephane
Revision: 138161

db-move: moved koffice from [staging] to [testing] (i686)

Added:
  koffice/repos/testing-i686/
  koffice/repos/testing-i686/PKGBUILD
(from rev 138150, koffice/repos/staging-i686/PKGBUILD)
  koffice/repos/testing-i686/filters.install
(from rev 138150, koffice/repos/staging-i686/filters.install)
  koffice/repos/testing-i686/gcc46.patch
(from rev 138150, koffice/repos/staging-i686/gcc46.patch)
  koffice/repos/testing-i686/kde4-koffice-libwpg02.patch
(from rev 138150, koffice/repos/staging-i686/kde4-koffice-libwpg02.patch)
  koffice/repos/testing-i686/koffice.install
(from rev 138150, koffice/repos/staging-i686/koffice.install)
  koffice/repos/testing-i686/krita.install
(from rev 138150, koffice/repos/staging-i686/krita.install)
Deleted:
  koffice/repos/staging-i686/

-+
 PKGBUILD|  301 +
 filters.install |   11 
 gcc46.patch |   23 
 kde4-koffice-libwpg02.patch | 1323 ++
 koffice.install |   11 
 krita.install   |   12 
 6 files changed, 1681 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 138160:138161 to see the changes.


[arch-commits] Commit in koffice/repos (8 files)

2011-09-17 Thread Stéphane Gaudreault
Date: Saturday, September 17, 2011 @ 17:02:54
  Author: stephane
Revision: 138162

db-move: moved koffice from [staging] to [testing] (x86_64)

Added:
  koffice/repos/testing-x86_64/
  koffice/repos/testing-x86_64/PKGBUILD
(from rev 138150, koffice/repos/staging-x86_64/PKGBUILD)
  koffice/repos/testing-x86_64/filters.install
(from rev 138150, koffice/repos/staging-x86_64/filters.install)
  koffice/repos/testing-x86_64/gcc46.patch
(from rev 138150, koffice/repos/staging-x86_64/gcc46.patch)
  koffice/repos/testing-x86_64/kde4-koffice-libwpg02.patch
(from rev 138150, koffice/repos/staging-x86_64/kde4-koffice-libwpg02.patch)
  koffice/repos/testing-x86_64/koffice.install
(from rev 138150, koffice/repos/staging-x86_64/koffice.install)
  koffice/repos/testing-x86_64/krita.install
(from rev 138150, koffice/repos/staging-x86_64/krita.install)
Deleted:
  koffice/repos/staging-x86_64/

-+
 PKGBUILD|  301 +
 filters.install |   11 
 gcc46.patch |   23 
 kde4-koffice-libwpg02.patch | 1323 ++
 koffice.install |   11 
 krita.install   |   12 
 6 files changed, 1681 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 138161:138162 to see the changes.


[arch-commits] Commit in bigloo/trunk (PKGBUILD bigloo.install)

2011-09-17 Thread Andrea Scarpino
Date: Saturday, September 17, 2011 @ 18:06:26
  Author: andrea
Revision: 138163

upgpkg: bigloo 3.6a-3

replace jdk with java-environment; rebuilt for emacs 23.3; enable JVM

Modified:
  bigloo/trunk/PKGBUILD
  bigloo/trunk/bigloo.install

+
 PKGBUILD   |6 +++---
 bigloo.install |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 21:02:54 UTC (rev 138162)
+++ PKGBUILD2011-09-17 22:06:26 UTC (rev 138163)
@@ -6,13 +6,13 @@
 pkgname=bigloo
 _pkgver=3.6a
 pkgver=${_pkgver/-/_}
-pkgrel=2
+pkgrel=3
 pkgdesc=Fast scheme compiler
 arch=('i686' 'x86_64')
 url=http://www-sop.inria.fr/mimosa/fp/Bigloo/;
 license=('GPL' 'LGPL')
 depends=('openssl' 'sqlite3')
-makedepends=('jdk' 'emacs')
+makedepends=('java-environment' 'emacs' 'zip')
 optdepends=('emacs')
 options=('!makeflags')
 install=bigloo.install
@@ -29,7 +29,7 @@
 --infodir=/usr/share/info \
 --docdir=/usr/share/doc/bigloo \
 --dotnet=no \
---javaprefix=/opt/java/bin
+--jvm=yes
   make build compile-bee
 }
 

Modified: bigloo.install
===
--- bigloo.install  2011-09-17 21:02:54 UTC (rev 138162)
+++ bigloo.install  2011-09-17 22:06:26 UTC (rev 138163)
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
 filelist=(bigloo.info bdb.info)
 
 post_install() {



[arch-commits] Commit in wget/trunk (PKGBUILD)

2011-09-17 Thread Allan McRae
Date: Saturday, September 17, 2011 @ 18:42:37
  Author: allan
Revision: 138165

upgpkg: wget 1.13.4-1

upstream update

Modified:
  wget/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 22:07:10 UTC (rev 138164)
+++ PKGBUILD2011-09-17 22:42:37 UTC (rev 138165)
@@ -3,7 +3,7 @@
 # Contributor: Judd Vinet jvi...@zeroflux.org
 
 pkgname=wget
-pkgver=1.13.3
+pkgver=1.13.4
 pkgrel=1
 pkgdesc=A network utility to retrieve files from the Web
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 backup=('etc/wgetrc')
 install=wget.install
 source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-md5sums=('540cbd50909885fe11bd7bc4f75268d1')
+md5sums=('7f518b3a71e9efd330e9a0c3714f8463')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}



[arch-commits] Commit in wget/repos (6 files)

2011-09-17 Thread Allan McRae
Date: Saturday, September 17, 2011 @ 18:43:36
  Author: allan
Revision: 138166

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  wget/repos/testing-i686/
  wget/repos/testing-i686/PKGBUILD
(from rev 138165, wget/trunk/PKGBUILD)
  wget/repos/testing-i686/wget.install
(from rev 138165, wget/trunk/wget.install)
  wget/repos/testing-x86_64/
  wget/repos/testing-x86_64/PKGBUILD
(from rev 138165, wget/trunk/PKGBUILD)
  wget/repos/testing-x86_64/wget.install
(from rev 138165, wget/trunk/wget.install)

-+
 testing-i686/PKGBUILD   |   45 ++
 testing-i686/wget.install   |   20 ++
 testing-x86_64/PKGBUILD |   45 ++
 testing-x86_64/wget.install |   20 ++
 4 files changed, 130 insertions(+)

Copied: wget/repos/testing-i686/PKGBUILD (from rev 138165, wget/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-09-17 22:43:36 UTC (rev 138166)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=wget
+pkgver=1.13.4
+pkgrel=1
+pkgdesc=A network utility to retrieve files from the Web
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/wget/wget.html;
+license=('GPL3')
+groups=('base')
+depends=('glibc' 'openssl')
+optdepends=('ca-certificates: HTTPS downloads')
+backup=('etc/wgetrc')
+install=wget.install
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+md5sums=('7f518b3a71e9efd330e9a0c3714f8463')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # Note : We do not build with --enable-nls, because there is a bug in wget 
causing
+  # international domain names to be not properly converted to punycode if
+  # the current locale is a UTF-8 one
+  # See : http://lists.gnu.org/archive/html/bug-wget/2011-02/msg00026.html
+
+  ./configure -with-ssl=openssl --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  cat  $pkgdir/etc/wgetrc EOF
+
+# default root certs location
+ca_certificate=/etc/ssl/certs/ca-certificates.crt
+EOF
+
+  # remove IRI option from wgetrc as it does not work (see above)
+  sed -i '118,120d' $pkgdir/etc/wgetrc
+
+}

Copied: wget/repos/testing-i686/wget.install (from rev 138165, 
wget/trunk/wget.install)
===
--- testing-i686/wget.install   (rev 0)
+++ testing-i686/wget.install   2011-09-17 22:43:36 UTC (rev 138166)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(wget.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info $infodir/$file $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file $infodir/dir 2 /dev/null
+  done
+}

Copied: wget/repos/testing-x86_64/PKGBUILD (from rev 138165, 
wget/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 22:43:36 UTC (rev 138166)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=wget
+pkgver=1.13.4
+pkgrel=1
+pkgdesc=A network utility to retrieve files from the Web
+arch=('i686' 'x86_64')
+url=http://www.gnu.org/software/wget/wget.html;
+license=('GPL3')
+groups=('base')
+depends=('glibc' 'openssl')
+optdepends=('ca-certificates: HTTPS downloads')
+backup=('etc/wgetrc')
+install=wget.install
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+md5sums=('7f518b3a71e9efd330e9a0c3714f8463')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # Note : We do not build with --enable-nls, because there is a bug in wget 
causing
+  # international domain names to be not properly converted to punycode if
+  # the current locale is a UTF-8 one
+  # See : http://lists.gnu.org/archive/html/bug-wget/2011-02/msg00026.html
+
+  ./configure -with-ssl=openssl --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  cat  $pkgdir/etc/wgetrc EOF
+
+# default root certs location
+ca_certificate=/etc/ssl/certs/ca-certificates.crt
+EOF
+
+  # remove IRI option from wgetrc as it does not work (see above)
+  sed -i '118,120d' $pkgdir/etc/wgetrc
+
+}

Copied: wget/repos/testing-x86_64/wget.install (from rev 138165, 
wget/trunk/wget.install)
===
--- testing-x86_64/wget.install (rev 0)
+++ 

[arch-commits] Commit in i8kutils/trunk (PKGBUILD)

2011-09-17 Thread Eric Bélanger
Date: Saturday, September 17, 2011 @ 23:14:00
  Author: eric
Revision: 138167

upgpkg: i8kutils 1.33-2

Cleanup old package

Modified:
  i8kutils/trunk/PKGBUILD

--+
 PKGBUILD |   24 
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-17 22:43:36 UTC (rev 138166)
+++ PKGBUILD2011-09-18 03:14:00 UTC (rev 138167)
@@ -4,25 +4,25 @@
 
 pkgname=i8kutils
 pkgver=1.33
-pkgrel=1
+pkgrel=2
 pkgdesc=Dell Inspiron/Latitude kernel driver and utilities
+arch=('i686' 'x86_64')
 url=http://people.debian.org/~dz/i8k/;
 license=('GPL2')
-arch=('i686' 'x86_64')
 depends=('glibc')
 source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz)
 md5sums=('1ab077b301dbb0f4be8ef52eb3b97628')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  make || return 1
+  cd $srcdir/$pkgname-$pkgver
+  make
+}
 
-  # no configure script, and Makefile has /usr hardcoded
-  install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl || return 1
-  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
-  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
-  install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1 || 
return 1
-  install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1 || return 1
-  ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan || return 1
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl
+  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons
+  install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1
+  install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1
+  ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan
 }
-# vim: ts=2 sw=2 et ft=sh



[arch-commits] Commit in i8kutils/repos (4 files)

2011-09-17 Thread Eric Bélanger
Date: Saturday, September 17, 2011 @ 23:14:27
  Author: eric
Revision: 138168

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  i8kutils/repos/extra-i686/PKGBUILD
(from rev 138167, i8kutils/trunk/PKGBUILD)
  i8kutils/repos/extra-x86_64/PKGBUILD
(from rev 138167, i8kutils/trunk/PKGBUILD)
Deleted:
  i8kutils/repos/extra-i686/PKGBUILD
  i8kutils/repos/extra-x86_64/PKGBUILD

---+
 extra-i686/PKGBUILD   |   56 
 extra-x86_64/PKGBUILD |   56 
 2 files changed, 56 insertions(+), 56 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-09-18 03:14:00 UTC (rev 138167)
+++ extra-i686/PKGBUILD 2011-09-18 03:14:27 UTC (rev 138168)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Thayer Williams tha...@archlinux.org
-# Contributor: Eric Johnson e...@coding-zone.com
-
-pkgname=i8kutils
-pkgver=1.33
-pkgrel=1
-pkgdesc=Dell Inspiron/Latitude kernel driver and utilities
-url=http://people.debian.org/~dz/i8k/;
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('glibc')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz)
-md5sums=('1ab077b301dbb0f4be8ef52eb3b97628')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  make || return 1
-
-  # no configure script, and Makefile has /usr hardcoded
-  install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl || return 1
-  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
-  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
-  install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1 || 
return 1
-  install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1 || return 1
-  ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan || return 1
-}
-# vim: ts=2 sw=2 et ft=sh

Copied: i8kutils/repos/extra-i686/PKGBUILD (from rev 138167, 
i8kutils/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-09-18 03:14:27 UTC (rev 138168)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Thayer Williams tha...@archlinux.org
+# Contributor: Eric Johnson e...@coding-zone.com
+
+pkgname=i8kutils
+pkgver=1.33
+pkgrel=2
+pkgdesc=Dell Inspiron/Latitude kernel driver and utilities
+arch=('i686' 'x86_64')
+url=http://people.debian.org/~dz/i8k/;
+license=('GPL2')
+depends=('glibc')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz)
+md5sums=('1ab077b301dbb0f4be8ef52eb3b97628')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl
+  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons
+  install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1
+  install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1
+  ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2011-09-18 03:14:00 UTC (rev 138167)
+++ extra-x86_64/PKGBUILD   2011-09-18 03:14:27 UTC (rev 138168)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Thayer Williams tha...@archlinux.org
-# Contributor: Eric Johnson e...@coding-zone.com
-
-pkgname=i8kutils
-pkgver=1.33
-pkgrel=1
-pkgdesc=Dell Inspiron/Latitude kernel driver and utilities
-url=http://people.debian.org/~dz/i8k/;
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('glibc')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz)
-md5sums=('1ab077b301dbb0f4be8ef52eb3b97628')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  make || return 1
-
-  # no configure script, and Makefile has /usr hardcoded
-  install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl || return 1
-  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
-  install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
-  install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1 || 
return 1
-  install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1 || return 1
-  ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan || return 1
-}
-# vim: ts=2 sw=2 et ft=sh

Copied: i8kutils/repos/extra-x86_64/PKGBUILD (from rev 138167, 
i8kutils/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2011-09-18 03:14:27 UTC (rev 138168)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Thayer Williams tha...@archlinux.org
+# Contributor: Eric Johnson e...@coding-zone.com
+
+pkgname=i8kutils
+pkgver=1.33
+pkgrel=2
+pkgdesc=Dell Inspiron/Latitude kernel driver and utilities
+arch=('i686' 'x86_64')
+url=http://people.debian.org/~dz/i8k/;
+license=('GPL2')
+depends=('glibc')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz)

[arch-commits] Commit in at/trunk (PKGBUILD)

2011-09-17 Thread Eric Bélanger
Date: Saturday, September 17, 2011 @ 23:48:20
  Author: eric
Revision: 138169

upgpkg: at 3.1.13-1

Upstream update, Update url, Clean up PKGBUILD

Modified:
  at/trunk/PKGBUILD

--+
 PKGBUILD |   21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-18 03:14:27 UTC (rev 138168)
+++ PKGBUILD2011-09-18 03:48:20 UTC (rev 138169)
@@ -3,28 +3,31 @@
 # Contributor: Todd Musall tmus...@comcast.net
 
 pkgname=at
-pkgver=3.1.12
+pkgver=3.1.13
 pkgrel=1
-pkgdesc=AT and batch delayed command scheduling utility and daemon.
+pkgdesc=AT and batch delayed command scheduling utility and daemon
 arch=('i686' 'x86_64')
-url=http://www.debian.org;
+url=http://packages.qa.debian.org/a/at.html;
 license=('GPL')
 depends=('pam')
 makedepends=('ssmtp')
 backup=('etc/at.deny')
 source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
 atd)
-md5sums=('1e67991776148fb319fd77a2e599a765'
+md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
  '35574e34829e7df07a3269d4ab646a29')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-
   ./configure --prefix=/usr \
   --mandir=/usr/share/man  \
   --with-jobdir=/var/spool/atd \
-  --with-atspool=/var/spool/atd || return 1
-  make || return 1
-  make IROOT=${pkgdir} docdir=/usr/share/doc install || return 1
-  install -D -m755 ${srcdir}/atd ${pkgdir}/etc/rc.d/atd || return 1
+  --with-atspool=/var/spool/atd
+  make
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make IROOT=${pkgdir} docdir=/usr/share/doc install
+  install -D -m755 ${srcdir}/atd ${pkgdir}/etc/rc.d/atd
+}



[arch-commits] Commit in at/repos (8 files)

2011-09-17 Thread Eric Bélanger
Date: Saturday, September 17, 2011 @ 23:48:48
  Author: eric
Revision: 138170

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  at/repos/extra-i686/PKGBUILD
(from rev 138169, at/trunk/PKGBUILD)
  at/repos/extra-i686/atd
(from rev 138169, at/trunk/atd)
  at/repos/extra-x86_64/PKGBUILD
(from rev 138169, at/trunk/PKGBUILD)
  at/repos/extra-x86_64/atd
(from rev 138169, at/trunk/atd)
Deleted:
  at/repos/extra-i686/PKGBUILD
  at/repos/extra-i686/atd
  at/repos/extra-x86_64/PKGBUILD
  at/repos/extra-x86_64/atd

---+
 extra-i686/PKGBUILD   |   63 ++-
 extra-i686/atd|   70 
 extra-x86_64/PKGBUILD |   63 ++-
 extra-x86_64/atd  |   70 
 4 files changed, 136 insertions(+), 130 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-09-18 03:48:20 UTC (rev 138169)
+++ extra-i686/PKGBUILD 2011-09-18 03:48:48 UTC (rev 138170)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Judd Vinet jvi...@zeroflux.org
-# Contributor: Todd Musall tmus...@comcast.net
-
-pkgname=at
-pkgver=3.1.12
-pkgrel=1
-pkgdesc=AT and batch delayed command scheduling utility and daemon.
-arch=('i686' 'x86_64')
-url=http://www.debian.org;
-license=('GPL')
-depends=('pam')
-makedepends=('ssmtp')
-backup=('etc/at.deny')
-source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
-atd)
-md5sums=('1e67991776148fb319fd77a2e599a765'
- '35574e34829e7df07a3269d4ab646a29')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  ./configure --prefix=/usr \
-  --mandir=/usr/share/man  \
-  --with-jobdir=/var/spool/atd \
-  --with-atspool=/var/spool/atd || return 1
-  make || return 1
-  make IROOT=${pkgdir} docdir=/usr/share/doc install || return 1
-  install -D -m755 ${srcdir}/atd ${pkgdir}/etc/rc.d/atd || return 1
-}

Copied: at/repos/extra-i686/PKGBUILD (from rev 138169, at/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-09-18 03:48:48 UTC (rev 138170)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Judd Vinet jvi...@zeroflux.org
+# Contributor: Todd Musall tmus...@comcast.net
+
+pkgname=at
+pkgver=3.1.13
+pkgrel=1
+pkgdesc=AT and batch delayed command scheduling utility and daemon
+arch=('i686' 'x86_64')
+url=http://packages.qa.debian.org/a/at.html;
+license=('GPL')
+depends=('pam')
+makedepends=('ssmtp')
+backup=('etc/at.deny')
+source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
+atd)
+md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
+ '35574e34829e7df07a3269d4ab646a29')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+  --mandir=/usr/share/man  \
+  --with-jobdir=/var/spool/atd \
+  --with-atspool=/var/spool/atd
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make IROOT=${pkgdir} docdir=/usr/share/doc install
+  install -D -m755 ${srcdir}/atd ${pkgdir}/etc/rc.d/atd
+}

Deleted: extra-i686/atd
===
--- extra-i686/atd  2011-09-18 03:48:20 UTC (rev 138169)
+++ extra-i686/atd  2011-09-18 03:48:48 UTC (rev 138170)
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/atd`
-case $1 in
-  start)
-stat_busy Starting ATD Daemon
-[ -z $PID ]  /usr/sbin/atd
-if [ $? -gt 0 ]; then
-  stat_fail
-else
-  add_daemon atd
-  stat_done
-fi
-;;
-  stop)
-stat_busy Stopping ATD Daemon
-[ ! -z $PID ]   kill $PID  /dev/null
-if [ $? -gt 0 ]; then
-  stat_fail
-else
-  rm_daemon atd
-  stat_done
-fi
-;;
-  restart)
-$0 stop
-$0 start
-;;
-  *)
-echo usage: $0 {start|stop|restart}  
-esac
-exit 0

Copied: at/repos/extra-i686/atd (from rev 138169, at/trunk/atd)
===
--- extra-i686/atd  (rev 0)
+++ extra-i686/atd  2011-09-18 03:48:48 UTC (rev 138170)
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/sbin/atd`
+case $1 in
+  start)
+stat_busy Starting ATD Daemon
+[ -z $PID ]  /usr/sbin/atd
+if [ $? -gt 0 ]; then
+  stat_fail
+else
+  add_daemon atd
+  stat_done
+fi
+;;
+  stop)
+stat_busy Stopping ATD Daemon
+[ ! -z $PID ]   kill $PID  /dev/null
+if [ $? -gt 0 ]; then
+  stat_fail
+else
+  rm_daemon atd
+  stat_done
+fi
+;;
+  restart)
+$0 stop
+$0 start
+;;
+  *)
+echo usage: $0 {start|stop|restart}  
+esac
+exit 0

Deleted: