2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2017 Alexander Pyhalov
13 # Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
14 # Copyright (c) 2018 Michal Nowak
15 # Copyright (c) 2021 Andreas Wacknitz
16 # Copyright (c) 2023 Klaus Ziegler
19 USE_PARALLEL_BUILD
= yes
21 include ..
/..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_NAME
= gnome-keyring
24 COMPONENT_VERSION
= 46.2
25 COMPONENT_SUMMARY
= GNOME Keyring is a collection of components that store secrets
, passwords
, keys
, certificates and make them available to applications
26 COMPONENT_ARCHIVE_HASH
= sha256
:bf26c966b8a8b7f3285ecc8bb3e467b9c20f9535b94dc451c9c559ddcff61925
27 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Sessions
28 COMPONENT_FMRI
= gnome
/gnome-keyring
29 COMPONENT_LICENSE
= GPL-2.0
-only AND LGPL-2.1
-only
31 include $(WS_MAKE_RULES
)/gnome.mk
32 include $(WS_MAKE_RULES
)/common.mk
34 # Required due to patches.
35 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && PATH
="$(PATH)" autoreconf
-fiv
)
37 PAM_MODULE_DIR
= $(USRLIBDIR
)/security
/$(MACH64
)
39 CONFIGURE_ENV
+= MAKE
="$(GMAKE)"
41 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
42 CONFIGURE_OPTIONS
+= --disable-selinux
43 CONFIGURE_OPTIONS
+= --disable-static
44 CONFIGURE_OPTIONS
+= --enable-gpg-agent
45 CONFIGURE_OPTIONS
+= --enable-pam
46 CONFIGURE_OPTIONS
+= --enable-shared
47 CONFIGURE_OPTIONS
+= --enable-ssh-agent
48 CONFIGURE_OPTIONS
+= --with-pam-dir
=$(PAM_MODULE_DIR
)
49 CONFIGURE_OPTIONS
+= --with-pic
50 # Linux-specific capabilities support.
51 CONFIGURE_OPTIONS
+= --without-libcap-ng
53 # Testing needs an X server
54 TEST_REQUIRED_PACKAGES
+= x11
/server
/xvfb
55 COMPONENT_PRE_TEST_ACTION
+= /usr
/bin
/Xvfb
:0 >/dev
/null
2>&1 &
56 COMPONENT_TEST_ENV
+= DISPLAY
=:0
57 COMPONENT_POST_TEST_ACTION
+= /usr
/bin
/pkill
-x Xvfb
;
59 COMPONENT_TEST_ARGS
= -k
-i
61 COMPONENT_TEST_TRANSFORMS
= \
62 '-e "s/scratch-test.*/scratch-test-import\*pkcs8/" ' \
63 '-e "s/glib.*\//GLIB2\//" ' \
64 "-e 's|$(SOURCE_DIR)|\$$(SOURCE_DIR)|g'" \
72 # Auto-generated dependencies
73 REQUIRED_PACKAGES
+= library
/glib2
74 REQUIRED_PACKAGES
+= library
/gnome
/gcr
75 REQUIRED_PACKAGES
+= system
/library
76 REQUIRED_PACKAGES
+= system
/library
/security
/libgcrypt