ports/56313: Update www/gallery - security update

Yen-Ming Lee leeym at FreeBSD.org
Thu Sep 4 03:20:15 UTC 2003


The following reply was made to PR ports/56313; it has been noted by GNATS.

From: Yen-Ming Lee <leeym at FreeBSD.org>
To: Jamie Hermans <jamie at hermans.ca>
Cc: Jon Noack <noackjr at alumni.rice.edu>,
	freebsd-gnats-submit at FreeBSD.org
Subject: Re: ports/56313: Update www/gallery - security update
Date: Thu, 4 Sep 2003 11:18:55 +0800

 --ZfOjI3PrQbgiZnxM
 Content-Type: text/plain; charset=big5
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 
 On Wed, Sep 03, 2003 at 08:10:53PM -0600, Jamie Hermans wrote:
 > On Wed, Sep 03, 2003 at 07:20:09PM -0500, Jon Noack wrote:
 > > PORTREVISION bump still didn't fix pkg_version seeing this as a downgrade:
 > > gallery-1.3.4                       >   succeeds port (port has pl1_1)
 > > 
 > 
 > OK - this one works.  I'm sure this breaks 'the rules', but I can't
 > think of a better way to make this work with the version scheme they
 > chose to use for the gallery patch.
 > 
 > # pkg_version -v | grep gallery
 > gallery-1.3.4    <   needs updating (port has 1.3.4pl1)
 
 portlint tells me it's illegal:
 FATAL: PORTVERSION looks illegal. should modify "1.3.4pl1".
 
 How about the attached patch file?
 
 -- 
 Yen-Ming Lee [§õ«Û©ú] KeyID: 0x5EB52E51 : www.leeym.com : Taipei, Taiwan
 
 --ZfOjI3PrQbgiZnxM
 Content-Type: text/plain; charset=big5
 Content-Disposition: attachment; filename="gallery.diff"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/www/gallery/Makefile,v
 retrieving revision 1.14
 diff -u -r1.14 Makefile
 --- Makefile	3 Sep 2003 22:14:22 -0000	1.14
 +++ Makefile	4 Sep 2003 03:14:51 -0000
 @@ -6,11 +6,11 @@
  #
  
  PORTNAME=	gallery
 -PORTVERSION=	1.3.4-pl1
 -PORTREVISION=	1
 +PORTVERSION=	1.3.4.1
  CATEGORIES=	www
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
 +DISTNAME=	${PORTNAME}-${PORTVERSION:S/.1/-pl1/}
  
  MAINTAINER=	jamie at hermans.ca
  COMMENT=	Gallery is a slick web based photo album written using PHP
 Index: pkg-plist
 ===================================================================
 RCS file: /home/pcvs/ports/www/gallery/pkg-plist,v
 retrieving revision 1.10
 diff -u -r1.10 pkg-plist
 --- pkg-plist	26 Jun 2003 17:27:54 -0000	1.10
 +++ pkg-plist	4 Sep 2003 03:14:51 -0000
 @@ -1,7 +1,7 @@
 -%%PORTDOCS%%share/doc/gallery/AUTHORS
 -%%PORTDOCS%%share/doc/gallery/ChangeLog
 -%%PORTDOCS%%share/doc/gallery/README
 -%%PORTDOCS%%share/doc/gallery/UPGRADING
 +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 +%%PORTDOCS%%%%DOCSDIR%%/README
 +%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
  %%GALLERYDIR%%/Version.php
  %%GALLERYDIR%%/add_comment.php
  %%GALLERYDIR%%/add_photo.php
 @@ -179,5 +179,5 @@
  @dirrm %%GALLERYDIR%%/classes/database/mysql
  @dirrm %%GALLERYDIR%%/classes/database
  @dirrm %%GALLERYDIR%%/classes
 -%%PORTDOCS%%@dirrm share/doc/gallery
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%
  @unexec rmdir %D/%%GALLERYDIR%% 2>/dev/null || true
 
 --ZfOjI3PrQbgiZnxM--



More information about the freebsd-ports-bugs mailing list