components/gnome/gnome-keyring/Makefile
changeset 7196 b0e313a2264a
child 7687 1093e2a9adbd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-keyring/Makefile	Fri Oct 28 14:57:58 2016 -0700
@@ -0,0 +1,70 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+BUILD_BITS=             64_and_32
+COMPILER=		gcc
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		gnome-keyring
+COMPONENT_VERSION=	3.18.3
+COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Projects/GnomeKeyring
+COMPONENT_ARCHIVE_HASH= \
+	sha256:3f670dd61789bdda75b9c9e31e289bf7b1d23ba012433474790081ba7dc0ed98
+COMPONENT_BUGDB=	gnome/security
+
+TPNO=			25824
+
+TEST_TARGET = $(NO_TESTS)
+
+# Needs updated glib2, not available on S11.
+include $(WS_MAKE_RULES)/no-evaluation.mk
+
+include $(WS_MAKE_RULES)/gnome-component.mk
+
+PAM_MODULE_DIR.32 = $(USRLIBDIR)/security
+PAM_MODULE_DIR.64 = $(PAM_MODULE_DIR.32)/$(MACH64)
+PAM_MODULE_DIR = $(PAM_MODULE_DIR.$(BITS))
+
+CONFIGURE_OPTIONS += --disable-selinux
+CONFIGURE_OPTIONS += --disable-static
+CONFIGURE_OPTIONS += --enable-gpg-agent
+CONFIGURE_OPTIONS += --enable-pam
+CONFIGURE_OPTIONS += --enable-shared
+CONFIGURE_OPTIONS += --enable-ssh-agent
+CONFIGURE_OPTIONS += --with-pam-dir=$(PAM_MODULE_DIR)
+CONFIGURE_OPTIONS += --with-pic
+# Linux-specific capabilities support.
+CONFIGURE_OPTIONS += --without-libcap-ng
+
+# Required due to patches.
+COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
+
+CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
+
+REQUIRED_PACKAGES += crypto/gnupg
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/gnome/gcr
+REQUIRED_PACKAGES += network/ssh
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += system/library/security/libgcrypt
+