Bug 156885 - [PATCH] www/drush: update to 4.4
Summary: [PATCH] www/drush: update to 4.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 16:30 UTC by geoffroy desvernay
Modified: 2011-06-02 21:50 UTC (History)
1 user (show)

See Also:


Attachments
drush-4.4.patch (8.02 KB, patch)
2011-05-08 16:30 UTC, geoffroy desvernay
no flags Details | Diff
drush-4.4.patch (8.40 KB, patch)
2011-05-23 10:00 UTC, geoffroy desvernay
no flags Details | Diff
drush-4.4.patch (8.40 KB, patch)
2011-05-23 10:27 UTC, geoffroy desvernay
no flags Details | Diff
drush-4.4.patch (8.45 KB, patch)
2011-05-26 16:53 UTC, root
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description geoffroy desvernay 2011-05-08 16:30:07 UTC
- Update to 4.4

Removed file(s):
- files/patch-drush

Port maintainer (freebsduser@paradisegreen.co.uk) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-08 16:30:16 UTC
Maintainer of www/drush,

Please note that PR ports/156885 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156885

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-08 16:30:20 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 geoffroy desvernay 2011-05-12 23:27:27 UTC
>Submitter-Id:	current-users
>Originator:	Geoffroy Desvernay
>Organization:	Ecole Centrale de Marseille
>Confidential:	no 
>Synopsis:	Re: ports/156885: [PATCH] www/drush: update to 4.4, take maintainership
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		update
>Release:	FreeBSD 8.2-RELEASE-p1 amd64
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Fri Apr 22 01:04:23 CEST 2011
>Description:
- Update to 4.4
- Take maintainership

Removed file(s):
- files/patch-drush

Port maintainer (freebsduser@paradisegreen.co.uk) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- drush-4.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/drush.orig/Makefile /usr/ports/www/drush/Makefile
--- /usr/ports/www/drush.orig/Makefile	2010-05-02 10:30:09.000000000 +0200
+++ /usr/ports/www/drush/Makefile	2011-05-13 00:22:54.000000000 +0200
@@ -6,14 +6,18 @@
 #
 
 PORTNAME=	drush
-PORTVERSION=	3.0
+PORTVERSION=	4.4
 CATEGORIES=	www
 MASTER_SITES=	http://ftp.drupal.org/files/projects/
-DISTNAME=	drush-All-versions-${PORTVERSION}
+DISTNAME=	drush-7.x-${PORTVERSION}
 
-MAINTAINER=	freebsduser@paradisegreen.co.uk
+MAINTAINER=	dgeo@centrale-marseille.fr
 COMMENT=	Drupal command line and scripting interface
 
+RUN_DEPENDS=	${PEARDIR}/Table.php:${PORTSDIR}/devel/pear-Console_Table
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
 NO_BUILD=	yes
 
 # set php requirements same as drupal itself
@@ -30,7 +34,8 @@
 
 do-install:
 	${MKDIR} ${DATADIR}
