#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2024 Andreas Wacknitz
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

# As long as our default openssl is not 3.x we need to explicitly set the correct path
file files/vars path=usr/share/easy-rsa/vars

file path=usr/share/doc/easy-rsa/EasyRSA-Advanced.md
file path=usr/share/doc/easy-rsa/EasyRSA-Contributing.md
file path=usr/share/doc/easy-rsa/EasyRSA-Readme.md
file path=usr/share/doc/easy-rsa/EasyRSA-Renew-and-Revoke.md
file path=usr/share/doc/easy-rsa/EasyRSA-Upgrade-Notes.md
file path=usr/share/doc/easy-rsa/Hacking.md
file path=usr/share/doc/easy-rsa/Intro-To-PKI.md
file path=usr/share/easy-rsa/COPYING.md
file path=usr/share/easy-rsa/ChangeLog
file path=usr/share/easy-rsa/README.md
file path=usr/share/easy-rsa/README.quickstart.md
file path=usr/share/easy-rsa/easyrsa mode=0555
file path=usr/share/easy-rsa/gpl-2.0.txt
file path=usr/share/easy-rsa/openssl-easyrsa.cnf
file path=usr/share/easy-rsa/vars.example
file path=usr/share/easy-rsa/x509-types/COMMON
file path=usr/share/easy-rsa/x509-types/ca
file path=usr/share/easy-rsa/x509-types/client
file path=usr/share/easy-rsa/x509-types/code-signing
file path=usr/share/easy-rsa/x509-types/email
file path=usr/share/easy-rsa/x509-types/kdc
file path=usr/share/easy-rsa/x509-types/server
file path=usr/share/easy-rsa/x509-types/serverClient