summaryrefslogtreecommitdiff
path: root/shells/bash53
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash53')
-rw-r--r--shells/bash53/Makefile128
-rw-r--r--shells/bash53/distinfo3
-rw-r--r--shells/bash53/files/patch-Makefile.in12
-rw-r--r--shells/bash53/files/patch-config-top.h11
-rw-r--r--shells/bash53/files/patch-doc_bash.125
-rw-r--r--shells/bash53/files/patch-doc_bashref.texi28
-rw-r--r--shells/bash53/files/patch-lib_readline_display.c14
-rw-r--r--shells/bash53/files/pkg-message.in15
-rw-r--r--shells/bash53/pkg-descr5
-rw-r--r--shells/bash53/pkg-plist152
10 files changed, 0 insertions, 393 deletions
diff --git a/shells/bash53/Makefile b/shells/bash53/Makefile
deleted file mode 100644
index 4f9c1e7ec614..000000000000
--- a/shells/bash53/Makefile
+++ /dev/null
@@ -1,128 +0,0 @@
-# Please keep the commented variables for now, as we will need them once
-# the first patchset is released
-
-PORTNAME= bash
-#PATCHLEVEL= 0
-#PORTVERSION= 5.3.${PATCHLEVEL:S/^0//g}
-PORTVERSION= 5.3
-CATEGORIES= shells
-MASTER_SITES= GNU
-#DISTNAME= ${PORTNAME}-${PORTVERSION:R}
-PKGNAMESUFFIX= 53
-DIST_SUBDIR= ${PORTNAME}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-#PATCH_SITES= GNU/${PORTNAME}/${DISTNAME}-patches/
-#PATCHFILES!= /usr/bin/jot -s " " -w \
-# ${PORTNAME}${PORTVERSION:R:S/.//g}-%03d \
-# ${PATCHLEVEL} 1 ${PATCHLEVEL}
-
-MAINTAINER= ehaupt@FreeBSD.org
-COMMENT= GNU Project's Bourne Again SHell
-WWW= https://www.gnu.org/software/bash/
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-USES= bison cpe iconv localbase pathfix
-CPE_VENDOR= gnu
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --without-bash-malloc \
- --disable-rpath \
- --enable-disabled-builtins \
- --with-libiconv-prefix=${ICONV_PREFIX}
-
-MAKE_ARGS+= TERMCAP_LIB=-ltinfow
-
-INFO= bash
-PORTDOCS= FAQ INTRO CHANGES COMPAT NEWS POSIX RBASH README \
- bash.html bashref.html
-
-OPTIONS_DEFINE= FDESCFS HELP NLS STATIC SYSBASHRC \
- SYSLOG DOCS
-OPTIONS_DEFAULT= HELP
-OPTIONS_SUB= yes
-
-FDESCFS_DESC= Enable use of /dev/fd
-HELP_DESC= Enable builtin help
-SYSBASHRC_DESC= Enable system-wide rc files
-
-FDESCFS_CONFIGURE_ENV_OFF= bash_cv_dev_fd=absent
-FDESCFS_SUB_FILES= pkg-message
-
-HELP_CONFIGURE_ENABLE= help-builtin
-NLS_USES= gettext
-NLS_CONFIGURE_ENABLE= nls
-
-# Needs readline 8.3
-#PORTS_READLINE_BUILD_DEPENDS= readline>=8.2:devel/readline
-#PORTS_READLINE_USES= readline
-#PORTS_READLINE_CONFIGURE_WITH= installed-readline
-
-CONFLICTS+= bash bash-static bashc
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSTATIC} || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:tl} != "no")
-CONFIGURE_ARGS+= --enable-static-link
-LLD_UNSAFE= yes
-.else
-CONFIGURE_ARGS+= --disable-static-link
-# Bash symbols must be exported in order to link runtime plugins, i.e.,
-# "enable -f". (Plugins are not supported for bash-static.)
-LDFLAGS+= -Wl,-export-dynamic
-.endif
-STANDARD_PATH= /sbin:/bin:/usr/sbin:/usr/bin
-CPPFLAGS+= -DDEFAULT_PATH_VALUE='\"${STANDARD_PATH}:${LOCALBASE}/sbin:${LOCALBASE}/bin\"' \
- -DSTANDARD_UTILS_PATH='\"${STANDARD_PATH}\"'
-
-post-patch:
-# Ensure y.tab.c is regenerated
- ${TOUCH} ${WRKSRC}/parse.y
- ${RM} ${WRKSRC}/y.tab.c
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
- ${WRKSRC}/doc/bash.1
-.if ${PORT_OPTIONS:MSYSLOG}
- @${REINPLACE_CMD} \
- -e "s|/\*.*#define SYSLOG_HISTORY .*\*/|#define SYSLOG_HISTORY|g" \
- -e "s|/\*.*#define SYSLOG_SHOPT .*\*/|#define SYSLOG_SHOPT 1|g" \
- ${WRKSRC}/config-top.h
-.endif
- @${REINPLACE_CMD} -e "s|\(/etc/profile\)|${LOCALBASE}\1|" \
- ${WRKSRC}/pathnames.h.in
- @${REINPLACE_CMD} -e "s|/etc/[iI]nputrc|${LOCALBASE}/etc/inputrc|g" \
- ${WRKSRC}/doc/*.info ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.1 \
- ${WRKSRC}/lib/readline/rlconf.h
-
-post-patch-SYSBASHRC-on:
- @${REINPLACE_CMD} \
- -e "s|.*\(#define SYS_BASH.*\)\(/etc/.*\"\).*|\1${PREFIX}\2|" \
- ${WRKSRC}/config-top.h
-
-pre-build:
- @${ECHO_CMD} $$((${PORTREVISION}-1)) > ${WRKSRC}/.build
-
-post-install:
- ${LN} -sf bash ${STAGEDIR}${PREFIX}/bin/rbash
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/FAQ \
- ${WRKSRC}/doc/INTRO ${STAGEDIR}${DOCSDIR}
- for d in ${PORTDOCS:NFAQ:NINTRO:N*html}; do \
- ${INSTALL_DATA} ${WRKSRC}/$${d} ${STAGEDIR}${DOCSDIR}; \
- done
-
-regress: build
- cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test
-
-ckp:
- ${MAKE} -DPATCH_DEBUG clean patch
-
-# requires ftp/ncftp3
-cklatest:
- @${ECHO} -n "Currently at: "
- @${MAKE} -V PATCHLEVEL
- -ncftpls \
- ${PATCH_SITES:Mftp*:Ox:[1]} \
- | fgrep -v .sig | ${SORT} | ${TAIL}
-
-.include <bsd.port.mk>
diff --git a/shells/bash53/distinfo b/shells/bash53/distinfo
deleted file mode 100644
index 76fc988fea91..000000000000
--- a/shells/bash53/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1751628977
-SHA256 (bash/bash-5.3.tar.gz) = 62dd49c44c399ed1b3f7f731e87a782334d834f08e098a35f2c87547d5dbb269
-SIZE (bash/bash-5.3.tar.gz) = 11354270
diff --git a/shells/bash53/files/patch-Makefile.in b/shells/bash53/files/patch-Makefile.in
deleted file mode 100644
index cfd72e4d9bdd..000000000000
--- a/shells/bash53/files/patch-Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.in.orig 2025-07-06 15:36:39 UTC
-+++ Makefile.in
-@@ -923,7 +923,9 @@ install: .made installdirs
- infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
- -( cd $(DEFDIR) ; $(MAKE) $(BASH_MAKEFLAGS) DESTDIR=$(DESTDIR) $@ )
- -( cd $(PO_DIR) ; $(MAKE) $(BASH_MAKEFLAGS) DESTDIR=$(DESTDIR) $@ )
-+.if !$(STATIC_LD:M-static)
- -( cd $(LOADABLES_DIR) && $(MAKE) $(BASH_MAKEFLAGS) DESTDIR=$(DESTDIR) $@ )
-+.endif
-
- install-strip:
- $(MAKE) $(BASH_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_STRIP_PROGRAM)' \
diff --git a/shells/bash53/files/patch-config-top.h b/shells/bash53/files/patch-config-top.h
deleted file mode 100644
index 526b15b6ecfe..000000000000
--- a/shells/bash53/files/patch-config-top.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- config-top.h.orig 2024-10-24 18:14:21 UTC
-+++ config-top.h
-@@ -79,7 +79,7 @@
- #endif
-
- /* Default primary and secondary prompt strings. */
--#define PPROMPT "\\s-\\v\\$ "
-+#define PPROMPT "[\\u@\\h \\w]\\$ "
- #define SPROMPT "> "
-
- /* Undefine this if you don't want the ksh-compatible behavior of reprinting
diff --git a/shells/bash53/files/patch-doc_bash.1 b/shells/bash53/files/patch-doc_bash.1
deleted file mode 100644
index bc5c59098c2f..000000000000
--- a/shells/bash53/files/patch-doc_bash.1
+++ /dev/null
@@ -1,25 +0,0 @@
---- doc/bash.1.orig 2025-04-30 13:04:32 UTC
-+++ doc/bash.1
-@@ -6632,7 +6632,7 @@ If that file does not exist or cannot be read, \fBrea
- If that variable is unset, the default is
- .FN \*~/.inputrc .
- If that file does not exist or cannot be read, \fBreadline\fP looks for
--.FN /etc/inputrc .
-+.FN /usr/local/usr/local/etc/inputrc .
- When a program that uses the \fBreadline\fP library starts up,
- \fBreadline\fP reads the initialization file
- and sets the key bindings and variables found there,
-@@ -7398,11 +7398,11 @@ For example, the following directive would read
- This directive takes a single filename as an argument and reads commands
- and key bindings from that file.
- For example, the following directive would read
--.FN /etc/inputrc :
-+.FN /usr/local/usr/local/etc/inputrc :
- .PP
- .RS
- .nf
--\fB$include\fP \^ \fI/etc/inputrc\fP
-+\fB$include\fP \^ \fI/usr/local/usr/local/etc/inputrc\fP
- .fi
- .RE
- .SS Searching
diff --git a/shells/bash53/files/patch-doc_bashref.texi b/shells/bash53/files/patch-doc_bashref.texi
deleted file mode 100644
index 56f59863f5f1..000000000000
--- a/shells/bash53/files/patch-doc_bashref.texi
+++ /dev/null
@@ -1,28 +0,0 @@
---- doc/bashref.texi.orig 2025-05-27 15:56:19 UTC
-+++ doc/bashref.texi
-@@ -1,6 +1,6 @@
- \input texinfo.tex @c -*- texinfo -*-
- @c %**start of header
--@setfilename bashref.info
-+@setfilename bash.info
- @settitle Bash Reference Manual
-
- @include version.texi
-@@ -58,7 +58,7 @@ This text is a brief description of the features that
- @top Bash Features
-
- This text is a brief description of the features that are present in
--the Bash shell (version @value{VERSION}, @value{UPDATED}).
-+the Bash shell (version @value{VERSION}, @value{UPDATED})
- The Bash home page is @url{http://www.gnu.org/software/bash/}.
-
- This is Edition @value{EDITION}, last updated @value{UPDATED},
-@@ -6720,7 +6720,7 @@ The primary prompt string.
-
- @item PS1
- The primary prompt string.
--The default value is @samp{\s-\v\$ }.
-+The default value is @samp{[\u@@\h \w]\$ }.
- @xref{Controlling the Prompt}, for the complete list of escape
- sequences that are expanded before @env{PS1} is displayed.
-
diff --git a/shells/bash53/files/patch-lib_readline_display.c b/shells/bash53/files/patch-lib_readline_display.c
deleted file mode 100644
index 4d8141cb7441..000000000000
--- a/shells/bash53/files/patch-lib_readline_display.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- lib/readline/display.c.orig 2025-05-02 13:20:32 UTC
-+++ lib/readline/display.c
-@@ -999,7 +999,10 @@ rl_redisplay (void)
- the line breaks in the prompt string in expand_prompt, taking invisible
- characters into account, and if lpos exceeds the screen width, we copy
- the data in the loop below. */
-- lpos = local_prompt ? prompt_physical_chars + modmark : 0;
-+ if (local_prompt)
-+ lpos = local_prompt ? prompt_physical_chars + modmark : 0;
-+ else
-+ lpos = 0;
-
- #if defined (HANDLE_MULTIBYTE)
- memset (line_state_invisible->wrapped_line, 0, line_state_invisible->wbsize * sizeof (int));
diff --git a/shells/bash53/files/pkg-message.in b/shells/bash53/files/pkg-message.in
deleted file mode 100644
index e0e633447e95..000000000000
--- a/shells/bash53/files/pkg-message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-[
-{ type: install
- message: <<EOM
-bash requires fdescfs(5) mounted on /dev/fd
-
-If you have not done it yet, please do the following:
-
- mount -t fdescfs fdescfs /dev/fd
-
-To make it permanent, you need the following lines in /etc/fstab:
-
- fdescfs /dev/fd fdescfs rw,late 0 0
-EOM
-}
-]
diff --git a/shells/bash53/pkg-descr b/shells/bash53/pkg-descr
deleted file mode 100644
index 84aea89d562b..000000000000
--- a/shells/bash53/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-This is GNU Bash. Bash is the GNU Project's Bourne Again SHell,
-a complete implementation of the POSIX.2 shell spec, but also
-with interactive command line editing, job control on architectures
-that support it, csh-like features such as history substitution and
-brace expansion, and a slew of other features.
diff --git a/shells/bash53/pkg-plist b/shells/bash53/pkg-plist
deleted file mode 100644
index 62cf3f7e51cd..000000000000
--- a/shells/bash53/pkg-plist
+++ /dev/null
@@ -1,152 +0,0 @@
-@shell bin/bash
-bin/bashbug
-@shell bin/rbash
-%%NO_STATIC%%include/bash/alias.h
-%%NO_STATIC%%include/bash/array.h
-%%NO_STATIC%%include/bash/arrayfunc.h
-%%NO_STATIC%%include/bash/assoc.h
-%%NO_STATIC%%include/bash/bashansi.h
-%%NO_STATIC%%include/bash/bashintl.h
-%%NO_STATIC%%include/bash/bashjmp.h
-%%NO_STATIC%%include/bash/bashtypes.h
-%%NO_STATIC%%include/bash/builtins.h
-%%NO_STATIC%%include/bash/builtins/bashgetopt.h
-%%NO_STATIC%%include/bash/builtins/builtext.h
-%%NO_STATIC%%include/bash/builtins/common.h
-%%NO_STATIC%%include/bash/builtins/getopt.h
-%%NO_STATIC%%include/bash/command.h
-%%NO_STATIC%%include/bash/config-bot.h
-%%NO_STATIC%%include/bash/config-top.h
-%%NO_STATIC%%include/bash/config.h
-%%NO_STATIC%%include/bash/conftypes.h
-%%NO_STATIC%%include/bash/dispose_cmd.h
-%%NO_STATIC%%include/bash/error.h
-%%NO_STATIC%%include/bash/execute_cmd.h
-%%NO_STATIC%%include/bash/externs.h
-%%NO_STATIC%%include/bash/general.h
-%%NO_STATIC%%include/bash/hashlib.h
-%%NO_STATIC%%include/bash/include/ansi_stdlib.h
-%%NO_STATIC%%include/bash/include/chartypes.h
-%%NO_STATIC%%include/bash/include/filecntl.h
-%%NO_STATIC%%include/bash/include/gettext.h
-%%NO_STATIC%%include/bash/include/maxpath.h
-%%NO_STATIC%%include/bash/include/memalloc.h
-%%NO_STATIC%%include/bash/include/ocache.h
-%%NO_STATIC%%include/bash/include/posixdir.h
-%%NO_STATIC%%include/bash/include/posixjmp.h
-%%NO_STATIC%%include/bash/include/posixselect.h
-%%NO_STATIC%%include/bash/include/posixstat.h
-%%NO_STATIC%%include/bash/include/posixtime.h
-%%NO_STATIC%%include/bash/include/posixwait.h
-%%NO_STATIC%%include/bash/include/shmbchar.h
-%%NO_STATIC%%include/bash/include/shmbutil.h
-%%NO_STATIC%%include/bash/include/shtty.h
-%%NO_STATIC%%include/bash/include/stat-time.h
-%%NO_STATIC%%include/bash/include/stdc.h
-%%NO_STATIC%%include/bash/include/systimes.h
-%%NO_STATIC%%include/bash/include/timer.h
-%%NO_STATIC%%include/bash/include/typemax.h
-%%NO_STATIC%%include/bash/include/unionwait.h
-%%NO_STATIC%%include/bash/include/unlocked-io.h
-%%NO_STATIC%%include/bash/jobs.h
-%%NO_STATIC%%include/bash/make_cmd.h
-%%NO_STATIC%%include/bash/pathnames.h
-%%NO_STATIC%%include/bash/quit.h
-%%NO_STATIC%%include/bash/shell.h
-%%NO_STATIC%%include/bash/sig.h
-%%NO_STATIC%%include/bash/siglist.h
-%%NO_STATIC%%include/bash/signames.h
-%%NO_STATIC%%include/bash/subst.h
-%%NO_STATIC%%include/bash/syntax.h
-%%NO_STATIC%%include/bash/unwind_prot.h
-%%NO_STATIC%%include/bash/variables.h
-%%NO_STATIC%%include/bash/version.h
-%%NO_STATIC%%include/bash/xmalloc.h
-%%NO_STATIC%%include/bash/y.tab.h
-%%NO_STATIC%%lib/bash/Makefile.inc
-%%NO_STATIC%%lib/bash/Makefile.sample
-%%NO_STATIC%%lib/bash/accept
-%%NO_STATIC%%lib/bash/basename
-%%NO_STATIC%%lib/bash/chmod
-%%NO_STATIC%%lib/bash/csv
-%%NO_STATIC%%lib/bash/cut
-%%NO_STATIC%%lib/bash/dirname
-%%NO_STATIC%%lib/bash/dsv
-%%NO_STATIC%%lib/bash/fdflags
-%%NO_STATIC%%lib/bash/finfo
-%%NO_STATIC%%lib/bash/fltexpr
-%%NO_STATIC%%lib/bash/getconf
-%%NO_STATIC%%lib/bash/head
-%%NO_STATIC%%lib/bash/id
-%%NO_STATIC%%lib/bash/kv
-%%NO_STATIC%%lib/bash/ln
-%%NO_STATIC%%lib/bash/loadables.h
-%%NO_STATIC%%lib/bash/logname
-%%NO_STATIC%%lib/bash/mkdir
-%%NO_STATIC%%lib/bash/mkfifo
-%%NO_STATIC%%lib/bash/mktemp
-%%NO_STATIC%%lib/bash/mypid
-%%NO_STATIC%%lib/bash/pathchk
-%%NO_STATIC%%lib/bash/print
-%%NO_STATIC%%lib/bash/printenv
-%%NO_STATIC%%lib/bash/push
-%%NO_STATIC%%lib/bash/realpath
-%%NO_STATIC%%lib/bash/rm
-%%NO_STATIC%%lib/bash/rmdir
-%%NO_STATIC%%lib/bash/seq
-%%NO_STATIC%%lib/bash/setpgid
-%%NO_STATIC%%lib/bash/sleep
-%%NO_STATIC%%lib/bash/stat
-%%NO_STATIC%%lib/bash/strftime
-%%NO_STATIC%%lib/bash/strptime
-%%NO_STATIC%%lib/bash/sync
-%%NO_STATIC%%lib/bash/tee
-%%NO_STATIC%%lib/bash/truefalse
-%%NO_STATIC%%lib/bash/tty
-%%NO_STATIC%%lib/bash/uname
-%%NO_STATIC%%lib/bash/unlink
-%%NO_STATIC%%lib/bash/whoami
-%%NO_STATIC%%libdata/pkgconfig/bash.pc
-share/man/man1/bash.1.gz
-share/man/man1/bashbug.1.gz
-%%NLS%%share/locale/af/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/bg/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ca/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/cs/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/da/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/de/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/el/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/en@boldquot/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/en@quot/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/eo/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/es/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/et/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ga/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/gl/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/hr/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/id/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/it/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ka/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ko/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/lt/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/nb/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/pt/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ro/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/sk/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/sl/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/sq/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/sr/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/bash.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/bash.mo