I was upgrading from ports tools to the new "pkg" tool and noticed that, after upgrading, the new "nrpe" package did not include SSL support, which my environment requires. Fix: I found that the "net-mgmt/nrpe-ssl" port does exist, however, and was able to create a package for that port using: cd /usr/ports/net-mgmt/nrpe-ssl make package pkg add /usr/ports/packages/All/nrpe-ssl-2.15_2.txz This solved my problem, but I wanted to file this to see if there was any way of including an "nrpe-ssl" package alongside the "nrpe" package in the repository so that people could simply remove "nrpe" and install "nrpe-ssl" if they need SSL support instead of going through this process. Also, this now puts my nrpe-ssl package outside the streamlined "pkg upgrade" shortcut to upgrade all packages on the system. I am new to the "pkg" system, so I could just be missing something where nrpe-ssl is easier installed with "pkg" in some way. If that is the case, please let me know how I *should* have done this, as I could not find it in the documentation for "pkg". Thank you. How-To-Repeat: pkg install nrpe
"pkg install nrpe" installs the net-mgmt/nrpe package "pkg install nrpe-ssl" installs the net-mgmt/nrpe-ssl package So they are "along side" each other already. It looks to me that you just installed the wrong package, it's that simple. see this page: http://www.freshports.org/net-mgmt/nrpe-ssl About halfway down, you see: "To add the package: pkg install net-mgmt/nrpe-ssl" So in the future, just look at freshports for the correct command.
I guess this may then be a problem with the package system on my server then. I ran pkg2ng and then followed all the directions from https://wiki.freebsd.org/pkgng to add the repository to the system. I was then able to add any packages that I needed. I originally tried to install "nrpe-ssl", but the package was not found in the repository. I then went to the freshports site as you suggested to make sure I was typing the right command, and that page confirmed it. Below are some examples of my attempts to find that package on my systems: [root@foo /]# pkg search nrpe mcollective-nrpe-agent-20130805 mnrpes-2014041501 nrpe-2.15_3 [root@foo /]# pkg install nrpe-ssl Updating repository catalogue pkg: No packages matching 'nrpe-ssl' available in the repositories [root@foo /]# pkg install net-mgmt/nrpe-ssl Updating repository catalogue pkg: No packages matching 'net-mgmt/nrpe-ssl' available in the repositories Any other package that I have looked for, including "nrpe" all seem to be there and are easily installable, so it seems a little strange. My repository file is exactly as the documentation recommends: /usr/local/etc/pkg/repos/FreeBSD.conf: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", enabled: yes } I have now done this conversion on 4 separate systems, and all of them work completely fine except for the nrpe-ssl package. Therefore, unless the URL in the above configuration points to an old repository and has changed but was not updated in the documentation, I don't see what I could possibly be doing wrong. Potentially, this is not a problem with the port itself, but rather with the repository system, which may require a different bug ticket. If that is the case, then I apologize for re-opening this ticket and would request that you just let me know where it may be more appropriate to file this bug report. Any further assistance would be greatly appreciated.
[long post deleted] Hmmm, there is something very strange specifically with net-mgmt/npre-ssl. I asked on IRC and it's not connected to the tree. It seems that this report is valid after all.
A commit references this bug: Author: marino Date: Thu Jun 19 18:16:45 UTC 2014 New revision: 358449 URL: http://svnweb.freebsd.org/changeset/ports/358449 Log: Connect net-mgmt/nrpe-ssl to the build This port was added to the tree on 6 APR 2014 but it was never added to the net-mgmt makefile. This prevents the package builders from creating binary packages for it. PR: 188350 Reported by: teixeira (broadinstitute.org) Approved by: portmgr (antoine) Changes: head/net-mgmt/Makefile
you win. It was a real problem!