Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d87e3b0d0e5ebce80251d2ebeb7eb18cc7e760bb
commit d87e3b0d0e5ebce80251d2ebeb7eb18cc7e760bb Author: CSÃCSY László <[email protected]> Date: Sun Jun 6 20:34:46 2010 +0200 drush-3.0-1-i686 bah, forgot to add vmiklos' patch diff --git a/source/devel-extra/drush/FrugalBuild b/source/devel-extra/drush/FrugalBuild index 4abe9fe..a206596 100644 --- a/source/devel-extra/drush/FrugalBuild +++ b/source/devel-extra/drush/FrugalBuild @@ -10,11 +10,14 @@ rodepends=('php-pear-console_table') groups=('devel-extra') archs=('i686') up2date="lynx -dump http://drupal.org/project/drush | grep All-versions.*tar | sed 's/.*versions-\(.*\)\.tar\.gz.*/\1/'" -source=(http://ftp.drupal.org/files/projects/$pkgname-All-versions-$pkgver.tar.gz) -sha1sums=('3da83721e0ceea887ae8c88349cf89b3b16b2da6') +source=(http://ftp.drupal.org/files/projects/$pkgname-All-versions-$pkgver.tar.gz drush-chown-after-untar2.patch) +sha1sums=('3da83721e0ceea887ae8c88349cf89b3b16b2da6' \ + 'e28972464102755cebb7938f8543ba06bfd06be6') +_F_cd_path=$pkgname build() { + Fpatchall Fmkdir /usr/share Fcp $pkgname /usr/share Fln /usr/share/$pkgname/$pkgname /usr/bin/$pkgname diff --git a/source/devel-extra/drush/drush-chown-after-untar2.patch b/source/devel-extra/drush/drush-chown-after-untar2.patch new file mode 100644 index 0000000..5175a4a --- /dev/null +++ b/source/devel-extra/drush/drush-chown-after-untar2.patch @@ -0,0 +1,13 @@ +diff --git a/commands/pm/package_handler/wget.inc b/commands/pm/package_handler/wget.inc +index c9be664..cf9a695 100644 +--- a/commands/pm/package_handler/wget.inc ++++ b/commands/pm/package_handler/wget.inc +@@ -53,6 +53,8 @@ function package_handler_install_project(&$project, $release) { + + // Untar + drush_shell_exec("tar -xf $tarpath"); ++ $buf = stat("."); ++ drush_shell_exec("chown -R ". $buf["uid"] .":". $buf["gid"] ." ."); + // We're not using tar -xzf because that's not working on windows... + + // Handle the dodgy directory used by the drupal project' packaging script.
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
