Subject: pkg/22924: enable compatibility decompression in archivers/freeze
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@duh.org>
List: netbsd-bugs
Date: 09/23/2003 22:21:28
>Number:         22924
>Category:       pkg
>Synopsis:       enable compatibility decompression in archivers/freeze
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 24 02:24:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1_STABLE
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
System: NetBSD server.duh.org 1.6.1_STABLE NetBSD 1.6.1_STABLE (SERVER) #1: Fri Sep 12 11:28:14 EDT 2003 tv@server.duh.org:/export/SRC/duh/netbsd-kernels/SERVER i386
Architecture: i386
Machine: i386
>Description:

I actually ran across a file compressed with freeze 1.0 today.  It turns
out that archivers/freeze doesn't support it as-is, but it can be added
with a config.h twiddle.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/freeze/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	2003/07/17 21:21:11	1.11
+++ Makefile	2003/09/24 02:17:10
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.11 2003/07/17 21:21:11 grant Exp $
 
 DISTNAME=       freeze-2.5
+PKGREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	ftp://ftp.cdrom.com/pub/unixfreeware/archive/
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/freeze/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	2001/09/14 18:47:16	1.4
+++ distinfo	2003/09/24 02:17:10
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2001/09/14 18:47:16 jlam Exp $
+$NetBSD: distinfo,v 1.3 2001/07/15 11:26:02 jlam Exp $
 
 SHA1 (freeze-2.5.tar.gz) = 07b94508fcd95d35236a4090257aa402fd623812
 Size (freeze-2.5.tar.gz) = 36402 bytes
 SHA1 (patch-aa) = 659c035cddef121a2e971f82593f67a9a5bc100f
 SHA1 (patch-ab) = ee451389539442c392830c7da252ac836d4a5adf
 SHA1 (patch-ac) = 17b2b3b5514f7dea67ecfe969d8f6e988b5fad40
+SHA1 (patch-ad) = 9fba44a8f5f1714b10a164b07af6a140c2edf18d
Index: patches/patch-ad
===================================================================
RCS file: patch-ad
diff -N patch-ad
--- /dev/null	Thu Jul 11 11:18:53 2002
+++ patches/patch-ad	Wed Sep 24 02:17:10 2003
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- config.h.in.orig	Tue Sep 23 21:35:03 2003
++++ config.h.in
+@@ -43,7 +43,7 @@
+ #undef SYSTIME
+ 
+ /* define if you want to have freeze compatible with vers. 1.0          */
+-#undef COMPAT
++#define COMPAT
+ 
+ /* define if your system has multibyte NEWLINE (as in MS-DOS) and       */
+ /* you want to do text conversion by default                            */
>Release-Note:
>Audit-Trail:
>Unformatted: