[124130] trunk/dports/devel/libgeoip

pixilla at macports.org pixilla at macports.org
Tue Aug 19 11:26:43 PDT 2014


Revision: 124130
          https://trac.macports.org/changeset/124130
Author:   pixilla at macports.org
Date:     2014-08-19 11:26:43 -0700 (Tue, 19 Aug 2014)
Log Message:
-----------
devel/libgeoip:
- Fix homepage, livecheck and update to version 1.6.2. Closes #44703
- Use github port group.
- Remove patch fixed upstream.
- Fix README name change to README.md.

Modified Paths:
--------------
    trunk/dports/devel/libgeoip/Portfile

Removed Paths:
-------------
    trunk/dports/devel/libgeoip/files/

Modified: trunk/dports/devel/libgeoip/Portfile
===================================================================
--- trunk/dports/devel/libgeoip/Portfile	2014-08-19 17:01:41 UTC (rev 124129)
+++ trunk/dports/devel/libgeoip/Portfile	2014-08-19 18:26:43 UTC (rev 124130)
@@ -2,9 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
+github.setup        maxmind geoip-api-c 1.6.2 v
+github.tarball_from releases
 name                libgeoip
-version             1.5.1
 categories          devel net
 license             LGPL-2.1+
 platforms           darwin
@@ -12,16 +14,12 @@
 description         Gets country code by IP address
 long_description    ${description}
 
-homepage            http://www.maxmind.com/app/c
-master_sites        http://www.maxmind.com/download/geoip/api/c/ \
-                    http://www.maxmind.com/download/geoip/api/c/old/
+homepage            http://dev.maxmind.com/geoip/
 distname            GeoIP-${version}
 
-checksums           rmd160  cc9c7eb86904b90dd53c49dd3eb3bcac2379d226 \
-                    sha256  ec35ee73fcc54c493f4252565d1c81d022b398dd16de3af1522c8cab016f8731
+checksums           rmd160  e22b023d5783b76f40d330bd2e29be922359b934 \
+                    sha256  8ef059ee3680b39db967248331ec41188f4b45f86a4a77e39247ff41b61efd7c
 
-patchfiles          patch-geoip.pc.in.diff
-
 use_autoreconf      yes
 
 # For stricter sed, some files are not UTF-8
@@ -39,11 +37,7 @@
         COPYING \
         ChangeLog \
         NEWS \
-        README \
+        README.md \
         TODO \
         ${destroot}${prefix}/share/doc/${name}
 }
-
-livecheck.type      regex
-livecheck.url       http://geolite.maxmind.com/download/geoip/api/c/
-livecheck.regex     {GeoIP-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140819/2010fe0e/attachment.html>


More information about the macports-changes mailing list