Configuration of repositories

Ryan Schmidt ryandesign at macports.org
Wed Dec 10 00:16:42 PST 2014


On Dec 10, 2014, at 2:13 AM, Artur Szostak wrote:

> Are there any mechanisms for automatic addition of 3rd party MacPorts repositories?

No.

> 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.




More information about the macports-dev mailing list