pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Does anybody use pkgsrc on Centos/RHEL/Fedora on a daily basis?



* On 2017-11-28 at 14:22 GMT, Ottavio Caruso wrote:

> On 28 November 2017 at 13:56, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
> 
> >
> > Unless you specifically know that you require certain features in our
> > fork then you should use pkgsrc.  Off the top of my head I can't think
> > of any features we've developed that would benefit CentOS.  Our daily
> > CentOS bulk builds also just use pkgsrc.
> >
> 
> Thanks Jonathan!
> 
> Can I mix and match your binaries with the ones I'd build on my own
> from vanilla pkgsrc?
> 
> In other words, would I have an usable system by just untarring your
> packages as in here:
> https://pkgsrc.joyent.com/packages/Linux/el7/bootstrap/
> 
> and then would they conflict with the ones built from sources?

Two different scenarios to discuss here.

If you want to use our packages and build your own to the same prefix,
then you would need to start with our bootstrap, then perform your
local builds inside a pkgbuild sandbox:

  https://github.com/joyent/pkgsrc/wiki/pkgdev:setup

This is required to ensure that you use the same settings as our
packages are built with.  If you try to build without those settings
then things will quickly fail.

The other scenario is using our packages but building your own
packages into a different prefix.  As usual that will work perfectly
fine as long as your chosen paths do not conflict with ours
(prefix=/usr/pkg, pkgdbdir=/usr/pkg/.pkgdb, varbase=/var,
pkgsysconfdir=/usr/pkg/etc)

Regards,

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


Home | Main Index | Thread Index | Old Index