Bug 139241 - upgrade graphics/php5-chartdirector to version 5.0.2
Summary: upgrade graphics/php5-chartdirector to version 5.0.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 22:30 UTC by dave
Modified: 2009-11-04 08:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.82 KB, patch)
2009-09-29 22:30 UTC, dave
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dave 2009-09-29 22:30:02 UTC
ChartDirector 5.0.2 has been released, this patch updates the port.

Fix: apply attached patch

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-09-29 23:02:20 UTC
Maintainer of graphics/php5-chartdirector,

Please note that PR ports/139241 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/139241

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-09-29 23:07:40 UTC
Maintainer of graphics/php5-chartdirector,

Please note that PR ports/139241 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/139241

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-09-29 23:07:42 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Scot Hetzel 2009-09-30 04:22:36 UTC
I had received the following message from Advanced Software
Engineering, they are now providing versioned files so that the port
won't break when they put newer versions on the server.  If you could
resubmit your patch to use the versioned files, then I'll approve the
upgrade, as my system is currently down.

NOTE: DISTNAME will need to be changed to:

DISTVERSION=${PORTVERSION:<something to strip the periods out>}

.if ${ARCH} == "amd64"
DISTNAME=	chartdir_php_freebsd_64_${DISTVERSION}
.else
DISTNAME=	chartdir_php_freebsd_${DISTVERSION}
.endif

Scot

On Sun, Sep 13, 2009 at 7:37 PM, Peter Kwan <pkwan@advsofteng.net> wrote:
> Hi,
>
> I am from Advanced Software Engineering, the developer for the ChartDirector
> software.
>
> First of all, I must thank you very much for creating the FreeBSD ports for
> ChartDirector.
>
> I notice that our current file naming method makes maintaining the FreeBSD
> ports difficult, because the file names as published on our web site are not
> versioned. They always point to the latest version, which may change from
> time to time.
>
> On the other hand, the FreeBSD ports verifies the file sizes and checksums
> of the download files, and the ports will no longer accept the files if they
> are changed.
>
> In fact, we have just changed the distribution files to ChartDirector Ver
> 5.0.2. I have tested myself and it does break the php4-chartdirector-5.0.1
> and php5-chartdirector-5.0.1 ports.
>
> To solve the problem once and for all, I have created versions file names
> for the FreeBSD versions of ChartDirector, which will never change and will
> stay on our site for a long long time.
>
> The files for "ChartDirector Ver 5.0.1" are now available as:
>
> http://download2.advsofteng.com/chartdir_php_freebsd_501.tar.gz
> http://download2.advsofteng.com/chartdir_php_freebsd_64_501.tar.gz
>
> The files for "ChartDirector Ver 5.0.2" are now available as:
>
> http://download2.advsofteng.com/chartdir_php_freebsd_502.tar.gz
> http://download2.advsofteng.com/chartdir_php_freebsd_64_502.tar.gz
>
> I have created the updated "distlist" for the Ver 5.0.1 and Ver 5.0.2 as
> attached. You may use them to update the "distlist" in the FreeBSD ports web
> site.
>
> The MASTER_SITES for downloading the above files are:
>
> http://download2.advsofteng.com/
> http://www.advsofteng.com/
>
> (Note: The http://download.advsofteng.com/ is modified to
> http://www.advsofteng.com/, which is a different server.)
>
> Please let me know if there is anything I can help to make maintaining the
> FreeBSD ports easier.
>
> Should you need further information, please feel free to contact me.
>
> Regards
> Peter Kwan
>
Comment 5 dave 2009-09-30 23:07:59 UTC
diff -u /usr/ports/graphics/php5-chartdirector/./Makefile ./Makefile
--- /usr/ports/graphics/php5-chartdirector/./Makefile	2009-09-29 10:59:36.000000000 -1000
+++ ./Makefile	2009-09-30 08:22:03.000000000 -1000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	chartdirector
-PORTVERSION=	5.0.1
+PORTVERSION=	5.0.2
 CATEGORIES?=	graphics
 MASTER_SITES=	http://download.advsofteng.com/ \
 		http://download2.advsofteng.com/
@@ -27,10 +27,12 @@
 
 .include <bsd.port.pre.mk>
 
+DISTVERSION=	${PORTVERSION:C/\.//g}
+
 .if ${ARCH} == "amd64"
-DISTNAME=	chartdir_php_freebsd_64
+DISTNAME=	chartdir_php_freebsd_64_${DISTVERSION}
 .else
-DISTNAME=	chartdir_php_freebsd
+DISTNAME=	chartdir_php_freebsd_${DISTVERSION}
 .endif
 
 .if ${PHP_VER} == 5
diff -u /usr/ports/graphics/php5-chartdirector/./distinfo ./distinfo
--- /usr/ports/graphics/php5-chartdirector/./distinfo	2009-09-29 10:59:36.000000000 -1000
+++ ./distinfo	2009-09-30 08:24:22.000000000 -1000
@@ -1,6 +1,6 @@
-MD5 (chartdir_php_freebsd.tar.gz) = fb4e05a0f3e3bdc31bdbf7d4d55a22fa
-SHA256 (chartdir_php_freebsd.tar.gz) = f58b77ffde7f6089c918af69623871411bf3b144d999a3f2966e0103f7f1d0ae
-SIZE (chartdir_php_freebsd.tar.gz) = 7223141
-MD5 (chartdir_php_freebsd_64.tar.gz) = 5e6da0483bc5acb09c1151e89f75a90e
-SHA256 (chartdir_php_freebsd_64.tar.gz) = 0cd14e23193dd9e18a2b541b5f238b0beaaaaee21b612f327c5d2c9717e5babc
-SIZE (chartdir_php_freebsd_64.tar.gz) = 6785653
+MD5 (chartdir_php_freebsd_502.tar.gz) = aa76e7e6d020c9d30f1700df4d4bc2ca
+SHA256 (chartdir_php_freebsd_502.tar.gz) = 3a36d14a4ab45d4e3ebc446900d787decce5a0d011d2ce0aee9ece7a44b6600d
+SIZE (chartdir_php_freebsd_502.tar.gz) = 7226544
+MD5 (chartdir_php_freebsd_64_502.tar.gz) = d3e6f220464ec3e7e62276165e82716e
+SHA256 (chartdir_php_freebsd_64_502.tar.gz) = a7ae984d322483e2a7c5a279877e840b9f7b7fa858b2f86afe8fae939f32b257
+SIZE (chartdir_php_freebsd_64_502.tar.gz) = 6786510
Common subdirectories: /usr/ports/graphics/php5-chartdirector/./files and ./files
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2009-10-29 09:49:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 7 dfilter service freebsd_committer freebsd_triage 2009-11-04 08:10:11 UTC
miwi        2009-11-04 08:09:55 UTC

  FreeBSD ports repository

  Modified files:
    graphics/php5-chartdirector Makefile distinfo 
  Log:
  - Update to 5.0.2
  
  PR:             139241
  Submitted by:   Dave Cornejo <dave@dogwood.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.6       +5 -3      ports/graphics/php5-chartdirector/Makefile
  1.5       +6 -6      ports/graphics/php5-chartdirector/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 Martin Wilke freebsd_committer freebsd_triage 2009-11-04 08:10:39 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!