NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc update woes - Could not find repro/repro.mk
Andreas Krey <a.krey%gmx.de@localhost> writes:
> Hi all,
>
> in the attempt to make my nginx talk http2, I was
> at the point where it compiles, install (easy so far),
> actually accepts the http2 option in the listen directive
> (meaning that the module is there and active), but still
> did not actually *talk* http/2.
>
> Oh, openssl might need an update (and nginx too, it's 1.12.1).
>
> The only local change is
>
> diff -u -r1.296 mk.conf
> --- mk/defaults/mk.conf 24 Jun 2018 21:19:10 -0000 1.296
> +++ mk/defaults/mk.conf 17 Sep 2018 10:27:34 -0000
> @@ -1935,3 +1935,5 @@
> # ftp://ftp2.fr.NetBSD.org/pub/NetBSD/packages/distfiles/
> #MASTER_SITE_LOCAL= \
> # ftp://ftp.fr.NetBSD.org/pub/NetBSD/packages/distfiles/LOCAL_PORTS/
> +
> +PKG_OPTIONS.nginx=http2
>
> Does the nginx in pkgsrc even use the openssl from pkgsrc,
> or is there a openssl in the base netbsd (and how to update)?
It depends on the system, and if base openssl is good enough. Yes,
netbsd has openssl in base. It's good to keep a system updated along
the maintenance release (netbsd-7, netbsd-8). See the guide for system
updating options.
> How do I find out what other packages depend on openssl,
> and an openssl update would thus update (and potentially
> break; there is an dhcpd that I would like to continue
> running, not to mention the sshd).
"pkg_info openssl" will tell you.
But, you are going down the path of updating some but not all packages,
and this is going to be trouble. I would rcommend that you update all
of pkgsrc to either the most recent stable branch (pkgsrc-2018Q2) or
pkgsrc current (CVS HEAD) if you are adventurous, and then rebuild all
your packages. That's also described, but your choices are:
- pkgin fug
- do a bulk build and then use pkgin on your own binaries
- pkg_chk (I have forgotten the details)
- pkg_rolling-replace (this is what I do)
- make update (really, really, don't do this)
Unless you really need something in pkgsrc head that's not in the stable
branch, I recommend using the most recent stable branch. 2018Q3 should
be available in a few weeks, but 2018Q2 is not that old.
Home |
Main Index |
Thread Index |
Old Index