-	( cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR} '! ( -name drush -or -name drush.bat -or -name *.orig -or -name *.bak )' )
-	${INSTALL_SCRIPT} ${WRKSRC}/drush ${PREFIX}/bin
+	( cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR} '! ( -name drush.bat -or -name *.orig -or -name *.bak -or -name .gitignore -or -name LICENSE.txt )' )
+	${CHMOD} 755 ${DATADIR}/drush
+	${LN} -s ${DATADIR}/drush ${PREFIX}/bin/drush
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/www/drush.orig/distinfo /usr/ports/www/drush/distinfo
--- /usr/ports/www/drush.orig/distinfo	2011-03-19 13:34:08.000000000 +0100
+++ /usr/ports/www/drush/distinfo	2011-05-08 15:37:01.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (drush-All-versions-3.0.tar.gz) = 2112ab5a9b6c9ad9947c85f99a1a56dd1db40d4bb69d0cf962b84e6bd95c4207
-SIZE (drush-All-versions-3.0.tar.gz) = 171892
+SIZE (drush-7.x-4.4.tar.gz) = 253012
+SHA256 (drush-7.x-4.4.tar.gz) = f6af5d259c169d0b3738568c9a8d114c8958df6deb5440fce3b5842e753fc88f
diff -ruN --exclude=CVS /usr/ports/www/drush.orig/files/patch-drush /usr/ports/www/drush/files/patch-drush
--- /usr/ports/www/drush.orig/files/patch-drush	2010-05-02 10:30:09.000000000 +0200
+++ /usr/ports/www/drush/files/patch-drush	1970-01-01 01:00:00.000000000 +0100
@@ -1,57 +0,0 @@
---- drush.orig	2010-04-29 21:25:16.000000000 +0100
-+++ drush	2010-04-29 21:32:18.000000000 +0100
-@@ -1,51 +1,16 @@
--#!/usr/bin/env sh
-+#!/bin/sh
- # $Id: drush,v 1.17 2010/04/14 22:29:33 weitzman Exp $
- #
- # This script is a simple wrapper that will run Drush with the most appropriate
- # php executable it can find.
- #
- 
--# Get the absolute path of this executable
--ORIGDIR=$(pwd)
--SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH=$SELF_PATH/$(basename -- "$0")
--
--# Resolve symlinks - this is the equivalent of "readlink -f", but also works with non-standard OS X readlink.
--while [ -h $SELF_PATH ]; do
--    # 1) cd to directory of the symlink
--    # 2) cd to the directory of where the symlink points
--    # 3) Get the pwd
--    # 4) Append the basename
--    DIR=$(dirname -- "$SELF_PATH")
--    SYM=$(readlink $SELF_PATH)
--    SELF_PATH=$(cd $DIR && cd $(dirname -- "$SYM") && pwd)/$(basename -- "$SYM")
--done
--cd "$ORIGDIR"
--
- # Build the path to drush.php.
--SCRIPT_PATH=$(dirname $SELF_PATH)/drush.php
--case $(uname -a) in
--  CYGWIN*)
--    SCRIPT_PATH=$(cygpath -w -a -- "$SCRIPT_PATH") ;;
--esac
-+SCRIPT_PATH=XXXDATADIRXXX/drush.php
- 
- # If not exported and term is set determine and export the number of columns.
- if [ -z $COLUMNS ] && [ -n "$TERM" ]; then
-   export COLUMNS=$(tput cols)
- fi
- 
--# Special case for *AMP installers, since they normally don't set themselves as the default cli php out of the box.
--for php in /Applications/MAMP/bin/php5/bin/php /opt/lampp/bin/php /Applications/xampp/xamppfiles/bin/php /Applications/acquia-drupal/php/bin/php; do 
--  if [ -x $php ]; then
--    exec $php $SCRIPT_PATH --php="$php" "$@"
--  fi
--done
--
--# We check for a command line (cli) version of php, and if found use that.
--which php-cli >/dev/null 2>&1
--if [ "$?" = 0 ] ; then
--  exec php-cli $SCRIPT_PATH --php="php-cli" "$@"
--else
--  # Alternatively we run with straight php, which works on most other systems.
--  # The --php=`which php` is for Dreamhost, which behaves oddly.  See http://drupal.org/node/662926
--  exec php $SCRIPT_PATH --php=`which php` "$@"
--fi
-+exec php $SCRIPT_PATH --php=`which php` "$@"
diff -ruN --exclude=CVS /usr/ports/www/drush.orig/pkg-plist /usr/ports/www/drush/pkg-plist
--- /usr/ports/www/drush.orig/pkg-plist	2010-05-02 10:30:09.000000000 +0200
+++ /usr/ports/www/drush/pkg-plist	2011-05-13 00:23:40.000000000 +0200
@@ -1,44 +1,65 @@
 bin/drush
-%%DATADIR%%/LICENSE.txt
 %%DATADIR%%/README.txt
+%%DATADIR%%/commands/core/clear.cache.inc
+%%DATADIR%%/commands/core/core.drush.inc
+%%DATADIR%%/commands/core/docs.drush.inc
 %%DATADIR%%/commands/core/drupal/batch_6.inc
 %%DATADIR%%/commands/core/drupal/batch_7.inc
 %%DATADIR%%/commands/core/drupal/environment_5.inc
 %%DATADIR%%/commands/core/drupal/environment_6.inc
 %%DATADIR%%/commands/core/drupal/environment_7.inc
