package/libminiupnpc: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 4 Mar 2021 11:30:39 +0000 (12:30 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 4 Mar 2021 19:04:26 +0000 (20:04 +0100)
commite9fbb8dccb0432dcca87dca10ebba3961b98896b
treefa89fee63832c17a8114c89369b80b35187dec53
parent043a23a6b7692d6a54dd831857356782f00094a3
package/libminiupnpc: add CPE variables

cpe:2.3:a:miniupnp_project:miniupnpc is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aminiupnp_project%3Aminiupnpc

Split the _VERSION into the traditional major/minor separation, even
though it is not strictly speaking major/minor. This allows re-using for
the CPE versioning.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - inverse the split: rather than defining _VERSION based on the CPE
    values, split the _VERSION and use that to define the CPE variables
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libminiupnpc/libminiupnpc.mk