xtar port
This commit is contained in:
parent
328b1111a2
commit
24c62a0511
19
misc/xtar/Makefile
Normal file
19
misc/xtar/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# OpenBSD makefile for: xtar
|
||||
# Version required: 1.4
|
||||
# Date created: May 20 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 06:56:35 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xtar-1.4
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
||||
MASTER_SITE_SUBDIR= utilities
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
REQUIRES_MOTIF= yes
|
||||
USE_IMAKE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
1
misc/xtar/files/md5
Normal file
1
misc/xtar/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xtar-1.4.tar.gz) = 22f025636e59f7a0438dc244fb2867d5
|
12
misc/xtar/patches/patch-aa
Normal file
12
misc/xtar/patches/patch-aa
Normal file
@ -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 ----
|
19
misc/xtar/patches/patch-ab
Normal file
19
misc/xtar/patches/patch-ab
Normal file
@ -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
|
19
misc/xtar/patches/patch-ac
Normal file
19
misc/xtar/patches/patch-ac
Normal file
@ -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
|
15
misc/xtar/patches/patch-ad
Normal file
15
misc/xtar/patches/patch-ad
Normal file
@ -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
|
24
misc/xtar/patches/patch-ae
Normal file
24
misc/xtar/patches/patch-ae
Normal file
@ -0,0 +1,24 @@
|
||||
*** common/tmpfile.c.orig Wed May 20 02:47:47 1998
|
||||
--- common/tmpfile.c Wed May 20 02:51:16 1998
|
||||
***************
|
||||
*** 90,96 ****
|
||||
char *tmpfile_create()
|
||||
{
|
||||
TMP_FILE *ptr, *tf;
|
||||
! char *filename = strdup(tmpnam(NULL));
|
||||
|
||||
if(filename == NULL)
|
||||
return(NULL);
|
||||
--- 90,101 ----
|
||||
char *tmpfile_create()
|
||||
{
|
||||
TMP_FILE *ptr, *tf;
|
||||
! char xxx[40];
|
||||
! char *filename;
|
||||
!
|
||||
! sprintf(xxx, "/tmp/tmpf.XXXXXXXX");
|
||||
! close(mkstemp(xxx));
|
||||
! filename = strdup(xxx);
|
||||
|
||||
if(filename == NULL)
|
||||
return(NULL);
|
1
misc/xtar/pkg/COMMENT
Normal file
1
misc/xtar/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
View and manipulate contents of a tar file.
|
4
misc/xtar/pkg/DESCR
Normal file
4
misc/xtar/pkg/DESCR
Normal file
@ -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.
|
4
misc/xtar/pkg/PLIST
Normal file
4
misc/xtar/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
bin/xtar
|
||||
lib/X11/xtar/xtar.doc
|
||||
lib/X11/app-defaults/XTar
|
||||
man/man1/xtar.1
|
Loading…
Reference in New Issue
Block a user