Created attachment 206002 [details]
Based on discussions on ports mailing list, I would like to create a new virtual category for VPN related ports.
My guess this needs portmgr approval.
I cannot find the patch, either here or in the link you provide.
The patch is for doc, but I guess, portmgr needs a patch for the ports tree ?
Hmm, e.g. net-im is a real category -- so how would a virtual category work ?
(In reply to Mathieu Arnold from comment #2)
Porter's handbook says modify doc to add virtual category. I did. That's the only thing written in handbook what do I need to do to implement a new virtual category.
Well, you provide a patch for the framework and the ports affected by the change.
There is a list VALID_CATEGORIES in Mk/bsd.port.mk, so probably we need a patch to add net-vpn to that list.
There is another list in Mk/Scripts/desktop-categories.sh, which probably
needs a patch as well.
(In reply to Kurt Jaeger from comment #7)
Hmm, I'll give it a try. BTW, I would say Porter's handbook should be modified to describe what needs to be done well.
Created a diff: https://reviews.freebsd.org/D21174
A commit references this bug:
Date: Wed Aug 14 03:26:16 UTC 2019
New revision: 508887
Implement new virtual category: net-vpn for VPN related ports
based on discussion at ports@ . As VPN softwares are put in different
physical category net and security. This is a little bit confusing. Let's
give them new virtual category net-vpn.
Submitted by: myself
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D21174
Committed and implemented net-vpn virtual category. However, doc should be updated. Can someone review attached patch on en_US.ISO8859-1/htdocs/ports/categories?
Also porter's handbook should be updated. I'll raise another bug for the handbook.