Commit graph

136 commits

Author SHA1 Message Date
David E. O'Brien
22ae009ed5 Update to Bash 4.2 patchlevel 42.
* If a backslash-newline (which is removed) with no other input is given as
  input to `read', the shell tries to dereference a null pointer and seg faults.

* Under certain circumstances, bash attempts to expand variables in
  arithmetic expressions even when evaluation is being suppressed.

* Output redirection applied to builtin commands missed I/O errors if
  they happened when the file descriptor was closed, rather than on write
  (e.g., like with an out-of-space error on a remote NFS file system).

* Process substitution incorrectly inherited a flag that inhibited using
  the (local) temporary environment for variable lookups if it was providing
  the filename to a redirection.  The intent the flag is to enforce the
  POSIX command expansion ordering rules.
2013-01-22 16:58:21 +00:00
Emanuel Haupt
df9706b895 Register CONFLICTS 2013-01-14 11:48:45 +00:00
David E. O'Brien
51881237b8 Update to Bash 4.2 patchlevel 37.
PR:		170283
Submitted by:	Bryan Drewery <bryan@shatow.net>
2012-08-03 18:56:44 +00:00
David E. O'Brien
5cf03bbdc4 Update to Bash 4.2 patchlevel 28. 2012-05-07 15:12:41 +00:00
David E. O'Brien
270ea2ece5 Force a package cluster rebuild. 2012-04-30 22:49:03 +00:00
David E. O'Brien
a27f893e98 Update version 4.2 to patchlevel 24. 2012-04-24 17:48:36 +00:00
David E. O'Brien
82e5900cea Update to version 4.2 PL 20. 2012-01-12 22:32:28 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
David E. O'Brien
792f9af6d1 Update to Bash 4.1 patchlevel 11.
Under certain circumstances, running `fc -l' two times in succession
  with a relative history offset at the end of the history will result
  in an incorrect calculation of the last history entry and a seg fault

PR:	160239
2011-08-29 18:44:40 +00:00
David E. O'Brien
bf7ad139d5 Add option to log user history to syslog.
PR:		155780
Submitted by:	Alexander Kriventsov <avk@vl.ru>
2011-04-06 17:47:52 +00:00
David E. O'Brien
2159e26025 Update to Bash 4.1 patchlevel 10. 2011-04-05 17:38:33 +00:00
David E. O'Brien
9e909fc921 Update to Bash 4.1 patchlevel 9. 2010-10-20 01:08:16 +00:00
David E. O'Brien
9f82a80526 Add OPTIONS processing. 2010-09-10 02:30:50 +00:00
Emanuel Haupt
135815e4ab - Remove iconv dependency if WITHOUT_NLS is defined
- Bump PORTREVISION

PR:             149981
Submitted by:   Jeremy Chadwick <freebsd@jdc.parodius.com> (via ports)
Approved by:    obrien (maintainer-timeout; 14 days)
2010-09-09 13:24:39 +00:00
Emanuel Haupt
9f049e5f9f - Depend on libiconv in order to fix package installation
- Bump PORTREVISION

PR:		147747, 148329, 149218
Submitted by:	Alex Goncharov <alex-goncharov@comcast.net>,
		Garrett Wollman <wollman@khavrinen.csail.mit.edu>
		yar
Approved by:	obrien (maintainer timeout; > 50 days)
2010-08-06 08:48:46 +00:00
Emanuel Haupt
df6564ce3d Update to 4.1.7
PR:		147172
Approved by:	obrien (maintainer timeout; > 14 days)
2010-06-16 14:20:42 +00:00
Ade Lovett
6fab7cbdf3 Bump PORTREVISION after gettext update - not sure how this one was missed.
Submitted by:	Herbert J. Skuhra <h.skuhra (at) gmail.com>
2010-05-31 10:52:11 +00:00
Emanuel Haupt
a04231de18 - Fix statically linked version
- Bump PORTREVISION

Approved by:	portmgr (miwi)
2010-05-11 09:34:45 +00:00
David E. O'Brien
85e35f68f5 Update to Bash 4.1 patchlevel 5. 2010-05-10 18:25:33 +00:00
Emanuel Haupt
a4634d0487 Update to patchlevel 35
PR:		140179
Approved by:	maintainer timeout (14 days)
2009-11-14 12:05:54 +00:00
Christian Weisgerber
dd2862d85b Pass the -y flag to bison to fix $() parsing.
Plain "bison -d parse.y" outputs parse.tab.c instead of y.tab.c,
so y.tab.c is never regenerated, and the parser fix from patch 001
is effectively not applied.

