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)
Change History (8)
Changed 15 years ago by hashar@…
Attachment: | port_sourceforge_mirror_subdir.patch added |
---|
Changed 15 years ago by hashar@…
Attachment: | Portfile-gsoap-fix_distname.diff added |
---|
gsoap sf project name is gsoap2 but it is named gsoap. That patch makes sure we find the version.
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: | base → ports |
---|
Just use sourceforge:gsoap2 in master_sites.
Changed 15 years ago by hashar@…
Attachment: | Portfile-gsoap-fix_distname2.diff added |
---|
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: | new → closed |
Summary: | port livecheck does not honor master_sites.mirror_subdir → gsoap: livecheck is broken |
livecheck should honor mirror_subdir