summaryrefslogtreecommitdiff
path: root/archivers/ha
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-10-27 02:18:56 +0000
committerhubertf <hubertf@pkgsrc.org>1997-10-27 02:18:56 +0000
commit8b564b5192b294067cb0130be5d93572a73a8d50 (patch)
treeaa7fd087d6bcf69328ebc37067c429ed69a80a4c /archivers/ha
parent78879a265da1d7043bcd319b2f1b34fb6177b5de (diff)
downloadpkgsrc-8b564b5192b294067cb0130be5d93572a73a8d50.tar.gz
File archivers, ports from FreeBSD
Diffstat (limited to 'archivers/ha')
-rw-r--r--archivers/ha/Makefile26
-rw-r--r--archivers/ha/files/md51
-rw-r--r--archivers/ha/patches/patch-aa19
-rw-r--r--archivers/ha/pkg/COMMENT1
-rw-r--r--archivers/ha/pkg/DESCR47
-rw-r--r--archivers/ha/pkg/PLIST1
6 files changed, 95 insertions, 0 deletions
diff --git a/archivers/ha/Makefile b/archivers/ha/Makefile
new file mode 100644
index 00000000000..c0f5855cb4a
--- /dev/null
+++ b/archivers/ha/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: ha
+# Version required: 0.999beta
+# Date created: 24 Jan 1995
+# Whom: ache
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/27 02:18:59 hubertf Exp $
+#
+
+DISTNAME= ha0999
+PKGNAME= ha-0.999b
+CATEGORIES= archivers
+MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ache@FreeBSD.ORG
+
+NO_WRKSUBDIR= yes
+MAKEFILE= makefile.nix
+MAKE_FLAGS= CC=cc -f
+ALL_TARGET= ha
+USE_GMAKE= yes
+
+do-install:
+ cd ${WRKSRC}; ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ha ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/ha/files/md5 b/archivers/ha/files/md5
new file mode 100644
index 00000000000..f3b341df4e2
--- /dev/null
+++ b/archivers/ha/files/md5
@@ -0,0 +1 @@
+MD5 (ha0999.tgz) = 77f3266a451712bec55d60df67f61486
diff --git a/archivers/ha/patches/patch-aa b/archivers/ha/patches/patch-aa
new file mode 100644
index 00000000000..0bdd3610fb1
--- /dev/null
+++ b/archivers/ha/patches/patch-aa
@@ -0,0 +1,19 @@
+*** nix/machine.c.bak Thu Jan 12 09:53:00 1995
+--- nix/machine.c Tue Jan 24 19:38:07 1995
+***************
+*** 417,423 ****
+ if (plainname!=NULL) free(plainname),plainname=NULL;
+ if ((plainname=malloc(strlen(mdfullpath)+1))==NULL)
+ error(1,ERR_MEM,"md_stripname()");
+! for (i=strlen(mdfullpath)-1;i>0;i--) {
+ if (mdfullpath[i]=='/') {
+ i++;
+ break;
+--- 417,423 ----
+ if (plainname!=NULL) free(plainname),plainname=NULL;
+ if ((plainname=malloc(strlen(mdfullpath)+1))==NULL)
+ error(1,ERR_MEM,"md_stripname()");
+! for (i=strlen(mdfullpath)-1;i>=0;i--) {
+ if (mdfullpath[i]=='/') {
+ i++;
+ break;
diff --git a/archivers/ha/pkg/COMMENT b/archivers/ha/pkg/COMMENT
new file mode 100644
index 00000000000..5ed70bed9b0
--- /dev/null
+++ b/archivers/ha/pkg/COMMENT
@@ -0,0 +1 @@
+The HA archiver using the HSC compression method.
diff --git a/archivers/ha/pkg/DESCR b/archivers/ha/pkg/DESCR
new file mode 100644
index 00000000000..551026c194b
--- /dev/null
+++ b/archivers/ha/pkg/DESCR
@@ -0,0 +1,47 @@
+HA is an archiver which I released in january 1993 as version 0.98.
+After that I had plans to improve speed, archive handling etc. which
+would have required total rewrite of the code. For that I unfortunately
+could not find time. Because there has been quite considerably interest
+for internals of HA (especially for the HSC compression method) I
+decided to make a source level release from my current test version
+(0.999 beta) and place it under GNU General Public License. The sources
+for this version are not very consistent or clean, but everything should
+work.
+
+There are several improvements which should be made before this could be
+called version 1.0. Some of the most obvious of these are:
+- Compression methods should be coded in assembler for PC and using more
+ efficient data structures for 32 bit platforms. Current version does
+ some things only to overcome 64kB segments of 8086.
+- UNIX port has still some problems and is missing some things (for example
+ a grouping operator in wildcard matches).
+- File handling is far from optimum.
+- Archive handling is not too clever either.
+- Testing should be done more thoroughly as there are many special cases
+ in compression routines which get used very rarely.
+- Documentation of code and algorithms is totally missing.
+
+This archive (ha0999.zip) contains this readme, MSDOS executable ha.exe
+and source files for HA 0.999beta. Ha.exe is NOT compiled directly from
+included sources. Some critical parts of it were compiled from hand
+optimized versions of compiler output. It is somewhat faster than "pure
+C" version.
+
+MSDOS sources are for Borland C 4.0 but older versions of bcc should
+work. Makefile needs some editing as some paths are hardcoded in it.
+UNIX sources are not very generic. I have only tested this using Linux
+on PC and AIX on IBM6000. Only compiler and make utility that I have
+tested are GCC and GNU MAKE.
+
+Porting HA should be fairly easy as all machine specific code is in
+machine.h and machine.c under machine specific directories. Md_funcs.txt
+documents these functions. Examples can be found from pc and nix
+directories.
+
+Email address where I can be reached is "harri.hirvola@vaisala.infonet.com".
+My email addresses have not been very stable and I would not be very
+surprised if this one too is only valid for some months...
+
+ Harri Hirvola
+
+
diff --git a/archivers/ha/pkg/PLIST b/archivers/ha/pkg/PLIST
new file mode 100644
index 00000000000..da4d162c3b5
--- /dev/null
+++ b/archivers/ha/pkg/PLIST
@@ -0,0 +1 @@
+bin/ha