2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
11 # Copyright (c) 2013, Colin Ellis. All rights reserved.
12 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
13 # Copyright (c) 2018, Michal Nowak
14 # Copyright (c) 2021, 2024, Andreas Wacknitz
17 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
18 set name=pkg.human-version value=$(HUMAN_VERSION)
19 set name=pkg.summary value="$(COMPONENT_SUMMARY)"
20 set name=pkg.description value="$(COMPONENT_DESCRIPTION)"
21 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
22 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
23 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
24 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
26 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
28 file files/exec_attr.pinentry path=etc/security/exec_attr.d/pinentry
30 link path=usr/bin/pinentry target=../libexec/pinentry
31 link path=usr/libexec/pinentry target=pinentry-gtk-2
32 # pinentry needs the proc_lock_memory privilege in order to be able to lock a
33 # memory segment. If it can't do that, it utters
34 # pinentry: Warning: using insecure memory!
35 # Using the illumos forced privileges feature, we afford it the additional
36 # privilege by making it setuid (really needed here) root and installing an
37 # exec_attr entry to add just the necessary privilege. See files/exec_attr.
38 file path=usr/libexec/pinentry-curses owner=root mode=04555
39 file path=usr/libexec/pinentry-gtk-2 owner=root mode=04555
40 file path=usr/share/info/pinentry.info