Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 1998 06:42:31 +0900 (JST)
From:      shige@kuis.kyoto-u.ac.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        shige@kuis.kyoto-u.ac.jp
Subject:   ports/8257: Update port: archivers/bzip2
Message-ID:  <199810102142.GAA19615@smtp01.odn.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         8257
>Category:       ports
>Synopsis:       Update port: archivers/bzip2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 10 14:50:00 PDT 1998
>Last-Modified:
>Originator:     Shigeyuki FUKUSHIMA
>Organization:
Dept. of Information Scince, Kyoto Univ., JAPAN
>Release:        FreeBSD 3.0-BETA i386
>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
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810102142.GAA19615>