Subject: pkg_select's sysinst integration
To: None <tech-pkg@netbsd.org>
From: iMil <imil@home.imil.net>
List: tech-pkg
Date: 03/01/2005 22:36:37
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi pkg crowd,
Following Hubert's excellent thoughts on pkg_select's behaviour and
previous discussions about sysinst integration, i focused on pkgsrc
handling itself. Actual development version can :
. detect if pkgsrc is present, if not :
. fetch and uncompress it by ftp, server chosen from a mirror list
. fetch it by CVS, giving branch choice, server chosen from a mirror
list
. upgrade pkgsrc from the interface, giving branch choice
. massive installation / deinstallation, i.e. you can tag various packages
and launch a massive installation / deinstallation
i won't commit these changes to wip yet as they are not heavily tested,
anyway someone using wip obviously have a working pkgsrc :)
Current pkg_select can be fetched from
:pserver:anoncvs@gcu.info:/cvs co pkg_select with passwd: anoncvs
Current version must be ran from the select/ directory, as it uses 2 files
where cvs and ftp mirrors are listed. Call to these files are currently
hardcoded to ./
About this, would you prefer mirrors to be listed in simple flat files or,
like FreeBSD's sysinstall, in a header file ?
You can try pkgsrc fetch feature this way :
./pkg_select -b /somewhereelse/pkgsrc
or
PKGSRCDIR=/somewhereelse/pkgsrc ./pkg_select
Still needs to be done :
. "live" pkgsrc browsing / managing over a cvs or ftp link (without
pkgsrc being installed on the system)
. conf file with default values
please feedback / test !
regards
- -------------------------
iMil <imil@home.imil.net> _
http://gcu-squad.org ASCII ribbon campaign ( )
- against HTML email X
& vCards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iD8DBQFCJOBoFG3BlGWyzUIRAlcjAJ0Z6la6lKrS8o1cWJt60JfrHVRv0gCfSjBD
/HRrGiv4SRGAbOqjJVoi6tQ=
=eaJl
-----END PGP SIGNATURE-----