PR:		139720
Approved by:	maintainer timeout (4+2 weeks)
2009-11-02 18:28:59 +00:00
Emanuel Haupt
fbb80c4908 Register CONFLICTS 2009-11-01 21:31:27 +00:00
Martin Wilke
54b255ea4a - Update to 4.0.33
PR:		137294
Submitted by:	bf <bf1783@gmail.com>
Approved by:	obrien (maintainer timeout)
Feature safe:	yes
2009-09-19 22:24:28 +00:00
David E. O'Brien
131f625395 Update to Bash 4.0 patchlevel 24. 2009-05-18 18:44:33 +00:00
David E. O'Brien
b41e87d0b0 Update to patchlevel 17. 2009-05-06 04:25:27 +00:00
David E. O'Brien
d5ed9eca5a Set MAKE_JOBS_UNSAFE.
Philip reports he sees a race condition as it fails 3 of 8 tries.

Submitted by:   pgollucci
2009-05-06 04:16:23 +00:00
David E. O'Brien
80321f0d0e Use Bison in the build instead of byacc.
This fixes the issue of '$()' (for ``) not being parsed correctly.

PR:		101230
Submitted by:	bf2006a@yahoo.com
2009-03-13 15:54:23 +00:00
Sergey A. Osokin
e16c77d271 Fix pkg-plist.
Bump PORTREVISION.

Approved by:	pav@ (portmgr)
2009-03-12 09:54:01 +00:00
David E. O'Brien
ebfea16aaf Now that the build break is quickly dealt with, update the description
and conflicts.
2009-03-12 05:10:17 +00:00
David E. O'Brien
69ce1c6372 Blah^2. Now DISTNAME is wrong. But yay! patches are here. So now all
the patch logic won't get in the way.
2009-03-12 04:53:42 +00:00
David E. O'Brien
f2fde45612 Fix nit in version number. 2009-03-11 17:00:37 +00:00
David E. O'Brien
2f6ee01948 Update to 4.0 PL0. 2009-03-11 16:49:28 +00:00
David E. O'Brien
ed9fb09680 Add ports conflicts between bash{,-static}.
Submitted by:	ehaupt
2009-01-25 20:39:54 +00:00
David E. O'Brien
2ce2f6fc79 Update 3.2 to patchlevel 48. 2009-01-02 09:30:29 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
David E. O'Brien
0158af4c88 Update to Bash 3.2 patchlevel 39.
PR: 123326
Submitted by: bf2006a@yahoo.com
2008-05-04 02:34:52 +00:00
David E. O'Brien
6c68b8f39d Update to patchlevel 33.
PR:		118728
Submitted by:	bf <bf2006a@yahoo.com>
2007-12-17 23:48:06 +00:00
David E. O'Brien
85ef9b0739 Update to Bash 3.2 patchlevel 25.
PR:	116272
2007-09-11 18:15:34 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
David E. O'Brien
812bdd6875 dd 'cklatest' target. 2007-08-03 18:19:53 +00:00
David E. O'Brien
abe6aac47f Add rbash.
PR:		104040
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
2007-06-28 23:25:16 +00:00
Pav Lucistnik
3a33358cbf - Fix plist
With hat:	portmgr
2007-06-25 23:37:33 +00:00
David E. O'Brien
392bd21eb6 Upgrade to 3.2. 2007-06-21 17:12:01 +00:00
David E. O'Brien
5e595f7722 Rather than have to manually list every patch version, use some automation
(courtesy of 'jot').

Obtained from:	Vim port
2006-09-01 05:45:04 +00:00
David E. O'Brien
eca44c8543 Add vendor patch fixing array expansion fails with an arithmetic
syntax error when the subscript appears within double quotes.
For example: ${a["4"]}.
2006-06-09 03:54:02 +00:00
Marcus Alves Grando
6a342e5b78 - Update to 3.1.16
PR:		95188
Submitted by:	Toni Viemero <toni.viemero___iki.fi>
Approved by:	portmgr (krion)
2006-04-13 17:34:07 +00:00
Kris Kennaway
8e180ab31a When bash is built with the bison 1.75 port present it breaks the ability
of bash to parse certain legal shell scripts (used by e.g. GNU configure).
Fix this by explicitly directing bash to use yacc.

Bump PORTREVISION since this is likely to be a common enough occurrence
that many users will benefit from the rebuild.

Submitted by:   Nicolas Rachinsky <nicolas-0@ml.turing-complete.org>
PR:             ports/94086
Approved by:    portmgr (implicit)
2006-03-06 21:58:25 +00:00
Marcus Alves Grando
a8efc057b3 - Fix master sites and patch sites
Reported by:	Guillermo MORENO-SOCIAS
Approved by:	portmgr (krion)
2006-02-25 18:11:18 +00:00
Renato Botelho
96a33532bb - Update to 3.1.10
PR:		ports/91036
Submitted by:	Rainer Alves <rainer.alves@gmail.com>
Approved by:	maintainer timeout (54 days)
2006-02-21 15:29:59 +00:00