[75877] trunk/dports/databases

Joshua Root jmr at macports.org
Fri Feb 11 20:13:36 PST 2011


On 2011-2-12 09:35 , Ryan Schmidt wrote:
> 
> On Feb 11, 2011, at 16:31, Bradley Giesbrecht wrote:
> 
>>>> +distname            GeoLiteCity.dat
>>>
>>> Since there is no version number in the distfile name, you should have set dist_subdir. See:
>>>
>>> https://trac.macports.org/wiki/PortfileRecipes#unversioned-distfiles
>>>
>>> I would say don't do it now (no need to force another download of this same file right now), but remember it next time you update the version --
>>>
>>> -- except that I currently get a checksum mismatch, so you should fix that and the above at the same time.
>>
>> Ya, I don't know what to do. geolite.maxmind.com updates the download monthly and the path stays the same. I'm looking for an alternate download.
> 
> All you need to do is:
> 
>  * use dist_subdir
>  * make sure livecheck works, and use livecheck periodically
>  * monitor the issue tracker; users may find an update before you do and file a ticket about a checksum mismatch
>  * update the port when a new distfile is available
> 
> This is how I handle curl-ca-bundle.

FTR, I think letting the port break every time there's an upstream
release is a terrible approach.

- Josh


More information about the macports-dev mailing list