+%%DATADIR%%/commands/core/drupal/site_install_6.inc
+%%DATADIR%%/commands/core/drupal/site_install_7.inc
 %%DATADIR%%/commands/core/drupal/update_5.inc
 %%DATADIR%%/commands/core/drupal/update_6.inc
 %%DATADIR%%/commands/core/drupal/update_7.inc
-%%DATADIR%%/commands/core/clear.cache.inc
-%%DATADIR%%/commands/core/core.drush.inc
+%%DATADIR%%/commands/core/field.drush.inc
+%%DATADIR%%/commands/core/help.drush.inc
+%%DATADIR%%/commands/core/image.drush.inc
 %%DATADIR%%/commands/core/rsync.core.inc
 %%DATADIR%%/commands/core/scratch.php
 %%DATADIR%%/commands/core/search.drush.inc
 %%DATADIR%%/commands/core/site_install.drush.inc
 %%DATADIR%%/commands/core/sitealias.drush.inc
+%%DATADIR%%/commands/core/test.drush.inc
+%%DATADIR%%/commands/core/topic.drush.inc
 %%DATADIR%%/commands/core/upgrade.drush.inc
 %%DATADIR%%/commands/core/variable.drush.inc
 %%DATADIR%%/commands/core/watchdog.drush.inc
-%%DATADIR%%/commands/pm/package_handler/wget.inc
 %%DATADIR%%/commands/pm/package_handler/cvs.inc
+%%DATADIR%%/commands/pm/package_handler/git_drupalorg.inc
+%%DATADIR%%/commands/pm/package_handler/wget.inc
 %%DATADIR%%/commands/pm/pm.drush.inc
-%%DATADIR%%/commands/pm/updatecode.pm.inc
 %%DATADIR%%/commands/pm/update_info/drupal_5.inc
 %%DATADIR%%/commands/pm/update_info/drupal_6.inc
 %%DATADIR%%/commands/pm/update_info/drupal_7.inc
+%%DATADIR%%/commands/pm/updatecode.pm.inc
 %%DATADIR%%/commands/pm/version_control/backup.inc
 %%DATADIR%%/commands/pm/version_control/bzr.inc
 %%DATADIR%%/commands/pm/version_control/svn.inc
 %%DATADIR%%/commands/sql/sql.drush.inc
 %%DATADIR%%/commands/sql/sync.sql.inc
-%%DATADIR%%/drush.api.php
+%%DATADIR%%/commands/user/user.drush.inc
+%%DATADIR%%/docs/bootstrap.html
+%%DATADIR%%/docs/commands.html
+%%DATADIR%%/docs/context.html
+%%DATADIR%%/docs/drush.api.php
+%%DATADIR%%/docs/shellscripts.html
+%%DATADIR%%/docs/upgrade.html
 %%DATADIR%%/drush.info
 %%DATADIR%%/drush.php
+%%DATADIR%%/drush
 %%DATADIR%%/drush_logo-black.png
 %%DATADIR%%/examples/example.aliases.drushrc.php
+%%DATADIR%%/examples/example.bashrc
+%%DATADIR%%/examples/example.drush.ini
 %%DATADIR%%/examples/example.drushrc.php
+%%DATADIR%%/examples/helloworld.script
+%%DATADIR%%/examples/policy.drush.inc
+%%DATADIR%%/examples/sandwich-topic.txt
 %%DATADIR%%/examples/sandwich.drush.inc
 %%DATADIR%%/examples/sandwich.txt
+%%DATADIR%%/examples/xkcd.drush.inc
 %%DATADIR%%/includes/backend.inc
 %%DATADIR%%/includes/batch.inc
 %%DATADIR%%/includes/command.inc
@@ -46,14 +67,16 @@
 %%DATADIR%%/includes/drush.inc
 %%DATADIR%%/includes/environment.inc
 %%DATADIR%%/includes/sitealias.inc
