13.09.2011 23:01, Yaakov (Cygwin/X) пишет: > On Tue, 2011-09-13 at 19:49 +0300, Oleksandr Gavenko wrote: >> I modify suggested techniques as use local install instead of network >> (I get own copies of 'cygwin' and 'cygwinports' repos by rsync >> to simplify distribution in organisation). >> >> To achieve this goal I simply concatenate 'cygwin/setup.ini' and >> 'cygwinports/setup.ini'. > > This is not necessary nor recommended, and may not handle overlapping > packages correctly. The only installation procedure that is supported > is that listed on http://cygwinports.org/ . > Thanks for answer. My previous actions are wrong.
Seems that 'setup.exe' can handle multiply repos simultaneously. If complete step from http://cygwinports.org/ you get 2 setup.ini in different directories. And I expect that next local install allow use them both simultaneously... So it is right to make mirror of 'cygwin' and 'cygwinports' repos to same dir and select this dir for local install. procmon show that 'setup.exe' sometimes recursively scan local package directory. This look like 'setup.exe' search for 'setup.ini' files. Search time can be long. But sometimes 'setup.exe' directly load .ini files... Why I need local install? My job network configuration limit incoming network traffic for regular users. To workaround this I create local mirror on SMB/CIFS fs which can be freely updated in any time. To avoid local ftp setup I prompt users to install directly from SMB/CIFS fs. It is good reason to allow local install from local mirrors without ftp setup. Seems that I can put own created repo near official for local install... Some drawbacks in this way - local packages checked for checksum but checksum file 'setup.ini' was not checked for signature validity. For cygwinports I make extra step: cp cygwinports/setup.bz2 cygwinports/setup.ini.bz2 bzip2 -d cygwinports/setup.ini.bz2 as 'cygwinports' does not provide 'setup.ini'. I worry about one thing: Is this approach (mirroring to SMB fs many repos and local installing from there) officially supported? ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Cygwin-ports-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
