update to drush-8.3.5
This commit is contained in:
parent
e7953505df
commit
cb756d7132
@ -1,18 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2020/03/22 18:13:36 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2020/07/06 11:17:46 sthen Exp $
|
||||
|
||||
COMMENT = command line access to most of Drupal
|
||||
|
||||
CATEGORIES = www devel
|
||||
|
||||
V= 8.0.3
|
||||
REVISION= 4
|
||||
DISTNAME= drush-$V
|
||||
EXTRACT_SUFX= -deps.tar.xz
|
||||
DISTNAME= drush-8.3.5
|
||||
|
||||
HOMEPAGE= http://www.drush.org/
|
||||
HOMEPAGE= https://www.drush.org/
|
||||
|
||||
# packaged from github/drush-ops/drush tag 8.0.3 plus dependencies
|
||||
# fetched using "composer install" as of 20160227
|
||||
# packaged from https://github.com/drush-ops/drush/tree/8.3.5
|
||||
# plus dependencies fetched using "composer install" as of 20200615
|
||||
MASTER_SITES= https://spacehopper.org/mirrors/
|
||||
|
||||
MODULES= lang/php
|
||||
@ -27,12 +24,9 @@ SUBST_VARS= MODPHP_BIN
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/libexec/drush
|
||||
cp -R ${WRKDIST}/* ${PREFIX}/libexec/drush
|
||||
rm ${PREFIX}/libexec/drush/drush
|
||||
rm ${PREFIX}/libexec/drush/drush.bat
|
||||
rm -r ${PREFIX}/libexec/drush/tests
|
||||
cd ${PREFIX}/libexec/drush; \
|
||||
rm drush includes/environment.inc.orig; \
|
||||
rm -r ${PREFIX}/libexec/drush/tests
|
||||
${SUBST_CMD} -m 555 -c ${FILESDIR}/drush ${PREFIX}/bin/drush
|
||||
find ${PREFIX}/libexec/drush \
|
||||
-name '*.orig' -exec rm {} + -o \
|
||||
-name '.git' -type d -prune -exec rm -rf {} +
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (drush-8.0.3-deps.tar.xz) = VQoJiNhFA9f86p3y1BiFz07lyG8R+W/Voeg+nDn9gbQ=
|
||||
SIZE (drush-8.0.3-deps.tar.xz) = 2132756
|
||||
SHA256 (drush-8.3.5.tar.gz) = Lk0BP2NmQJlE06O5Go/E8FheD9D1T9Akqrq5X2rFU5k=
|
||||
SIZE (drush-8.3.5.tar.gz) = 2268205
|
||||
|
@ -1,12 +1,34 @@
|
||||
$OpenBSD: patch-includes_environment_inc,v 1.3 2016/02/27 17:15:24 sthen Exp $
|
||||
--- includes/environment.inc.orig Sat Feb 27 13:52:16 2016
|
||||
+++ includes/environment.inc Sat Feb 27 13:52:26 2016
|
||||
@@ -534,7 +534,7 @@ function drush_is_mingw($os = NULL) {
|
||||
$OpenBSD: patch-includes_environment_inc,v 1.4 2020/07/06 11:17:47 sthen Exp $
|
||||
|
||||
Index: includes/environment.inc
|
||||
--- includes/environment.inc.orig
|
||||
+++ includes/environment.inc
|
||||
@@ -531,7 +531,12 @@ function drush_is_mingw($os = NULL) {
|
||||
* Return tar executable name specific for the current OS
|
||||
*/
|
||||
function drush_get_tar_executable() {
|
||||
- return drush_is_windows() ? (drush_is_mingw() ? "tar.exe" : "bsdtar.exe") : "tar";
|
||||
+ return drush_is_windows() ? (drush_is_mingw() ? "tar.exe" : "bsdtar.exe") : "gtar";
|
||||
+ if drush_is_openbsd() {
|
||||
+ return 'gtar';
|
||||
+ }
|
||||
+ else {
|
||||
+ return drush_is_windows() ? (drush_is_mingw() ? "tar.exe" : "bsdtar.exe") : "tar";
|
||||
+ }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -540,6 +545,14 @@ function drush_get_tar_executable() {
|
||||
*/
|
||||
function drush_is_osx($os = NULL) {
|
||||
return _drush_test_os($os, array("DARWIN"));
|
||||
+}
|
||||
+
|
||||
+/**
|
||||
+ * Check if the operating system is OS X.
|
||||
+ * This will return TRUE for Mac OS X (Darwin).
|
||||
+ */
|
||||
+function drush_is_openbsd($os = NULL) {
|
||||
+ return _drush_test_os($os, array("OPENBSD"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
1255
www/drush/pkg/PLIST
1255
www/drush/pkg/PLIST
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user