Hi all, I'm pleased to announce the pkgbuild image for pkgsrc-2015Q3 / 15.3.x is now available for testing. This image greatly simplifies setting up a pkgsrc build environment and makes either building your own packages or developing new ones a lot easier.
The image is 300MB and available in Manta: https://us-east.manta.joyent.com/pkgsrc/public/images/pkgbuild-15.3.0.json https://us-east.manta.joyent.com/pkgsrc/public/images/pkgbuild-15.3.0.zfs.gz After downloading you can install it with: $ imgadm install -m pkgbuild-15.3.0.json -f pkgbuild-15.3.0.zfs.gz and then create a zone using: "image_uuid": "f3eec3d0-7cc5-11e5-8e13-97cb29ca3793" Once you have created a zone, setting up a chrooted build environment is handled by the run-sandbox script. For example, if you want to build a 64-bit vim with perl support: $ run-sandbox 2015Q3-x86_64 $ echo 'PKG_OPTIONS.vim+= perl' >>/opt/local/etc/mk.conf $ cd /data/pkgsrc/editors/vim $ bmake package $ exit would result in a vim package available as: /data/packages/SmartOS/2015Q3/x86_64/All/vim-7.4.768.tgz ready for installing in any base-64 15.3.x zone. Please give it a spin, and provide any feedback as issues against the pkgbuild repository: https://github.com/joyent/pkgbuild I'm hoping to iron out any final issues over the next few weeks ready for publishing the pkgbuild images alongside the base images each quarter, starting with 2015Q4. Thanks, -- Jonathan Perkin - Joyent, Inc. - www.joyent.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
