# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL)". You may # only use this file in accordance with the terms 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 2022 Niklas Poslovski # OPENSSL_VERSION= 3.1 include ../../../make-rules/shared-macros.mk COMPONENT_NAME= sqlcipher COMPONENT_VERSION= 4.5.6 COMPONENT_SUMMARY= SQLite extension that provides transparent 256-bit AES encryption of database COMPONENT_PROJECT_URL= https://www.zetetic.net/sqlcipher/ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz COMPONENT_ARCHIVE_URL= https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_ARCHIVE) COMPONENT_ARCHIVE_HASH= sha256:e4a527e38e67090c1d2dc41df28270d16c15f7ca5210a3e7ec4c4b8fda36e28f COMPONENT_FMRI= database/$(COMPONENT_NAME) COMPONENT_CLASSIFICATION= Development/Databases COMPONENT_LICENSE= BSD COMPONENT_LICENSE_FILE= LICENSE.md CFLAGS += -DSQLITE_HAS_CODEC LDFLAGS += -L$(OPENSSL_LIBDIR) CONFIGURE_OPTIONS += --enable-tempstore=yes CONFIGURE_OPTIONS += LDFLAGS=-L$(OPENSSL_LIBDIR) CONFIGURE_OPTIONS += CPPFLAGS=-I$(OPENSSL_INCDIR) TEST_TARGET = $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk # Auto-generated dependencies REQUIRED_PACKAGES += library/libedit REQUIRED_PACKAGES += library/security/openssl-31 REQUIRED_PACKAGES += library/zlib REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math