aboutsummaryrefslogtreecommitdiff
path: root/shells/zsh
Commit message (Collapse)AuthorAgeFilesLines
* shells/zsh: Impelled to share/manMuhammad Moinur Rahman2024-01-232-18/+19
| | | | Approved by: portmgr (blanket)
* shells/zsh: Fix build with DOCS option off and base system WITHOUT_DOCSBrad Davis2023-11-102-108/+109
| | | | | | | PR: 274713 Reviewed by: garga Approved by: maintainer timeout Sponsored by: Rubicon Communications, LLC ("Netgate")
* shells/zsh: cache the utx.active locationBaptiste Daroussin2023-04-061-3/+4
| | | | | | | | | | | | | | | On fresh jails or chroot the /var/run/utx.active might not exist (like in poudriere for example) but configure script is looking for its existance to determine its existance and activate the build of the utmx logging feature internally. Caching it makes the configure script always build the logging features. While here, make ZSH_VER use the distversion, which fixes the usecase of building snapshots of zsh via the port. PR: 268714 Reported by: okiddle@yahoo.co.uk
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | 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)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* shells/zsh: remove the MEM optionBaptiste Daroussin2022-08-311-3/+2
| | | | | | | Remove the option allowing to use zsh memory allocator, it is only useful for zsh developers who won't use the port anyway. PR: 259997
* shells/zsh: remove the modification of the configure scriptBaptiste Daroussin2022-08-031-3/+2
| | | | | | | | | | | | | | | | | | | We used to modify the configure script to avoid zsh to link against librt because clock_gettime on FreeBSD is in libc not librt. It's been a while that we are configuring zsh with the --as-needed linker flag which means now even if -lrt is passed we will not end up linked to it librt anymore. besides, modifying the configure script at the patch phase makes it newer than stamp.h.in which results in the build system triggering a regeneration of itself (hence the USES= autoreconf we had), not touching anymore that script can remove the need for USES=autoreconf and the load if build dependencies it drags in Removing the USES=autoreconf highlights also the lack of build dependency on perl which is needed to be able to the help files for run-help to work on builtins. this is fixed now
* shells: remove 'Created by' linesTobias C. Berner2022-07-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* shell/zsh: remove unnneeded patchTomoaki AOKI2022-05-192-22/+0
| | | | | | | files/extra-patch-Src_Modules_curses__keys.awk is no longer needed and broke patch phase if ports ncurses is installed. The patch is already incorporated upstream, so doesn't apply.
* shell/zsh: update to 5.9Baptiste Daroussin2022-05-184-25/+51
| | | | | Stop supporting case with both utmp.h and utmpx.h the changed happened more than 10 years ago
* shells/zsh: update to 5.8.1Baptiste Daroussin2022-02-122-6/+6
| | | | | MFH: 2022Q1 Security: CVE-2021-45444
* shells/zsh: Revert "shells/zsh: Add BASE_ZSH option"Yasuhiro Kimura2021-11-262-45/+37
| | | | | | This reverts commit ae1787aab23e44e369dbb0cc814e8318c6f86e0d. Requested by: maintainer
* shells/zsh: Add BASE_ZSH optionYasuhiro Kimura2021-11-262-37/+45
| | | | | | | | | | | | | | | | | | | | | | | | | Add new option BASE_ZSH that makes zsh and rzsh also available as /bin/zsh and /bin/rzsh. Under ports flamework everything is installed under /usr/local unless custom prefix is used. And according to it zsh is installed as /usr/local/bin/zsh. But on most Linux based OSes zsh is installed as /bin/zsh. And it causes problem if user's account information is shared between FreeBSD and Linux by using such tools as LDAP or NIS as account information also includes absolute path of user's login shell. To work around it I have created /bin/zsh as symbolic link referencing /usr/local/bin/zsh and also edited /etc/shells to add /bin/zsh to it every time I set up new FreeBSD system. But it's quite bothersome and that is why I add new BASE_ZSH option. While I'm here, * Pet portclippy * Re-format Makefile with portfmt PR: 259109 Proposed by: Chris Hutchinson (more intuitive option name) Approved by: maintainer timeout (> 2 weeks)
* shells/zsh: Add CPE informationBernhard Froehlich2021-09-081-1/+1
| | | | Approved by: portmgr (blanket)
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Switch to USES=localbase:ldflagsMateusz Piotrowski2020-11-031-3/+3
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=553982
* shells/zsh: Fix build with devel/ncurses 6.2Fukang Chen2020-09-132-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | When devel/ncurses is installed in the system, the Zsh configure script detects and uses ${LOCALBASE}/include/ncurses/ncurses.h instead. The patch is obtained from this commit: https://sourceforge.net/p/zsh/code/ci/c6a85163619ed1cee89ab047a0d98108ed46828d/ cc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -I/usr/local/include -DBOOL_DEFINED -DLIBICONV_PLUG -DHAVE_CONFIG_H -DMODULE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fPIC -o curses..o curses.c In file included from curses.c:210: ./curses_keys.h:93:15: error: use of undeclared identifier 'KEY_EVENT' {"EVENT", KEY_EVENT}, ^ 1 error generated. *** Error code 1 Reviewed by: koobs Approved by: koobs (ports, mentor) Differential Revision: https://reviews.freebsd.org/D26355 MFH: 2020Q3 (build fix) Notes: svn path=/head/; revision=548445
* Update to 5.8Baptiste Daroussin2020-02-163-19/+40
| | | | | | | | | Fix sites-functions not respecting PREFIX != LOCALBASE Don't document the security issue CVE-2019-20044 as it does not impact FreeBSD Notes: svn path=/head/; revision=526255
* shells/zsh: Spell PORTREVISION correctlyTobias Kortkamp2019-06-041-1/+1
| | | | Notes: svn path=/head/; revision=503447
* Only show the pkg-message on installation, never do it on upgradesBaptiste Daroussin2019-06-042-0/+8
| | | | Notes: svn path=/head/; revision=503441
* Update to 5.7.1Baptiste Daroussin2019-02-054-44/+7
| | | | Notes: svn path=/head/; revision=492261
* Update MASTER_SITES and WWWSunpoet Po-Chuan Hsieh2019-01-272-3/+3
| | | | | | | Approved by: portmgr (blanket) Notes: svn path=/head/; revision=491396
* Add a patch to fix an infinite recursion when using VCS_infoBaptiste Daroussin2019-01-272-0/+38
| | | | | | | Reported by: ume Notes: svn path=/head/; revision=491369
* Commit forgotten patch:Baptiste Daroussin2019-01-271-0/+11
| | | | | | | Mandoc was not able to find zshbuiltin.1 in the path Notes: svn path=/head/; revision=491359
* Update to 5.7Baptiste Daroussin2019-01-273-7/+21
| | | | Notes: svn path=/head/; revision=491352
* Update `databases/gdbm' to version 1.18.1, an important bugfix releaseAlexey Dokuchaev2018-11-111-0/+1
| | | | | | | | | | | | | which restores compatibility with old databases (version 1.8) and some later versions which were built without mmap(2) support. Due to shlib version change, bump port revisions of the consumer ports. PR: 233059 Exp-run by: antoine Approved by: maintainer (johans, numerous timeouts) Notes: svn path=/head/; revision=484696
* Update to 5.6.2Baptiste Daroussin2018-09-152-6/+6
| | | | Notes: svn path=/head/; revision=479817
* update to 5.6.1Baptiste Daroussin2018-09-113-6/+7
| | | | Notes: svn path=/head/; revision=479508
* Update to 5.6Baptiste Daroussin2018-09-054-22/+46
| | | | | | | Security: CVE-2018-0502, CVE-2018-13259 Notes: svn path=/head/; revision=479010
* Update to 5.5.1Baptiste Daroussin2018-04-174-17/+7
| | | | Notes: svn path=/head/; revision=467611
* Update to zsh 5.5Baptiste Daroussin2018-04-105-36/+76
| | | | | | | | Patch broken linux completion so that zcompile can actually compile it Remove now useless patch for libarchive Notes: svn path=/head/; revision=466957
* Fix diff -u completionBaptiste Daroussin2017-10-022-0/+10
| | | | | | | | PR: 222420 Submitted by: cy Notes: svn path=/head/; revision=451075
* Update to 5.4.2Baptiste Daroussin2017-08-313-6/+11
| | | | Notes: svn path=/head/; revision=449017
* Due to some timestamp issue zsh may need autoheader at build timeBaptiste Daroussin2017-08-101-1/+1
| | | | | | | | | Let's renegerate the autotools part to be safe Reported by: jrm Notes: svn path=/head/; revision=447674
* Update to 5.4.1Baptiste Daroussin2017-08-104-18/+19
| | | | Notes: svn path=/head/; revision=447671
* Fix bug in kldload completion (also reported upstream).Dag-Erling Smørgrav2017-03-302-0/+12
| | | | | | | Approved by: bapt@ Notes: svn path=/head/; revision=437285
* Update to 5.3.1Baptiste Daroussin2016-12-224-29/+6
| | | | Notes: svn path=/head/; revision=429157
* Fix typo in chflags completionBaptiste Daroussin2016-12-182-0/+12
| | | | | | | Reported by: adamw Notes: svn path=/head/; revision=428847
* Update ZSH to 5.3Baptiste Daroussin2016-12-146-56/+60
| | | | | | | | | | | | | Among the usual bugs fixes and completion updates, FreeBSD users will now benefit new completion functions for: - cu - gstat - jot - rcctl - sysrc Notes: svn path=/head/; revision=428547
* Fix make and gmake completionBaptiste Daroussin2016-10-162-1/+32
| | | | | | | | Submitted by: Daniel Shahaf (on zsh mailing list) Reported by: Guilherme Salazar (on zsh mailing list) Notes: svn path=/head/; revision=424080
* Grab back maintainership on zshBaptiste Daroussin2016-10-161-1/+1
| | | | | | | Approved by: adamw Notes: svn path=/head/; revision=424076
* Sort a few OPTIONS helpersAdam Weinberger2016-07-291-2/+2
| | | | Notes: svn path=/head/; revision=419259
* Reorganize, simplify, and improve the Makefile.Adam Weinberger2016-07-274-89/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | A couple options changes: The MAILDIR and SECURE_FREE knobs were both removed and switched to always-on. Having maildir support does not preclude mbox support, so there's no reason not to include it for everybody. The secure-free run-time free() safety check is good practice and is a mandatory default on a number of other OS's, so now it's enabled for all zsh here as well. PORTREVISION bump for the above changes. The rest of the changes are simplifications, and reorganizing things to be more legible. An EXTRA_PATCHES that was being applied unconditionally was converted to a normal files/patch-, and I added in some comments on things I got confused by. While here, I also rewrote the descr to better describe what Zsh is in relation to other shells. I also removed "See also zshcompsys(1) manpage. :)" Not even a smiley face can undo the pain of trying to read zshcompsys(1). Notes: svn path=/head/; revision=419165
* Change the ETCDIR description to say "${PREFIX}" instead ofAdam Weinberger2016-06-241-1/+1
| | | | | | | | showing the actual prefix. Otherwise poudriere says it will read from /nonexistent/etc. Notes: svn path=/head/; revision=417426
* Switch zsh back to looking for system-wide files under ${PREFIX}/etc,Adam Weinberger2016-06-242-7/+21
| | | | | | | | | | | rather than /etc. Add an option, ETCDIR, to switch it back to /etc. Also includes a couple whitespace cleanups. PORTREVISION bump, and a note in UPDATING. PR: 201866 Notes: svn path=/head/; revision=417423
* - No need to specify master site subdirectory when it's the same as defaultDmitry Marakasov2016-05-181-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415452
* Clean up Makefile and regenerate patches.Adam Weinberger2016-04-064-32/+47
| | | | | | | | | | Reorganize Makefile for clarity, and add a few comments. While here, regenerate the patches with makepatch. No functional changes. Notes: svn path=/head/; revision=412602
* Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.Mathieu Arnold2016-04-011-2/+2
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412349
* Fix ncurses detection properly. Now zsh builds and packages properly withAdam Weinberger2015-12-241-7/+3
| | | | | | | | | base and ports ncurses, static or non-static. Many thanks to bapt for showing me the magic trick here! Notes: svn path=/head/; revision=404382
* Partially revert r403755. It can't build the curses module against ncurses fromAdam Weinberger2015-12-231-4/+5
| | | | | | | | | | | | | | | | | | | | ports. It probably can, but configure is too smart to figure that out. I have no confidence that linking against curses from ports results in a properly working zshell. So, for now, back out the change. It will build a shared lib zsh against ncurses from ports, but breaks statically-linked zsh's. Mark the port as IGNORE if we're using ncurses from ports and building a static zsh. Also, remove a regression-test target that isn't useful anymore (thanks to bapt for the reminder about this). I am not enthused about this change. It doesn't really "fix" the below PR, so much as shoot ourselves in the other foot instead. PR: 205500 Notes: svn path=/head/; revision=404326