Opened 16 years ago

Closed 7 years ago

Last modified 6 years ago

#14699 closed update (fixed)

spread: Update to version 4

Reported by: Lars.Rasmusson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: lack-of-interest Cc: ryandesign (Ryan Carsten Schmidt), pixilla (Bradley Giesbrecht), kurthindenburg (Kurt Hindenburg), raimue (Rainer Müller)
Port: spread

Description

There is a new release of Spread, version 4

http://www.spread.org/news/news-Spread4Release.html

The portfile needs an upgrade.

Thanks!

Attachments (3)

patch-Portfile.diff (1.6 KB) - added by pixilla (Bradley Giesbrecht) 13 years ago.
patch-Portfile2.diff (2.1 KB) - added by kurthindenburg (Kurt Hindenburg) 10 years ago.
Patch for 4.4.0
patch-Portfile2.2.diff (3.0 KB) - added by kurthindenburg (Kurt Hindenburg) 10 years ago.
This should work for 4.4.0

Download all attachments as: .zip

Change History (23)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Milestone: Port Updates
Owner: changed from macports-tickets@… to stechert@…

Assigning to maintainer.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Keywords: spread removed
Port: spread added

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:4 Changed 15 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

comment:5 Changed 15 years ago by blb@…

Is there an easy way to download the distfile, it is currently hidden behind a form which won't work with port; the master_sites used for the 3.17.3 version doesn't appear to carry any of the 4.x versions.

comment:6 in reply to:  5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: Upgrade Portfile for spread to version 4spread: Update to version 4

4.1 is out now.

Replying to blb@…:

Is there an easy way to download the distfile, it is currently hidden behind a form which won't work with port; the master_sites used for the 3.17.3 version doesn't appear to carry any of the 4.x versions.

We could write a custom fetch phase, along the lines of:

master_sites http://www.spread.org/download/

fetch {
    system "cd ${distpath} && curl --location --remote-name [lindex ${master_sites} 0]/[lindex ${distfiles} 0] --data FILE=[lindex ${distfiles} 0] --data name=MacPorts --data company=MacPorts --data email=[lindex ${maintainers} 0]@macports.org --data Stage=Download"
}

This would bypass our distfile mirrors, but this would meet the developer's goal of getting a download count.

comment:7 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Looks like the sources are mirrored by FreeBSD.

version 4.1.0
...
master_sites freebsd

Changed 13 years ago by pixilla (Bradley Giesbrecht)

Attachment: patch-Portfile.diff added

comment:8 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from stechert@… to macports-tickets@…

-> nomaintainer

comment:10 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Attachment: patch-Portfile2.diff added

Patch for 4.4.0

comment:11 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Here's a updated Portfile for 4.4.0 - it includes the curl command to fetch the tar file - I need to see if all the post-patch lines from the other attached is still needed

It currently builds OK.

Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Attachment: patch-Portfile2.2.diff added

This should work for 4.4.0

comment:12 Changed 10 years ago by pixilla (Bradley Giesbrecht)

It is preferred to use "system -W" rather than "cd &&":

system -W ${distpath} "curl ..."

comment:13 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

This patch includes both whitespace changes and functional ones. Please separate these.

comment:14 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

And can it not be explained to the developers that they should offer a download that does not require submitting a form?

comment:15 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Apparently they want a count of downloads - I can't imagine *BSD or other distros using the form - I'll look around some more

comment:16 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

I can't find the 4.x version anywhere else but to use the form - also not sure about this library versioning

   set LIBFULLVERSION ${version} 
   set LIBCOMPATVERSION [join [lrange [split ${version} .] 0 2] .] 
   set LIBVERSION [join [lrange [split ${version} .] 0 1] .] 
   reinplace "s|^LIBFULLVERSION=3.0.0\$|LIBFULLVERSION=${LIBFULLVERSION}|" \ 
       ${worksrcpath}/libspread/Makefile.in 
   reinplace "s|^LIBVERSION=3\$|LIBVERSION=${LIBVERSION}|" \ 
         ${worksrcpath}/libspread/Makefile.in 

comment:17 Changed 7 years ago by raimue (Rainer Müller)

Cc: raimue added
Keywords: lack-of-interest added

Spread 5.0.0 has been released: http://www.spread.org/news2/news-Spread5.0.0Release.html

Given the strange license with fetch restrictions and the general lack of interest in this port over years, I would like to just remove this port from our ports tree.

comment:18 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

I would say go ahead and remove it

comment:19 Changed 7 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

In f7dca520f850835704412d867e82db477d09e4df/macports-ports:

spread: Remove outdated and abandoned port

Port has not been updated in years, now being two major releases behind
upstream.

Closes: #14699

comment:20 Changed 6 years ago by raimue (Rainer Müller)

In ae7bcff7b64a7465a9f725ba8cc683f3fe40a301/macports-ports:

py-spreadmodule: Remove obsolete port

This port is no longer usable as the spread port was already
removed from the ports tree.

See: #14699
Closes: #56126

Note: See TracTickets for help on using tickets.