From shigeisp@pop02.odn.ne.jp  Sat Oct 10 14:42:50 1998
Received: from smtp01.odn.ne.jp (smtp01.odn.ne.jp [143.90.130.27])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA05388
          for <freebsd-gnats-submit@freebsd.org>; Sat, 10 Oct 1998 14:42:47 -0700 (PDT)
          (envelope-from shigeisp@pop02.odn.ne.jp)
Received: from athena.shigelan.priv.jp (OSAcc-04p64.ppp.odn.ad.jp [143.90.241.64])
	by smtp01.odn.ne.jp (8.8.8+2.7Wbeta7/3.6W/9807081206) with ESMTP id GAA19615;
	Sun, 11 Oct 1998 06:42:37 +0900 (JST)
Received: from artemis.shigelan.priv.jp (artemis.shigelan.priv.jp [192.168.74.3])
	by athena.shigelan.priv.jp (8.8.8/3.6W-athena) with ESMTP id GAA00825;
	Sun, 11 Oct 1998 06:42:32 +0900 (JST)
Received: (from shige@localhost)
	by artemis.shigelan.priv.jp (8.9.1/3.7Wpl1-artemis) id GAA27072;
	Sun, 11 Oct 1998 06:42:31 +0900 (JST)
Message-Id: <199810102142.GAA19615@smtp01.odn.ne.jp>
Date: Sun, 11 Oct 1998 06:42:31 +0900 (JST)
From: shige@kuis.kyoto-u.ac.jp
Reply-To: shige@kuis.kyoto-u.ac.jp
To: FreeBSD-gnats-submit@freebsd.org
Cc: shige@kuis.kyoto-u.ac.jp
Subject: Update port: archivers/bzip2
X-Send-Pr-Version: 3.2

>Number:         8257
>Category:       ports
>Synopsis:       Update port: archivers/bzip2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 10 14:50:00 PDT 1998
>Closed-Date:    Tue Nov 3 02:44:40 PST 1998
>Last-Modified:  Tue Nov  3 02:45:20 PST 1998
>Originator:     Shigeyuki FUKUSHIMA
>Release:        FreeBSD 3.0-BETA i386
>Organization:
Dept. of Information Scince, Kyoto Univ., JAPAN
>Environment:

	FreeBSD 3.0-BETA i386
	FreeBSD 2.2.7-RELEASE i386

>Description:

Update port: archivers/bzip2

This update is caused by updating bzip2 distfiles.
Bzip2 distribution version is 0.9.0b.


Thank you.
--- shige

>How-To-Repeat:

>Fix:

diff -urN /usr/ports/archivers/bzip2/Makefile bzip2/Makefile
--- /usr/ports/archivers/bzip2/Makefile	Thu Sep 24 07:00:08 1998
+++ bzip2/Makefile	Sun Oct 11 06:28:51 1998
@@ -6,8 +6,8 @@
 # $Id: Makefile,v 1.4 1998/09/23 00:57:45 steve Exp $
 #
 
-DISTNAME=	bzip2-0.1pl2
-PKGNAME=	bzip2-0.1p2
+DISTNAME=	bzip2-0.9.0b
+PKGNAME=	bzip2-0.9.0b
 CATEGORIES=	archivers
 MASTER_SITES=	ftp://ftp.connectnet.com/pub/bzip/ \
 		http://www.muraroa.demon.co.uk/
