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) 2014 Alexander Pyhalov. All rights reserved
13 # Copyright (c) 2020 Michal Nowak
14 # Copyright (c) 2023 Klaus Ziegler
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
20 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_NAME
= libgsasl
23 COMPONENT_VERSION
= 1.10.0
24 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/gsasl
/
25 COMPONENT_SUMMARY
= Implementation of the Simple Authentication and Security Layer framework
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_URL
= ftp
://ftp.gnu.org
/gnu
/gsasl
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_ARCHIVE_HASH
= \
30 sha256
:f1b553384dedbd87478449775546a358d6f5140c15cccc8fb574136fdc77329f
31 COMPONENT_FMRI
= library
/libgsasl
32 COMPONENT_CLASSIFICATION
= System
/Libraries
33 COMPONENT_LICENSE
= GPLv3
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/common.mk
40 CFLAGS
+= -I
/usr
/include/idn
42 CONFIGURE_OPTIONS
.32 += --sysconfdir
=/etc
43 CONFIGURE_OPTIONS
.32 += --libexecdir
=/usr
/lib
44 CONFIGURE_OPTIONS
.64 += --libexecdir
=/usr
/lib
/$(MACH64
)
45 CONFIGURE_OPTIONS
+= --disable-static
46 CONFIGURE_OPTIONS
+= --with-gssapi-impl
=mit
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES
+= library
/libidn
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/library
/security
/gss