summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/fastjar/Makefile8
-rw-r--r--archivers/fastjar/PLIST5
-rw-r--r--archivers/fastjar/distinfo9
-rw-r--r--archivers/fastjar/patches/patch-aa102
-rw-r--r--archivers/fastjar/patches/patch-ab58
5 files changed, 157 insertions, 25 deletions
diff --git a/archivers/fastjar/Makefile b/archivers/fastjar/Makefile
index 1562cfb8576..972e30cc8d1 100644
--- a/archivers/fastjar/Makefile
+++ b/archivers/fastjar/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2002/08/25 21:49:03 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2002/12/14 04:34:39 jschauma Exp $
#
-DISTNAME= fastjar-0.90
+DISTNAME= fastjar-0.93
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fastjar/}
EXTRACT_SUFX= .tgz
@@ -13,5 +13,9 @@ COMMENT= C language version of the 'jar' archiver normally used by Java
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/fastjar.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/grepjar.1 ${PREFIX}/man/man1
+
.include "../../devel/zlib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/fastjar/PLIST b/archivers/fastjar/PLIST
index 7c5cfb9e3c5..b6f02f41fee 100644
--- a/archivers/fastjar/PLIST
+++ b/archivers/fastjar/PLIST
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 20:24:20 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/12/14 04:34:39 jschauma Exp $
bin/fastjar
+bin/grepjar
+man/man1/fastjar.1
+man/man1/grepjar.1
diff --git a/archivers/fastjar/distinfo b/archivers/fastjar/distinfo
index b98dd4e164a..5752c5da249 100644
--- a/archivers/fastjar/distinfo
+++ b/archivers/fastjar/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/07/15 11:23:25 jlam Exp $
+$NetBSD: distinfo,v 1.4 2002/12/14 04:34:39 jschauma Exp $
-SHA1 (fastjar-0.90.tgz) = bf88e42e10f66ed8a142833a93c5bc59c3ef9d84
-Size (fastjar-0.90.tgz) = 40115 bytes
-SHA1 (patch-aa) = fb2ff3febff6e35511eb9294aa718cf4a4d427df
+SHA1 (fastjar-0.93.tgz) = 74acc8e8a920ea6da18a180cd0a691c5d7c4699f
+Size (fastjar-0.93.tgz) = 62419 bytes
+SHA1 (patch-aa) = 12cc5397a89c18d239164caa3955121ca6d01de0
+SHA1 (patch-ab) = c13f46e1a3e60a3bbe656af609a5c9fb047a4ca3
diff --git a/archivers/fastjar/patches/patch-aa b/archivers/fastjar/patches/patch-aa
index 2859f7e5314..ed4448b3a54 100644
--- a/archivers/fastjar/patches/patch-aa
+++ b/archivers/fastjar/patches/patch-aa
@@ -1,19 +1,85 @@
-$NetBSD: patch-aa,v 1.1 2001/07/15 11:23:25 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2002/12/14 04:34:39 jschauma Exp $
---- Makefile.in.orig Mon Dec 6 01:42:00 1999
-+++ Makefile.in
-@@ -1,4 +1,5 @@
- CFLAGS = @CFLAGS@ @CPPFLAGS@ @DEFS@
-+LDFLAGS = @LDFLAGS@
- CC = @CC@
- INSTALL = @INSTALL@
- prefix = @prefix@
-@@ -8,7 +9,7 @@
- all: fastjar
-
- fastjar: jartool.o dostime.o compress.o pushback.o
-- $(CC) -o $@ jartool.o dostime.o compress.o pushback.o @LIBS@
-+ $(CC) $(LDFLAGS) -o $@ jartool.o dostime.o compress.o pushback.o @LIBS@
-
- install: fastjar
- @INSTALL_PROGRAM@ -s -m 755 fastjar $(BINARY)
+--- /dev/null Fri Dec 13 23:11:57 2002
++++ fastjar.1 Fri Dec 13 23:22:03 2002
+@@ -0,0 +1,80 @@
++.TH FASTJAR 1 "August 11, 2001" fastjar "Java User's Manual"
++.SH NAME
++fastjar \- a faster jar
++
++.SH SYNOPSIS
++.B fastjar
++[\fIOPTIONS\fR] [\fIjar-file\fR] [\fImanifest-file\fR] [\fB-C\fR \fIdir\fR] \fIfiles\fR...
++
++.SH DESCRIPTION
++\fBfastjar\fR is an implementation of Sun's jar utility that comes with the JDK,
++written entirely in C, and runs in a fraction of the time while being 100%
++feature compatible.
++
++.SH USAGE
++If any file is a directory then it is processed recursively.
++The manifest file name and the archive file name needs to be specified
++in the same order the \fI-m\fR and \fI-f\fR flags are specified.
++
++.SH OPTIONS
++A summary of the options supported by \fBfastjar\fR is included below.
++
++.TP
++.B \-@
++Read names from stdin
++.TP
++.B \-C
++change to the specified directory and include the following file
++.TP
++.B \-E
++don't include the files found in a directory
++.TP
++.B \-M
++Do not create a manifest file for the entries
++.TP
++.B \-0
++store only; use no ZIP compression
++.TP
++.B \-V
++display version information
++.TP
++.B \-c
++create new archive
++.TP
++.B \-f
++specify archive file name
++.TP
++.B \-m
++include manifest information from specified manifest file
++.TP
++.B \-t
++list table of contents for archive
++.TP
++.B \-u
++update existing archive
++.TP
++.B \-x
++extract named (or all) files from archive
++.TP
++.B \-v
++generate verbose output on standard output
++
++.SH VERSION
++0.93
++
++.SH BUGS
++Please mail any bug reports to <toast@users.sourceforge.net>.
++
++.SH "SEE ALSO"
++.BR grepjar(1)
++
++.I http://sourceforge.net/projects/fastjar
++
++.SH AUTHOR
++Bryan Burns <toast@users.sourceforge.net>
++.br
++Cory Jon Hollingsworth
++
++This man-page was written by Jan Schaumann <jschauma@netmeister.org> as part of "The Missing
++Man Pages Project". Please see \fIhttp://www.netmeister.org/misc/m2p2/index.html\fR
++for details.
diff --git a/archivers/fastjar/patches/patch-ab b/archivers/fastjar/patches/patch-ab
new file mode 100644
index 00000000000..0f95089ed72
--- /dev/null
+++ b/archivers/fastjar/patches/patch-ab
@@ -0,0 +1,58 @@
+$NetBSD: patch-ab,v 1.1 2002/12/14 04:34:40 jschauma Exp $
+
+--- /dev/null Fri Dec 13 23:11:57 2002
++++ grepjar.1 Fri Dec 13 23:21:48 2002
+@@ -0,0 +1,53 @@
++.TH GREPJAR 1 "December 14, 2002" grepjar "Java User's Manual"
++.SH NAME
++grepjar \- search files in a jar file for a pattern
++
++.SH SYNOPSIS
++.B grepjar
++[\fIOPTIONS\fR] <\fI-e REGEX | REGEX\fR> \fIfiles\fR...
++
++.SH DESCRIPTION
++As the name suggests, \fBgrepjar\fR searches files in a jar file for a
++regular expression pattern.
++
++.SH OPTIONS
++A summary of the options supported by \fBgrepjar\fR is included below.
++
++.TP
++.B \-b
++Print byte offset of match.
++.TP
++.B \-c
++Print number of matches.
++.TP
++.B \-i
++Compare case-insensitively.
++.TP
++.B \-n
++Print line number of each match.
++.TP
++.B \-s
++Suppress error messages.
++.TP
++.B \-w
++Match only whole words.
++
++.SH VERSION
++0.93
++
++.SH BUGS
++Please mail any bug reports to <toast@users.sourceforge.net>.
++
++.SH "SEE ALSO"
++.BR fastjar(1)
++
++.I http://sourceforge.net/projects/fastjar
++
++.SH AUTHOR
++Bryan Burns <toast@users.sourceforge.net>
++.br
++Cory Jon Hollingsworth
++
++This man-page was written by Jan Schaumann <jschauma@netmeister.org> as part of "The Missing
++Man Pages Project". Please see \fIhttp://www.netmeister.org/misc/m2p2/index.html\fR
++for details.