This
issue has been addressed in the master branch (but is currently unreleased).
The CMakeLists.txt now uses the "GNUInstallDirs" supported by CMake, it
looks like this:
--- snip --
include(GNUInstallDirs)
install(TARGETS portsentry DESTINATION ${CMAKE_INSTALL_SBINDIR})
install(FILES examples/portsentry.conf DESTINATION
${CMAKE_INSTALL_SYSCONFDIR}/portsentry)
...
--- snip --
Here's the full current version for your review:
https://github.com/portsentry/portsentry/blob/master/CMakeLists.txt
I realize NetBSD might not adhere to the GNU way in terms of paths, but I
think it would be possible for your package system to override these paths
or something? Let me know if this is something you can work with or if we
need to come up with some alternative way to handle path resolution in
NetBSD.
This is fine, no problem.
If this works for you, I could make an official 2.0.3 release in case you
want a stable upstream reference in your package.
Whenever you're ready for that, the patch is fine in the meantime.
Did you see anything that should be changed in the package?
Thanks,
Thomas