[arch-commits] Commit in kbd/repos (core-i686)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:29:11
  Author: tpowa
Revision: 77479

db-move: kbd removed by tpowa for move to core

Deleted:
  kbd/repos/core-i686/



[arch-commits] Commit in kbd/repos (core-x86_64 testing-x86_64)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:29:05
  Author: tpowa
Revision: 77478

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

Added:
  kbd/repos/core-x86_64/
Deleted:
  kbd/repos/testing-x86_64/



[arch-commits] Commit in kbd/repos (core-i686 testing-i686)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:29:12
  Author: tpowa
Revision: 77480

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

Added:
  kbd/repos/core-i686/
Deleted:
  kbd/repos/testing-i686/



[arch-commits] Commit in kbd/repos (core-x86_64)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:29:05
  Author: tpowa
Revision: 77477

db-move: kbd removed by tpowa for move to core

Deleted:
  kbd/repos/core-x86_64/



[arch-commits] Commit in util-linux-ng/repos (core-x86_64 testing-x86_64)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:28:51
  Author: tpowa
Revision: 77476

db-move: moved util-linux-ng from [testing] to [core] (x86_64)

Added:
  util-linux-ng/repos/core-x86_64/
Deleted:
  util-linux-ng/repos/testing-x86_64/



[arch-commits] Commit in util-linux-ng/repos (core-x86_64)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:28:50
  Author: tpowa
Revision: 77475

db-move: util-linux-ng removed by tpowa for move to core

Deleted:
  util-linux-ng/repos/core-x86_64/



[arch-commits] Commit in util-linux-ng/repos (core-i686 testing-i686)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:28:44
  Author: tpowa
Revision: 77474

db-move: moved util-linux-ng from [testing] to [core] (i686)

Added:
  util-linux-ng/repos/core-i686/
Deleted:
  util-linux-ng/repos/testing-i686/



[arch-commits] Commit in util-linux-ng/repos (core-i686)

2010-04-13 Thread Tobias Powalowski
Date: Wednesday, April 14, 2010 @ 01:28:43
  Author: tpowa
Revision: 77473

db-move: util-linux-ng removed by tpowa for move to core

Deleted:
  util-linux-ng/repos/core-i686/



[arch-commits] Commit in kdebase-workspace/repos (extra-x86_64)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 19:05:50
  Author: andrea
Revision: 77472

archrelease: copy trunk to extra-x86_64

Added:
  kdebase-workspace/repos/extra-x86_64/



[arch-commits] Commit in kdebase-workspace/repos (extra-i686)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 19:05:23
  Author: andrea
Revision: 77471

archrelease: copy trunk to extra-i686

Added:
  kdebase-workspace/repos/extra-i686/



[arch-commits] Commit in kdebase-workspace/repos (extra-i686 extra-x86_64)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 19:01:06
  Author: andrea
Revision: 77470

my network dead during upload and I am fixing this

Deleted:
  kdebase-workspace/repos/extra-i686/
  kdebase-workspace/repos/extra-x86_64/



[arch-commits] Commit in kdebase-workspace/trunk (2 files)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 15:07:18
  Author: andrea
Revision: 77469

patch to fix 'KDM Local Privilege Escalation Vulnerability' (CVE-2010-0436)

Added:
  kdebase-workspace/trunk/kdebase-workspace-4.3.5-CVE-2010-0436.diff
Modified:
  kdebase-workspace/trunk/PKGBUILD

+
 PKGBUILD   |   11 +
 kdebase-workspace-4.3.5-CVE-2010-0436.diff |  196 +++
 2 files changed, 204 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 19:06:44 UTC (rev 77468)
+++ PKGBUILD2010-04-13 19:07:18 UTC (rev 77469)
@@ -3,7 +3,7 @@
 
 pkgname=kdebase-workspace
 pkgver=4.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="KDE Base Workspace"
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -26,7 +26,8 @@
 'etc/pam.d/kscreensaver')
 
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2";
 'kdm-zsh-profile.patch' 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam'
