Commit graph

292 commits

Author SHA1 Message Date
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 372693913a 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 17f1bb50e4 clashed
with cc83ec0f74.

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

This commit reverts changes from 17f1bb50e4.
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 b7f05445c0 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
Emanuel Haupt
b83961e1e3 Update manual page to refer to ${LOCALBASE}/etc/profile instead of /etc/profile.
See also ports/UPDATING (entry 20200716).

PR:		248805 (based on)
Submitted by:	0mp
2020-08-24 19:03:08 +00:00
Emanuel Haupt
f95000d408 Cleanly decouple bash from base by reading profile from $LOCALBASE/etc/
instead of from /etc.

Document this change in UPDATING and provide a migration strategy.

PR:		247934 (based on)
Submitted by:	Michael Osipov <michael.osipov@siemens.com>
2020-07-16 17:14:53 +00:00
Emanuel Haupt
62b3240624 Bash comes with a bundled version of libreadline and compiled with. Start using
devel/readline by default but provide an option to keep using the bundled one.

PR:		247932 (based on)
Submitted by:	Michael Osipov <michael.osipov@siemens.com>
2020-07-15 06:11:45 +00:00
Emanuel Haupt
42bd830fab Update to 5.0.18
Changelog:	http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-018
2020-07-11 14:22:40 +00:00
Emanuel Haupt
3aa8bfb3a8 Update to 5.0.17 2020-04-24 17:23:01 +00:00
Emanuel Haupt
dcf6847c94 Update to 5.0.16 2020-02-10 19:57:49 +00:00
Emanuel Haupt
bd36ec12f7 Update to 5.0.11 2019-08-30 05:13:23 +00:00
Emanuel Haupt
9a4734de8f Update to 5.0.9 2019-08-17 08:27:28 +00:00
Mathieu Arnold
bc89cd3d2c Convert to UCL & cleanup pkg-message (categories s) 2019-08-14 12:16:12 +00:00
Emanuel Haupt
83f5d1af42 Update to 5.0.7 2019-04-21 18:27:08 +00:00
Emanuel Haupt
17fd02e8f6 Update to 5.0.3 2019-03-20 10:09:57 +00:00
Emanuel Haupt
aa878105d8 Do not attempt to build 'loadables' in the install target when the static build
option is selected.

Loadables will not build statically. The upstream makefile handles this by
ignoring a non-zero exit status by prefixing the build instruction with a minus.
Nevertheless this causes plenty of confusion among our user base.

No PORTREVISION bump as this is a NOOP.
2019-02-21 09:32:08 +00:00
Emanuel Haupt
5ebe8e567a Update to 5.0.2 2019-01-19 17:25:02 +00:00
Emanuel Haupt
c2cb5922fc Properly fix broken man pages by removing unsupported characters.
PR:		234992 (based on)
Reviewed by:	bapt
Reported by:	bapt
2019-01-16 16:14:06 +00:00
Emanuel Haupt
24ef4acdf0 Mandoc'ify man pages to avoid dependency to groff.
PR:		234992 (based on)
Submitted by:	sakisp@gmail.com
2019-01-16 13:59:30 +00:00
Emanuel Haupt
848b794ff2 Update to 5.0
PR:		234827
Exp-run by:	antoine
2019-01-15 21:11:14 +00:00
Baptiste Daroussin
7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00
Emanuel Haupt
995181be7c - Update to 4.4.23
- Pass -Wl,-export-dynamic to LDFLAGS instead of CFLAGS in order to avoid warning:
  cc: warning: -Wl,-export-dynamic: 'linker' input unused [-Wunused-command-line-argument]
2018-06-02 07:08:16 +00:00
Emanuel Haupt
2e0f57ae91 - Update to patchlevel 19
- Simplify MASTER_SITES [1]

Submitted by:	gerald (via mail) [1]
2018-02-10 08:31:00 +00:00
Kirill Ponomarev
f2bf703bec Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-01-07 18:54:47 +00:00