Joyent package repo migrated to MNX

2022-07-18 Thread Jonathan Perkin

Hey all,

If you are a user of the binary package repository I previously made 
available from https://pkgsrc.joyent.com/install-on-netbsd/ note that it 
has been updated and migrated over to MNX.


New and upgrade bootstrap kits are now available from:

https://pkgsrc.smartos.org/install-on-netbsd/

If you're a new user, or wish to perform a fresh install, follow the 
default "Install" instructions.  If you have an existing install, 
following the "Upgrade" instructions will overwrite your config files to 
switch the repository URLs over, as well as installing the new PGP key.


Any issues, let me know.

Thanks!

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Daily packages for NetBSD/amd64 9.99.x

2020-12-16 Thread Jonathan Perkin
Hey all,

Due to the pkgdb change, I've had to redo the daily packages I offer
for NetBSD current on amd64.  Given that, I took the opportunity to
make some other changes.

I've enabled CHECK_OSABI=no and CHECK_OS_VERSION=no.  This means you
can now use them on any 9.99.x system, as long as the REQUIRES match
(which pkgin will tell you), avoiding the need to constantly redo them
every time the version is bumped.  The only things that won't work are
anything that are specifically tied to the exact kernel version used
by the build system.

I'll update the build systems every so often, so as long as you're
running something reasonably current then 99.9% of the packages should
just work.

As always, if you want to use them, grab the newest bootstrap kit
using the instructions available from:

  https://pkgsrc.joyent.com/install-on-netbsd/

Given the pkgdb change, existing users should just completely wipe
their existing package installs and start again, using the
instructions provided.  "pkgin export" prior to the reinstall and
"pkgin import" afterwards can help get you back up quickly.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Daily packages for NetBSD/amd64 9.99.75

2020-11-25 Thread Jonathan Perkin
Hey everybody,

I've updated my daily NetBSD package bulk builds to the newest 9.99.75
snapshot.  This means the existing repository of packages for 9.99.73
will no longer be updated, and will eventually be removed.

New users can fetch and install the bootstrap kit from here:

  https://pkgsrc.joyent.com/install-on-netbsd/

Existing users can switch URLs in the following files:

  /usr/pkg/etc/pkg_install.conf
  /usr/pkg/etc/pkgin/repositories.conf

and run "pkgin upgrade" to refresh everything.

Note that for users in the EU you may find the package mirror from the
SkyLime folks faster than my server in us-west:

  https://pkgsrc.smartos.skylime.net/packages/NetBSD/

Their mirror should be updated by tomorrow.

As always let me know if there are any problems, or requests for
different package options etc.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Daily NetBSD packages updated to 9.99.73

2020-09-21 Thread Jonathan Perkin
Hey everybody,

The binary package repository I provide of daily pkgsrc trunk builds
for NetBSD/amd64 at

  https://pkgsrc.joyent.com/install-on-netbsd/

has now been switched from 9.99.71 to 9.99.73.  For existing users,
update /usr/pkg/etc/pkgin/repositories.conf to point to the 9.99.73
directory, or new users can just use the new bootstrap kit provided.

New to this bootstrap kit is the inclusion of the pkgsrc-gnupg-keys
package, which supplies the pkgsrc-security GPG key to provide out of
the box support for "pkg_admin fetch-pkg-vulnerabilities -s".

Unfortunately due to http://gnats.netbsd.org/54048 this doesn't
actually work with netpgp right now, but that will hopefully be solved
at some point.

The 9.99.71 repository will no longer be updated, and will eventually
be removed.

Thanks,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Daily NetBSD packages updated to 9.99.71

2020-08-29 Thread Jonathan Perkin
Hey everybody,

The binary package repository I provide of daily pkgsrc trunk builds
for NetBSD/amd64 at

  https://pkgsrc.joyent.com/install-on-netbsd/

has now been switched from 9.99.69 to 9.99.71.  For existing users,
update /usr/pkg/etc/pkgin/repositories.conf to point to the 9.99.71
directory, or new users can just use the new bootstrap kit provided.

The 9.99.69 repository will no longer be updated, and will eventually
be removed.

Thanks,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Daily packages for NetBSD/amd64 current

2020-07-30 Thread Jonathan Perkin
* On 2020-07-30 at 05:10 BST, Thomas Mueller wrote:

> > I was going to choose 9.0, but I saw that mef@ was already producing
> > regular bulk builds on that for pkgsrc-current available here:
> 
> >   https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/
> 
> > so went with NetBSD-current instead, though it's quite unreliable so I
> > may revisit that choice if every bulk build requires manual
> > intervention and restarts.
> 
> > Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
>
> What is "quite unreliable"?  Do you mean the NetBSD-current base
> system, or do you mean the ABI that might not hold still, thereby
> breaking packages following a base-system upgrade?

NetBSD-current.  This shouldn't preclude you or anyone else using it,
the problems I'm running into are primarily limited to a bulk build
environment, but does mean that it's quite annoying for those who are
doing so.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Daily packages for NetBSD/amd64 current

