312 Commits

Author SHA1 Message Date
Emanuel Haupt
f77f497167 shells/bash: Update to 5.3.9 2025-12-11 08:20:35 +01:00
Emanuel Haupt
336bb48b75 shells/bash: Reintroduce PORTS_READLINE
Now that readline has been updated to 8.3, the option to use the library from
ports rather than the bundled version can be restored. The option remains
disabled by default to avoid unexpected build or runtime changes for users
and to maintain consistency with previous releases.

PR:		288208
2025-11-28 14:42:10 +01:00
Emanuel Haupt
c76178d6ed shells/bash: Update to 5.3.8 2025-11-27 09:05:45 +01:00
Emanuel Haupt
083f32ccc2 shells/bash: Fix documentation bug
Point to ${PREFIX}/etc/profile instead of /etc/profile

MFH:		2025Q4
2025-10-16 21:46:33 +02:00
Emanuel Haupt
f0a604f485 shells/bash: Update distinfo after upstream tarball reroll
Upstream rerolled the release tarball to include updated .gmo files.
See discussion:

https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00156.html
2025-08-01 10:38:26 +02:00
Emanuel Haupt
120818bc5c shells/bash: Update to 5.3.3 2025-07-25 08:36:54 +02:00
Emanuel Haupt
6f87184eff shells/bash: Bump PORTREVISION after OPTIONS_DEFAULT change 2025-07-08 22:33:39 +02:00
Michael Osipov
4376ee25ee shells/bash: Enable SYSBASHRC option by default
Approved by:	jrm (mentor),  ehaupt (maintainer)
Differential Revision:	https://reviews.freebsd.org/D51201
2025-07-08 21:26:35 +02:00
Emanuel Haupt
3508799be9 shells/bash: Update to 5.3
Changes:	https://lists.gnu.org/archive/html/bash-announce/2025-07/msg00000.html
2025-07-07 20:03:17 +02:00
Emanuel Haupt
91eb6e6ff4 shells/bash: Register CONFLICTS 2025-07-06 19:07:18 +02:00
Emanuel Haupt
af1d4a12a4 shells/bash-static: Revert accidentally staged review 2025-03-02 16:22:25 +01:00
Emanuel Haupt
f8e5b5e2ce shells/bash-static: Exclude PORTS_READLINE and NLS options with STATIC
Summary:
When building the static version of bash, runtime dependencies on
gettext-runtime and readline should not be present as the binary is
statically linked. This change excludes the PORTS_READLINE and NLS
options in the slave port to avoid unnecessary dependencies.

Differential Revision: https://reviews.freebsd.org/D49191
2025-03-02 16:21:39 +01:00
Emanuel Haupt
ddd71f4562 shells/bash: Update to 5.2.37 2024-09-24 08:16:55 +02:00
Emanuel Haupt
38955084e4 shells/bash: Update to 5.2.32 2024-08-01 09:32:16 +02:00
Emanuel Haupt
4ab6c18716 */*: Remove GNU_CONFIGURE_MANPREFIX
After 9fd7ee1cdf6c remove GNU_CONFIGURE_MANPREFIX from my ports.
2024-04-12 21:35:43 +02:00
Emanuel Haupt
319b2de7f0 */*: Simply future removal of GNU_CONFIGURE_MANPREFIX
Simplify the future removal of GNU_CONFIGURE_MANPREFIX after the
manprefix migration is complete. The current placement of
GNU_CONFIGURE_MANPREFIX will not result in consecutive blank lines or
comments when lines containing GNU_CONFIGURE_MANPREFIX are removed in
batches.

Notified by:	mat
2024-01-21 19:08:41 +01:00
Emanuel Haupt
d11724f346 shells/bash: Move manpages to share/man 2024-01-21 18:43:24 +01:00
Emanuel Haupt
9b2d8fc5db shells/bash: Update to 5.2.26 2024-01-14 10:22:22 +01:00
firk
a4bbf57894 shells/bash: Remove unsed makeinfo use flag
Makeinfo is not actually used because, after patching, it updates the
timestamps of *.info files, preventing doc/Makefile from wanting to
regenerate bash.info.

