New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24542 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

port_sourceforge_mirror_subdir.patch (1.2 KB) - added by hashar@… 3 years ago.
livecheck should honor mirror_subdir
Portfile-gsoap-fix_distname.diff (478 bytes) - added by hashar@… 3 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@… 3 years ago.
standalone patch that do not require patching the TCL

Change History

Changed 3 years ago by hashar@…

livecheck should honor mirror_subdir

Changed 3 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 3 years ago by hashar@…

emailed gsoap maintainer stechert

comment:2 Changed 3 years ago by macsforever2000@…

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

comment:3 Changed 3 years ago by jmr@…

  • Component changed from base to ports

Just use sourceforge:gsoap2 in master_sites.

Changed 3 years ago by hashar@…

standalone patch that do not require patching the TCL

comment:4 Changed 3 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 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from port livecheck does not honor master_sites.mirror_subdir to gsoap: livecheck is broken
Note: See TracTickets for help on using tickets.