Subject: pkg/9935: lang/nawk update for release "updated June 20, 1999"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@weird.com>
List: netbsd-bugs
Date: 04/19/2000 14:32:09
>Number: 9935
>Category: pkg
>Synopsis: lang/nawk update for release "updated June 20, 1999"
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Apr 19 14:33:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Greg A. Woods
>Release: 2000/04/19
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:
Unfortunately the distribution file for nawk doesn't have any
release identifier in its name and thus any update of the
release will foil pkgsrc.
Perhaps somone can convince Mr. Kernighan to include a release
identifier of some sort in the filename(s) used for the
distribution(s) of nawk.....
>How-To-Repeat:
Try building nawk without a local copy of the distribution
file and note that the newly fetched one doesn't have a
matching MD5 signature; visit the home page and discover that
there was an update last June....
>Fix:
unpack the enclosed shar in pkgsrc/lang/nawk
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# Makefile
# files/md5
# pkg/COMMENT
# pkg/DESCR
# pkg/PLIST
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD: Makefile,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
X#
X
XDISTNAME= awk
X# last updated June 20, 1999
XPKGNAME= nawk-19990620
XCATEGORIES= lang
XMASTER_SITES= http://cm.bell-labs.com/who/bwk/
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://cm.bell-labs.com/who/bwk/
X
XNO_PATCH= yes
XNO_CONFIGURE= yes
X
XNO_WRKSUBDIR= yes
XMAKEFILE= makefile
XALL_TARGET= a.out
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
X ${SED} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 > ${PREFIX}/man/man1/nawk.1
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD$
X
XMD5 (awk.tar.gz) = d85853b63b117415d16daba456c0e6c5
END-of-files/md5
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XBrian Kernighan's pattern-directed scanning and processing language
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XThe one, true implementation of the AWK pattern-directed scanning and
Xprocessing language, by one of the language's creators, Brian
XKernighan. This is the version of awk described in "The AWK
XProgramming Language", by Al Aho, Brian Kernighan, and Peter
XWeinberger (Addison-Wesley, 1988, ISBN 0-201-07981-X).
XIt is also known as new awk, or nawk.
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
Xbin/nawk
Xman/man1/nawk.1
END-of-pkg/PLIST
exit
>Release-Note:
>Audit-Trail:
>Unformatted: