Bug 163872 - devel/ioncube and distfiles
Summary: devel/ioncube and distfiles
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 20:40 UTC by Christos Chatzaras
Modified: 2012-07-22 07:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christos Chatzaras 2012-01-06 20:40:08 UTC
When a new version of ioncube comes out, and doing a port upgrade the file ioncube_loaders_fre_8_x86-64.tar.gz is stored in /usr/ports/distfiles

On the next upgrade portupgrade fails because it tries to use the file from distfiles (because of the same name) and md5sum is not the same.
Comment 1 Svyatoslav Lempert 2012-01-08 15:05:50 UTC
I do not know is it correctly use the following in Makefile:

pre-fetch:
	exec rm ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}

Maybe someone of the gurus will tell a more correct solution?

-- 
Svyatoslav
Comment 2 Shaun Amott freebsd_committer freebsd_triage 2012-02-09 20:15:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shaun

Grab.
Comment 3 Shaun Amott freebsd_committer freebsd_triage 2012-02-20 13:43:29 UTC
Responsible Changed
From-To: shaun->freebsd-ports-bugs

Back to pool.
Comment 4 Jason Helfman freebsd_committer freebsd_triage 2012-02-24 19:39:23 UTC
State Changed
From-To: open->analyzed

Please file a patch up-stream to supply a versioned distribution file so 
distinfo can change with version
Comment 5 Bryan Drewery 2012-06-25 15:52:09 UTC
Svyatoslav,

I ran into this today while upgrading.

Has there any progress with getting the upstream to use versioned distfiles?

The easier route is just mirroring the file yourself with a version.

Bryan
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2012-07-01 17:17:44 UTC
State Changed
From-To: analyzed->closed

unfortunately this isn't something we can fix :(
Comment 7 Svyatoslav Lempert 2012-07-22 07:07:37 UTC
fixed in http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169975
please close this PR

-- 
Svyatoslav