*/*: Add CPE declaration to 617 ports
Improve CPE coverage in the ports tree to help security scanners match
software with vulnerability reports.
Matched project and download URLs from port metadata against references
in the official NVD CPE dictionary. Reviewed product identities to
distinguish applications from related components and similarly named
projects.
Sponsored by: OTTRIA
Differential Revision: https://reviews.freebsd.org/D61941
sysutils/ttyd: unbreak at the run-time: libwebsockets compatibility, service
start/stop/status
Items that were broken:
- ttyd didn't listen on the prescribed port since
net/libwebsockets was updated to 5.1.0 on Nov 1st.
I only noticed this yesterday when I updated the system and
ttyd stopped listening. This rendered it unusable.
- 'service start/stop/status' were not working properly since
pid file wasn't created. 'service start' was starting new
instances of ttyd every time regardless of the previous
instances.
- there was no log file so it was difficult to see what was going
on with ttyd.
Changes:
- backported the patch fixing compatibility with the latest
libwebsockets release
- add the ttyd.pid file that fixes the 'service ttyd ...' command
- add the ttyd.log file that is a prerequisite to fix
anything with ttyd
Approved by: portmgr@ (unbreak; blanket)
sysutils/ttyd: Add -W flag and /usr/bin/login default program
-W - flag is needed in order for clients to be able
to write into the terminal, otherwise it is read-only
/usr/bin/login - is needed for users to be logged in,
because this is what most users expect
PR: 289702
Approved by: nc@FreeBSD.org (maintainer's timeout; 25 days)
sysutils/ttyd: Only link with shared library
Due to how upstream handles libraries ttyd picks up both static and
shared library of libwebsockets which is not intended. The least
intrusive way I found is to simply detect it using pkgconfig instead.
While at it, disable check for git to determine version.
Reported by: Jeff Schmidt <jeff.jschmidt@gmail.com>
Approved by: portmgr (blanket, build fix)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Set MAINTAINER of my ports to my FreeBSD handle (nc@).
Reviewed by: 0mp (mentor)
Approved by: 0mp (mentor)
Differential Revision: https://reviews.freebsd.org/D27966
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine