From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 25 07:40:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F71A16A41B for ; Sat, 25 Aug 2007 07:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 09EAC13C481 for ; Sat, 25 Aug 2007 07:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7P7e0Fe043312 for ; Sat, 25 Aug 2007 07:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7P7e0RR043311; Sat, 25 Aug 2007 07:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 25 Aug 2007 07:40:00 GMT Resent-Message-Id: <200708250740.l7P7e0RR043311@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0CCA16A418 for ; Sat, 25 Aug 2007 07:36:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 80C5E13C468 for ; Sat, 25 Aug 2007 07:36:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7P7avv0052655 for ; Sat, 25 Aug 2007 07:36:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l7P7avPR052654; Sat, 25 Aug 2007 07:36:57 GMT (envelope-from nobody) Message-Id: <200708250736.l7P7avPR052654@www.freebsd.org> Date: Sat, 25 Aug 2007 07:36:57 GMT From: bf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/115803: [PATCH] archivers/paq: update to 8.o2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2007 07:40:01 -0000 >Number: 115803 >Category: ports >Synopsis: [PATCH] archivers/paq: update to 8.o2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 25 07:40:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: bf >Release: 6.2-stable i386 >Organization: - >Environment: >Description: Introduce new version with improved .bmp compression; reinstate SSE-specific code for i386; add warning about incompatibility of different paq versions. diff -ru paq.orig/Makefile paq/Makefile --- paq.orig/Makefile Thu Aug 23 10:54:21 2007 +++ paq/Makefile Sat Aug 25 02:58:32 2007 @@ -2,14 +2,14 @@ # Date created: 5 April 2007 # Whom: bf # -# $FreeBSD: ports/archivers/paq/Makefile,v 1.4 2007/08/23 14:54:21 rafan Exp $ +# $FreeBSD$ # PORTNAME= paq -PORTVERSION= 8.n +PORTVERSION= 8.o2 CATEGORIES= archivers MASTER_SITES= http://www.cs.fit.edu/~mmahoney/compression/ -DISTNAME= paq8n +DISTNAME= paq8o2 MAINTAINER= bf2006a@yahoo.com COMMENT= An archiver with an extremely high compression ratio @@ -17,7 +17,8 @@ NO_WRKSUBDIR= yes USE_ZIP= yes SUB_FILES= pkg-message -PLIST_SUB= DISTNAME=${DISTNAME} +CPPFILE= paq8o +PLIST_SUB= CPPFILE=${CPPFILE} .include @@ -26,7 +27,11 @@ CXXFLAGS+= -DUNIX -O3 ASM1?= nasm -f elf -o ASM2?= +.if !defined(WITH_SSE) ASMFILE= paq7asm +.else +ASMFILE= paq7asmsse +.endif STRIP= .elif !defined(WITHOUT_ASM) && ${ARCH} == "amd64" && !defined(PACKAGE_BUILDING) BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm @@ -37,7 +42,7 @@ STRIP= .else WITHOUT_ASM= yes -CXXFLAGS+= -DUNIX -DNOASM -O3 +CXXFLAGS+=-DUNIX -DNOASM -O3 .endif pre-everything:: @@ -48,25 +53,29 @@ @${ECHO_MSG} "enabled by default on x86 and amd64 architectures, hit Ctrl-C" @${ECHO_MSG} "now and use \"make WITHOUT_ASM=yes\"." @${ECHO_MSG} + @${ECHO_MSG} "If you wish to use the version of the assembly code that is" + @${ECHO_MSG} "optimized for x86 (not amd64) processors with SSE instruction" + @${ECHO_MSG} "support, hit Ctrl-C now and use \"make WITH_SSE=yes\"." + @${ECHO_MSG} do-build: .if !defined(WITHOUT_ASM) ${ASM1} ${WRKSRC}/${ASMFILE}.o ${ASM2} ${WRKSRC}/${ASMFILE}.asm - ${CXX} ${WRKSRC}/${DISTNAME}.cpp ${CXXFLAGS} -o ${WRKSRC}/${DISTNAME} ${WRKSRC}/${ASMFILE}.o + ${CXX} ${WRKSRC}/${CPPFILE}.cpp ${CXXFLAGS} -o ${WRKSRC}/${CPPFILE} ${WRKSRC}/${ASMFILE}.o .else - ${CXX} ${WRKSRC}/${DISTNAME}.cpp ${CXXFLAGS} -o ${WRKSRC}/${DISTNAME} + ${CXX} ${WRKSRC}/${CPPFILE}.cpp ${CXXFLAGS} -o ${WRKSRC}/${CPPFILE} .endif do-install: .if !exists(${PREFIX}/bin) ${MKDIR} ${PREFIX}/bin .endif - ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${CPPFILE} ${PREFIX}/bin .if !defined(NOPORTDOCS) .if !exists(${DOCSDIR}) ${MKDIR} ${DOCSDIR} .endif - ${INSTALL_MAN} ${WRKSRC}/${DISTNAME}.cpp ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/${CPPFILE}.cpp ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/readme.txt ${DOCSDIR} .endif ${CAT} ${PKGMESSAGE} diff -ru paq.orig/distinfo paq/distinfo --- paq.orig/distinfo Thu Aug 23 08:35:53 2007 +++ paq/distinfo Sat Aug 25 02:58:32 2007 @@ -1,3 +1,3 @@ -MD5 (paq8n.zip) = a05c932155d6b67a3e95fb1a46693d6d -SHA256 (paq8n.zip) = d90964ac9c3f539e433883845cbdc511ee13f6e920e64ccd0d369d1ddab0a5bc -SIZE (paq8n.zip) = 85065 +MD5 (paq8o2.zip) = dc976099dfe87d0307218b631cb02924 +SHA256 (paq8o2.zip) = cbf90fa395f6caa346838dd60ede92c57db309616311bf54875bfb6f8490ef3d +SIZE (paq8o2.zip) = 150288 diff -ru paq.orig/pkg-descr paq/pkg-descr --- paq.orig/pkg-descr Thu Aug 23 08:35:53 2007 +++ paq/pkg-descr Sat Aug 25 02:58:32 2007 @@ -15,6 +15,8 @@ archive or to extract part of an archive. Files and archives larger than 2GB are not supported (but might work on 64-bit machines, not tested). File names with nonprintable characters are not supported (spaces -are OK). +are OK). Note that different versions of paq are usually incompatible, so +steps must be taken to ensure that the contents of archives made with older +versions of paq will still be accessible after updating paq. WWW: http://www.cs.fit.edu/~mmahoney/compression/ diff -ru paq.orig/pkg-plist paq/pkg-plist --- paq.orig/pkg-plist Thu Aug 23 08:35:53 2007 +++ paq/pkg-plist Sat Aug 25 02:58:32 2007 @@ -1,4 +1,4 @@ -bin/%%DISTNAME%% -%%PORTDOCS%%%%DOCSDIR%%/%%DISTNAME%%.cpp +bin/%%CPPFILE%% +%%PORTDOCS%%%%DOCSDIR%%/%%CPPFILE%%.cpp %%PORTDOCS%%%%DOCSDIR%%/readme.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: