Date: Fri, 15 Feb 2002 10:55:04 -0500 (EST) From: Jason Harris <jharris@widomaker.com> To: FreeBSD-gnats-submit@freebsd.org Cc: Jason Harris <jharris@widomaker.com> Subject: ports/34968: update ports/archivers/bzip2 Message-ID: <200202151555.g1FFt4v00509@pm6-39.lft.widomaker.com>
next in thread | raw e-mail | index | archive | help
>Number: 34968 >Category: ports >Synopsis: update ports/archivers/bzip2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 15 08:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jason Harris >Release: FreeBSD 4.3-RELEASE i386 >Organization: none here >Environment: System: FreeBSD 4.3-RELEASE i386 >Description: Update to bzip 1.0.2, request maintainership >How-To-Repeat: apply patch below >Fix: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message --- Makefile 2001/09/11 13:01:29 1.35 +++ Makefile 2002/02/14 05:58:11 @@ -7,12 +7,12 @@ # PORTNAME= bzip2 -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.2 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_SOURCEWARE} -MASTER_SITE_SUBDIR= bzip2/v100 +MASTER_SITE_SUBDIR= bzip2/v102 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jharris@widomaker.com .if exists(/usr/bin/bzip2) IGNORE= bzip2 is in the base system @@ -20,9 +20,12 @@ INSTALLS_SHLIB= yes -MAN1= bzip2.1 +MAN1= bzip2.1 bzgrep.1 bzmore.1 MLINKS= bzip2.1 bunzip2.1 bzip2.1 bzcat.1 bzip2.1 bz2cat.1 \ - bzip2.1 bzip2recover.1 + bzip2.1 bzip2recover.1 \ + bzgrep.1 bzegrep.1 \ + bzgrep.1 bzfgrep.1 \ + bzmore.1 bzless.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin @@ -30,14 +33,22 @@ ${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bzcat ${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bz2cat ${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bzgrep ${PREFIX}/bin + ${LN} -sf ${PREFIX}/bin/bzgrep ${PREFIX}/bin/bzegrep + ${LN} -sf ${PREFIX}/bin/bzgrep ${PREFIX}/bin/bzfgrep + ${INSTALL_SCRIPT} ${WRKSRC}/bzmore ${PREFIX}/bin + ${LN} -sf ${PREFIX}/bin/bzmore ${PREFIX}/bin/bzless ${INSTALL_DATA} ${WRKSRC}/bzlib.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libbz2.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/libbz2.so.1 ${PREFIX}/lib ${LN} -sf ${PREFIX}/lib/libbz2.so.1 ${PREFIX}/lib/libbz2.so ${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/bzgrep.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/bzmore.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/bzip2 ${INSTALL_DATA} ${WRKSRC}/manual* ${PREFIX}/share/doc/bzip2 + ${INSTALL_DATA} ${WRKSRC}/bzip2.txt ${PREFIX}/share/doc/bzip2 ${PREFIX}/bin/bzip2 -f ${PREFIX}/share/doc/bzip2/manual.ps .endif --- distinfo 2000/06/30 16:44:43 1.9 +++ distinfo 2002/02/14 03:21:32 @@ -1 +1 @@ -MD5 (bzip2-1.0.1.tar.gz) = 770135dc94369cb3eb6013ed505c8dc5 +MD5 (bzip2-1.0.2.tar.gz) = ee76864958d568677f03db8afad92beb --- pkg-descr 1999/09/24 22:43:03 1.4 +++ pkg-descr 2002/02/14 03:24:59 @@ -1,4 +1,4 @@ This is bzip2, a advanced block-sorting file compressor. It is believed to be free from any patents. -WWW: http://sourceware.cygnus.com/bzip2/ +WWW: http://sources.redhat.com/bzip2/ --- pkg-plist 2001/04/09 23:28:44 1.13 +++ pkg-plist 2002/02/14 05:57:42 @@ -4,6 +4,11 @@ bin/bzcat bin/bz2cat bin/bzip2recover +bin/bzgrep +bin/bzegrep +bin/bzfgrep +bin/bzmore +bin/bzless include/bzlib.h lib/libbz2.a lib/libbz2.so @@ -15,4 +20,9 @@ %%PORTDOCS%%share/doc/bzip2/manual_3.html %%PORTDOCS%%share/doc/bzip2/manual_4.html %%PORTDOCS%%share/doc/bzip2/manual_toc.html +%%PORTDOCS%%share/doc/bzip2/manual.html +%%PORTDOCS%%share/doc/bzip2/manual_abt.html +%%PORTDOCS%%share/doc/bzip2/manual_ovr.html +%%PORTDOCS%%share/doc/bzip2/manual.pdf +%%PORTDOCS%%share/doc/bzip2/bzip2.txt %%PORTDOCS%%@dirrm share/doc/bzip2 --- files/patch-aa 2000/06/08 14:47:17 1.9 +++ files/patch-aa 2002/02/14 06:05:00 @@ -1,19 +1,25 @@ ---- Makefile.orig Wed May 17 00:31:04 2000 -+++ Makefile Thu Jun 8 17:41:26 2000 -@@ -1,8 +1,10 @@ - +--- Makefile 2002/02/14 03:34:07 1.1 ++++ Makefile 2002/02/14 03:53:34 +@@ -2,14 +2,16 @@ SHELL=/bin/sh + + # To assist in cross-compiling -CC=gcc +CC?=gcc + AR=ar + RANLIB=ranlib + LDFLAGS= + + # Suitably paranoid flags to avoid bugs in gcc-2.7 BIGFILES=-D_FILE_OFFSET_BITS=64 -CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES) +CFLAGS?=-O2 +CFLAGS+=-Wall -Winline -fomit-frame-pointer -fno-strength-reduce $(BIGFILES) +SOFLAGS=-fPIC -fpic -DPIC - OBJS= blocksort.o \ - huffman.o \ -@@ -12,10 +14,18 @@ + # Where you want it installed when you do 'make install' + PREFIX=/usr +@@ -23,10 +25,18 @@ decompress.o \ bzlib.o @@ -27,37 +33,36 @@ + bzlib.so -bzip2: libbz2.a bzip2.o -- $(CC) $(CFLAGS) -o bzip2 bzip2.o -L. -lbz2 +- $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2 +all: libbz2.so.1 libbz2.a bzip2 bzip2recover test + +bzip2: libbz2.so.1 libbz2.a bzip2.o + $(CC) $(CFLAGS) -o bzip2 bzip2.o libbz2.a bzip2recover: bzip2recover.o - $(CC) $(CFLAGS) -o bzip2recover bzip2recover.o -@@ -29,6 +39,10 @@ - ranlib libbz2.a ; \ + $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2recover bzip2recover.o +@@ -40,6 +50,10 @@ + $(RANLIB) libbz2.a ; \ fi +libbz2.so.1: $(SO_OBJS) + $(CC) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1 $(SO_OBJS) + ln -sf libbz2.so.1 libbz2.so + + check: test test: bzip2 @cat words1 - ./bzip2 -1 < sample1.ref > sample1.rb2 -@@ -69,12 +83,27 @@ - chmod a+r $(PREFIX)/lib/libbz2.a +@@ -98,9 +112,25 @@ + distclean: clean clean: - rm -f *.o libbz2.a bzip2 bzip2recover \ + rm -f *.o *.so libbz2.a libbz2.so.1 bzip2 bzip2recover \ sample1.rb2 sample2.rb2 sample3.rb2 \ sample1.tst sample2.tst sample3.tst - --blocksort.o: blocksort.c ++ +blocksort.so: blocksort.c - @cat words0 ++ @cat words0 + $(CC) $(CFLAGS) $(SOFLAGS) -c blocksort.c -o blocksort.so +huffman.so: huffman.c + $(CC) $(CFLAGS) $(SOFLAGS) -c huffman.c -o huffman.so @@ -71,8 +76,6 @@ + $(CC) $(CFLAGS) $(SOFLAGS) -c decompress.c -o decompress.so +bzlib.so: bzlib.c + $(CC) $(CFLAGS) $(SOFLAGS) -c bzlib.c -o bzlib.so -+ -+blocksort.o: blocksort.c - $(CC) $(CFLAGS) -c blocksort.c - huffman.o: huffman.c - $(CC) $(CFLAGS) -c huffman.c + + blocksort.o: blocksort.c + @cat words0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8bS50SypIl9OdoOMRAlM5AJ4o5i0v2WkGu3UDt3RJiRt9bEiW9QCeIo6M Xr3L5oknBLWIZXyoGeSkfpQ= =+OLc -----END PGP SIGNATURE----- >Release-Note: >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?200202151555.g1FFt4v00509>