Andreas Wacknitz
2024-01-12 2647a59afe105fd731a4e06e88d6423f52a42181
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# 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 (c) 2013, Colin Ellis. All rights reserved.
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, Michal Nowak
# Copyright (c) 2021, 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=pkg.description value="$(COMPONENT_DESCRIPTION)"
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)'
 
file files/exec_attr.pinentry path=etc/security/exec_attr.d/pinentry
 
link path=usr/bin/pinentry target=../lib/pinentry
link path=usr/lib/pinentry target=pinentry-gtk-2
# pinentry needs the proc_lock_memory privilege in order to be able to lock a
# memory segment. If it can't do that, it utters
#    pinentry: Warning: using insecure memory!
# Using the illumos forced privileges feature, we afford it the additional
# privilege by making it setuid (really needed here) root and installing an
# exec_attr entry to add just the necessary privilege. See files/exec_attr.
file path=usr/lib/pinentry-curses owner=root mode=04555
file path=usr/lib/pinentry-gtk-2 owner=root mode=04555
file path=usr/share/info/pinentry.info