2020-07-29 Thread Jonathan Perkin
* On 2020-07-28 at 23:00 BST, J. Lewis Muir wrote:

> On 07/25, Jonathan Perkin wrote:
> > I needed a NetBSD-current system for testing pkgin changes, and
> > figured I may as well also set it up for daily package builds.
> > 
> > So if anybody would like a repository for the latest packages then
> > head over to https://pkgsrc.joyent.com/install-on-netbsd/ to install
> > the bootstrap kit.
> 
> I run a stable branch of NetBSD, so I would ideally wish for packages
> built for NetBSD 9 stable, but I understand that that wasn't what you
> needed.

Hey Lewis,

I was going to choose 9.0, but I saw that mef@ was already producing
regular bulk builds on that for pkgsrc-current available here:

  https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/

so went with NetBSD-current instead, though it's quite unreliable so I
may revisit that choice if every bulk build requires manual
intervention and restarts.

> BTW, the Package Development wiki pages at
> 
>   https://github.com/joyent/pkgsrc/wiki
> 
> need to be updated to include NetBSD.

Yeh I'll get around to this at some point.

Thanks,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Daily packages for NetBSD/amd64 current

2020-07-26 Thread Jonathan Perkin
Hi Reinoud,

* On 2020-07-26 at 15:26 BST, Reinoud Zandijk wrote:

> On Sat, Jul 25, 2020 at 10:52:48PM +0100, Jonathan Perkin wrote:
> > I needed a NetBSD-current system for testing pkgin changes, and figured I
> > may as well also set it up for daily package builds.
> > 
> > So if anybody would like a repository for the latest packages then head over
> > to https://pkgsrc.joyent.com/install-on-netbsd/ to install the bootstrap
> > kit.
> 
> The bootstrap part is a bit confusing to me; why don't you just provide a
> directory suitable for pkgin's /usr/pkg/etc/pkgin/repositories.conf? Is that
> to explicitly allow the signed packages only?

Sure, you could perform all the steps manually by yourself instead:

 * Set PKG_PATH to the repo and install the pkgin package.

 * Fetch the PGP key from https://pkgsrc.joyent.com/pgp/ and import
   it.

 * Configure pkgin and pkg_install.conf to use the repo, and configure
   pkg_install.conf with your preferred VERIFIED_INSTALLATION setting.

 * Install the mozilla-rootcerts package and run the install script.

The point of the bootstrap kit is to just do all this for you, but the
end result is the same, so choose the easy way or the harder way I
guess ;)

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Daily packages for NetBSD/amd64 current

2020-07-25 Thread Jonathan Perkin
Hey everybody,

I needed a NetBSD-current system for testing pkgin changes, and
figured I may as well also set it up for daily package builds.

So if anybody would like a repository for the latest packages then
head over to https://pkgsrc.joyent.com/install-on-netbsd/ to install
the bootstrap kit.

All packages are signed, the mozilla-rootcerts certificates are
shipped to enable HTTPS, and I enabled a bunch of PKG_OPTIONS by
default.  Feel free to request further additions.

Hope you find it useful.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Announcing the pkgsrc-2020Q1 release

2020-04-06 Thread Jonathan Perkin
The pkgsrc developers are proud to announce the 66th quarterly release
of pkgsrc, the cross-platform packaging system.  pkgsrc is available
with more than 20,000 packages, running on 23 separate platforms; more
information on pkgsrc itself is available at https://www.pkgsrc.org/

In total, 335 packages were added, 163 packages were removed, and 2,323
package updates (to 1,762 unique packages) were processed since the
pkgsrc-2019Q4 release.

As well as a large number of new Haskell-based packages, for the 2020Q1
release we also welcome the following notable packages additions and
changes to the pkgsrc collection:

 - Blender 2.82a
 - Firefox 68.6.0, 74.0
 - Go 1.13.9, 1.14.1
 - LibreOffice 6.4.1.2
 - MATE 1.22.2
 - Mesa 20.0.2
 - Mono 6.8.0.105
 - Mutt 1.13.4
 - MySQL 5.6.47, 5.7.29
 - NeoMutt 20200320
 - Nextcloud 18.0.2
 - Node.js 8.17.0, 10.19.0, 12.16.1, 13.11.0
 - PHP 7.2.29, 7.3.16, 7.4.4
 - pkgin 0.15.0
 - pkglint 20.1.1
 - PostgreSQL 9.4.26, 9.5.21, 9.6.17, 10.12, 11.7, 12.2
 - Python 3.6.10, 3.7.7, 3.8.2
 - Ruby 2.7.0
 - Ruby On Rails 6.0.2.2
 - Rust 1.42.0
 - SQLite 3.31.1
 - VLC 3.0.8
 - WebKitGTK 2.28.0
 - WeeChat 2.7.1
 - Xfce 4.14.2

We say notable goodbyes to:

 - Go 1.11, 1.12
 - Many legacy GNOME2 packages
 - MySQL 5.1
 - Ruby 2.2
 - Ruby On Rails 4.2

