Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d28127917563934a1e8ed022528f915a0262a4c3
commit d28127917563934a1e8ed022528f915a0262a4c3 Author: CSÃCSY László <[email protected]> Date: Sat Mar 31 17:02:03 2012 +0200 drush-5.0-1-x86_64 version bump diff --git a/source/devel-extra/drush/FrugalBuild b/source/devel-extra/drush/FrugalBuild index 981fd43..590f11c 100644 --- a/source/devel-extra/drush/FrugalBuild +++ b/source/devel-extra/drush/FrugalBuild @@ -2,7 +2,7 @@ # Maintainer: CSÉCSY László <[email protected]> pkgname=drush -pkgver=4.5 +pkgver=5.0 pkgrel=1 pkgdesc="A command line shell and Unix scripting interface for Drupal" url="http://drupal.org/project/drush" @@ -11,8 +11,10 @@ groups=('devel-extra') archs=('i686' 'x86_64') up2date="lynx -dump http://drupal.org/project/drush | grep -i drush.*tar.gz -m1 | sed 's/.*\.x-\(.*\)\.tar.*/\1/;y/-/_/'" source=(http://ftp.drupal.org/files/projects/$pkgname-7.x-$pkgver.tar.gz drush-chown-after-untar2.patch) -sha1sums=('81446d1bc61dc47a19050f809faa336633aeef17' \ - '76344c4804110f3551f8660d197714e6dfbf942e') +sha1sums=('b6eda032a82876376b59a3668902ab60c53180ce' \ + '4dc9c085ef8d7d86b4bc10c0c2465e7b218946b3') +replaces=('drush_make') +conflicts=('drush_make') _F_cd_path=$pkgname build() @@ -21,6 +23,7 @@ build() Fmkdir /usr/share Fcp $pkgname /usr/share Fln /usr/share/$pkgname/$pkgname /usr/bin/$pkgname + Fln /usr/share/$pkgname/$pkgname.complete.sh /etc/bash_completion.d/$pkgname Fdoc $pkgname/LICENSE.txt } diff --git a/source/devel-extra/drush/drush-chown-after-untar2.patch b/source/devel-extra/drush/drush-chown-after-untar2.patch index c283c7d..d93664f 100644 --- a/source/devel-extra/drush/drush-chown-after-untar2.patch +++ b/source/devel-extra/drush/drush-chown-after-untar2.patch @@ -1,10 +1,10 @@ diff -Naur drush-orig/commands/pm/package_handler/wget.inc drush/commands/pm/package_handler/wget.inc ---- drush-orig/commands/pm/package_handler/wget.inc 2011-08-12 02:53:09.000000000 +0200 -+++ drush/commands/pm/package_handler/wget.inc 2011-08-13 11:35:42.882702605 +0200 -@@ -73,6 +73,9 @@ +--- drush-orig/commands/pm/package_handler/wget.inc 2012-03-23 21:19:27.000000000 +0100 ++++ drush/commands/pm/package_handler/wget.inc 2012-03-31 16:32:40.553052565 +0200 +@@ -70,6 +70,9 @@ + // Extract the tarball. - $file_list = drush_tarball_extract($filename, $request['base_project_path'], TRUE); - drush_op('unlink', $filename); + $file_list = drush_tarball_extract($path, $request['base_project_path'], TRUE); + $drupal_root = getcwd(); + $buf = stat($drupal_root); + drush_shell_exec("chown -R %s:%s %s", $buf["uid"], $buf["gid"], $request['base_project_path']);
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
