diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-10-27 02:18:56 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-10-27 02:18:56 +0000 |
commit | 8b564b5192b294067cb0130be5d93572a73a8d50 (patch) | |
tree | aa7fd087d6bcf69328ebc37067c429ed69a80a4c /archivers/lha | |
parent | 78879a265da1d7043bcd319b2f1b34fb6177b5de (diff) | |
download | pkgsrc-8b564b5192b294067cb0130be5d93572a73a8d50.tar.gz |
File archivers, ports from FreeBSD
Diffstat (limited to 'archivers/lha')
-rw-r--r-- | archivers/lha/Makefile | 20 | ||||
-rw-r--r-- | archivers/lha/files/md5 | 1 | ||||
-rw-r--r-- | archivers/lha/patches/patch-aa | 57 | ||||
-rw-r--r-- | archivers/lha/patches/patch-ab | 21 | ||||
-rw-r--r-- | archivers/lha/pkg/COMMENT | 1 | ||||
-rw-r--r-- | archivers/lha/pkg/DESCR | 16 | ||||
-rw-r--r-- | archivers/lha/pkg/PLIST | 2 |
7 files changed, 118 insertions, 0 deletions
diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile new file mode 100644 index 00000000000..489a793a2fe --- /dev/null +++ b/archivers/lha/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: lha +# Version required: 1.14C +# Date created: 26 Dec 1994 +# Whom: ache +# +# $Id: Makefile,v 1.1.1.1 1997/10/27 02:19:01 hubertf Exp $ +# + +DISTNAME= lha-114c +PKGNAME= lha-1.14c +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.leo.chubu.ac.jp/pub/tools/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ache@FreeBSD.ORG + +MANLANG= ja_JP.EUC +MAN1= lha.1 + +.include <bsd.port.mk> diff --git a/archivers/lha/files/md5 b/archivers/lha/files/md5 new file mode 100644 index 00000000000..71db78aa80e --- /dev/null +++ b/archivers/lha/files/md5 @@ -0,0 +1 @@ +MD5 (lha-114c.tgz) = b626a5af259773dfb2b12c3876bdfd46 diff --git a/archivers/lha/patches/patch-aa b/archivers/lha/patches/patch-aa new file mode 100644 index 00000000000..6c00357c611 --- /dev/null +++ b/archivers/lha/patches/patch-aa @@ -0,0 +1,57 @@ +*** Makefile.orig Fri Mar 1 17:59:19 1996 +--- Makefile Sun Dec 15 11:00:17 1996 +*************** +*** 11,35 **** + #----------------------------------------------------------------------- + + SHELL=/bin/sh +! MAKE = make + + #CC = cc +! CC = gcc +! SWITCHES = -DNEED_INCREMENTAL_INDICATOR \ +! -DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\"" + #MACHINE = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC +! MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DFTIME + #OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer -mv8 + #OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer +! OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer + +! BINDIR = /usr/local/bin +! MANDIR = /usr/local/man +! MANSECT = n + +! INSTALL = install +! INSTALLBIN = -s -m 755 +! INSTALLMAN = -m 644 + + SUBDIRS = src man + +--- 11,37 ---- + #----------------------------------------------------------------------- + + SHELL=/bin/sh +! #MAKE = make + + #CC = cc +! #CC = gcc +! SWITCHES = -DNEED_INCREMENTAL_INDICATOR + #MACHINE = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC +! MACHINE = -DSYSTIME_HAS_NO_TM -DTIMELOCAL -DUSESTRCASECMP \ +! -DSYSV_SYSTEM_DIR + #OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer -mv8 + #OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer +! #OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer +! OPTIMIZE = ${CFLAGS} + +! PREFIX ?= /usr/local +! BINDIR = ${PREFIX}/bin +! MANDIR = ${PREFIX}/man/ja_JP.EUC +! MANSECT = 1 + +! #INSTALL = install +! INSTALLBIN = -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} +! INSTALLMAN = -m 444 -o bin -g bin -c + + SUBDIRS = src man + diff --git a/archivers/lha/patches/patch-ab b/archivers/lha/patches/patch-ab new file mode 100644 index 00000000000..3424cadc53b --- /dev/null +++ b/archivers/lha/patches/patch-ab @@ -0,0 +1,21 @@ +*** src/lharc.c.bak Fri Mar 8 09:09:06 1996 +--- src/lharc.c Wed Aug 28 21:13:02 1996 +*************** +*** 318,324 **** + cmd_filec = 0; + if ((xfilev = (char **) malloc(sizeof(char *) * xfilec)) == NULL) + fatal_error("Virtual memory exhausted\n"); +! while (gets(inpbuf)) { + if (cmd_filec >= xfilec) { + xfilec += 256; + cmd_filev = (char **) realloc(xfilev, +--- 318,326 ---- + cmd_filec = 0; + if ((xfilev = (char **) malloc(sizeof(char *) * xfilec)) == NULL) + fatal_error("Virtual memory exhausted\n"); +! while (fgets(inpbuf, sizeof(inpbuf), stdin)) { +! if ((p = strchr(inpbuf, '\n'))) +! *p = '\0'; + if (cmd_filec >= xfilec) { + xfilec += 256; + cmd_filev = (char **) realloc(xfilev, diff --git a/archivers/lha/pkg/COMMENT b/archivers/lha/pkg/COMMENT new file mode 100644 index 00000000000..5a8333559ac --- /dev/null +++ b/archivers/lha/pkg/COMMENT @@ -0,0 +1 @@ +Archive files using LZW compression (.lzh files). diff --git a/archivers/lha/pkg/DESCR b/archivers/lha/pkg/DESCR new file mode 100644 index 00000000000..0a2bfc77c40 --- /dev/null +++ b/archivers/lha/pkg/DESCR @@ -0,0 +1,16 @@ + LHa for UNIX version 1.14c Mar. 7 1996 by Tsugio Okamoto + + This unofficial version of lha is based on Version 1.00. This +version supports extraction & archiving using -lh5- as well as +extraction using -lh6- algorithm. + + All the bug reports on this version should be directed to Tsuguo +Okamoto <GBA02146@NIFTYSERVE.OR.JP>. + + + If this software is included in medium that may be obtained by +users without network connectivity, please notify Tsuguo Okamoto in +advance. Redistribution over networks is not restricted. + + According to Masafumi NAKANE <max@wide.ad.jp> the author gives +permission to distribute this software on FreeBSD CDROM. diff --git a/archivers/lha/pkg/PLIST b/archivers/lha/pkg/PLIST new file mode 100644 index 00000000000..fd97da28da1 --- /dev/null +++ b/archivers/lha/pkg/PLIST @@ -0,0 +1,2 @@ +bin/lha +man/ja_JP.EUC/man1/lha.1.gz |