Changes to the pkgsrc infrastructure:

 - Overhaul Fortran selection, preferring gfortran where possible.

 - Stricter checks for SUBST_*, and expanded tests and performance
   improvements for portability checks.

 - Support virtualsize ulimits.

 - USE_PKG_ADMIN_DIGEST enables SHA256 digests for file identification
   rather than the $NetBSD$ CVS identifier.

 - Improvements and updates to the Haskell infrastructure.

Instructions on using the binary package manager can be found at
http://pkgin.net, and pkgsrc itself can be retrieved from
https://github.com/NetBSD/pkgsrc or via cvs or tar file -- see
https://www.netbsd.org/docs/pkgsrc/getting.html.  The branch name for
the 2020Q1 branch is "pkgsrc-2020Q1".

Enjoy!

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Announcing the pkgsrc-2019Q2 release

2019-07-08 Thread Jonathan Perkin
The pkgsrc developers are proud to announce the 63rd quarterly release
of pkgsrc, the cross-platform packaging system.  pkgsrc is available
with more than 20,000 packages, running on 23 separate platforms; more
information on pkgsrc itself is available at https://www.pkgsrc.org/

In total, 84 packages were added, 61 packages were removed, and 1,881
package updates (to 1,350 unique packages) were processed since the
pkgsrc-2019Q1 release.

For the 2019Q2 release we welcome the following notable package
additions and changes to the pkgsrc collection:

 - BIND 9.11.8, 9.12.4pl2, 9.14.3
 - Emacs 26.2
 - Firefox 60.7.2, 67.0.4
 - GCC 8.3.0
 - Go 1.11.10, 1.12.5
 - gpsd 3.18.1
 - Irssi 1.2.1
 - LibreOffice 6.2.4.2
 - MATE 1.22.1
 - MySQL 5.6.44, 5.7.26
 - Mutt 1.21.1
 - Nextcloud 16.0.1
 - Node.js 10.16.0
 - PHP 7.1.30, 7.2.19, 7.3.6
 - pkgin 0.12.0
 - PostgreSQL 9.4.23, 9.5.18, 9.6.14, 10.9, 11.4
 - Python 2.7.16, 3.6.8, 3.7.3
 - Ruby 2.4.6, 2.6.3
 - Ruby on Rails 4.2.11.1, 5.1.6.2, 5.2.3
 - Rust 1.35.0
 - SQLite 3.28.0
 - WebKitGTK 2.24.2

We say notable goodbyes to:

 - Acroread 7, 8, 9
 - BIND 9.10
 - Firefox 3.6, 45
 - PostgreSQL 9.3
 - Python 3.4, 3.5
 - Ruby 2.3
 - Sun JRE/JDK 6

Changes to the pkgsrc infrastructure:

 - Python 3.7 is now the default python, changing from 2.7.

 - Added support for LIBRSVG_TYPE that can be set to 'c' or 'rust' to
   respectively select librsvg C implementation (version 2.40.20) or
   Rust implementation (version 2.44.14, currently maintained version).

Instructions on using the binary package manager can be found at
http://pkgin.net, and pkgsrc itself can be retrieved from
https://github.com/NetBSD/pkgsrc or via cvs or tar file -- see
https://www.netbsd.org/docs/pkgsrc/getting.html.  The branch name for
the 2019Q2 branch is "pkgsrc-2019Q2".

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Some pkgsrc/mk/pax.mk suggestions (was: Re: PaX mprotect now on for amd64)

2016-07-05 Thread Jonathan Perkin
* On 2016-07-05 at 17:53 BST, Thomas Klausner wrote:

> On Tue, Jul 05, 2016 at 04:46:15PM +, David Holland wrote:
> > I don't remember if I mentioned this somewhere before or only thought
> > it, but:
> > 
> > On Tue, Jul 05, 2016 at 06:39:12PM +0200, Leonardo Taccari wrote:
> >  > Add NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE to BUILD_DEFS so the
> >  > paxctl-fied binaries can be inspected via `pkg_info -Q'
> > 
> > while PAX_MPROTECT is a thing of a particular kind, ASLR is a general
> > feature and it would be better to just have NOT_ASLR_SAFE. That way we
> > don't end up with NOT_PUX_ASLR_SAFE and NOT_PEX_ASLR_SAFE and so on as
> > we discover other OSes' differing implementations but can handle them
> > under the hood.
> > 
> > then there's agc's objection to negative boolean variables, which I
> > tend to agree with; instead of
> > 
> >NOT_PAX_MPROTECT_SAFE=yes
> > 
> > it would be nicer to have in packages
> > 
> >PAX_MPROTECT_SAFE=no
> > 
> > and if we're going to change this it should be now and shouldn't wait :-/
> 
> But it's not a yes/no variable, it's a list of files.

Then name them PAX_MPROTECT_SKIP and PAX_ASLR_SKIP to follow
CHECK_SHLIBS_SKIP, CHECK_INTERPRETER_SKIP, etc?

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com