While here, sort USES.

PR:		275439
2023-11-30 00:27:05 +01:00
Emanuel Haupt
b1f01e4e1b shells/bash: Update to 5.2.21 2023-11-10 10:17:21 +01:00
Emanuel Haupt
c8b1d27d8a shells/bash: Update to 5.2.15 2022-12-14 15:43:27 +01:00
Emanuel Haupt
743ef64e11 shells/bash: Update to 5.2.12 2022-11-24 06:36:06 +01:00
Emanuel Haupt
db11f37fac shells/bash: Switch back to use PORTS_READLINE by default
Now that devel/readline has been updated, switch back to use
PORTS_READLINE by default.
2022-11-19 12:32:05 +01:00
Po-Chuan Hsieh
74b3fb646c
shells/bash: Fix typo in 372693913a051e16e6c79f1e22d78e0036f1575e 2022-11-19 16:44:30 +08:00
Po-Chuan Hsieh
372693913a
shells/bash: Unbreak this port after readline 8.2 update
- Add BUILD_DEPENDS to avoid the users building this port with readline 8.1.x

Approved by:	portmgr (blanket)
2022-11-19 16:13:47 +08:00
Emanuel Haupt
1ac270f16e shells/bash: Update to 5.2.9 2022-11-08 10:36:58 +01:00
Emanuel Haupt
85b186f4fe shells/bash: Improve message for PORTS_READLINE_BROKEN
PR:		266897 (based on)
2022-10-08 14:31:30 +02:00
Emanuel Haupt
bf725a8122 shells/bash: Update to 5.2.2 2022-10-06 07:37:54 +02:00
Po-Chuan Hsieh
7fea2bffc6 shells/bash: Revise fix when NLS is off
The fix commited in 17f1bb50e42a45dc64fc898cd9cae905d7262bda clashed
with cc83ec0f744fb159bd48303d15c09aa0c6cb38a4.

The later is a more elegant solution that doesn't require to drop
the header files from being installed.

This commit reverts changes from 17f1bb50e42a45dc64fc898cd9cae905d7262bda.
2022-10-03 08:03:44 +02:00
Dag-Erling Smørgrav
3e147a1f59 shells/bash: fix static build
The logic in m4/strtoimax.m4 is inverted: it replaces strtoimax() if and only
if it is present and functional.

files/patch-configure avoids having to run autoreconf in the port and can be
removed once the fix has been adopted upstream.

differential Revision:  https://reviews.freebsd.org/D36849
2022-10-01 12:12:09 +02:00
Emanuel Haupt
17f1bb50e4 shells/bash: Fix pkg-plist when NLS is turned off
Notified by:	bofh (via mail)
2022-10-01 09:05:08 +02:00
Adam Weinberger
cc83ec0f74 shells/bash: Fix build with NLS disabled 2022-09-30 21:45:59 -06:00
Emanuel Haupt
34393efcc2 shells/bash: Update to 5.2
Release notes:	https://lists.gnu.org/archive/html/bash-announce/2022-09/msg00000.html
2022-09-30 21:21:33 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
c3cc2da090 shells: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Andreas Kohn <andreas@syndrom23.de>
  *  Carlos Jacobo Puga Medina <cpm@FreeBSD.org>
  *  Cyrille.Lefevre@laposte.net
  *  Danijel Tasov <danielt@pilgerer.org>
  *  David O'Brien <obrien@NUXI.com>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Hajimu UMEMOTO <ume@FreeBSD.org>
  *  Igor Pokrovsky <ip@unixway.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Kai Wang <kaiw27@gmail.com>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
  *  Oliver Eikemeier
  *  Patrick Gardella <patrick@FreeBSD.org>
  *  Pawel Pekala <pawel@FreeBSD.org>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Richard Rose <freebsd-security@rikrose.net>
  *  Sean Chittenden <seanc@FreeBSD.org>
  *  Sergey Matveychuk <sem@FreeBSD.org>
  *  Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
  *  Shinsuke Matsui <smatsui@karashi.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sylvio Cesar <sylvio@FreeBSD.org>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  UMENO Takashi <umeno@rr.iij4u.or.jp>
  *  Vaida Bogdan
  *  Will Andrews <andrews@technologist.com>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  conrads@cox.net
  *  erich@rrnet.com
  *  gebhart@secnetix.de
  *  kirk@strauser.com
  *  mcglk@artlogix.com
  *  torstenb

