Avoid mirroring a distfile
William Siegrist
wsiegrist at apple.com
Thu Feb 2 16:07:32 PST 2012
Hopefully Josh or someone else can comment on the internals/details of subports and the mirror subcommand, but as far as the server scripts go... Both mirroring events (per-commit and daily) use `port mirror <name>` to do all the work. The per-commit mirroring uses the name of the directory that contains the Portfile. The daily script runs over each line from `port list`. What gets excluded is that <name>. So we can really only exclude whole portfiles during per-commit mirroring with the way it is implemented right now. I'm not sure how `port list` handles subports.
-Bill
On Feb 2, 2012, at 8:36 AM, Bradley Giesbrecht <pixilla at macports.org> wrote:
> In the case of a Portfile with subports, would this cause the other ports/subports in the Portfile to _not_ be mirrored?
>
> Brad
>
> On Feb 2, 2012, at 7:53 AM, William Siegrist wrote:
>
>> You can email me to add an exception to the mirroring process to not mirror this port. All I need is the name of the port. You should email me before committing the portfile.
>>
>> -Bill
>>
>>
>> On Feb 2, 2012, at 6:27 AM, Andrea D'Amore <and.damore at macports.org> wrote:
>>
>>> Due to recent discussion on Virtualbox [1] I replaced my binary with
>>> Macports provided application, in doing so I needed the VirtualBox
>>> Extpack for handling USB 2.0 in host OS.
>>> I'd like to add a port for this extension, say virtualbox-extpack,
>>> depending on virtualbox port. Checking the license [2] and relative
>>> FAQ I see point 7. at [3]
>>>
>>> "Can I redistribute the VirtualBox binaries?
>>> No. The Personal Use and Evaluation License allows you to download the
>>> VirtualBox binaries for personal and academic use and for evaluation,
>>> but it does not give you the right to redistribute these binaries."
>>>
>>> Since the extpack come as binary this means that it cannot be mirrored
>>> on Macports distfiles folder and its mirrors.
>>>
>>> I never digged into the mirroring thing, is a distfile mirrored
>>> automatically or by hand?
>>> Can portfile specify some keyword against this?
>>>
>>>
>>> --
>>> Andrea
>>>
>>> [1] http://lists.macosforge.org/pipermail/macports-users/2012-January/027181.html
>>> [2] https://www.virtualbox.org/wiki/VirtualBox_PUEL
>>> [3] https://www.virtualbox.org/wiki/Licensing_FAQ
>>> _______________________________________________
>>> macports-dev mailing list
>>> macports-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>>
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>
More information about the macports-dev
mailing list