Awk scans input files for specified patterns and can perform an associated
action when a line of the file matches the pattern.
This is the One True version of awk described in "The AWK Programming Language"
by Al Aho, Brian Kernighan, and Peter Weinberger
(Addison-Wesley, 1988, ISBN 0-201-07981-X).
*/*: Remove BROKEN in all ports that uses bsdforge.com for MASTER_SITES
Site is now back up
Reported by: Jamie Landeg-Jones <jamie@catflap.org>, Chris
<portmaster@bsdforge.com>
Approved by: portmgr (blanket)
*/*: Mark all ports that uses bsdforge.com in MASTER_SITES broken
The domain bsdforge.com has expired, mark all ports that only
uses bsdforge.com as broken (unfetchable). Additionally set ports that
uses bsdforge.com as primary site and have broken mirrors as broken
too as they're also unfetchable.
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
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 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.
(Only the first 15 lines of the commit message are shown above )
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org>
(Only the first 15 lines of the commit message are shown above )
lang/nawk: Upgrade version 20110810 => 20121220
While here, set the DIST_SUBDIR to something unique since the distfile
has the same name between versions. Also reset maintainship as
Hiro doesn't use nawk on FreeBSD and updates are infrequent.
PR: 187543
Submitted by: Pedro Giffuni
Tweaks by: marino@
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
- Update to 20110810
Changes:
- Another fix to avoid core dump with delete(ARGV); again, many thanks to
Ruslan Ermilov.
PR: ports/160226
Submitted by: Pedro Giffuni <giffunip@tutopia.com>
Approved by: Yoshihiro Ota <ota@j.email.ne.jp> (maintainer)
- Update to 20100523
Changes:
- fixed long-standing overflow bug in run.c; many thanks to
nelson beebe for spotting it and providing the fix.
- fixed bug that didn't parse -vd=1 properly; thanks to santiago
vila for spotting it.
PR: ports/152025
Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
Approved by: maintainer (timeout, 18 days)
- Update to 20091126
PR: ports/142206
Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
Approved by: Yoshihiro Ota <ota@j.email.ne.jp> (maintainer)
Add patches:
- replace sprintf with snprintf
- use calloc() to avoid malloc(n * m) overflows
- NetBSD PR 36831: In setfval(), ensure that arithmetic never yields a negative
zero result.
- Restore the traditional (FreeBSD <= 2.x) behavior of trapping FPEs. With this
patch we pass mawk's fpe_test.
PR: 125348
Submitted by: "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
- Update to 20070501
- Add one fix from src/usr.bin/awk/lib.c.diff rev 1.2
- Normalize DIST_SUBDIR as other ports
PR: ports/114227
Submitted by: Pedro F. Giffuni <giffunip at tutopia.com>
Update to the Mar 14, 2003 version:
the internationalization changes, somewhat modified, are now
reinstated. in theory awk will now do character comparisons
and case conversions in national language, but "." will always
be the decimal point separator on input and output regardless
of national language. isblank(){} has an #ifndef.
fixed subtle behavior in field and record splitting: if FS is
a single character and RS is not empty, \n is NOT a separator.
this tortuous reading is found in the awk book; behavior now
matches gawk and mawk.
Update to the Dec 13, 2002 version:
for the moment, the internationalization changes of nov 29 are
rolled back -- programs like x = 1.2 don't work in some locales,
because the parser is expecting x = 1,2. until i understand this
better, this will have to wait.
Approved by: knu(portmgr)
Update to the 29-Nov-2002 distribution.
Since the distfile isn't versioned, this was the only way to fix the
"make distclean all" problem on 5-CURRENT.
Approved by: kris
Make lang/nawk building on -current again.
I didn't really take the patches from the PR, since 95% of them
where tab to space conversions. Also tweaked the makefile to use
${CC} instead of cc. The distinfo change is because of the rollout
of a new version, of which the Makefile was already changed but the
distinfo not.
PR: ports/44281
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>