Commit graph

137 commits

Author SHA1 Message Date
Baptiste Daroussin
e4610fcb8b MAN?PREFIX: eleminate its usage and move man to share/man 2024-01-10 16:29:49 +01:00
Po-Chuan Hsieh
1b456f061f
shells/ksh93: Remove blank line
Approved by:	portmgr (blanket)
2023-08-27 04:36:36 +08:00
Cy Schubert
fd44857c89 shells/ksh*: Update descriptions
Update ksh ports descriptions to more accurately reflect what they are.

Reported by:	 "Joseph Holsten" <joseph@josephholsten.com>
2023-03-23 11:31:07 -07:00
Cy Schubert
b50fe1ebe5 shells/ksh: Remove the now expired ksh2020 from CONFLICTS. 2023-03-22 23:04:59 -07:00
Cy Schubert
b3690ff9ff shells/ksh93: Fix build with LLVM15 2023-02-10 06:40:46 -08:00
Brooks Davis
f9809df4c1 devel/ksh93: remove sbrk() use
ksh supports multiple sources of heap memory.  Completely disable the
use of sbrk() as a memory source in favor of mmap().  This allows
compilation on aarch64 (and presumably riscv64).

Approved by:	cy
Differential Revision: https://reviews.freebsd.org/D37312
2022-11-09 21:27:29 +00: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
Cy Schubert
6e9237ba47 shells/ksh*: Allow the ksh ports to coexist
Add an option to allow the ksh ports to avoid conflicting with each
other and to coexist. This allows people who wish to punish themselves
by tracking developent to still be able to fall back should upstream
cause regressions.

