Commit graph

1196 commits

Author SHA1 Message Date
seb
9165b4364c Update to version 3.1.0 (lots of new features and bug fixes).
Enable this package for all platforms.

Added GAWK_ENABLE_PORTALS to mk/bsd.pkg.defaults.mk to enable/disable gawk
handling file names that start with `/p/' as a 4.4 BSD type portal file.

Changes from 3.0.4 to 3.0.5:
- bug fix release only.

Changes from 3.0.5 to 3.0.6:
- bug fix release only.

Changes from 3.0.6 to 3.1.0:
- A new PROCINFO array provides info about the process. The non-I/O /dev/xxx
  files are now obsolete, and their use always generates a warning.
- A new `mktime' builtin function was added for creating time stamps. The
  `mktime' function written in awk was removed from the user's guide.
- New `--gen-po' option creates GNU gettext .po files for strings marked
  with a leading underscore.
- Gawk now completely interprets special file names internally, ignoring the
  existence of real /dev/stdin, /dev/stdout files, etc.
- The mmap code was removed. It was a worthwhile experiment that just
  didn't work out.
- The BINMODE variable is new; on non-UNIX systems it affects how gawk
  opens files for text vs. binary.
- Gawk no longer supports `next file' as two words.
- On systems that support it, gawk now sets the `close on exec' flag on all
  files and pipes it opens. This makes sure that child processes run via
  system() or pipes have plenty of file descriptors available.
- If `--posix' is in effect, newlines are not allowed after ?:.
- Weird OFMT/CONVFMT formats no longer cause fatal errors.
- Diagnostics about array parameters now include the parameter's name,
  not just its number.
- It is now possible to open a two-way pipe via the `|&' operator.
  See the discussion in the manual about putting `sort' into such a pipeline,
  though.  (NOTE!  This is borrowed from ksh: it is not the same as
  the same operator in csh!)
- The close() function now takes an optional second string argument
  that allows closing one or the other end of the two-way pipe to
  a co-process.  This is needed to use `sort' in a co-process, see
  the doc.
- If TCP/IP is available, special file names beginning with `/inet'
  can be used with `|&' for IPC.
- With `--enable-portals' on the configure command line, gawk will also
  treat file names that start with `/p/' as a 4.4 BSD type portal file,
  i.e., a two-way pipe for `|&'.
- Unrecognized escapes, such as "\q" now always generate a warning.
- The LINT variable is new; it provides dynamic control over the --lint
  option.
- Lint warnings can be made fatal by using --lint=fatal or `LINT = "fatal"'.
  Use this if you're really serious about portable code.
- A number of lint warnings have been added.  Most notably, gawk will
  detect if a variable is used before assigned to.  Warnings for
  when a string that isn't a number gets converted to a number are
  in the code but disabled; they seem to be too picky in practice.
  Also, gawk will now warn about function parameter names that shadow
  global variable names.
- It is now possible to dynamically add builtin functions on systems
  that support dlopen. This facility is not (yet) as portable or well
  integrated as it might be.  *** WARNING *** THIS FEATURE WILL EVOLVE!
- Profiling has been added!  A separate version of gawk, named pgawk, is
  built and generates a run-time execution profile.  The --profile option
  can be used to change the default output file.   In regular gawk, this
  option pretty-prints the parse tree.
- Gawk has been internationalized, using GNU gettext.  Translations for
  future distributions are most welcome.
- New asort() function for sorting arrays.  See the doc for details.
- The match function takes an optional array third argument to hold
  the text matched by parenthesized sub-expressions.
- The bit op functions and octal and hex source code constants are on by
  default, no longer a configure-time option.  Recognition of non-decimal
  data is now enabled at runtime with --non-decimal-data command line option.
- Internationalization features available at the awk level: new TEXTDOMAIN
  variable and bindtextdomain() and dcgettext() functions. printf formats
  may contain the "%2$3.5d" kind of notation for use in translations.  See
  the texinfo manual for details.
- The return value from close() has been rationalized.  Most notably,
  closing something that wasn't open returns -1 but remains non-fatal.
- The array effeciency change from 3.0.5 was reverted; the semantics were
  not right.  Additionally, index values of previously stored elements
  can no longer change dynamically.
- The new option --dump-variables dumps a list of all global variables and
  their final types and values to a file you give, or to `awkvars.out'.
- Gawk now uses a recent version of random.c courtesy of the FreeBSD
  project.
- The gawk source code now uses ANSI C function definitions (new style),
  with ansi2knr to translate code for old compilers.
- `for (iggy in foo)' loops should be more robust now in the face of
   adding/deleting elements in the middle; they loop over just the elements
   that are present in the array when the loop starts.
