diff options
author | wes <wes@FreeBSD.org> | 2000-06-27 03:55:27 +0000 |
---|---|---|
committer | wes <wes@FreeBSD.org> | 2000-06-27 03:55:27 +0000 |
commit | 77a22f4fcbed6d19667e42e6be4e3a3676ca22c2 (patch) | |
tree | 532582556a11a68cba07ecafff955bbc6f9e7346 /archivers | |
parent | 5692ecc4bec29010e1cf29ee35bd560be7f9d4ef (diff) | |
download | FreeBSD-ports-77a22f4fcbed6d19667e42e6be4e3a3676ca22c2.zip FreeBSD-ports-77a22f4fcbed6d19667e42e6be4e3a3676ca22c2.tar.gz |
9e - a simple Plan9 distribution unpacker
PR: ports/19459
Submitted by: Jerry Hicks <jhix@mindspring.com>
Diffstat (limited to 'archivers')
-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 0000000..222ca52 --- /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 0000000..ba13433 --- /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 0000000..9ad57ee --- /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 0000000..6333e38 --- /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 0000000..1941b5f --- /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 0000000..8230312 --- /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 0000000..34afe4b --- /dev/null +++ b/archivers/9e/pkg-plist @@ -0,0 +1 @@ +bin/9e |