-'fixpath.patch' 'terminate-server.patch')
+'fixpath.patch' 'terminate-server.patch'
+'kdebase-workspace-4.3.5-CVE-2010-0436.diff')
 md5sums=('6251e5d0060bd1529f90b9eaf5f84230'
  '721e97031b62aee8914e8617e86f9235'
  '363a36b63f84bac79959cfbefdb8309e'
@@ -34,7 +35,8 @@
  '552337fd9a3982d809ea16c7f0033d42'
  '367a3538f54db71f108b34cfa31088ac'
  '47a1f12673f66e62e2463efd7037a26a'
- '814350c52c135d6f7bdada1e29223d38')
+ '814350c52c135d6f7bdada1e29223d38'
+ '68c1dfe76e80812e5e049bb599b3374e')
 
 build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -42,6 +44,9 @@
patch -p0 -i ${srcdir}/fixpath.patch || return 1
patch -p0 -i ${srcdir}/terminate-server.patch || return 1
 
+   # fixed in 4.4.3
+   patch -p0 -i ${srcdir}/kdebase-workspace-4.3.5-CVE-2010-0436.diff || 
return 1
+
cd ${srcdir}
mkdir build
cd build

Added: kdebase-workspace-4.3.5-CVE-2010-0436.diff
===
--- kdebase-workspace-4.3.5-CVE-2010-0436.diff  (rev 0)
+++ kdebase-workspace-4.3.5-CVE-2010-0436.diff  2010-04-13 19:07:18 UTC (rev 
77469)
@@ -0,0 +1,196 @@
+--- kdm/ConfigureChecks.cmake
 kdm/ConfigureChecks.cmake