2002-04-04 13:58:25 +00:00
tron
b6343d0c10 Use "suse_linux/Makefile.application" to pick correct SuSE packages. 2002-04-04 12:29:46 +00:00
wiz
603a6f2ea5 Add and enable onyx. 2002-04-03 18:08:05 +00:00
wiz
a5ed0ca957 Fix/add RCS Ids, and remove WWW line from DESCR (added automatically
by using HOMEPAGE).
2002-04-03 18:02:07 +00:00
mrg
c6f10d9230 (oops; do this in the right place.)
initial import of onyx 3.0.2 package.  from DESCR:


Onyx is an embeddable stack-based threaded interpreted language.  This package
contains both a stand alone interpreter and a library that can be used to embed
Onyx in an application.  Extensive documentation is included.

WWW: http://www.canonware.com/
2002-04-03 17:54:10 +00:00
dmcmahill
9a18f96a5e fix PLIST for alpha and sparc64 2002-04-01 15:09:44 +00:00
dmcmahill
bdaa29be3b depend on lang/gcc package on systems without the new toolchain. Avoids
internal c++ compiler errors.  Also unlimit datasize.  This fixes long standing
build problems on alpha.
2002-03-31 17:55:21 +00:00
jmc
a36ac73d00 Hand edit the alpha/netbsd.h patch. -current gcc relies on a new linker script
which only differs in setting the entry point. Let this use the default
linker script for alpha but force the entry point so this will work on older
NetBSD installs for alpha.
2002-03-31 08:05:51 +00:00
kent
0abd106aa7 Update ssp patch to 2.95.3-4.
- Support mips.
2002-03-29 10:47:58 +00:00
jmc
3728d95a88 Remove PKGREVISION. It causes too many issues with installing/tracking 2002-03-28 17:17:41 +00:00
kent
59cefc10bb Sync with lang/gcc. 2002-03-28 13:57:17 +00:00
jmc
bd9e09a86d regen 2002-03-28 10:26:02 +00:00
jmc
90a9fcaefe regen 2002-03-28 10:16:04 +00:00
jmc
2ce70215a8 Update patch set against a sync of source from gnusrc/dist/toolchain.
Not very many overall changes. Main ones include

1. Support for powerpc, arm32 and vax
2. Makefile.gcc can now be included by anything which depends on gcc versions.
   If the version installed isn't 2.95.3 it'll add itself as a BUILD_DEPENDS.
   (XXX: any of the makefile's in pkgsrc should be checked and change to use
    this)

3. Remove special PLIST.NetBSD-sparc as it's no longer needed
4. Change post-extract loop to pick up any arch files from FILESDIR without
   having to hardcode all the archs
5. Remove arch restrictions as this should work on any arch supported by the
   main source tree as of 03/28/02
6. Add PKGREVISION as this clearly isn't stock 2.95.3 (it doesn't change
   gcc --version so version checks won't care).
2002-03-28 10:11:50 +00:00
cjep
cf0e9086ab Use the gcc-2.95.3 FORTRAN (after discussion with abs). 2002-03-25 14:43:35 +00:00
cjep
9b43b2d9dc Build for arm32 as well (after discussion with abs). 2002-03-25 14:43:00 +00:00
drochner
b75da6892a -remove hardwired "/usr/local" and "/usr/contrib" library search paths,
as suggested by Johnny Lam
-don't try to build the "locale" module - it doesn't work anyway
-pull up a fix from Python CVS to get more consistent math exceptions
 (eg pow(1e-200,2) vs. math.pow(1e-200,2))
 This will be part of 2.2.1.
2002-03-22 15:20:23 +00:00
fredb
f6029877a3 Bump PKGREVISION because of the hidden change in the PLIST because
${MACHINE_GNU_PLATFORM} now appends "elf" on 1.5.3/i386. I updated
all the dependencies to this level, but forgot to commit this!
2002-03-21 16:29:19 +00:00
fredb
47dcb815ea Bump PKGREVISION and dependencies in lock step for sawfish and friends
because of the change to MACHINE_GNU_PLATFORM for certain ports.
2002-03-21 05:39:18 +00:00
fredb
7160784900 Bump PKGREVISION of ruby to reflect the fact that the recent fix to
${MACHINE_GNU_PLATFORM} moved ${RUBY_SITEARCHLIBDIR} on some ports,
and also bump the dependency and PKGREVISION in ruby-gtk, which is
the only package that seems to use that.
2002-03-21 04:23:37 +00:00
jlam
81dbd3c75a Touch a few files that are modified as part of post-build so that they're
not rebuilt at install-time.
2002-03-20 18:04:04 +00:00
wiz
5ebe503a79 Set MAINTAINER to packages@, since perry isn't interested in this package
anymore.
2002-03-20 16:23:07 +00:00
tron
9234c060b2 Update "sun-jre13" and "sun-jdk13" packages to version 1.3.1.0.2. The
update fixes an bug in the Bytecode Verifier which may be exploited by an
untrusted applet to escalate privileges.
2002-03-19 16:33:58 +00:00
fredb
71ca8f912f The host specific installation subdirectories are actually taken by configure
from its --host argument, which is exactly ${MACHINE_GNU_PLATFORM}. Use that
for the PLIST instead of ${MACHINE_ARCH}--${LOWER_OPSYS}, which may lack the
"elf" suffix on certain platforms.
2002-03-18 07:58:35 +00:00
fredb
de93c427af Add missing file. 2002-03-18 07:04:57 +00:00
fredb
6800ae744a Use ${APPEND_ELF} to... append "elf" to ${LOWER_OPSYS}. 2002-03-18 06:16:37 +00:00
dbj
f187615157 set MAINTAINER to uebayasi@netbsd.org 2002-03-16 06:25:43 +00:00
jmc
3804345481 Port for powerpc (or any other arch which enforces alignment).
This code was assuming it could copy double's in/out of char *'s with just
casts and normal copies. This blows up on anything which enforces alignments.

Change the generic case for the ATOM to just have a special double field.

For the serialization routines memcpy the double in and provide a union to
memcpy it out to that also contains a single double value. This ensures
alignment is correct and it won't SIGBUS anymore.

Bump pkg to nb1
2002-03-15 00:22:42 +00:00
dmcmahill
1e169e1200 change NOGCCERROR from 'yes' to #defined. Addresses the build problems
on -current reported in  pkg/15844 by florence.henry@obspm.fr
2002-03-14 22:09:35 +00:00
tron
b866a203ba Remove empty directory "v9" after installation to avoid deinstallation
problems.
2002-03-14 20:44:21 +00:00
wiz
5c152f8bb0 Some cleanup. 2002-03-14 16:21:57 +00:00
wiz
36b7c5af00 Pull over gcc package files from before the 2.95.3 update.
Compiles and installs/deinstalls cleanly on 1.5ZA/i386, otherwise untested,
but that's better than a BROKEN package.
Some cleanup.
2002-03-14 14:54:48 +00:00
jmc
713cf9a1c6 Port to powerpc:
Provide a trampoline implementation that doesn't presume r11 is free (it's not
in dynamically linked programs and the ELF ABI says as much but somehow linux
managed to avoid this it seems). Use r13 for the time being since while gcc
will allocate it, it's the last "local" one allocated so none of the clisp
code hits that (nothing needed 17+ local registers in use ever). Update the
vacall implementation to match the trampoline calls but otherwise for
any assembly use the linux code.

Make these changes specific to netbsd, update the test cases so everything
works.

This now passes all the clisp tests when done/installed.
2002-03-14 07:44:21 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
jmc
e74073c33a Add powerpc/macppc support 2002-03-13 08:37:52 +00:00
cjs
2be839fb58 Properly quote arguments so that arguments with spaces in them don't get split. 2002-03-10 21:04:51 +00:00
jmc
adb3310fd9 Patch on powerpc and avoid using the r* definitions as they conflict with
frame.h
2002-03-06 20:55:12 +00:00
jmc
2a9687628e Add functionality so the module .so's get built and installed as well. Bump to
nb2 for version
2002-03-06 06:48:15 +00:00
dmcmahill
49213ba616 obey CC and CFLAGS. 2002-03-05 18:29:48 +00:00
wiz
51d8592f11 Move line for pkglint. 2002-03-05 13:15:04 +00:00
jmc
0537ad9007 Rearrange a fair amount. Supply patches for compiling on macppc. Bump to nb1
version
2002-03-05 08:45:33 +00:00
jmc
3a7766a29c Don't compile on powerpc, gcc needs help out of the box for netbsd/powerpc. 2002-03-05 06:13:21 +00:00
taca
c2dbf9a56f Ruby 1.6.7 is Ruby's stable release.
ChangeLog is too large, so I don't attach it here.
In detail, See ChangeLog which is contained in the package.

o Many bug fixes.
o Add URI module.
2002-03-02 09:10:56 +00:00
taca
7be7902ffc Update ruby package to 1.6.7.
Ruby 1.6.7 is Ruby's stable release.
ChangeLog is too large, so I don't attach it here.
In detail, See ChangeLog which is contained in the package.
2002-03-02 09:10:55 +00:00
taca
d3f6db38ac Ruby 1.6.7 is Ruby's stable release.
ChangeLog is too large, so I don't attach it here.
In detail, See ChangeLog which is contained in the package.

o Many bug fixes.
o Add URI module.
2002-03-02 09:10:54 +00:00
abs
c90ffd0d11 If we find ourself on Linux-*-i686, deal with it. 2002-03-01 01:58:35 +00:00
agc
a2991295a9 Pass the definitions of BSD_INSTALL_* down through the environment at
install time.
2002-02-28 13:42:59 +00:00
tv
3de6797491 Let's try this again, since cvs appears to be completely losing some files
in commits:  Buildlinkify, and make the gmp detection work.
2002-02-27 03:02:35 +00:00
tv
22bbe689d1 Buildlinkify, and make the gmp detection work. 2002-02-27 01:34:56 +00:00
jlam
3b0ed9803c Strongly buildlinkify to prevent inadvertently depending on an installed
libiconv or libicu.
2002-02-24 22:07:00 +00:00