[119451] trunk/dports/databases/mariadb/Portfile
pixilla at macports.org
pixilla at macports.org
Fri Apr 25 18:42:36 PDT 2014
Revision: 119451
https://trac.macports.org/changeset/119451
Author: pixilla at macports.org
Date: 2014-04-25 18:42:36 -0700 (Fri, 25 Apr 2014)
Log Message:
-----------
databases/mariadb:
- Fix livecheck.
Modified Paths:
--------------
trunk/dports/databases/mariadb/Portfile
Modified: trunk/dports/databases/mariadb/Portfile
===================================================================
--- trunk/dports/databases/mariadb/Portfile 2014-04-26 01:12:44 UTC (rev 119450)
+++ trunk/dports/databases/mariadb/Portfile 2014-04-26 01:42:36 UTC (rev 119451)
@@ -6,6 +6,7 @@
name mariadb
set name_mysql ${name}
version 5.5.34
+set version_branch [join [lrange [split ${version} .] 0 1] .]
# Please set revision_client and revision_server to 0 if you bump version.
set revision_client 1
set revision_server 0
@@ -200,7 +201,7 @@
livecheck.type regex
livecheck.url https://downloads.mariadb.org/mariadb/
- livecheck.regex "href=\"/mariadb/(\[^/\]+)/\".*Stable"
+ livecheck.regex "href=\"/mariadb/(${version_branch}\[^/\]+)/"
}
subport ${name_mysql}-server {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140425/6f379e83/attachment.html>
More information about the macports-changes
mailing list