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/unrar | |
parent | 78879a265da1d7043bcd319b2f1b34fb6177b5de (diff) | |
download | pkgsrc-8b564b5192b294067cb0130be5d93572a73a8d50.tar.gz |
File archivers, ports from FreeBSD
Diffstat (limited to 'archivers/unrar')
-rw-r--r-- | archivers/unrar/Makefile | 29 | ||||
-rw-r--r-- | archivers/unrar/files/md5 | 1 | ||||
-rw-r--r-- | archivers/unrar/patches/patch-aa | 45 | ||||
-rw-r--r-- | archivers/unrar/patches/patch-ab | 23 | ||||
-rw-r--r-- | archivers/unrar/pkg/COMMENT | 1 | ||||
-rw-r--r-- | archivers/unrar/pkg/DESCR | 10 | ||||
-rw-r--r-- | archivers/unrar/pkg/PLIST | 3 |
7 files changed, 112 insertions, 0 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile new file mode 100644 index 00000000000..0d27eadc64b --- /dev/null +++ b/archivers/unrar/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: unrar +# Version required: 2.01 +# Date created: 28 Dec 1994 +# Whom: ache +# +# $Id: Makefile,v 1.1.1.1 1997/10/27 02:19:05 hubertf Exp $ +# + +DISTNAME= unrar-2.01 +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ache@FreeBSD.ORG + +NO_WRKSUBDIR= Yes + +do-build: + cd ${WRKSRC} && \ + ${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar + +do-install: + install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \ + ${PREFIX}/share/doc/unrar + cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin + cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \ + ${PREFIX}/share/doc/unrar + +.include <bsd.port.mk> diff --git a/archivers/unrar/files/md5 b/archivers/unrar/files/md5 new file mode 100644 index 00000000000..9288eff03b6 --- /dev/null +++ b/archivers/unrar/files/md5 @@ -0,0 +1 @@ +MD5 (unrar-2.01.tgz) = ba30fc400cd97b987b1076889c1736ef diff --git a/archivers/unrar/patches/patch-aa b/archivers/unrar/patches/patch-aa new file mode 100644 index 00000000000..f82d2fc0247 --- /dev/null +++ b/archivers/unrar/patches/patch-aa @@ -0,0 +1,45 @@ +*** smallfn.c.bak Mon May 19 23:58:11 1997 +--- smallfn.c Tue May 20 00:19:28 1997 +*************** +*** 92,99 **** + } + if (Choice==4) + { + mprintf(MAskNewName); +! gets(Name); + continue; + } + if (Choice==5) +--- 92,103 ---- + } + if (Choice==4) + { ++ char *s; + mprintf(MAskNewName); +! *Name = '\0'; +! fgets(Name, NM, stdin); +! if ((s = strchr(Name, '\n')) != NULL) +! *s = '\0'; + continue; + } + if (Choice==5) +*************** +*** 110,116 **** + int GetKey(void) + { + char Str[80]; +! gets(Str); + return(Str[0]); + } + +--- 114,123 ---- + int GetKey(void) + { + char Str[80]; +! *Str = '\0'; +! fgets(Str, 80, stdin); +! if (*Str == '\n') +! *Str = '\0'; + return(Str[0]); + } + diff --git a/archivers/unrar/patches/patch-ab b/archivers/unrar/patches/patch-ab new file mode 100644 index 00000000000..4cf98c0389d --- /dev/null +++ b/archivers/unrar/patches/patch-ab @@ -0,0 +1,23 @@ +*** os.c.bak Mon May 19 23:58:11 1997 +--- os.c Tue May 20 00:22:57 1997 +*************** +*** 67,73 **** + + void GetPswStr(char *Str) + { +! gets(Str); + } + + +--- 67,77 ---- + + void GetPswStr(char *Str) + { +! char *s; +! *Str = '\0'; +! fgets(Str, 128, stdin); +! if ((s = strchr(Str, '\n')) != NULL) +! *s = '\0'; + } + + diff --git a/archivers/unrar/pkg/COMMENT b/archivers/unrar/pkg/COMMENT new file mode 100644 index 00000000000..a332c5798ac --- /dev/null +++ b/archivers/unrar/pkg/COMMENT @@ -0,0 +1 @@ +Extract, view & test RAR archives. diff --git a/archivers/unrar/pkg/DESCR b/archivers/unrar/pkg/DESCR new file mode 100644 index 00000000000..c96a88f1db9 --- /dev/null +++ b/archivers/unrar/pkg/DESCR @@ -0,0 +1,10 @@ + The unRAR utility is a freeware program, distributed with source + code and developed for extracting, testing and viewing the + contents of archives created with the RAR archiver, version 1.50 + and above. For the usage and distribution license please read the + file LICENSE.TXT. + + The unRAR utility is a minor part of the RAR archiver and contains + RAR uncompression algorithm. UnRAR requires very small volume of + memory to operate. + diff --git a/archivers/unrar/pkg/PLIST b/archivers/unrar/pkg/PLIST new file mode 100644 index 00000000000..230848d7145 --- /dev/null +++ b/archivers/unrar/pkg/PLIST @@ -0,0 +1,3 @@ +bin/unrar +share/doc/unrar/license.txt +share/doc/unrar/readme.txt |