[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
update: archivers/star 1.4
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: update: archivers/star 1.4
- From: Christian Weisgerber <naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de>
- Date: Sat, 25 May 2002 00:04:44 +0200
Updates archivers/star to 1.4.
Serious users of star for backup etc may want to test this.
--
Christian "naddy" Weisgerber naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/star/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 21 Mar 2002 20:35:41 -0000 1.7
+++ Makefile 24 May 2002 22:02:33 -0000
@@ -3,7 +3,7 @@
COMMENT= "unique standard tape archiver with many enhancements"
-DISTNAME= star-1.3
+DISTNAME= star-1.4
CATEGORIES= archivers sysutils
NEED_VERSION= 1.515
@@ -15,18 +15,21 @@
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/star/ \
- ftp://ftp.ntua.gr/pub/utils/focus/star/ \
- ftp://ftp.st.ryukoku.ac.jp/pub/utils/backup/star/
+MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/star/
+EXTRACT_SUFX= .tar.bz2
FLAVORS= static
FLAVOR?=
+RUN_DEPENDS= :bzip2-*:archivers/bzip2
+
USE_GMAKE= Yes
-MAKE_ENV= MAKEPROG="${MAKEPROG}" CCOM="${CC}" SYSCONFDIR="${SYSCONFDIR}"
+MAKE_ENV= MAKEPROG="${MAKEPROG}" \
+ CCOM="${CC}" COPTX="${CFLAGS}" \
+ SYSCONFDIR="${SYSCONFDIR}"
.if ${FLAVOR:L:Mstatic}
-MAKE_ENV+= LDFLAGS=-static
+MAKE_ENV+= LDOPTX=-static
.endif
.if ${MACHINE} != "i386" || ${CC} != "cc"
Index: distinfo
===================================================================
RCS file: /cvs/ports/archivers/star/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 21 Mar 2002 20:20:42 -0000 1.1
+++ distinfo 24 May 2002 22:02:33 -0000
@@ -1,3 +1,3 @@
-MD5 (star-1.3.tar.gz) = 692625a76ba5e52bd62312ebb6eff7ac
-RMD160 (star-1.3.tar.gz) = d6b64fc1ad19efea966726d6bb7b9ab42180802e
-SHA1 (star-1.3.tar.gz) = 5815d17cdff76019ea7d5050408fe8c7ce350e2f
+MD5 (star-1.4.tar.bz2) = ca7f1a8d65a4886026407d2b6977f837
+RMD160 (star-1.4.tar.bz2) = a495914b4e495f8fdf722cf87d1e72729219e418
+SHA1 (star-1.4.tar.bz2) = 89b98fe217265be301c6d705af87160f6faf19c4
Index: patches/patch-RULES_i386-openbsd-cc_rul
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-RULES_i386-openbsd-cc_rul,v
retrieving revision 1.2
diff -u -r1.2 patch-RULES_i386-openbsd-cc_rul
--- patches/patch-RULES_i386-openbsd-cc_rul 6 May 2001 21:52:45 -0000 1.2
+++ patches/patch-RULES_i386-openbsd-cc_rul 24 May 2002 22:02:33 -0000
@@ -1,14 +1,7 @@
-$OpenBSD: patch-RULES_i386-openbsd-cc_rul,v 1.2 2001/05/06 21:52:45 naddy Exp $
---- RULES/i386-openbsd-cc.rul.orig Wed Nov 15 20:02:50 2000
-+++ RULES/i386-openbsd-cc.rul Wed Nov 15 20:04:40 2000
-@@ -24,13 +24,13 @@ include $(SRCROOT)/$(RULESDIR)/rules.prg
- ###########################################################################
-
- CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
--CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
-+CFLAGS+= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
-
- CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
+$OpenBSD$
+--- RULES/i386-openbsd-cc.rul.orig Fri May 24 16:41:22 2002
++++ RULES/i386-openbsd-cc.rul Fri May 24 16:42:30 2002
+@@ -30,7 +30,7 @@ CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR)
COPTS=
CWOPTS= -Wall -Wtraditional \
-Wshadow -Wmissing-prototypes -Wstrict-prototypes
@@ -17,15 +10,6 @@
KDEFINES= -DKERNEL -D_KERNEL
COPTDYN= -fpic
COPTGPROF= -pg
-@@ -47,7 +47,7 @@ LIB_KVM=
-
- LIBS_PATH= -L$(OLIBSDIR)
-
--LDFLAGS= $(LDOPTS) $(LDOPTX)
-+LDFLAGS+= $(LDOPTS) $(LDOPTX)
- LDLIBS= $(LIBS) $(LIBX)
-
- #LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH)
@@ -57,14 +57,14 @@ LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGE
FLOAT_OPTIONS=
Index: patches/patch-RULES_rules1_top
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-RULES_rules1_top,v
retrieving revision 1.1
diff -u -r1.1 patch-RULES_rules1_top
--- patches/patch-RULES_rules1_top 6 May 2001 21:52:46 -0000 1.1
+++ patches/patch-RULES_rules1_top 24 May 2002 22:02:33 -0000
@@ -1,12 +1,21 @@
-$OpenBSD: patch-RULES_rules1_top,v 1.1 2001/05/06 21:52:46 naddy Exp $
---- RULES/rules1.top.orig Wed Nov 15 18:39:18 2000
-+++ RULES/rules1.top Wed Nov 15 18:39:55 2000
-@@ -186,7 +186,7 @@ __PARCH= $(_PARCH:$(_UNIQ)=$(PARCH_DEF))
- PARCH= $(__PARCH:$(_UNIQ)%=%)
+$OpenBSD$
+--- RULES/rules1.top.orig Sun Jan 27 22:59:10 2002
++++ RULES/rules1.top Fri May 24 16:57:34 2002
+@@ -204,7 +204,7 @@ PARCH= $(__PARCH:$(_UNIQ)%=%)
+ # interested to fix the bug.
+ #
+ ###########################################################################
+-__DCC= $(SRCROOT)/incs/Dcc.$(PARCH)$(-O_ARCH)
++__DCC= $(SRCROOT)/incs/Dcc.$(K_ARCH)$(-O_ARCH)
+ _DCC= $(__DCC:./%=%)
+ $(_DCC):
+@@ -228,7 +228,7 @@ include $(_DCC)
+ #
+ ###########################################################################
#OARCH= $(MARCH)$(-O_ARCH)-$(C_ARCH)
-OARCH= $(PARCH)$(-O_ARCH)-$(C_ARCH)
+OARCH= $(K_ARCH)$(-O_ARCH)-$(C_ARCH)
XARCH= $(K_ARCH)$(-O_ARCH)-$(C_ARCH)
.print:
- echo $(XP_ARCH) $(P_ARCH)
+ echo $(XP_ARCH) $(P_ARCH) $(OARCH) $(XARCH)
Index: patches/patch-mt_Makefile
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-mt_Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-mt_Makefile
--- patches/patch-mt_Makefile 6 May 2001 21:52:46 -0000 1.1
+++ patches/patch-mt_Makefile 24 May 2002 22:02:33 -0000
@@ -1,6 +1,6 @@
-$OpenBSD: patch-mt_Makefile,v 1.1 2001/05/06 21:52:46 naddy Exp $
---- mt/Makefile.orig Wed Nov 15 21:29:12 2000
-+++ mt/Makefile Wed Nov 15 21:29:31 2000
+$OpenBSD$
+--- mt/Makefile.orig Fri May 24 17:18:49 2002
++++ mt/Makefile Fri May 24 17:18:58 2002
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.to
INSDIR= bin
TARGET= mt
Index: patches/patch-rmt_Makefile
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-rmt_Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-rmt_Makefile
--- patches/patch-rmt_Makefile 6 May 2001 21:52:46 -0000 1.1
+++ patches/patch-rmt_Makefile 24 May 2002 22:02:33 -0000
@@ -1,12 +1,11 @@
-$OpenBSD: patch-rmt_Makefile,v 1.1 2001/05/06 21:52:46 naddy Exp $
---- rmt/Makefile.orig Sun May 6 21:45:01 2001
-+++ rmt/Makefile Sun May 6 21:45:24 2001
-@@ -7,7 +7,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.to
-
- INSDIR= sbin
+$OpenBSD$
+--- rmt/Makefile.orig Fri Jul 20 23:47:08 2001
++++ rmt/Makefile Fri May 24 17:22:20 2002
+@@ -9,6 +9,7 @@ INSDIR= sbin
TARGET= rmt
--CPPOPTS += -DUSE_REMOTE
-+CPPOPTS += -DUSE_REMOTE -DSYSCONFDIR=\"$(SYSCONFDIR)\"
+ CPPOPTS += -DUSE_REMOTE
+ CPPOPTS += -DUSE_LARGEFILES
++CPPOPTS += -DSYSCONFDIR=\"$(SYSCONFDIR)\"
CFILES= rmt.c
#HFILES=
LIBS= -ldeflt -lschily $(LIB_SOCKET)
Index: patches/patch-rmt_rmt_1
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-rmt_rmt_1,v
retrieving revision 1.1
diff -u -r1.1 patch-rmt_rmt_1
--- patches/patch-rmt_rmt_1 6 May 2001 21:52:46 -0000 1.1
+++ patches/patch-rmt_rmt_1 24 May 2002 22:02:33 -0000
@@ -1,6 +1,6 @@
-$OpenBSD: patch-rmt_rmt_1,v 1.1 2001/05/06 21:52:46 naddy Exp $
---- rmt/rmt.1.orig Tue Nov 14 22:53:56 2000
-+++ rmt/rmt.1 Sun May 6 22:56:14 2001
+$OpenBSD$
+--- rmt/rmt.1.orig Thu Jul 5 21:47:45 2001
++++ rmt/rmt.1 Fri May 24 17:21:31 2002
@@ -13,13 +13,11 @@
.if n .ds o oe
.if n .ds u ue
@@ -43,7 +43,7 @@
For example:
.SM USER=tape
.RS
-@@ -490,12 +488,12 @@ This implementation of
+@@ -491,12 +489,12 @@ This implementation of
adds some security features to the server that make it behave
slightly different from older implementations.
Read the documentation about the file
Index: patches/patch-rmt_rmt_c
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-rmt_rmt_c,v
retrieving revision 1.1
diff -u -r1.1 patch-rmt_rmt_c
--- patches/patch-rmt_rmt_c 6 May 2001 21:52:46 -0000 1.1
+++ patches/patch-rmt_rmt_c 24 May 2002 22:02:33 -0000
@@ -1,9 +1,9 @@
-$OpenBSD: patch-rmt_rmt_c,v 1.1 2001/05/06 21:52:46 naddy Exp $
---- rmt/rmt.c.orig Sun May 6 21:44:04 2001
-+++ rmt/rmt.c Sun May 6 21:47:40 2001
-@@ -133,9 +133,9 @@ main(argc, argv)
- * is required. If we are not root and there is no /etc/default/rmt
- * we will only allow to access files in /dev (see below).
+$OpenBSD$
+--- rmt/rmt.c.orig Tue May 21 12:29:57 2002
++++ rmt/rmt.c Fri May 24 17:20:58 2002
+@@ -145,9 +145,9 @@ main(argc, argv)
+ * don't contribute work and don't give support, they are causing extra
+ * work for me and this way slow down the development.
*/
- if (defltopen("/etc/default/rmt") < 0) {
+ if (defltopen(SYSCONFDIR "/srmt.conf") < 0) {
Index: patches/patch-star_star_1
===================================================================
RCS file: patches/patch-star_star_1
diff -N patches/patch-star_star_1
--- patches/patch-star_star_1 6 May 2001 21:52:46 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$OpenBSD: patch-star_star_1,v 1.2 2001/05/06 21:52:46 naddy Exp $
---- star/star.1.orig Thu Nov 9 09:19:34 2000
-+++ star/star.1 Wed Nov 15 19:49:55 2000
-@@ -15,10 +15,18 @@
- .if n .ds s sz
- .TH STAR 1 "Release 1.1" "J\*org Schilling" "Schily\'s USER COMMANDS"
- .SH NAME
--star \- unique standard tape archiver
-+star, ustar \- unique standard tape archiver
- .SH SYNOPSIS
- .B
- star
-+.I command
-+[
-+.I options
-+]
-+.I file1 .\|.\|. filen
-+.br
-+.B
-+ustar
- .I command
- [
- .I options
Index: patches/patch-star_star_c
===================================================================
RCS file: /cvs/ports/archivers/star/patches/patch-star_star_c,v
retrieving revision 1.2
diff -u -r1.2 patch-star_star_c
--- patches/patch-star_star_c 6 May 2001 21:52:46 -0000 1.2
+++ patches/patch-star_star_c 24 May 2002 22:02:35 -0000
@@ -1,7 +1,32 @@
-$OpenBSD: patch-star_star_c,v 1.2 2001/05/06 21:52:46 naddy Exp $
---- star/star.c.orig Fri Apr 27 19:29:55 2001
-+++ star/star.c Fri Apr 27 19:33:54 2001
-@@ -442,46 +442,48 @@ LOCAL void
+$OpenBSD$
+--- star/star.c.orig Fri May 17 12:26:31 2002
++++ star/star.c Fri May 24 17:30:55 2002
+@@ -485,14 +485,16 @@ LOCAL void
+ susage(ret)
+ int ret;
+ {
+- error("Usage:\t%s cmd [options] file1 ... filen\n", get_progname());
+- error("\nUse\t%s -help\n", get_progname());
+- error("and\t%s -xhelp\n", get_progname());
+- error("to get a list of valid cmds and options.\n");
+- error("\nUse\t%s H=help\n", get_progname());
+- error("to get a list of valid archive header formats.\n");
+- error("\nUse\t%s diffopts=help\n", get_progname());
+- error("to get a list of valid diff options.\n");
++ FILE *fp = ret ? stderr : stdout;
++
++ fprintf(fp, "Usage:\t%s cmd [options] file1 ... filen\n", get_progname());
++ fprintf(fp, "\nUse\t%s -help\n", get_progname());
++ fprintf(fp, "and\t%s -xhelp\n", get_progname());
++ fprintf(fp, "to get a list of valid cmds and options.\n");
++ fprintf(fp, "\nUse\t%s H=help\n", get_progname());
++ fprintf(fp, "to get a list of valid archive header formats.\n");
++ fprintf(fp, "\nUse\t%s diffopts=help\n", get_progname());
++ fprintf(fp, "to get a list of valid diff options.\n");
+ exit(ret);
+ /* NOTREACHED */
+ }
+@@ -501,48 +503,50 @@ LOCAL void
usage(ret)
int ret;
{
@@ -13,6 +38,7 @@
- error("Options:\n");
- error("\t-help\t\tprint this help\n");
- error("\t-xhelp\t\tprint extended help\n");
+- error("\t-version\tprint version information and exit\n");
- error("\tblocks=#,b=#\tset blocking factor to #x512 Bytes (default 20)\n");
- error("\tfile=nm,f=nm\tuse 'nm' as tape instead of stdin/stdout\n");
- error("\t-T\t\tuse $TAPE as tape instead of stdin/stdout\n");
@@ -26,6 +52,7 @@
+ fprintf(fp, "Options:\n");
+ fprintf(fp, "\t-help\t\tprint this help\n");
+ fprintf(fp, "\t-xhelp\t\tprint extended help\n");
++ fprintf(fp, "\t-version\tprint version information and exit\n");
+ fprintf(fp, "\tblocks=#,b=#\tset blocking factor to #x512 Bytes (default 20)\n");
+ fprintf(fp, "\tfile=nm,f=nm\tuse 'nm' as tape instead of stdin/stdout\n");
+ fprintf(fp, "\t-T\t\tuse $TAPE as tape instead of stdin/stdout\n");
@@ -37,7 +64,8 @@
+ fprintf(fp, "\t-shm\t\tuse SysV shared memory for fifo\n");
#endif
#endif
-- error("\t-v\t\tbe verbose\n");
+- error("\t-v\t\tincrement verbose level\n");
+- error("\t-block-number\tprint the block numbers where the TAR headers start\n");
- error("\t-tpath\t\tuse with -t to list path names only\n");
- error("\tH=header\tgenerate 'header' type archive (see H=help)\n");
- error("\tC=dir\t\tperform a chdir to 'dir' before storing next file\n");
@@ -47,11 +75,11 @@
- error("\t-i\t\tignore checksum errors\n");
- error("\t-d\t\tdo not store/create directories\n");
- error("\t-m\t\tdo not restore access and modification time\n");
-- error("\t-nochown\tdo not restore owner and group\n");
+- error("\t-o,-nochown\tdo not restore owner and group\n");
- error("\t-a,-atime\treset access time after storing file\n");
- error("\t-p\t\trestore filemodes of directories\n");
- error("\t-l\t\tdo not print a message if not all links are dumped\n");
-- error("\t-L\t\tfollow symbolic links as if they were files\n");
+- error("\t-h,-L\t\tfollow symbolic links as if they were files\n");
- error("\t-D\t\tdo not descend directories\n");
- error("\t-M\t\tdo not descend mounting points\n");
- error("\t-I,-w\t\tdo interactive creation/extraction/renaming\n");
@@ -60,7 +88,8 @@
- error("\t-S\t\tdo not store/create special files\n");
- error("\t-F,-FF,-FFF,...\tdo not store/create SCCS/RCS, core and object files\n");
- error("\t-U\t\trestore files unconditionally\n");
-+ fprintf(fp, "\t-v\t\tbe verbose\n");
++ fprintf(fp, "\t-v\t\tincrement verbose level\n");
++ fprintf(fp, "\t-block-number\tprint the block numbers where the TAR headers start\n");
+ fprintf(fp, "\t-tpath\t\tuse with -t to list path names only\n");
+ fprintf(fp, "\tH=header\tgenerate 'header' type archive (see H=help)\n");
+ fprintf(fp, "\tC=dir\t\tperform a chdir to 'dir' before storing next file\n");
@@ -70,11 +99,11 @@
+ fprintf(fp, "\t-i\t\tignore checksum errors\n");
+ fprintf(fp, "\t-d\t\tdo not store/create directories\n");
+ fprintf(fp, "\t-m\t\tdo not restore access and modification time\n");
-+ fprintf(fp, "\t-nochown\tdo not restore owner and group\n");
++ fprintf(fp, "\t-o,-nochown\tdo not restore owner and group\n");
+ fprintf(fp, "\t-a,-atime\treset access time after storing file\n");
+ fprintf(fp, "\t-p\t\trestore filemodes of directories\n");
+ fprintf(fp, "\t-l\t\tdo not print a message if not all links are dumped\n");
-+ fprintf(fp, "\t-L\t\tfollow symbolic links as if they were files\n");
++ fprintf(fp, "\t-h,-L\t\tfollow symbolic links as if they were files\n");
+ fprintf(fp, "\t-D\t\tdo not descend directories\n");
+ fprintf(fp, "\t-M\t\tdo not descend mounting points\n");
+ fprintf(fp, "\t-I,-w\t\tdo interactive creation/extraction/renaming\n");
@@ -86,51 +115,73 @@
exit(ret);
/* NOTREACHED */
}
-@@ -490,56 +492,58 @@ LOCAL void
+@@ -551,69 +555,71 @@ LOCAL void
xusage(ret)
int ret;
{
- error("Usage:\tstar cmd [options] file1 ... filen\n");
- error("Extended options:\n");
- error("\tdiffopts=optlst\tcomma separated list of diffopts (see diffopts=help)\n");
+- error("\t-debug\t\tprint additional debug messages\n");
+- error("\t-silent\t\tno not print informational messages\n");
- error("\t-not,-V\t\tuse those files which do not match pattern\n");
- error("\tVOLHDR=name\tuse name to generate a volume header\n");
- error("\t-xdir\t\textract dir even if the current is never\n");
+- error("\t-dirmode\t\twrite directories after the files they contain\n");
+- error("\t-link-dirs\tlook for hard linked directories in create mode\n");
+- error("\t-dump\t\texperimental option for incremental dumps (more ino metadata)\n");
+- error("\t-meta\t\texperimental option to use inode metadata only\n");
- error("\t-keep-old-files,-k\tkeep existing files\n");
- error("\t-refresh-old-files\trefresh existing files, don't create new files\n");
+- error("\t-refresh\trefresh existing files, don't create new files\n");
- error("\t-/\t\tdon't strip leading '/'s from file names\n");
- error("\tlist=name\tread filenames from named file\n");
- error("\t-dodesc\t\tdo descend directories found in a list= file\n");
- error("\tpattern=p,pat=p\tset matching pattern\n");
-- error("\tmaxsize=#\tdo not store file if it is bigger than # kBytes\n");
+- error("\tmaxsize=#\tdo not store file if bigger than # (default mult is kB)\n");
- error("\tnewer=name\tstore only files which are newer than 'name'\n");
+- error("\tnew-volume-script=script\tcall 'scipt' at end of each volume\n");
- error("\t-ctime\t\tuse ctime for newer= option\n");
+- error("\t-nodump\t\tdo not dump files that have the nodump flag set\n");
+- error("\t-acl\t\thandle access control lists\n");
+- error("\t-xfflags\t\thandle extended file flags\n");
- error("\tbs=#\t\tset (output) block size to #\n");
+ FILE *fp = ret ? stderr : stdout;
+
+ fprintf(fp, "Usage:\tstar cmd [options] file1 ... filen\n");
+ fprintf(fp, "Extended options:\n");
+ fprintf(fp, "\tdiffopts=optlst\tcomma separated list of diffopts (see diffopts=help)\n");
++ fprintf(fp, "\t-debug\t\tprint additional debug messages\n");
++ fprintf(fp, "\t-silent\t\tno not print informational messages\n");
+ fprintf(fp, "\t-not,-V\t\tuse those files which do not match pattern\n");
+ fprintf(fp, "\tVOLHDR=name\tuse name to generate a volume header\n");
+ fprintf(fp, "\t-xdir\t\textract dir even if the current is never\n");
++ fprintf(fp, "\t-dirmode\twrite directories after the files they contain\n");
++ fprintf(fp, "\t-link-dirs\tlook for hard linked directories in create mode\n");
++ fprintf(fp, "\t-dump\t\texperimental option for incremental dumps (more ino metadata)\n");
++ fprintf(fp, "\t-meta\t\texperimental option to use inode metadata only\n");
+ fprintf(fp, "\t-keep-old-files,-k\tkeep existing files\n");
+ fprintf(fp, "\t-refresh-old-files\trefresh existing files, don't create new files\n");
++ fprintf(fp, "\t-refresh\trefresh existing files, don't create new files\n");
+ fprintf(fp, "\t-/\t\tdon't strip leading '/'s from file names\n");
+ fprintf(fp, "\tlist=name\tread filenames from named file\n");
+ fprintf(fp, "\t-dodesc\t\tdo descend directories found in a list= file\n");
+ fprintf(fp, "\tpattern=p,pat=p\tset matching pattern\n");
-+ fprintf(fp, "\tmaxsize=#\tdo not store file if it is bigger than # kBytes\n");
++ fprintf(fp, "\tmaxsize=#\tdo not store file if bigger than # (default mult is kB)\n");
+ fprintf(fp, "\tnewer=name\tstore only files which are newer than 'name'\n");
++ fprintf(fp, "\tnew-volume-script=script\tcall 'scipt' at end of each volume\n");
+ fprintf(fp, "\t-ctime\t\tuse ctime for newer= option\n");
++ fprintf(fp, "\t-nodump\t\tdo not dump files that have the nodump flag set\n");
++ fprintf(fp, "\t-acl\t\thandle access control lists\n");
++ fprintf(fp, "\t-xfflags\thandle extended file flags\n");
+ fprintf(fp, "\tbs=#\t\tset (output) block size to #\n");
#ifdef FIFO
- error("\tfs=#\t\tset fifo size to #\n");
+ fprintf(fp, "\tfs=#\t\tset fifo size to #\n");
#endif
-- error("\ttsize=#\t\tset tape volume size to # 512 byte blocks\n");
+- error("\ttsize=#\t\tset tape volume size to # (default multiplier is 512)\n");
- error("\t-qic24\t\tset tape volume size to %d kBytes\n",
-+ fprintf(fp, "\ttsize=#\t\tset tape volume size to # 512 byte blocks\n");
++ fprintf(fp, "\ttsize=#\t\tset tape volume size to # (default multiplier is 512)\n");
+ fprintf(fp, "\t-qic24\t\tset tape volume size to %d kBytes\n",
TSIZE(QIC_24_TSIZE)/1024);
- error("\t-qic120\t\tset tape volume size to %d kBytes\n",
@@ -158,6 +209,8 @@
- error("\t-hpdev\t\tuse HP's non POSIX compliant method to store dev numbers\n");
- error("\t-modebits\tinclude all 16 bits from stat.st_mode, this violates POSIX-1003.1\n");
- error("\t-copylinks\tCopy hard and symlinks rather than linking\n");
+- error("\t-hardlinks\tExtract symlinks as hardlinks\n");
+- error("\t-symlinks\tExtract hardlinks as symlinks\n");
- error("\t-signed-checksum\tuse signed chars to calculate checksum\n");
- error("\t-sparse\t\thandle file with holes effectively on store/create\n");
- error("\t-force-hole\ttry to extract all files with holes\n");
@@ -174,6 +227,8 @@
+ fprintf(fp, "\t-hpdev\t\tuse HP's non POSIX compliant method to store dev numbers\n");
+ fprintf(fp, "\t-modebits\tinclude all 16 bits from stat.st_mode, this violates POSIX-1003.1\n");
+ fprintf(fp, "\t-copylinks\tCopy hard and symlinks rather than linking\n");
++ fprintf(fp, "\t-hardlinks\tExtract symlinks as hardlinks\n");
++ fprintf(fp, "\t-symlinks\tExtract hardlinks as symlinks\n");
+ fprintf(fp, "\t-signed-checksum\tuse signed chars to calculate checksum\n");
+ fprintf(fp, "\t-sparse\t\thandle file with holes effectively on store/create\n");
+ fprintf(fp, "\t-force-hole\ttry to extract all files with holes\n");
@@ -187,7 +242,7 @@
exit(ret);
/* NOTREACHED */
}
-@@ -548,27 +552,29 @@ LOCAL void
+@@ -622,27 +628,29 @@ LOCAL void
dusage(ret)
int ret;
{
@@ -238,26 +293,32 @@
exit(ret);
/* NOTREACHED */
}
-@@ -577,13 +583,15 @@ LOCAL void
+@@ -651,16 +659,18 @@ LOCAL void
husage(ret)
int ret;
{
- error("Header types:\n");
- error("\ttar\t\told tar format\n");
-- error("\tstar\t\tstar format\n");
-- error("\tgnutar\t\tgnu tar format\n");
-- error("\tustar\t\tstandard tar (ieee 1003.1) format\n");
-- error("\txstar\t\textended standard tar format\n");
+- error("\tstar\t\told star format from 1985\n");
+- error("\tgnutar\t\tgnu tar format (violates POSIX, use with care)\n");
+- error("\tustar\t\tstandard tar (ieee POSIX 1003.1-1988) format\n");
+- error("\txstar\t\textended standard tar format (star 1994)\n");
- error("\txustar\t\textended standard tar format without tar signature\n");
+- error("\texustar\t\textended standard tar format without tar signature (always x-header)\n");
+- error("\tpax\t\textended (ieee POSIX 1003.1-2001) standard tar format\n");
+- error("\tsuntar\t\tSun's extended pre-POSIX.1-2001 Solaris 7/8 tar format\n");
+ FILE *fp = ret ? stderr : stdout;
+
+ fprintf(fp, "Header types:\n");
+ fprintf(fp, "\ttar\t\told tar format\n");
-+ fprintf(fp, "\tstar\t\tstar format\n");
-+ fprintf(fp, "\tgnutar\t\tgnu tar format\n");
-+ fprintf(fp, "\tustar\t\tstandard tar (ieee 1003.1) format\n");
-+ fprintf(fp, "\txstar\t\textended standard tar format\n");
++ fprintf(fp, "\tstar\t\told star format from 1985\n");
++ fprintf(fp, "\tgnutar\t\tgnu tar format (violates POSIX, use with care)\n");
++ fprintf(fp, "\tustar\t\tstandard tar (ieee POSIX 1003.1-1988) format\n");
++ fprintf(fp, "\txstar\t\textended standard tar format (star 1994)\n");
+ fprintf(fp, "\txustar\t\textended standard tar format without tar signature\n");
++ fprintf(fp, "\texustar\t\textended standard tar format without tar signature (always x-header)\n");
++ fprintf(fp, "\tpax\t\textended (ieee POSIX 1003.1-2001) standard tar format\n");
++ fprintf(fp, "\tsuntar\t\tSun's extended pre-POSIX.1-2001 Solaris 7/8 tar format\n");
exit(ret);
/* NOTREACHED */
}
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/archivers/star/pkg/DESCR,v
retrieving revision 1.3
diff -u -r1.3 DESCR
--- pkg/DESCR 1 Aug 2001 00:39:05 -0000 1.3
+++ pkg/DESCR 24 May 2002 22:02:35 -0000
@@ -13,7 +13,11 @@
clobbered from tape.
automatic byte swap - star automatically detects swapped archives.
automatic format detect - Automatically detects archive formats:
- old tar, GNU tar, ANSI tar, star.
+ old tar, GNU tar, ANSI tar, star,
+ POSIX.1-2001 pax, Sun's Solaris tar.
+ automatic compression detect- star automatically detects whether the
+ archive is compressed.
+ support for file flags - star supports extended file flags.
fully ansi compatible - star is fully ANSI/POSIX 1003.1 compatible.
Available flavors:
Visit your host, monkey.org