From owner-freebsd-ports Tue Jun 25 9:41: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ED54337B404 for ; Tue, 25 Jun 2002 09:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5PGe1E47770; Tue, 25 Jun 2002 09:40:01 -0700 (PDT) (envelope-from gnats) Received: from honk.eecs.harvard.edu (honk.eecs.harvard.edu [140.247.60.101]) by hub.freebsd.org (Postfix) with ESMTP id D65BE37B400 for ; Tue, 25 Jun 2002 09:35:15 -0700 (PDT) Received: by honk.eecs.harvard.edu (Postfix, from userid 1000) id 82E343C109; Tue, 25 Jun 2002 12:35:15 -0400 (EDT) Message-Id: <20020625163515.82E343C109@honk.eecs.harvard.edu> Date: Tue, 25 Jun 2002 12:35:15 -0400 (EDT) From: "William K.Josephson" Reply-To: "William K.Josephson" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39847: New port: dump9660 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39847 >Category: ports >Synopsis: New port: dump9660 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 25 09:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: William Josephson >Release: FreeBSD 4.6-RELEASE i386 >Organization: >Environment: System: FreeBSD honk.eecs.harvard.edu 4.6-RELEASE FreeBSD 4.6-RELEASE >Description: Dump9660 is a tool for creating ISO 9660 compliant CD images suitable for use with tools such as FreeBSD's burncd. Dump9660 supports the El Torrito bootable CD and Microsoft Joliet extensions as well as the Rock Ridge and Plan 9 system use extensions. Mk9660 is a front end for dump9660 that provides the traditional ability to create CD images from a subtree of the file system. Dump9660 is similar in specification, but creates and updates backup CD images in the style of the Plan 9 dump file system. The dump is file-based rather than block-based: if a file's contents have not changed since the last backup, only its directory entry will be rewritten. >How-To-Repeat: >Fix: --- dump9660.sh begins here --- # 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: # # dump9660 # dump9660/Makefile # dump9660/distinfo # dump9660/pkg-plist # dump9660/pkg-comment # dump9660/pkg-descr # dump9660/files # dump9660/files/patch-aa # dump9660/files/patch-ab # dump9660/files/patch-ac # echo c - dump9660 mkdir -p dump9660 > /dev/null 2>&1 echo x - dump9660/Makefile sed 's/^X//' >dump9660/Makefile << 'END-of-dump9660/Makefile' X# New ports collection makefile for: dump9660 X# Date Created: 14 Jun 2002 X# Whom: wkj X# X# $FreeBSD$ X# X XPORTNAME= dump9660 XPORTVERSION= 1.0 XCATEGORIES= sysutils XMASTER_SITES= http://www.eecs.harvard.edu/~wkj/Software/dump9660/ XDISTNAME= dump9660 XEXTRACT_SUFX= .tgz X XMAINTAINER= dump9660-port@eecs.harvard.edu X XMAN8= mk9660.8 XMAN5= proto.5 XMLINKS= mk9660.8 dump9660.8 X X.include X X# 386(=i386), alpha, sparc X# PowerPC should be OK, too XOBJTYPE!= ${UNAME} -m | ${SED} -e 's;i.86;386;' XMAKE_ENV += systype=${OPSYS} objtype=${OBJTYPE} X X.include END-of-dump9660/Makefile echo x - dump9660/distinfo sed 's/^X//' >dump9660/distinfo << 'END-of-dump9660/distinfo' XMD5 (dump9660.tgz) = 2e3c4b72043eb52263eb750d61bd414d END-of-dump9660/distinfo echo x - dump9660/pkg-plist sed 's/^X//' >dump9660/pkg-plist << 'END-of-dump9660/pkg-plist' Xbin/dump9660 Xbin/mk9660 END-of-dump9660/pkg-plist echo x - dump9660/pkg-comment sed 's/^X//' >dump9660/pkg-comment << 'END-of-dump9660/pkg-comment' XCreate an ISO 9660 image, possibly incrementally END-of-dump9660/pkg-comment echo x - dump9660/pkg-descr sed 's/^X//' >dump9660/pkg-descr << 'END-of-dump9660/pkg-descr' XDump9660 is a tool for creating ISO 9660 compliant CD images suitable Xfor use with tools such as FreeBSD's burncd. Dump9660 supports the El XTorrito bootable CD and Microsoft Joliet extensions as well as the XRock Ridge and Plan 9 system use extensions. Mk9660 is a front end for Xdump9660 that provides the traditional ability to create CD images Xfrom a subtree of the file system. Dump9660 is similar in Xspecification, but creates and updates backup CD images in the style Xof the Plan 9 dump file system. The dump is file-based rather than Xblock-based: if a file's contents have not changed since the last Xbackup, only its directory entry will be rewritten. X XWWW: http://www.eecs.harvard.edu/~wkj/Software/dump9660/ X X- William Josephson and Russ Cox Xdump9660-port@eecs.harvard.edu END-of-dump9660/pkg-descr echo c - dump9660/files mkdir -p dump9660/files > /dev/null 2>&1 echo x - dump9660/files/patch-aa sed 's/^X//' >dump9660/files/patch-aa << 'END-of-dump9660/files/patch-aa' X--- Makefile.orig Sun Jun 2 09:32:39 2002 X+++ Makefile Sun Jun 23 15:30:59 2002 X@@ -51,14 +51,9 @@ X # Plan 9 section two corresponds to Unix sections two and three X X install: $(BINARIES) X- cp $(BINARIES) $(HOME)/bin/$$systype/$$objtype X- cp mk9660.man $(HOME)/etc/man/man8/mk9660.8 X- cp proto.man $(HOME)/etc/man/man3/proto.3 X- X-install-sys: $(BINARIES) X cp $(BINARIES) /usr/local/bin X- cp mk9660.man /usr/local/man/man8/mk9660.8 X- cp proto.man /usr/local/man/man3/proto.3 X+ cp mk9660.man /usr/local/man/man8/mk9660.8 X+ cp proto.man /usr/local/man/man5/proto.5 X X dump9660: $(OFILES) $(LIBS) X $(CC) -o $@ $(OFILES) $(LDFLAGS) END-of-dump9660/files/patch-aa echo x - dump9660/files/patch-ab sed 's/^X//' >dump9660/files/patch-ab << 'END-of-dump9660/files/patch-ab' X--- mk9660.man.orig Fri May 31 23:07:00 2002 X+++ mk9660.man Sun Jun 23 15:55:06 2002 X@@ -2,7 +2,7 @@ X .SH NAME X dump9660, mk9660 \- create an ISO-9660 CD image X .SH SYNOPSIS X-.B disk/mk9660 X+.B mk9660 X [ X .B -:D X ] X@@ -27,7 +27,7 @@ X ] X .I image X .PP X-.B disk/dump9660 X+.B dump9660 X [ X .B -:D X ] X@@ -62,8 +62,6 @@ X an ISO-9660 CD image containing the X files named in X .I proto X-(default X-.BR /sys/lib/sysconfig/proto/allproto ) X from the file tree X .I src X (default X@@ -71,7 +69,9 @@ X The X .I proto X file is formatted as described in X-.IR mkfs (8). X+.IR proto (5) X+(see also Plan 9's X+.IR mkfs (8)). X .PP X The created CD image will be in ISO-9660 X format, but by default the file names will X@@ -100,7 +100,7 @@ X flag is given, the system use fields at the end of X each directory entry will be populated with X Plan directory information (owner, group, mode, X-full name); this is interpreted by X+full name); this is interpreted by Plan 9's X .IR 9660srv . X .PP X If the X@@ -160,7 +160,7 @@ X flag causes X .B mk9660 X to replace colons in scanned file names with spaces; X-this is the inverse of the map applied by X+this is the inverse of the map applied by Plan 9's X .IR dossrv (4) X and is useful for writing Joliet CDs containing data X from FAT file systems. X@@ -192,7 +192,7 @@ X the X .I dump X file system X-(see X+(see Plan 9's X .IR fs (4)). X The dump is file-based rather than block-based: X if a file's contents have not changed since the last X@@ -219,13 +219,16 @@ X a Joliet directory tree. X .IP X .EX X-disk/mk9660 -9cj -s /n/bootes -p plan9proto cdimage X+mk9660 -9cj -s /n/bootes -p plan9proto cdimage X .EE X-.SH SOURCE X-.B /sys/src/cmd/disk/9660 X .SH "SEE ALSO" X-.I 9660srv X-(in X-.IR dossrv (4)), X-.IR cdfs (4), X-.IR mkfs (8) X+.IR proto (5) X+.SH "HISTORY" X+.I Dump9660 X+and X+.I mk9660 X+were written in the fall of 2000 for Unix and Plan 9 by Russ Cox and X+William Josephson. The first public release was as a part of the X+Fourth Edition Plan 9 distribution. William Josephson subsequently X+cleaned up the Unix port and made it publicly available in the spring X+of 2002. END-of-dump9660/files/patch-ab echo x - dump9660/files/patch-ac sed 's/^X//' >dump9660/files/patch-ac << 'END-of-dump9660/files/patch-ac' X--- proto.man.orig Sun Jun 23 15:56:51 2002 X+++ proto.man Sun Jun 23 15:58:12 2002 X@@ -1,13 +1,8 @@ X-.TH PROTO 2 X+.TH PROTO 5 X .SH NAME X rdproto \- parse and process a proto file listing X .SH SYNOPSIS X .nf X-.ft L X-#include X-#include X-#include X-.ft X .PP X .B X typedef void Protoenum(char *new, char *old, Dir *d, void *a) X@@ -116,16 +111,7 @@ X if X .I proto X was processed, \-1 if it could not be opened. X-.SH FILES X-.TF /sys/lib/sysconfig/proto/portproto X-.TP X-.B /sys/lib/sysconfig/proto/ X-directory of prototype files. X-.TP X-.B /sys/lib/sysconfig/proto/portproto X-generic prototype file. X .SH SOURCE X-.B /sys/src/libdisk/proto.c X+.B libunix/proto.c X .SH SEE ALSO X-.IR mk9660 (8), X-.IR mkfs (8) X+.IR mk9660 (8) END-of-dump9660/files/patch-ac exit --- dump9660.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message