-@dirrmtry %%DATADIR%%/includes
-@dirrmtry %%DATADIR%%/examples
-@dirrmtry %%DATADIR%%/commands/sql
-@dirrmtry %%DATADIR%%/commands/pm/version_control
-@dirrmtry %%DATADIR%%/commands/pm/update_info
-@dirrmtry %%DATADIR%%/commands/pm/package_handler
-@dirrmtry %%DATADIR%%/commands/pm
-@dirrmtry %%DATADIR%%/commands/core/drupal
-@dirrmtry %%DATADIR%%/commands/core
-@dirrmtry %%DATADIR%%/commands
-@dirrmtry %%DATADIR%%
+@dirrm %%DATADIR%%/includes
+@dirrm %%DATADIR%%/examples
+@dirrm %%DATADIR%%/docs
+@dirrm %%DATADIR%%/commands/user
+@dirrm %%DATADIR%%/commands/sql
+@dirrm %%DATADIR%%/commands/pm/version_control
+@dirrm %%DATADIR%%/commands/pm/update_info
+@dirrm %%DATADIR%%/commands/pm/package_handler
+@dirrm %%DATADIR%%/commands/pm
+@dirrm %%DATADIR%%/commands/core/drupal
+@dirrm %%DATADIR%%/commands/core
+@dirrm %%DATADIR%%/commands
+@dirrm %%DATADIR%%
--- drush-4.4.patch ends here ---
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2011-05-13 04:59:48 UTC
State Changed
From-To: feedback->open

From misfiled PR ports/156989: 

Date: Fri, 13 May 2011 00:40:07 +0200 
Comment 5 Thomas Sandford 2011-05-13 14:00:23 UTC
I approve this (2nd) patch, including the maintainership change to 
dgeo@centrale-marseille.fr

-- 
Thomas Sandford
Comment 6 geoffroy desvernay 2011-05-23 10:00:23 UTC
A little change added: WANT_PHP_CLI instead of WANT_PHP_WEB...
Now, in this patch:

Removed file(s):
- files/patch-drush
- Update to 4.4
- Take maintainership (already approved by freebsduser@paradisegreen.co.uk)
- Licence + pear-Console_Table dependency from ports/153251 (which can
be closed too)
- WANT_PHP_CLI

May some commiter have a look and commit ?

Thanks !
Comment 7 geoffroy desvernay 2011-05-23 10:27:05 UTC
White line missing beetween RUN_DEPENDS and LICENCE to avoid portlint's
warning

Now, in this patch:

Removed file(s):
- files/patch-drush
- Update to 4.4
- Take maintainership (already approved by freebsduser@paradisegreen.co.uk)
- Licence + pear-Console_Table dependency from ports/153251 (which can
be closed too)
- WANT_PHP_CLI

May some commiter have a look and commit ?

Thanks !
Comment 8 root 2011-05-26 16:53:44 UTC
Add missing dependency for ctype php module...

Now, in this patch:

Removed file(s):
- files/patch-drush
- Update to 4.4
- Take maintainership (already approved by freebsduser@paradisegreen.co.uk)
- Licence + pear-Console_Table dependency from ports/153251 (which can
be closed too)
- WANT_PHP_CLI
- ctype module dependency
Comment 9 geoffroy desvernay 2011-05-26 18:01:14 UTC
Last patch did not have the good sender address... It was from me.
Comment 10 Thomas Sandford 2011-06-02 10:47:10 UTC
As current/outgoing maintainer, I approve the latest (patch-5.diff / 26 
May 2011) version of this patch.

-- 
Thomas Sandford
Comment 11 Pav Lucistnik freebsd_committer freebsd_triage 2011-06-02 21:09:29 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 12 dfilter service freebsd_committer freebsd_triage 2011-06-02 21:41:23 UTC
pav         2011-06-02 20:41:14 UTC

  FreeBSD ports repository

  Modified files:
    www/drush            Makefile distinfo pkg-plist 
  Removed files:
    www/drush/files      patch-drush 
  Log:
  - Update to 4.4
  - Transfer maintainership to the submitter
  
  PR:             ports/156885
  Submitted by:   geoffroy desvernay <dgeo@centrale-marseille.fr>
  Approved by:    Thomas Sandford <freebsduser@paradisegreen.co.uk> (maintainer)
  
  Revision  Changes    Path
  1.2       +13 -7     ports/www/drush/Makefile
  1.3       +2 -2      ports/www/drush/distinfo
  1.2       +0 -57     ports/www/drush/files/patch-drush (dead)
  1.2       +40 -17    ports/www/drush/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"