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) 2015 Alexander Pyhalov
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= cracklib
20 COMPONENT_VERSION
= 2.10.2
21 COMPONENT_SUMMARY
= CrackLib Library and Dictionaries
22 COMPONENT_PROJECT_URL
= https
://github.com
/cracklib
/cracklib
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= sha256
:e157c78e6f26a97d05e04b6fe9ced468e91fa015cc2b2b7584889d667a958887
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/cracklib
/cracklib
/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= library
/security
/cracklib
28 COMPONENT_CLASSIFICATION
= System
/Libraries
29 COMPONENT_LICENSE
= LGPLv2.1
30 COMPONENT_LICENSE_FILE
= COPYING.LIB
32 include $(WS_MAKE_RULES
)/common.mk
35 CFLAGS
+= -D_POSIX_PTHREAD_SEMANTICS
37 CONFIGURE_OPTIONS
+= --disable-static
38 CONFIGURE_OPTIONS
+= --without-python
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= library
/zlib
42 REQUIRED_PACKAGES
+= shell/ksh93
43 REQUIRED_PACKAGES
+= system
/library