Opened 15 years ago

Closed 14 years ago

#24542 closed defect (fixed)

gsoap: livecheck is broken

Reported by: hashar@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc:
Port: gsoap

Description

While livechecking gsoap port, I had a regex error rendering livecheck impossible.

The project is hosted on sourceforge using roject name "gsoap2" although the name is actually "gsoap" in the RSS feed.

The Portfile contains :

master_sites.mirror_subdir  gsoap2

But livecheck was looking at <sourceforge url>?project=gsoap

I patched portlivecheck.tcl so it uses master_sites.mirror_subdir as a livecheck.name and the Portfile so it uses the gsoap name : {{ livecheck.distname = gsoap }}

Attachments (3)

port_sourceforge_mirror_subdir.patch (1.2 KB) - added by hashar@… 15 years ago.
livecheck should honor mirror_subdir
Portfile-gsoap-fix_distname.diff (478 bytes) - added by hashar@… 15 years ago.
gsoap sf project name is gsoap2 but it is named gsoap. That patch makes sure we find the version.
Portfile-gsoap-fix_distname2.diff (649 bytes) - added by hashar@… 15 years ago.
standalone patch that do not require patching the TCL

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by hashar@…

livecheck should honor mirror_subdir

Changed 15 years ago by hashar@…

gsoap sf project name is gsoap2 but it is named gsoap. That patch makes sure we find the version.

comment:1 Changed 15 years ago by hashar@…

emailed gsoap maintainer stechert

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Owner: changed from macports-tickets@… to stechert@…

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

Component: baseports

Just use sourceforge:gsoap2 in master_sites.

Changed 15 years ago by hashar@…

standalone patch that do not require patching the TCL

comment:4 Changed 15 years ago by hashar@…

I reverted my patch and tried sourceforge:gsoap2 which fixes the issue. The default regex does not match a version though :

DEBUG: Fetching http://sourceforge.net/export/rss2_projfiles.php?project=gsoap2
DEBUG: The regex is "(?i)<title>gsoap2 (.*) released.*</title>"

The patch Portfile-gsoap-fix_distname2.diff above fix the Portfile by providing a correct livecheck.regex. That makes the first two patches obsoletes.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: port livecheck does not honor master_sites.mirror_subdirgsoap: livecheck is broken
Note: See TracTickets for help on using tickets.