With hat:	portmgr
2022-07-20 16:22:59 +02:00
Emanuel Haupt
296c8b3307 shells/bash: Update to 5.1.16 2022-01-05 08:41:56 +01:00
Emanuel Haupt
3571f3c161 shells/bash: Update to 5.1.12 2021-11-18 15:55:59 +01:00
Stefan Eßer
819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00
Baptiste Daroussin
cb0ed5261c shells/bash: fix compilation after libncurses split in base
bash actually only requires libtinfo, but up to recent change in
14.0-CURRENT, libtinfo and libncurses were bundled into one single libs,
so linking only to libncurses was not a problem.

By telling bash to link to libtinfo and not to libncurses, it works on
both system where ncurses has been split and those without the split as
there is a libtinfow.so symlink to libncursesw.so on those.
2021-10-06 09:55:26 +02:00
Emanuel Haupt
2c57eb307f shells/bash: Update to 5.1.8 2021-05-07 23:37:15 +02:00
Emanuel Haupt
a0fcd3d707 shells/bash:Prefix '/etc/inputrc' in bundled readline and documentation
Bundled readline now will use LOCALBASE/etc/inputrc as its ultimate
default inputrc file (instead of /etc/inputrc). This puts these ports in
line with what devel/readline has been doing recently (since 20210103).

PR:             255126
Submitted by:   olivier.freebsd@free.fr
2021-04-16 20:07:43 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Neel Chauhan
2b01fc5e4f NEW PORT: shells/bashc: GNU Bourne Again shell extended with two-panel file manager
Bash Commander is a fork of GNU Bourne Again Shell. It's main feature is
a visual two-panel mode, much like Midnight Commander and other text-mode
visual shells.

WWW: https://github.com/sergev/bash-commander

Also add bashc to the CONFLICTS section of shells/bash.

PR:		253783, 253784
Submitted by:	Igor Pokrovsky <ip AT unixway DOT org>
2021-03-03 23:09:48 +00:00
Baptiste Daroussin
dd57d39c94 Enforce using libncursesw like the rest of the ports
The whole ports tree has been enforced on libncursesw (widechar) version for a while.
With the exception of a few ports including bash.

This is even more problematic in the case of bash because it links to libreadline which is
linked to libncursesw.so
2021-01-07 13:22:20 +00:00
Emanuel Haupt
890b1d3811 Update to 5.1.4 2020-12-19 21:10:41 +00:00
Emanuel Haupt
1e31e4f21b Patch committed in r557806 makes this parallel build safe again. 2020-12-12 11:34:56 +00:00
Emanuel Haupt
65828d7b4d In some cases bash fails to build parallel make jobs. Provide a patch.
[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2ebbf4b8bc660beb98cc2d845c73375d6e4f50

PR:		251755
Reported by:	mikael, freebsd@bengrimm.net, jakob@grimstveit.no
Submitted by:	rcarter@pinyon.org
Obtained from:	gentoo [1]
2020-12-12 09:58:19 +00:00
Piotr Kubaj
63b3d200c4 shells/bash: workaround build failure with -j32
Set MAKE_JOBS_UNSAFE=yes:
bashline.c:65:10: fatal error: 'builtins/builtext.h' file not found
2020-12-12 02:33:20 +00:00
Emanuel Haupt
a36bb63f83 Update to 5.1
Release notes:	https://lists.gnu.org/archive/html/info-gnu/2020-12/msg00003.html
2020-12-09 17:12:22 +00:00