From b5f14f51e5cbf722c86325f6c42304865475d4c5 Mon Sep 17 00:00:00 2001 From: cjep Date: Mon, 18 Nov 2002 13:36:20 +0000 Subject: Initial import of 9e 1.0 into the NetBSD packages collection as archivers/9e. 9e is a program to explore Plan9 archives. You can do whatever you like with the source so long as you clearly indicate all modifications and the author responsible for each. Converted from the FreeBSD ports collection. --- archivers/9e/DESCR | 15 +++++++++++++++ archivers/9e/Makefile | 16 ++++++++++++++++ archivers/9e/PLIST | 2 ++ archivers/9e/distinfo | 6 ++++++ archivers/9e/patches/patch-aa | 29 +++++++++++++++++++++++++++++ archivers/9e/patches/patch-ab | 25 +++++++++++++++++++++++++ 6 files changed, 93 insertions(+) create mode 100644 archivers/9e/DESCR create mode 100644 archivers/9e/Makefile create mode 100644 archivers/9e/PLIST create mode 100644 archivers/9e/distinfo create mode 100644 archivers/9e/patches/patch-aa create mode 100644 archivers/9e/patches/patch-ab (limited to 'archivers') diff --git a/archivers/9e/DESCR b/archivers/9e/DESCR new file mode 100644 index 00000000000..a08ee7e11be --- /dev/null +++ b/archivers/9e/DESCR @@ -0,0 +1,15 @@ +9e is a program to explore Plan9 archives. You can do whatever you +like with the source so long as you clearly indicate all modifications +and the author responsible for each. + +Usage Summary: + 9e [options] ... + +Options: + -h: dump headers only + -v: dump file names and sizes while extracting + -r: specify alternate root directory + -?: help + +If no file is named on the command line, standard input is assumed. +Note that the input file must be a decompressed Plan9 archive. diff --git a/archivers/9e/Makefile b/archivers/9e/Makefile new file mode 100644 index 00000000000..b986b1d818f --- /dev/null +++ b/archivers/9e/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/11/18 13:36:20 cjep Exp $ +# FreeBSD Id: ports/archivers/9e/Makefile,v 1.5 2002/07/22 03:58:19 fenner Exp + +DISTNAME= 9e +PKGNAME= 9e-1.0 +CATEGORIES= plan9 archivers +MASTER_SITES= http://www.eecs.harvard.edu/~wkj/Software/9e/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.eecs.harvard.edu/~wkj/Software/9e/ +COMMENT= Explode Plan9 archives + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/9e ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/9e/PLIST b/archivers/9e/PLIST new file mode 100644 index 00000000000..dfbf237e5e1 --- /dev/null +++ b/archivers/9e/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/18 13:36:20 cjep Exp $ +bin/9e diff --git a/archivers/9e/distinfo b/archivers/9e/distinfo new file mode 100644 index 00000000000..21cc58ea373 --- /dev/null +++ b/archivers/9e/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/11/18 13:36:20 cjep Exp $ + +SHA1 (9e.tar.gz) = fc966f51a167e4ed3dc371e399bbc8909f074b54 +Size (9e.tar.gz) = 2019 bytes +SHA1 (patch-aa) = 5d5982bfc544910f3d36eb40a9de9c5caa8432fd +SHA1 (patch-ab) = ff56f66a9bb5d1dc2880ec1d2c39a4ca0dc48f1a diff --git a/archivers/9e/patches/patch-aa b/archivers/9e/patches/patch-aa new file mode 100644 index 00000000000..13681c280da --- /dev/null +++ b/archivers/9e/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/11/18 13:36:20 cjep Exp $ + +--- Makefile.orig Thu Jun 22 18:59:41 2000 ++++ Makefile Thu Jun 22 19:04:02 2000 +@@ -1,14 +1,9 @@ + # Makefile for 9e + +-CC = gcc +- +-CFLAGS = -g3 -ggdb ++CFLAGS = -O + + .PHONY: all clean distclean + +-LIBS = -lefence +- +-HDRS = 9a.h + SRCS = 9e.c + OBJS = 9e.o + +@@ -17,7 +12,7 @@ + all: $(BINARIES) + + 9e: $(OBJS) +- $(CC) -o 9e 9e.o $(LIBS) ++ $(CC) -o 9e 9e.o + + clean: + rm -f *.o *~ a.out diff --git a/archivers/9e/patches/patch-ab b/archivers/9e/patches/patch-ab new file mode 100644 index 00000000000..32190790883 --- /dev/null +++ b/archivers/9e/patches/patch-ab @@ -0,0 +1,25 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/11/18 13:36:20 cjep Exp $ + +--- 9e.c.orig Thu Jun 15 13:40:52 2000 ++++ 9e.c Fri Jun 23 04:16:00 2000 +@@ -139,17 +139,16 @@ + } + + if(Hdrs) { +- fprintf(stderr, "%s %lo %s %s %ld %ld\n", namebuf, mode, ++ fprintf(stderr, "%s %lo %s %s %ld %ld\n", name, mode, + owner, group, mtime, size); + fout = NULL; + } else { + if (Verbose) +- fprintf(stderr, "%s %d\n", namebuf, size); ++ fprintf(stderr, "%s\n", name); + if(mode & CHDIR) { + assert(size == 0); + /* Give ourselves read, write, and execute permission */ +- if(mkdir(name, (mode & ~CHDIR) | 0700) < 0) +- warn("mkdir(2) failed for", name); ++ mkdir(name, (mode & ~CHDIR) | 0700); + continue; + } + if((fout=fopen(name, "w+b")) == NULL) -- cgit v1.2.3