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 2016 Alexander Pyhalov
13 # Copyright 2018 Michal Nowak
14 # Copyright 2023 Friedrich Kink
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= freetds
21 COMPONENT_VERSION
= 1.4.23
22 COMPONENT_SUMMARY
= FreeTDS command-line utilities
23 COMPONENT_PROJECT_URL
= https
://www.freetds.org
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:9016d00dfcf0b9dc256b0d857d46506db2f84bb6a38bfa80ce2ea6cf6e6367fe
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/files
/stable
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= database
/freetds
29 COMPONENT_CLASSIFICATION
= System
/Databases
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING.txt
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_PRE_CONFIGURE_ACTION
+= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
37 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
38 CONFIGURE_OPTIONS
+= --disable-static
39 CONFIGURE_OPTIONS
+= --enable-krb5
40 CONFIGURE_OPTIONS
+= --enable-msdblib
41 CONFIGURE_OPTIONS
+= --with-gnutls
43 COMPONENT_TEST_ARGS
+= -k
45 COMPONENT_TEST_ENV
+= LC_ALL
=C.UTF-8
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES
+= $(READLINE_PKG
)
49 REQUIRED_PACKAGES
+= library
/gmp
50 REQUIRED_PACKAGES
+= library
/gnutls-3
51 REQUIRED_PACKAGES
+= library
/nettle
52 REQUIRED_PACKAGES
+= shell/ksh93
53 REQUIRED_PACKAGES
+= system
/library