@@ -21,7 +21,17 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin
 	${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bunzip2
+	${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bzcat
 	${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/bzip2
+	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bzip2/
+	@${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/bzip2/
+	@${INSTALL_DATA} ${WRKSRC}/manual*.html ${PREFIX}/share/doc/bzip2/
+	@${INSTALL_DATA} ${WRKSRC}/manual.ps ${PREFIX}/share/doc/bzip2/
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/archivers/bzip2/files/md5 bzip2/files/md5
--- /usr/ports/archivers/bzip2/files/md5	Tue Apr 28 06:31:32 1998
+++ bzip2/files/md5	Sun Oct 11 06:07:44 1998
@@ -1 +1 @@
-MD5 (bzip2-0.1pl2.tar.gz) = 11fe7b9615eb84326712cb41671a7103
+MD5 (bzip2-0.9.0b.tar.gz) = 74f425b051e296106dbc879afb241f1d
diff -urN /usr/ports/archivers/bzip2/patches/patch-aa bzip2/patches/patch-aa
--- /usr/ports/archivers/bzip2/patches/patch-aa	Tue Apr 28 06:29:55 1998
+++ bzip2/patches/patch-aa	Sun Oct 11 06:33:31 1998
@@ -1,13 +1,20 @@
---- Makefile.orig	Fri Aug 29 19:36:29 1997
-+++ Makefile	Mon Apr 27 17:25:13 1998
-@@ -1,8 +1,8 @@
+--- Makefile.orig	Wed Sep  9 20:30:41 1998
++++ Makefile	Sun Oct 11 06:20:19 1998
+@@ -1,6 +1,6 @@
  
--CC = gcc
-+#CC = gcc
- SH = /bin/sh
- 
--CFLAGS = -O3 -fomit-frame-pointer -funroll-loops
-+#CFLAGS = -O3 -fomit-frame-pointer -funroll-loops
+-CC=gcc
+-CFLAGS=-Wall -O2 -fomit-frame-pointer -fno-strength-reduce
++#CC=gcc
++#CFLAGS=-Wall -O2 -fomit-frame-pointer -fno-strength-reduce
  
+ OBJS= blocksort.o  \
+       huffman.o    \
+@@ -38,7 +38,7 @@
+ clean: 
+ 	rm -f *.o libbz2.a bzip2 bzip2recover sample1.rb2 sample2.rb2 sample1.tst sample2.tst
  
+-.c.o: $*.o bzlib.h bzlib_private.h
++.c.o: $*.c bzlib.h bzlib_private.h
+ 	$(CC) $(CFLAGS) -c $*.c -o $*.o
  
+ tarfile:
diff -urN /usr/ports/archivers/bzip2/pkg/PLIST bzip2/pkg/PLIST
--- /usr/ports/archivers/bzip2/pkg/PLIST	Tue Aug 18 07:00:12 1998
+++ bzip2/pkg/PLIST	Sun Oct 11 06:28:21 1998
@@ -1,3 +1,15 @@
 bin/bzip2
-bin/bunzip2
+@exec ln -sf %D/%F %D/bin/bunzip2
+@exec ln -sf %D/%F %D/bin/bzcat
+@unexec rm -f %D/bin/bunzip2
+@unexec rm -f %D/bin/bzcat
 bin/bzip2recover
+share/doc/bzip2/LICENSE
+share/doc/bzip2/README
+share/doc/bzip2/manual.ps
+share/doc/bzip2/manual_1.html
+share/doc/bzip2/manual_2.html
+share/doc/bzip2/manual_3.html
+share/doc/bzip2/manual_4.html
+share/doc/bzip2/manual_toc.html
+@dirrm share/doc/bzip2
>Release-Note:
>Audit-Trail:

From: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc: shige@kuis.kyoto-u.ac.jp
Subject: Re: ports/8257: Update port: archivers/bzip2
Date: Tue, 03 Nov 1998 15:10:03 +0900 (JST)

  From: shige@kuis.kyoto-u.ac.jp
  Date: Sun, 11 Oct 1998 06:42:31 +0900 (JST)
  Title: ports/8257: Update port: archivers/bzip2
  Message-ID: <199810102142.GAA19615@smtp01.odn.ne.jp>
 
 > Update port: archivers/bzip2
 > 
 > This update is caused by updating bzip2 distfiles.
 > Bzip2 distribution version is 0.9.0b.
 
 Already send-pr'ed archivers/bzip2 (bzip2-0.9.0c).
 Please delete this pr from unassigned list.
 
 ---shige
 Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
 PGP Public Key:
 http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x56B99BF9
State-Changed-From-To: open->closed 
State-Changed-By: tg 
State-Changed-When: Tue Nov 3 02:44:40 PST 1998 
State-Changed-Why:  
The port has already been upgraded to 0.9.0c. 
>Unformatted:
