uzap - a small & nice hex editor

Unfortunately, the copyright is somewhat restrictive, so we cannot
make a package out of it.  The author seem no longer to be reachable
under the provided mail address.
This commit is contained in:
Joerg Wunsch 1995-06-22 21:27:29 +00:00
parent 2eb8291377
commit 141af0148c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1859
7 changed files with 110 additions and 0 deletions

20
editors/uzap/Makefile Normal file
View File

@ -0,0 +1,20 @@
# New ports collection makefile for: uzap
# Version required: 1.0
# Date created: 19 Jun 1995
# Whom: joerg
#
# $Id$
#
DISTNAME= uzap
PKGNAME= uzap-1.0
CATEGORIES+= editors
MASTER_SITES= ftp://ftp.germany.eu.net/pub/utils/uzap/
EXTRACT_SUFX= .tar.gz
WRKSRC= ${WRKDIR}
# restrictive Copyright; the author is no longer reachable, however :-(
NO_PACKAGE= yes
.include <bsd.port.mk>

1
editors/uzap/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (uzap.tar.gz) = 565efb05b977785191049e7da44149a0

View File

@ -0,0 +1,40 @@
*** Makefile.orig Thu Mar 30 20:04:11 1989
--- Makefile Mon Jun 19 22:15:57 1995
***************
*** 1,7 ****
# Makefile for Uzap.
! BINDIR = /usr/local
! MANDIR = /usr/man/manl
! MSECT = l
uzap: uzap.o edit.o search.o screen.o
cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap
--- 1,9 ----
# Makefile for Uzap.
! BINDIR = ${PREFIX}/bin/
! MANDIR = ${PREFIX}/man/man1
! MSECT = 1
!
! all: uzap
uzap: uzap.o edit.o search.o screen.o
cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap
***************
*** 19,26 ****
cc -c -O screen.c
install: uzap
! install -s -m 771 uzap $(BINDIR)
! install -c -m 664 uzap.man $(MANDIR)/uzap.$(MSECT)
clean:
! rm -f *.o core uzap
--- 21,28 ----
cc -c -O screen.c
install: uzap
! install -s -m 755 -o bin -g bin uzap $(BINDIR)
! install -c -m 644 -o bin -g bin uzap.man $(MANDIR)/uzap.$(MSECT)
clean:
! rm -f *.o core *.core uzap

View File

@ -0,0 +1,19 @@
*** search.c.orig Thu Mar 30 20:04:12 1989
--- search.c Mon Jun 19 22:17:24 1995
***************
*** 217,223 ****
}
}
for(x= 0; x < len - 1; x+= 2){
! strcpy(hdigit, hex + (len - x - 2), 2);
hdigit[2]= '\0';
if(hdigit[0] < 96) hdigit[0]= hdigit[0] - 48;
--- 217,223 ----
}
}
for(x= 0; x < len - 1; x+= 2){
! strncpy(hdigit, hex + (len - x - 2), 2);
hdigit[2]= '\0';
if(hdigit[0] < 96) hdigit[0]= hdigit[0] - 48;

1
editors/uzap/pkg-comment Normal file
View File

@ -0,0 +1 @@
Visual binary file editor

26
editors/uzap/pkg-descr Normal file
View File

@ -0,0 +1,26 @@
/***************************************************************************/
/* */
/* Copyright (c) 1989, Robert Silvers - All rights reserved. */
/* */
/* This software is supplied free of charge. This software, or any part */
/* of it, may not be redistributed or otherwise made available to, or */
/* used by, any other person without the inclusion of this copyright */
/* notice. This software may not be used to make a profit in any way. */
/* */
/* This software is provided with absolutely no warranty, to the extent */
/* permitted by applicable state law. In no event, unless required by */
/* applicable law, will the author(s) of this this software be liable for */
/* any damages caused by this software. */
/* */
/***************************************************************************/
Uzap is a visual binary file editor for Unix systems written by
Robert Silvers at the University of Lowell. See the included man page
for more info.
rsilvers@hawk.ulowell.edu

3
editors/uzap/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
@cwd /usr/local
bin/uzap
man/man1/uzap.1