Configuration of repositories

Artur Szostak aszostak at partner.eso.org
Wed Dec 10 00:27:37 PST 2014


>> Our user base wants to use Portfiles and binaries provided in our own repository, but feel intimidated with
>> setting up the repository in the sources.conf, archive_sites.conf and pubkeys.conf files.
>>
>> Alternatively, is it feasible to setup the repository via another Portfile? i.e. update the files under etc/macports/
>> with Tcl in a Portfile?

> Since portfiles are tcl, and tcl is a full-fledged programming language, yes, it would be possible to write code
> to do so, but it would be unusual. MacPorts portfiles traditionally do not modify user configuration files.
> Users are expected to be in control of their own configuration files.

Yes, agreed, this would be unusual. I presumed it is feasible, but wanted second opinions.
Thanks.




More information about the macports-dev mailing list