This also allows legacy ksh93 to coexist with the recently added
ksh93/ksh, which is not entirely compatible with legacy ksh. Applications
which require a legacy ksh compatible package should use the ksh93 port
installed using one of its options. This allows new and old to exist on
the same system.
2022-08-28 14:16:45 -07:00
Stefan Eßer
04b9da4140 */*: Remove redundant '-*' from CONFLICTS definitions
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").

Approved by: portmgr (blanket)
2021-11-25 22:40:11 +01:00
Jimmy Olgeni
4460cf727a *: fix tab vs. space issues, and comments according to the guide. 2021-10-16 11:51:39 +02:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Mark Linimon
8c8b8cc9ec Mark as BROKEN on riscv64 the same way as on aarch64.
Approved by:	portmgr (tier-2 blanket)
2020-11-27 19:31:44 +00:00
Cy Schubert
c14b244b1c Fix i386 build. 2020-02-23 04:09:45 +00:00
Cy Schubert
1b4fbb7092 AT&T AST (att/ast) on github has rewound their repo back to ksh93u+. See
https://github.com/att/ast/issues/1464 and
https://github.com/att/ast/issues/1466.

The reason for the rewind back to 93u+ instead of 93v- was that it was an
abandoned unstable buggy unfinished beta. A full explanation of this can be
found here, https://github.com/att/ast/issues/1466#issuecomment-589942449.

The version number is reverted back to 93u and an EPOCH bump, though not
needed, documents this siesmic shift.
2020-02-22 22:38:35 +00:00
Sunpoet Po-Chuan Hsieh
e9056c9e5d Update MAINTAINER: use @FreeBSD.org 2020-02-13 14:27:46 +00:00
Cy Schubert
4d7701aa23 Add patch missed from r525497. 2020-02-07 19:40:12 +00:00
Cy Schubert
87ca59aeea Fix CVE-2019-14868: certain environment variables interpreted as
arithmetic expressions on startup, leading to code injection.

Submitted by:	Siteshwar Vashisht <svashisht@redhat.com>
Reported by:	Marian Rehak
MFH:		2020Q1
Security:	CVE-2019-14868
		https://bugzilla.redhat.com/show_bug.cgi?id=1757324
		https://access.redhat.com/security/cve/CVE-2019-14868
2020-02-07 19:38:23 +00:00
Cy Schubert
7a3821836e Update 2020.0.0 --> 2020.0.1 2020-01-10 02:42:01 +00:00
Cy Schubert
e4632ba742 Update ksh-2020.0.0-beta1 --> ksh-2020.0.0. 2019-10-10 20:15:14 +00:00
Cy Schubert
2c6ede3563 Update 2020.0.0-alpha1 --> 2020.0.0-beta1
2020.0.0-beta1 resolves gcc9 build issues in PR/239644.

PR:		239644
2019-08-30 20:05:27 +00:00
Cy Schubert
17d2eb5848 Remove redundant GH_TAGNAME assignment. 2019-08-30 20:05:21 +00:00
Tobias Kortkamp
d6eb7151b7 shells/ksh93: Attempt to fix r508705 and unbreak index
It fails basic sanity checks:

make: "/usr/ports/shells/ksh93/Makefile" line 16: Malformed conditional (${USE_GCC} == "9")
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/shells/ksh93

PR:		239644
Pointy hat:	cy
2019-08-12 07:17:09 +00:00
Cy Schubert
d2781bb2d2 Mark broken when USE_GCC=9. Upstream git commit
63e9edcb6084d4b164439065e2d71f3e900ec3c7 resolves this issue.
Unfortunately it does not apply, requiring this port to be upated to
ksh93 well into ksh93-devel. Bringing ksh93 up to the ksh93-devel or
shy of it would negate the justification for ksh93's existence. It is
therefore recommended that people use ksh93-devel on architectures that
use GCC 9 or use GCC 8.

PR:		239644
Reported by:	pkubaj@
2019-08-12 04:44:37 +00:00
Cy Schubert
515af620b8 Whitespace adjustment. 2019-08-12 04:44:24 +00:00
Cy Schubert
4a4cf35493 Fix:
$ ksh93
$ time
../src/cmd/ksh93/sh/xec.c:2171: failed assertion 'tb.tv_sec'
Abort trap (core dumped)
$ ksh93
$ times
../src/cmd/ksh93/sh/xec.c:2171: failed assertion 'tb.tv_sec'
Abort trap (core dumped)

PR:		239701
Suggested by:	w.schwarzenfeld@utanet.at
MFH:		2019Q3
2019-08-07 18:31:13 +00:00
Cy Schubert
19090335fd Fix build with GCC-based architectures.
PR:		239644
Submitted by:	pkubaj@
MFH:		2019Q3
2019-08-04 17:42:39 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Tobias Kortkamp
4355da35e0 devel/meson: Update to 0.51.0
Changes:	https://mesonbuild.com/Release-notes-for-0-51-0.html
PR:		238726
Submitted by:	greg@unrelenting.technology (update to 0.50.1)
Exp-run by:	antoine
2019-06-24 05:59:31 +00:00
Tobias Kortkamp
69e16efb9b shells/ksh93*: Do not set KSH93_DESC twice 2019-06-24 05:05:43 +00:00
Cy Schubert
64743e76d7 Add missing wildcard to ksh93-devel conflict. 2019-06-01 18:36:17 +00:00
Cy Schubert
86085f626f Register conflicts with the new shells/ast-ksh port. 2019-06-01 18:36:13 +00:00
Cy Schubert
933851f296 Fix version going backward due to update to 2020.0.0.a1 (pointy hat to
yours truly).

The maintainer no longer wants to maintain ksh93 as his desire is to
maintain a backlevel port of ksh93 in order to build and support a
shared library for use by legacy applications, which is inconsistent
with the direction of the att/ast team on github. I will maintain the
port.

PR:		237332
PR:		238266
Approved by:	maintiner (saper@saper.info)
2019-06-01 18:36:02 +00:00
Cy Schubert
2a0731944a This is the second part of a two part commit Updating shells/ksh93 to
2020.0.0-alpha1.

This commit:

1. Deletes shells/ksh93, completed by r502844.
2. svn copies shells/ksh93-devel to shells/ksh93 -- this commit.
3. Replaces the git tag with DISTVERSION 2020.0.0-alpha1 -- this commit.

PR:		237332
Reviewed by:	crees@
Approved by:	maintainer timeout
Reminded by:	Siteshwar Vashisht <svashisht@redhat.com>
		(ksh93 upstream maintainer)
2019-05-28 02:35:40 +00:00
Cy Schubert
c08fd5ebb4 This is the first part of a two part commit to update shells/ksh93 to
2020.0.0-alpha1.

Following this commit will be an svn copy shells/ksh93-devel to
shells/ksh93, replacing the git tag with DISTVERSION 2020.0.0-alpha1.

PR:		237332
Approved by:	maintainer timeout
2019-05-28 02:32:15 +00:00
Cy Schubert
2fdd9cc7df shells/ksh93: Update to 93v 2014-12-24
PR:		208098 (fixed)
Submitted by:	saper@saper.info (maintainer)
Reported by:	fuz@fuz.su
Reviewed by:	cy@, pkubaj@
Approved by:	maintainer (implicit, submitter)
Differential Revision:	https://reviews.freebsd.org/D19343
2019-04-21 17:29:49 +00:00
Cy Schubert
3502c8e584 Pet portlint.
Submitted by:	linimon@
Reported by:	linimon@
Approved by:	maintainer: Marcin Cieslak <saper@saper.info>
2019-03-12 19:36:29 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Cy Schubert
517c440905 Register a conflict with the new ksh93-devel port. 2018-09-21 07:41:56 +00:00
Emmanuel Vadot
eb2f5eb9cf shells/ksh93: Update reason for aarch64 broken message
Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D17204
2018-09-18 10:28:08 +00:00
Dmitry Marakasov
3a56d2db50 - Always accompany OSVERSION check with OPSYS check
Approved by:	portmgr blanket
2017-04-07 16:00:46 +00:00
John Marino
cd7f376bdf shells/ksh93: Fix build with gcc5
The ksh93 build process requires the pre-GCC5 CPP newline behavior, which
the -P argument provides by disabling line markers.  This enables ksh93
to be built by gcc5 and later.

Approved by:	GCC blanket
PR:		216707 (related)
2017-02-09 20:26:22 +00:00
Sunpoet Po-Chuan Hsieh
6aa981158a - Pass maintainership to submitter
PR:		211164
Submitted by:	Marcin Cieslak <saper@saper.info>
2016-11-23 18:59:23 +00:00
Mark Linimon
c92cf8332c Mark as broken on various tier-2 archs.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2016-11-16 00:35:29 +00:00
Sunpoet Po-Chuan Hsieh
22bf4d7140 - Fix build on armv6
- While I'm here, fix diff header of patch file

PR:		209457
Submitted by:	<mikael.urankar@gmail.com>
Obtained from:	https://github.com/att/ast/blob/beta/src/lib/libast/hash/hashalloc.c
		https://github.com/att/ast/blob/beta/src/lib/libast/string/tokscan.c
2016-10-28 15:08:14 +00:00
Mathieu Arnold
a2262e9313 Remove unnecessary evals that do-fetch was using.
Turns out that env(1) knows how to parse a properly quoted string
using -S "string", it makes the double eval used for the fetch
command to be unnecessary.

This is because running:
eval "foo $(escape $bar)"
is silly when this works:
foo $bar

So remove escaping and quoting, and sillyness.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:25:29 +00:00
Sunpoet Po-Chuan Hsieh
dfebead197 - Fix build on 11-CURRENT 2016-03-21 17:59:34 +00:00
Sunpoet Po-Chuan Hsieh
fb4fb60268 - Add my LOCAL to MASTER_SITES as backup
- Use do-test:
2016-03-13 14:55:49 +00:00
Sunpoet Po-Chuan Hsieh
03ff603079 - Cleanup -lpthread/-pthread manipulation 2015-03-25 14:59:20 +00:00