summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/Makefile3
-rw-r--r--shells/bash/distinfo1
-rw-r--r--shells/bash/files/patch-bashline.c26
-rw-r--r--shells/bash2/Makefile3
-rw-r--r--shells/bash2/distinfo1
-rw-r--r--shells/bash2/files/patch-bashline.c26
-rw-r--r--shells/bash3/Makefile3
-rw-r--r--shells/bash3/distinfo1
-rw-r--r--shells/bash3/files/patch-bashline.c26
9 files changed, 12 insertions, 78 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 55ea04e..643a522 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -17,6 +17,9 @@ MASTER_SITE_SUBDIR= bash
DISTFILES= bash-${PORTVERSION}.tar.gz bash-doc-${PORTVERSION}.tar.gz
.endif
+PATCH_SITES= ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/
+PATCHFILES= bash205b-003
+
MAINTAINER= obrien@FreeBSD.org
.include <bsd.port.pre.mk>
diff --git a/shells/bash/distinfo b/shells/bash/distinfo
index e650968..6d4f0fb 100644
--- a/shells/bash/distinfo
+++ b/shells/bash/distinfo
@@ -1,2 +1,3 @@
MD5 (bash-2.05b.tar.gz) = 5238251b4926d778dfe162f6ce729733
MD5 (bash-doc-2.05b.tar.gz) = 511b2d07f0f401f686e8edc551a8e47f
+MD5 (bash205b-003) = 2828e78563927b806246e2b4806ee0f5
diff --git a/shells/bash/files/patch-bashline.c b/shells/bash/files/patch-bashline.c
index dc6828a8..24b7430 100644
--- a/shells/bash/files/patch-bashline.c
+++ b/shells/bash/files/patch-bashline.c
@@ -1,31 +1,5 @@
--- bashline.c.deo Tue May 7 12:52:42 2002
+++ bashline.c Sun Sep 8 18:17:30 2002
-@@ -1044,6 +1044,7 @@
- }
- else
- {
-+#define CMD_IS_DIR(x) (absolute_pathname(x) == 0 && *(x) != '~' && test_for_directory (x))
- matches = rl_completion_matches (text, command_word_completion_function);
- /* If we are attempting command completion and nothing matches, we
- do not want readline to perform filename completion for us. We
-@@ -1052,7 +1053,7 @@
- filenames and leave directories in the match list. */
- if (matches == (char **)NULL)
- rl_ignore_some_completions_function = bash_ignore_filenames;
-- else if (matches[1] == 0 && *matches[0] != '/')
-+ else if (matches[1] == 0 && CMD_IS_DIR(matches[0]))
- /* Turn off rl_filename_completion_desired so readline doesn't
- append a slash if there is a directory with the same name
- in the current directory, or other filename-specific things.
-@@ -1061,7 +1062,7 @@
- looking in the current directory anyway, so there's no
- conflict. */
- rl_filename_completion_desired = 0;
-- else if (matches[0] && matches[1] && STREQ (matches[0], matches[1]) && *matches[0] != '/')
-+ else if (matches[0] && matches[1] && STREQ (matches[0], matches[1]) && CMD_IS_DIR (matches[0]))
- /* There are multiple instances of the same match (duplicate
- completions haven't yet been removed). In this case, all of
- the matches will be the same, and the duplicate removal code
@@ -1873,10 +1874,6 @@
}
}
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 55ea04e..643a522 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -17,6 +17,9 @@ MASTER_SITE_SUBDIR= bash
DISTFILES= bash-${PORTVERSION}.tar.gz bash-doc-${PORTVERSION}.tar.gz
.endif
+PATCH_SITES= ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/
+PATCHFILES= bash205b-003
+
MAINTAINER= obrien@FreeBSD.org
.include <bsd.port.pre.mk>
diff --git a/shells/bash2/distinfo b/shells/bash2/distinfo
index e650968..6d4f0fb 100644
--- a/shells/bash2/distinfo
+++ b/shells/bash2/distinfo
@@ -1,2 +1,3 @@
MD5 (bash-2.05b.tar.gz) = 5238251b4926d778dfe162f6ce729733
MD5 (bash-doc-2.05b.tar.gz) = 511b2d07f0f401f686e8edc551a8e47f
+MD5 (bash205b-003) = 2828e78563927b806246e2b4806ee0f5
diff --git a/shells/bash2/files/patch-bashline.c b/shells/bash2/files/patch-bashline.c
index dc6828a8..24b7430 100644
--- a/shells/bash2/files/patch-bashline.c
+++ b/shells/bash2/files/patch-bashline.c
@@ -1,31 +1,5 @@
--- bashline.c.deo Tue May 7 12:52:42 2002
+++ bashline.c Sun Sep 8 18:17:30 2002
-@@ -1044,6 +1044,7 @@
- }
- else
- {
-+#define CMD_IS_DIR(x) (absolute_pathname(x) == 0 && *(x) != '~' && test_for_directory (x))
- matches = rl_completion_matches (text, command_word_completion_function);
- /* If we are attempting command completion and nothing matches, we
- do not want readline to perform filename completion for us. We
-@@ -1052,7 +1053,7 @@
- filenames and leave directories in the match list. */
- if (matches == (char **)NULL)
- rl_ignore_some_completions_function = bash_ignore_filenames;
-- else if (matches[1] == 0 && *matches[0] != '/')
-+ else if (matches[1] == 0 && CMD_IS_DIR(matches[0]))
- /* Turn off rl_filename_completion_desired so readline doesn't
- append a slash if there is a directory with the same name
- in the current directory, or other filename-specific things.
-@@ -1061,7 +1062,7 @@
- looking in the current directory anyway, so there's no
- conflict. */
- rl_filename_completion_desired = 0;
-- else if (matches[0] && matches[1] && STREQ (matches[0], matches[1]) && *matches[0] != '/')
-+ else if (matches[0] && matches[1] && STREQ (matches[0], matches[1]) && CMD_IS_DIR (matches[0]))
- /* There are multiple instances of the same match (duplicate
- completions haven't yet been removed). In this case, all of
- the matches will be the same, and the duplicate removal code
@@ -1873,10 +1874,6 @@
}
}
diff --git a/shells/bash3/Makefile b/shells/bash3/Makefile
index 55ea04e..643a522 100644
--- a/shells/bash3/Makefile
+++ b/shells/bash3/Makefile
@@ -17,6 +17,9 @@ MASTER_SITE_SUBDIR= bash
DISTFILES= bash-${PORTVERSION}.tar.gz bash-doc-${PORTVERSION}.tar.gz
.endif
+PATCH_SITES= ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/
+PATCHFILES= bash205b-003
+
MAINTAINER= obrien@FreeBSD.org
.include <bsd.port.pre.mk>
diff --git a/shells/bash3/distinfo b/shells/bash3/distinfo
index e650968..6d4f0fb 100644
--- a/shells/bash3/distinfo
+++ b/shells/bash3/distinfo
@@ -1,2 +1,3 @@
MD5 (bash-2.05b.tar.gz) = 5238251b4926d778dfe162f6ce729733
MD5 (bash-doc-2.05b.tar.gz) = 511b2d07f0f401f686e8edc551a8e47f
+MD5 (bash205b-003) = 2828e78563927b806246e2b4806ee0f5
diff --git a/shells/bash3/files/patch-bashline.c b/shells/bash3/files/patch-bashline.c
index dc6828a8..24b7430 100644
--- a/shells/bash3/files/patch-bashline.c
+++ b/shells/bash3/files/patch-bashline.c
@@ -1,31 +1,5 @@
--- bashline.c.deo Tue May 7 12:52:42 2002
+++ bashline.c Sun Sep 8 18:17:30 2002
-@@ -1044,6 +1044,7 @@
- }
- else
- {
-+#define CMD_IS_DIR(x) (absolute_pathname(x) == 0 && *(x) != '~' && test_for_directory (x))
- matches = rl_completion_matches (text, command_word_completion_function);
- /* If we are attempting command completion and nothing matches, we
- do not want readline to perform filename completion for us. We
-@@ -1052,7 +1053,7 @@
- filenames and leave directories in the match list. */
- if (matches == (char **)NULL)
- rl_ignore_some_completions_function = bash_ignore_filenames;
-- else if (matches[1] == 0 && *matches[0] != '/')
-+ else if (matches[1] == 0 && CMD_IS_DIR(matches[0]))
- /* Turn off rl_filename_completion_desired so readline doesn't
- append a slash if there is a directory with the same name
- in the current directory, or other filename-specific things.
-@@ -1061,7 +1062,7 @@
- looking in the current directory anyway, so there's no
- conflict. */
- rl_filename_completion_desired = 0;
-- else if (matches[0] && matches[1] && STREQ (matches[0], matches[1]) && *matches[0] != '/')
-+ else if (matches[0] && matches[1] && STREQ (matches[0], matches[1]) && CMD_IS_DIR (matches[0]))
- /* There are multiple instances of the same match (duplicate
- completions haven't yet been removed). In this case, all of
- the matches will be the same, and the duplicate removal code
@@ -1873,10 +1874,6 @@
}
}
OpenPOWER on IntegriCloud