[MacPorts] #24542: port livecheck does not honor master_sites.mirror_subdir
#24542: port livecheck does not honor master_sites.mirror_subdir ----------------------------+----------------------------------------------- Reporter: hashar@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.2 Keywords: | Port: gsoap ----------------------------+----------------------------------------------- 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 }} -- Ticket URL: <http://trac.macports.org/ticket/24542> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24542: port livecheck does not honor master_sites.mirror_subdir ----------------------------+----------------------------------------------- Reporter: hashar@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.2 Keywords: | Port: gsoap ----------------------------+----------------------------------------------- Comment(by hashar@…): emailed gsoap maintainer stechert -- Ticket URL: <http://trac.macports.org/ticket/24542#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24542: port livecheck does not honor master_sites.mirror_subdir ----------------------------+----------------------------------------------- Reporter: hashar@… | Owner: stechert@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.2 Keywords: haspatch | Port: gsoap ----------------------------+----------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => stechert@… * keywords: => haspatch -- Ticket URL: <http://trac.macports.org/ticket/24542#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24542: port livecheck does not honor master_sites.mirror_subdir ----------------------------+----------------------------------------------- Reporter: hashar@… | Owner: stechert@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: gsoap ----------------------------+----------------------------------------------- Changes (by jmr@…): * component: base => ports Comment: Just use sourceforge:gsoap2 in master_sites. -- Ticket URL: <http://trac.macports.org/ticket/24542#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24542: port livecheck does not honor master_sites.mirror_subdir ----------------------------+----------------------------------------------- Reporter: hashar@… | Owner: stechert@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: gsoap ----------------------------+----------------------------------------------- Comment(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. -- Ticket URL: <http://trac.macports.org/ticket/24542#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24542: gsoap: livecheck is broken -----------------------------+---------------------------------------------- Reporter: hashar@… | Owner: stechert@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: haspatch Port: gsoap | -----------------------------+---------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r73472 -- Ticket URL: <https://trac.macports.org/ticket/24542#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts