diff options
author | Wes Peters <wes@FreeBSD.org> | 2000-06-27 03:55:27 +0000 |
---|---|---|
committer | Wes Peters <wes@FreeBSD.org> | 2000-06-27 03:55:27 +0000 |
commit | e44dc6976a95a846083ca92c816658749d2029bf (patch) | |
tree | 416f2d2ce5d7afd19ac8948cc65b13d6b9359718 /archivers/9e | |
parent | Upgrade to leim-20.7 (diff) |
9e - a simple Plan9 distribution unpacker
PR: ports/19459
Submitted by: Jerry Hicks <jhix@mindspring.com>
Notes
Notes:
svn path=/head/; revision=29900
Diffstat (limited to 'archivers/9e')
-rw-r--r-- | archivers/9e/Makefile | 21 | ||||
-rw-r--r-- | archivers/9e/distinfo | 1 | ||||
-rw-r--r-- | archivers/9e/files/patch-aa | 27 | ||||
-rw-r--r-- | archivers/9e/files/patch-ab | 23 | ||||
-rw-r--r-- | archivers/9e/pkg-comment | 1 | ||||
-rw-r--r-- | archivers/9e/pkg-descr | 20 | ||||
-rw-r--r-- | archivers/9e/pkg-plist | 1 |
7 files changed, 94 insertions, 0 deletions
diff --git a/archivers/9e/Makefile b/archivers/9e/Makefile new file mode 100644 index 000000000000..222ca52c6340 --- /dev/null +++ b/archivers/9e/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: 9e +# Date created: 17 Mar 1999 +# Whom: Jerry Hicks +# +# $FreeBSD$ +# + +PORTNAME= 9e +PORTVERSION= 1.0 +CATEGORIES= archivers +MASTER_SITES= http://www.eecs.harvard.edu/~wkj/Software/9e/ +DISTNAME= 9e + +MAINTAINER= jhix@mindspring.com + +WWW= http://www.eecs.harvard.edu/~wkj/Software/9e/ + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/9e ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/archivers/9e/distinfo b/archivers/9e/distinfo new file mode 100644 index 000000000000..ba134336f33a --- /dev/null +++ b/archivers/9e/distinfo @@ -0,0 +1 @@ +MD5 (9e.tar.gz) = ffb6c9963c6bb61ddfc456fd29f96073 diff --git a/archivers/9e/files/patch-aa b/archivers/9e/files/patch-aa new file mode 100644 index 000000000000..9ad57eedccf3 --- /dev/null +++ b/archivers/9e/files/patch-aa @@ -0,0 +1,27 @@ +--- 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/files/patch-ab b/archivers/9e/files/patch-ab new file mode 100644 index 000000000000..6333e3868512 --- /dev/null +++ b/archivers/9e/files/patch-ab @@ -0,0 +1,23 @@ +--- 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) diff --git a/archivers/9e/pkg-comment b/archivers/9e/pkg-comment new file mode 100644 index 000000000000..1941b5fbc61a --- /dev/null +++ b/archivers/9e/pkg-comment @@ -0,0 +1 @@ +Explode Plan9 archives diff --git a/archivers/9e/pkg-descr b/archivers/9e/pkg-descr new file mode 100644 index 000000000000..8230312f52d8 --- /dev/null +++ b/archivers/9e/pkg-descr @@ -0,0 +1,20 @@ +9e is a program to explose 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] <file> ... + +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 archive (decompress +with gzip). + +WWW: http://www.eecs.harvard.edu/~wkj/Software/9e/ diff --git a/archivers/9e/pkg-plist b/archivers/9e/pkg-plist new file mode 100644 index 000000000000..34afe4bfad25 --- /dev/null +++ b/archivers/9e/pkg-plist @@ -0,0 +1 @@ +bin/9e |