From 3275a8ea37ad8dc637b27cc1bd9fa3db40803908 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Mon, 25 Nov 1996 09:47:24 +0000 Subject: Import of xtar, a tar file browser. Closes PR 1526. Submitted by: Andreas Kohout --- misc/xtar/Makefile | 19 +++++++++++++++++++ misc/xtar/distinfo | 1 + misc/xtar/files/patch-aa | 12 ++++++++++++ misc/xtar/files/patch-ab | 19 +++++++++++++++++++ misc/xtar/files/patch-ac | 19 +++++++++++++++++++ misc/xtar/files/patch-ad | 15 +++++++++++++++ misc/xtar/pkg-comment | 1 + misc/xtar/pkg-descr | 4 ++++ misc/xtar/pkg-plist | 4 ++++ 9 files changed, 94 insertions(+) create mode 100644 misc/xtar/Makefile create mode 100644 misc/xtar/distinfo create mode 100644 misc/xtar/files/patch-aa create mode 100644 misc/xtar/files/patch-ab create mode 100644 misc/xtar/files/patch-ac create mode 100644 misc/xtar/files/patch-ad create mode 100644 misc/xtar/pkg-comment create mode 100644 misc/xtar/pkg-descr create mode 100644 misc/xtar/pkg-plist (limited to 'misc/xtar') diff --git a/misc/xtar/Makefile b/misc/xtar/Makefile new file mode 100644 index 000000000000..b84006c7cdca --- /dev/null +++ b/misc/xtar/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: xtar +# Version required: 1.4 +# Date created: 31 Jul 1996 +# Whom: shanee@rabbit.augusta.de +# +# $Id$ +# + +DISTNAME= xtar-1.4 +CATEGORIES= misc x11 +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= utilities + +MAINTAINER= shanee@rabbit.augusta.de + +REQUIRES_MOTIF= yes +USE_IMAKE= yes + +.include diff --git a/misc/xtar/distinfo b/misc/xtar/distinfo new file mode 100644 index 000000000000..3ae7af51c7b4 --- /dev/null +++ b/misc/xtar/distinfo @@ -0,0 +1 @@ +MD5 (xtar-1.4.tar.gz) = 22f025636e59f7a0438dc244fb2867d5 diff --git a/misc/xtar/files/patch-aa b/misc/xtar/files/patch-aa new file mode 100644 index 000000000000..bbefe779d309 --- /dev/null +++ b/misc/xtar/files/patch-aa @@ -0,0 +1,12 @@ +*** common/str.c.orig Wed Jul 31 18:04:12 1996 +--- common/str.c Wed Jul 31 18:04:27 1996 +*************** +*** 283,289 **** + char *str_error(int errnum) + { + extern int sys_nerr; +- extern char *sys_errlist[]; + static char ebuf[40]; /* 64-bit number + slop */ + + if ((unsigned int)errnum < sys_nerr) +--- 283,288 ---- diff --git a/misc/xtar/files/patch-ab b/misc/xtar/files/patch-ab new file mode 100644 index 000000000000..7ffceb9efc10 --- /dev/null +++ b/misc/xtar/files/patch-ab @@ -0,0 +1,19 @@ +*** xtar.c.orig Wed Jul 31 18:16:22 1996 +--- xtar.c Wed Jul 31 18:15:30 1996 +*************** +*** 1164,1170 **** + static int xtar_attributes(TAR_FILE *tf, char *filename) + { + int retval = 0; +! struct utimbuf utimbuf; + + /* If the file type is not a directory then try and set the access + permissions. We exclude directories because if write permission +--- 1164,1170 ---- + static int xtar_attributes(TAR_FILE *tf, char *filename) + { + int retval = 0; +! struct utimbuf {char utimbuf;} utimbuf; + + /* If the file type is not a directory then try and set the access + permissions. We exclude directories because if write permission diff --git a/misc/xtar/files/patch-ac b/misc/xtar/files/patch-ac new file mode 100644 index 000000000000..96fbacd05b6c --- /dev/null +++ b/misc/xtar/files/patch-ac @@ -0,0 +1,19 @@ +*** XTar.tmpl.orig Mon Jul 17 14:04:17 1995 +--- XTar.tmpl Tue Nov 19 17:43:02 1996 +*************** +*** 27,33 **** + XMINC = -I/usr/include/Motif1.2 + XMLIB = -L/usr/lib/Motif1.2 -lXm -lPW + #else +! XMLIB = -lXm + #endif + + #ifdef SunArchitecture +--- 27,33 ---- + XMINC = -I/usr/include/Motif1.2 + XMLIB = -L/usr/lib/Motif1.2 -lXm -lPW + #else +! XMLIB = ${MOTIFLIB} + #endif + + #ifdef SunArchitecture diff --git a/misc/xtar/files/patch-ad b/misc/xtar/files/patch-ad new file mode 100644 index 000000000000..440f9a980072 --- /dev/null +++ b/misc/xtar/files/patch-ad @@ -0,0 +1,15 @@ +*** XTar.ad.orig Mon Jul 17 14:00:59 1995 +--- XTar.ad Tue Nov 19 17:46:59 1996 +*************** +*** 1,5 **** + !!!! Help document !!!! +! XTar*helpDoc: /usr/local/lib/X11/xtar/xtar.doc + + !!! Set this to true if you want push buttons !!! + XTar*showPB: False +--- 1,5 ---- + !!!! Help document !!!! +! XTar*helpDoc: /usr/X11R6/lib/X11/xtar/xtar.doc + + !!! Set this to true if you want push buttons !!! + XTar*showPB: False diff --git a/misc/xtar/pkg-comment b/misc/xtar/pkg-comment new file mode 100644 index 000000000000..ea1c02a038c6 --- /dev/null +++ b/misc/xtar/pkg-comment @@ -0,0 +1 @@ +View and manipulate contents of a tar file. diff --git a/misc/xtar/pkg-descr b/misc/xtar/pkg-descr new file mode 100644 index 000000000000..eddf8beb4758 --- /dev/null +++ b/misc/xtar/pkg-descr @@ -0,0 +1,4 @@ + XTar is a Motif program for viewing and manipulating tar + archives (which may be compressed). The contents of the + archive are displayed in the main window and various + options are available from pulldown and popup menus. diff --git a/misc/xtar/pkg-plist b/misc/xtar/pkg-plist new file mode 100644 index 000000000000..81d1d2348b56 --- /dev/null +++ b/misc/xtar/pkg-plist @@ -0,0 +1,4 @@ +bin/xtar +lib/X11/xtar/xtar.doc +lib/X11/app-defaults/XTar +man/man1/xtar.1.gz -- cgit v1.2.3