Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 07:20:05 -0700 (PDT)
From:      Nevermind <never@nevermind.kiev.ua>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/37568: www/mod_php4: use tar.bz2 instead of tar.gz on systems after bzip2 import (OSVERSION >= 440000)
Message-ID:  <200204291420.g3TEK5f95756@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/37568; it has been noted by GNATS.

From: Nevermind <never@nevermind.kiev.ua>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: ports/37568: www/mod_php4: use tar.bz2 instead of tar.gz on systems after bzip2 import (OSVERSION >= 440000)
Date: Mon, 29 Apr 2002 17:14:31 +0300

 Hello, Alexandr Kovalenko!
 
 On Mon, Apr 29, 2002 at 05:09:35PM +0300, you wrote:
 
 > >Number:         37568
 > >Category:       ports
 > >Synopsis:       www/mod_php4: use tar.bz2 instead of tar.gz on systems after bzip2 import (OSVERSION >= 440000)
 [snip]
 > >Description:
 > mod_php4 uses tar.gz which consumes more bandwidth than tar.bz2, 
 > while tar.bz2 version is avaliable on vendor's site.
 > >How-To-Repeat:
 > Look at ports/www/mod_php4/distinfo
 > >Fix:
 > --- Makefile.orig	Mon Apr 29 16:50:08 2002
 > +++ Makefile	Mon Apr 29 17:07:02 2002
 > @@ -31,6 +31,12 @@
 >  
 >  SLAVEDIRS=	lang/php4
 >  
 > +.include <bsd.port.pre.mk>
 > +
 > +.if ${OSVERSION} >= 440000
 > +USE_BZIP2=	yes
 > +.endif
 > +
 >  USE_SUBMAKE=	yes
 >  USE_AUTOCONF_VER=213
 >  
 > @@ -103,4 +109,4 @@
 >  
 >  post-extract: ${POSTEXTRACT}
 >  
 > -.include <bsd.port.mk>
 > +.include <bsd.port.post.mk>
 > --- distinfo.orig	Mon Apr 29 16:53:54 2002
 > +++ distinfo	Mon Apr 29 16:53:57 2002
 > @@ -1,2 +1,3 @@
 >  MD5 (php-4.2.0.tar.gz) = 88d55481de32ab0168aa580f7b611022
 > +MD5 (php-4.2.0.tar.bz2) = a0831e98eb28efb7dabaf7edf686b8b7
 >  MD5 (php4_mbregex-1.2.1.tar.gz) = 46d151afa9ab668df880a70cf786a2c2
 Sorry, please use this patch:
 
 --- Makefile.orig	Mon Apr 29 16:50:08 2002
 +++ Makefile	Mon Apr 29 17:12:48 2002
 @@ -18,7 +18,6 @@
  		http://php.easydns.com/${PHP_DISTDIR}/ \
  		http://www.php.cz/${PHP_DISTDIR}/ \
  		http://php3.globe.de/${PHP_DISTDIR}/
 -DISTNAME=	php-${PORTVERSION}
  
  MAINTAINER=	dirk@FreeBSD.org
  
 @@ -31,6 +30,15 @@
  
  SLAVEDIRS=	lang/php4
  
 +.include <bsd.port.pre.mk>
 +
 +.if ${OSVERSION} >= 440000
 +DISTFILES=	php-${PORTVERSION}.tar.bz2 php4_mbregex-1.2.1.tar.gz
 +USE_BZIP2=	yes
 +.else
 +DISTFILES=	php-${PORTVERSION}.tar.gz php4_mbregex-1.2.1.tar.gz
 +.endif
 +
  USE_SUBMAKE=	yes
  USE_AUTOCONF_VER=213
  
 @@ -103,4 +111,4 @@
  
  post-extract: ${POSTEXTRACT}
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 --- distinfo.orig	Mon Apr 29 16:53:54 2002
 +++ distinfo	Mon Apr 29 16:53:57 2002
 @@ -1,2 +1,3 @@
  MD5 (php-4.2.0.tar.gz) = 88d55481de32ab0168aa580f7b611022
 +MD5 (php-4.2.0.tar.bz2) = a0831e98eb28efb7dabaf7edf686b8b7
  MD5 (php4_mbregex-1.2.1.tar.gz) = 46d151afa9ab668df880a70cf786a2c2
 
 -- 
 NEVE-RIPE

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?200204291420.g3TEK5f95756>