Ralf S. Engelschall<[EMAIL PROTECTED]> wrote on 2007-02-23 11:04: > On Fri, Feb 23, 2007, Victor G. Bolshakov wrote: > >> As i understand, openpkg-tools not work with local fs mirror from >> OpenPKG 2.20070221: >> > Sure, it is. Just specify "-r file:///path" instead of "-r /path" on the > "openpkg build" command line until Thomas adds a wordaround which does this > automatically. > I changed "openpkg tools" today [1] in the hope to create a behavior which is compatible and intuitive.
It is now possible to use a URL or an absolute path pointing to a package repository. Using URL style, including file://, engages "openpkg curl" to download a local copy of the package before use while using an absolute path, beginning with /, direct access is used. $ openpkg build -r ftp://download.example.com/repo foo $ openpkg build -r http://download.example.com/repo foo $ openpkg build -r https://download.example.com/repo foo $ openpkg build -r file://download.example.com/repo foo ... openpkg curl -o foo.src.rpm ...//download.example.com/repo/foo.src.rpm openpkg rpm --rebuild foo.src.rpm openpkg rpm -Uvh foo.rpm rm foo.src.rpm # unless -k (keep) option specified or $ openpkg build -r /mirror/repo foo ... openpkg rpm --rebuild /mirror/foo.src.rpm openpkg rpm -Uvh foo.rpm I hope that makes sense to everyone. [1] http://cvs.openpkg.org/chngview?cn=34214 -> openpkg-tools-1.4.2 -> openpkg-20070226 -- http://thomas.lotterer.net ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org