+@@ -37,6 +37,35 @@ int main()
+ }
+ " HAVE_SETLOGIN)
+ 
++check_c_source_runs("
++#include 
++#include 
++#include 
++#include 
++#include 
++#include 
++#include 
++int main()
++{
++int fd, fd2;
++struct sockaddr_un sa;
++
++if ((fd = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)
++return 2;
++sa.sun_family = AF_UNIX;
++strcpy(sa.sun_path, \"testsock\");
++unlink(sa.sun_path);
++if (bind(fd, (struct sockaddr *)&sa, sizeof(sa)))
++return 2;
++chmod(sa.sun_path, 0);
++setuid(getuid() + 1000);
++if ((fd2 = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)
++return 2;
++connect(fd2, (struct sockaddr *)&sa, sizeof(sa));
++return errno != EACCES;
++}
++" HONORS_SOCKET_PERMS)
++
+ # for config-kdm.h
+ check_function_exists(seteuid HAVE_SETEUID)
+ 
+--- kdm/backend/ctrl.c
 kdm/backend/ctrl.c
+@@ -79,7 +79,25 @@ nukeSock( struct cmdsock *cs )
+ }
+ 
+ 
++#ifdef HONORS_SOCKET_PERMS
+ static CtrlRec ctrl = { 0, 0, -1, 0 };
++#else
++static CtrlRec ctrl = { 0, 0, 0, -1, 0 };
++
++static int mkTempDir( char *dir )
++{
++  int i, l = strlen( dir ) - 6;
++
++  for (i = 0; i < 100; i++) {
++  randomStr( dir + l );
++  if (!mkdir( dir, 0700 ))
++  return True;
++  if (errno != EEXIST)
++  break;
++  }
++  return False;
++}
++#endif
+ 
+ void
+ openCtrl( struct display *d )
+@@ -113,22 +131,50 @@ openCtrl( struct display *d )
+   if (strlen( cr->path ) >= sizeof(sa.sun_path))
+   logError( "path %\"s too long; control 
socket will not be available\n",
+ cr->path );
+-  else if (mkdir( sockdir, 0755 ) && errno != 
EEXIST)
++#ifdef HONORS_SOCKET_PERMS
++  else if (mkdir( sockdir, 0700 ) && errno != 
EEXIST)
+   logError( "mkdir %\"s failed: %m; 
control socket will not be available\n",
+ sockdir );
++  else if (unlink( cr->path ) && errno != ENOENT)
++  logError( "unlink %\"s failed: %m; 
control socket will not be available\n",
++cr->path );
+   else {
+-  if (!d)
+-  chown( sockdir, -1, fifoGroup );
++#else
++  else if (unlink( sockdir ) 

[arch-commits] Commit in chromium/repos (extra-x86_64)

2010-04-13 Thread Daniel Griffiths
Date: Tuesday, April 13, 2010 @ 15:06:44
  Author: dgriffiths
Revision: 77468

archrelease: copy trunk to extra-x86_64

Added:
  chromium/repos/extra-x86_64/



[arch-commits] Commit in chromium/repos (extra-x86_64)

2010-04-13 Thread Daniel Griffiths
Date: Tuesday, April 13, 2010 @ 15:06:38
  Author: dgriffiths
Revision: 77467

archrelease: remove extra-x86_64

Deleted:
  chromium/repos/extra-x86_64/



[arch-commits] Commit in chromium/repos (extra-i686)

2010-04-13 Thread Daniel Griffiths
Date: Tuesday, April 13, 2010 @ 15:06:31
  Author: dgriffiths
Revision: 77466

archrelease: copy trunk to extra-i686

Added:
  chromium/repos/extra-i686/



[arch-commits] Commit in chromium/repos (extra-i686)

2010-04-13 Thread Daniel Griffiths
Date: Tuesday, April 13, 2010 @ 15:06:24
  Author: dgriffiths
Revision: 77465

archrelease: remove extra-i686

Deleted:
  chromium/repos/extra-i686/



[arch-commits] Commit in chromium/trunk (chromium.sh)

2010-04-13 Thread Daniel Griffiths
Date: Tuesday, April 13, 2010 @ 15:06:10
  Author: dgriffiths
Revision: 77464

FS#19073

Modified:
  chromium/trunk/chromium.sh

-+
 chromium.sh |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: chromium.sh
===
--- chromium.sh 2010-04-13 18:44:28 UTC (rev 77463)
+++ chromium.sh 2010-04-13 19:06:10 UTC (rev 77464)
@@ -1,4 +1,4 @@
 #!/bin/sh
 export CHROME_WRAPPER=/usr/lib/chromium/chromium
 export CHROME_DESKTOP=chromium.desktop
-exec /usr/lib/chromium/chromium $@
+exec /usr/lib/chromium/chromium "$@"



[arch-commits] Commit in thunderbird-i18n/repos (extra-any)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 14:44:28
  Author: ibiru
Revision: 77463

archrelease: copy trunk to extra-any

Added:
  thunderbird-i18n/repos/extra-any/



[arch-commits] Commit in thunderbird-i18n/repos (extra-any)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 14:44:12
  Author: ibiru
Revision: 77462

archrelease: remove extra-any

Deleted:
  thunderbird-i18n/repos/extra-any/



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

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 14:40:56
  Author: ibiru
Revision: 77461

upgpkg: thunderbird-i18n 3.0.4-1
added estonian language, FS#19081

Modified:
  thunderbird-i18n/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 12:29:36 UTC (rev 77460)
+++ PKGBUILD2010-04-13 18:40:56 UTC (rev 77461)
@@ -6,7 +6,7 @@
 pkgbase="thunderbird-i18n"
 pkgname=('thunderbird-af' 'thunderbird-be' 'thunderbird-bg' 'thunderbird-ca' 
'thunderbird-cs'
'thunderbird-da' 'thunderbird-de' 'thunderbird-el' 'thunderbird-en-gb' 
'thunderbird-es-ar'
-   'thunderbird-es' 'thunderbird-eu' 'thunderbird-fi' 'thunderbird-fr' 
'thunderbird-ga'
+   'thunderbird-es' 'thunderbird-et' 'thunderbird-eu' 'thunderbird-fi' 
'thunderbird-fr' 'thunderbird-ga'
'thunderbird-he' 'thunderbird-hu' 'thunderbird-it' 'thunderbird-ja' 
'thunderbird-ko'
'thunderbird-lt' 'thunderbird-nb' 'thunderbird-nl' 'thunderbird-nn'
'thunderbird-pa' 'thunderbird-pl' 'thunderbird-pt-br' 'thunderbird-pt' 
'thunderbird-ro'
@@ -33,6 +33,7 @@
 $_url/en-GB.xpi
 $_url/es-AR.xpi
 $_url/es-ES.xpi
+   $_url/et.xpi
 $_url/eu.xpi
 $_url/fi.xpi
 $_url/fr.xpi
@@ -198,6 +199,15 @@
   install -D -m644 chrome.manifest 
"${pkgdir}/usr/lib/thunderbird-3.0/chrome/es-ES.manifest" || return 1
 }
 
+package_thunderbird-et() {
+  pkgdesc="Estonian language packs for Thunderbird"
+  cd ${srcdir}
+  bsdtar xf et.xpi || return 1
+  sed -i "s|jar:chrome/et.jar|jar:et.jar|" chrome.manifest || return 1
+  install -D -m644 chrome/et.jar 
"${pkgdir}/usr/lib/thunderbird-3.0/chrome/et.jar" || return 1
+  install -D -m644 chrome.manifest 
"${pkgdir}/usr/lib/thunderbird-3.0/chrome/et.manifest" || return 1
+}
+
 package_thunderbird-eu() {
   pkgdesc="Basque language packs for Thunderbird"
   cd ${srcdir}
@@ -451,6 +461,7 @@
  '534730e7137a83bd53838a22b9aadfa6'
  '5e9af91a8816b27f1dde14481f7d7f23'
  '0529c5e736a486dcc9bb6a248476c5f8'
+ 'cf4b53f01992db67eba5b80d433db213'
  '20d4d852bda5bfa49ab1e2d0a3ed6d4b'
  '6ab5c59416da42d1779b6234a8816d7d'
  '262d440d4a98c983b324a929be67bbd0'



[arch-commits] Commit in (libpqxx)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:29:36
  Author: andrea
Revision: 77460

sergej will maintain this in [community]

Deleted:
  libpqxx/



[arch-commits] Commit in libpqxx/repos (extra-x86_64)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:28:59
  Author: andrea
Revision: 77459

db-remove: libpqxx removed by andrea

Deleted:
  libpqxx/repos/extra-x86_64/



[arch-commits] Commit in libpqxx/repos (extra-i686)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:28:48
  Author: andrea
Revision: 77458

db-remove: libpqxx removed by andrea

Deleted:
  libpqxx/repos/extra-i686/



[arch-commits] Commit in libzip/repos (extra-x86_64)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:27:25
  Author: andrea
Revision: 77457

archrelease: copy trunk to extra-x86_64

Added:
  libzip/repos/extra-x86_64/



[arch-commits] Commit in libzip/repos (extra-x86_64)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:27:06
  Author: andrea
Revision: 77456

archrelease: remove extra-x86_64

Deleted:
  libzip/repos/extra-x86_64/



[arch-commits] Commit in libzip/repos (extra-i686)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:26:56
  Author: andrea
Revision: 77455

archrelease: copy trunk to extra-i686

Added:
  libzip/repos/extra-i686/



[arch-commits] Commit in libzip/repos (extra-i686)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:26:38
  Author: andrea
Revision: 77454

archrelease: remove extra-i686

Deleted:
  libzip/repos/extra-i686/



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

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 08:26:29
  Author: andrea
Revision: 77453

upgpkg: libzip 0.9.3-1
upstream release

Modified:
  libzip/trunk/PKGBUILD

--+
 PKGBUILD |   25 +++--
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 11:56:19 UTC (rev 77452)
+++ PKGBUILD2010-04-13 12:26:29 UTC (rev 77453)
@@ -1,21 +1,26 @@
 # $Id$
-# Maintainer: Tobias Powalowski 
+# Maintainer: Andrea Scarpino 
+# Contributor: Tobias Powalowski 
 
 pkgname=libzip
-pkgver=0.9
+pkgver=0.9.3
 pkgrel=1
-pkgdesc="libzip is a C library for reading, creating, and modifying zip 
archives"
+pkgdesc="A C library for reading, creating, and modifying zip archives"
 url="http://www.nih.at/libzip/index.html";
 license=('GPL2')
 arch=('i686' 'x86_64')
 depends=('zlib')
-source=(http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz)
-options=(!libtool)
-md5sums=('5b753dfe336f6fe87b0e698b382c3071')
+options=('!libtool')
+source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz";)
+md5sums=('e5fa5d0c5d2ad4c7a0c0fc7f5a1695b9')
 
 build() {
-cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
-make || return 1
-make DESTDIR=$startdir/pkg install
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make || return 1
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
+}



[arch-commits] Commit in coreutils/repos (testing-x86_64)

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 07:56:19
  Author: allan
Revision: 77452

archrelease: copy trunk to testing-x86_64

Added:
  coreutils/repos/testing-x86_64/



[arch-commits] Commit in coreutils/repos (testing-i686)

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 07:54:44
  Author: allan
Revision: 77451

archrelease: copy trunk to testing-i686

Added:
  coreutils/repos/testing-i686/



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

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 07:49:04
  Author: allan
Revision: 77450

upgpkg: coreutils 8.4-3
remove symlink to \[, replaced by provided binary

Modified:
  coreutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 11:05:16 UTC (rev 77449)
+++ PKGBUILD2010-04-13 11:49:04 UTC (rev 77450)
@@ -4,7 +4,7 @@
 
 pkgname=coreutils
 pkgver=8.4
-pkgrel=2
+pkgrel=3
 pkgdesc="The basic file, shell and text manipulation utilities of the GNU 
operating system"
 arch=('i686' 'x86_64')
 license=('GPL3')
@@ -69,6 +69,5 @@
   ln -sf /bin/sleep ${pkgdir}/usr/bin/sleep
 
   mv chroot $pkgdir/usr/sbin
-  ln -sf test [
   install -Dm644 $srcdir/su ${pkgdir}/etc/pam.d/su
 }



[arch-commits] Commit in epiphany-extensions/repos (extra-x86_64)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 07:05:16
  Author: ibiru
Revision: 77449

archrelease: copy trunk to extra-x86_64

Added:
  epiphany-extensions/repos/extra-x86_64/



[arch-commits] Commit in epiphany-extensions/repos (extra-x86_64)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 07:04:59
  Author: ibiru
Revision: 77448

archrelease: remove extra-x86_64

Deleted:
  epiphany-extensions/repos/extra-x86_64/



[arch-commits] Commit in epiphany-extensions/repos (extra-i686)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 07:04:38
  Author: ibiru
Revision: 77447

archrelease: copy trunk to extra-i686

Added:
  epiphany-extensions/repos/extra-i686/



[arch-commits] Commit in epiphany-extensions/repos (extra-i686)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 07:04:22
  Author: ibiru
Revision: 77446

archrelease: remove extra-i686

Deleted:
  epiphany-extensions/repos/extra-i686/



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

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 07:04:11
  Author: ibiru
Revision: 77445

upgpkg: epiphany-extensions 2.30.0-2
rebuild because the location of the extensions changed in epiphany 2.30.2

Modified:
  epiphany-extensions/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 10:44:34 UTC (rev 77444)
+++ PKGBUILD2010-04-13 11:04:11 UTC (rev 77445)
@@ -3,12 +3,12 @@
 
 pkgname=epiphany-extensions
 pkgver=2.30.0
-pkgrel=1
+pkgrel=2
 url="http://www.gnome.org/projects/epiphany/";
 pkgdesc="Various extentions for the Epiphany web browser"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('epiphany>=2.30.0' 'python>=2.6' 'opensp')
+depends=('epiphany>=2.30.2' 'python>=2.6' 'opensp')
 makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.0' 'intltool')
 options=('!libtool' '!emptydirs')
 install=epiphany-extensions.install



[arch-commits] Commit in mysql/trunk (PKGBUILD mysqld mysqld.conf.d)

2010-04-13 Thread Andrea Scarpino
Date: Tuesday, April 13, 2010 @ 06:44:34
  Author: andrea
Revision: 77444

removed conf.d/mysql; mysqld_safe takes datadir from my.cnf

Modified:
  mysql/trunk/PKGBUILD
  mysql/trunk/mysqld
Deleted:
  mysql/trunk/mysqld.conf.d

---+
 PKGBUILD  |   10 +-
 mysqld|9 ++---
 mysqld.conf.d |1 -
 3 files changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 10:32:23 UTC (rev 77443)
+++ PKGBUILD2010-04-13 10:44:34 UTC (rev 77444)
@@ -13,12 +13,11 @@
 makedepends=('tcp_wrappers' 'zlib' 'perl' 'openssl' 'libtool' 'patch')
 options=('!libtool')
 
source=("http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/${pkgbase}-${pkgver}.tar.gz";
-'mysqld' 'my.cnf' 'mysqld.conf.d'
+'mysqld' 'my.cnf'
'fix-charsets.patch')
 md5sums=('06b5deb3a13c7600c38ba65b9f7e42c4'
  'a564aaf42e62da454f27b62b7eaf01d5'
  '5b197896a429537fea7cbe52bbe440bc'
- '0d1e778ddeeaedffa0e63dc3f6e51fc4'
  '117c10003d0df905ce744d62d8c461d4')
 
 build() {
@@ -104,7 +103,7 @@
 
 package_mysql(){
   pkgdesc="A fast SQL database server"
-  backup=('etc/my.cnf' 'etc/mysql/my.cnf' 'etc/conf.d/mysqld')
+  backup=('etc/my.cnf' 'etc/mysql/my.cnf')
   install=mysql.install
   depends=('mysql-clients')
   optdepends=('perl-dbi' 'perl-dbd-mysql')
@@ -113,10 +112,8 @@
   cd ${srcdir}/${pkgbase}-${pkgver}  
   make DESTDIR=${pkgdir} install
 
-  rm -rf ${pkgdir}/usr/{mysql-test,sql-bench,lib,include}
   install -Dm644 ${srcdir}/my.cnf ${pkgdir}/etc/mysql/my.cnf || return 1
   install -Dm755 ${srcdir}/mysqld ${pkgdir}/etc/rc.d/mysqld || return 1
-  install -Dm644 ${srcdir}/mysqld.conf.d ${pkgdir}/etc/conf.d/mysqld || return 
1
 
   # create default MYSQLD_ROOT dir and set mysql rights
   install -d ${pkgdir}/var/lib/mysql || return 1
@@ -128,4 +125,7 @@
   
   # provided by mysql-clients
   rm -f 
${pkgdir}/usr/bin/{mysql,mysqladmin,mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap}
+
+  # not needed
+  rm -rf ${pkgdir}/usr/{mysql-test,sql-bench}
 }

Modified: mysqld
===
--- mysqld  2010-04-13 10:32:23 UTC (rev 77443)
+++ mysqld  2010-04-13 10:44:34 UTC (rev 77444)
@@ -1,10 +1,5 @@
 #!/bin/bash
 
-MYSQLD_ROOT="/var/lib/mysql"
-
-# source application-specific settings
-[ -f /etc/conf.d/mysqld ] && . /etc/conf.d/mysqld
-
 # general config
 . /etc/rc.conf
 . /etc/rc.d/functions
@@ -21,7 +16,7 @@
   chown mysql:mysql /var/run/mysqld &>/dev/null
 fi
 if [ -z "$(getPID)" ]; then
-   /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT &>/dev/null &
+   /usr/bin/mysqld_safe &>/dev/null &
   if [ $? -gt 0 ]; then
 stat_fail
 exit 1
@@ -68,7 +63,7 @@
 
   restart)
 $0 stop
-sleep 3
+sleep 5
 $0 start
 ;;
   *)

Deleted: mysqld.conf.d
===
--- mysqld.conf.d   2010-04-13 10:32:23 UTC (rev 77443)
+++ mysqld.conf.d   2010-04-13 10:44:34 UTC (rev 77444)
@@ -1 +0,0 @@
-#MYSQLD_ROOT="/var/lib/mysql"



[arch-commits] Commit in syslog-ng/repos (core-x86_64 testing-x86_64)

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 06:32:23
  Author: allan
Revision: 77443

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

Added:
  syslog-ng/repos/core-x86_64/
Deleted:
  syslog-ng/repos/testing-x86_64/



[arch-commits] Commit in syslog-ng/repos (core-x86_64)

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 06:32:22
  Author: allan
Revision: 77442

db-move: syslog-ng removed by allan for move to core

Deleted:
  syslog-ng/repos/core-x86_64/



[arch-commits] Commit in syslog-ng/repos (core-i686 testing-i686)

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 06:32:12
  Author: allan
Revision: 77441

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

Added:
  syslog-ng/repos/core-i686/
Deleted:
  syslog-ng/repos/testing-i686/



[arch-commits] Commit in syslog-ng/repos (core-i686)

2010-04-13 Thread Allan McRae
Date: Tuesday, April 13, 2010 @ 06:32:12
  Author: allan
Revision: 77440

db-move: syslog-ng removed by allan for move to core

Deleted:
  syslog-ng/repos/core-i686/



[arch-commits] Commit in libtorrent-rasterbar/repos (extra-x86_64)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 05:58:13
  Author: ibiru
Revision: 77439

archrelease: copy trunk to extra-x86_64

Added:
  libtorrent-rasterbar/repos/extra-x86_64/



[arch-commits] Commit in libtorrent-rasterbar/repos (extra-x86_64)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 05:57:57
  Author: ibiru
Revision: 77438

archrelease: remove extra-x86_64

Deleted:
  libtorrent-rasterbar/repos/extra-x86_64/



[arch-commits] Commit in libtorrent-rasterbar/repos (extra-i686)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 05:57:41
  Author: ibiru
Revision: 77437

archrelease: copy trunk to extra-i686

Added:
  libtorrent-rasterbar/repos/extra-i686/



[arch-commits] Commit in libtorrent-rasterbar/repos (extra-i686)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 05:57:24
  Author: ibiru
Revision: 77436

archrelease: remove extra-i686

Deleted:
  libtorrent-rasterbar/repos/extra-i686/



[arch-commits] Commit in libtorrent-rasterbar/trunk (PKGBUILD disable-valloc.dpatch)

2010-04-13 Thread Ionut Biru
Date: Tuesday, April 13, 2010 @ 05:57:06
  Author: ibiru
Revision: 77435

upgpkg: libtorrent-rasterbar 0.15.0-4
change the memory allocation to posix_memalign()  instead of valloc(), fixes 
FS#19072

Added:
  libtorrent-rasterbar/trunk/disable-valloc.dpatch
Modified:
  libtorrent-rasterbar/trunk/PKGBUILD

---+
 PKGBUILD  |   15 ---
 disable-valloc.dpatch |   15 +++
 2 files changed, 23 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-13 02:00:28 UTC (rev 77434)
+++ PKGBUILD2010-04-13 09:57:06 UTC (rev 77435)
@@ -5,22 +5,23 @@
 
 pkgname=libtorrent-rasterbar
 pkgver=0.15.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A C++ library that aims to be a good alternative to all the other 
bittorrent implementations around"
 url="http://www.rasterbar.com/products/libtorrent/";
 arch=('i686' 'x86_64')
 license=('custom')
-depends=('libsigc++2.0' 'boost>=1.41.0' 'python>=2.6')
-source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('e1a79045ad041dd82850d2255037108bb17dcbe9a9a8819169a2624b72667db0')
+depends=('boost>=1.41.0' 'python>=2.6')
+source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
+   disable-valloc.dpatch)
+sha256sums=('e1a79045ad041dd82850d2255037108bb17dcbe9a9a8819169a2624b72667db0'
+   'ab05b0f9f6fe4d865cf1d440a67b43be8d8ecae2117ca5f79291c17574d3f8d2')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/disable-valloc.dpatch" || return 1
   ./configure --prefix=/usr --enable-python-binding \
   --with-boost-filesystem=mt \
-  --with-boost-thread=mt \
-  --with-boost-regex=mt \
-  --with-boost-program_options=mt || return 1
+  --with-boost-thread=mt || return 1
   make || return 1
   make DESTDIR="${pkgdir}" install || return 1
   install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"

Added: disable-valloc.dpatch
===
--- disable-valloc.dpatch   (rev 0)
+++ disable-valloc.dpatch   2010-04-13 09:57:06 UTC (rev 77435)
@@ -0,0 +1,15 @@
+Index: libtorrent-rasterbar-0.15.0/configure
+===
+--- libtorrent-rasterbar-0.15.0.orig/configure 2010-03-31 14:32:43.088649904 
-0700
 libtorrent-rasterbar-0.15.0/configure  2010-03-31 14:35:23.284694490 
-0700
+@@ -15297,8 +15297,8 @@
+ fi
+ 
+ 
+-
+-
++# Use posix_memalign() instead of valloc() to avoid issues with eglibc
++$as_echo "#define TORRENT_USE_POSIX_MEMALIGN 1" >>confdefs.h
+ 
+ # Check whether --with-boost-system was given.
+ if test "${with_boost_system+set}" = set; then :