libunibreak: update to 5.1 and add test results
[oi-userland.git] / components / database / pgbouncer / Makefile
blob8398cf87432e74493830f22b4b776bbc7be926c5
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Alexander Pyhalov
16 BUILD_BITS= 64
17 USE_OPENSSL11= yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= pgbouncer
21 COMPONENT_VERSION= 1.20.1
22 COMPONENT_SUMMARY= pgBouncer connection pooler
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:24992cf557d73426d7048698dffc7b019e6364d4d8757ae2cf5e2471286a2088
26 COMPONENT_ARCHIVE_URL= https://pgbouncer.github.io/downloads/files/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL= https://www.pgbouncer.org/
28 COMPONENT_FMRI= database/postgres/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION= System/Administration and Configuration
30 COMPONENT_LICENSE= BSD
31 COMPONENT_LICENSE_FILE= COPYRIGHT
33 # Don't depend on host default pg_config
34 PATH=$(PG_BINDIR.$(BITS)):/usr/sbin:/usr/bin
36 TEST_TARGET=$(NO_TESTS)
37 include $(WS_MAKE_RULES)/common.mk
39 CLONEY_ARGS= CLONEY_MODE="hardlink"
41 CONFIGURE_OPTIONS += --with-openssl=$(OPENSSL_PREFIX)
42 CONFIGURE_ENV += "XMLTO=xmlto --skip-validation"
44 # Build dependencies
45 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += SUNWcs
49 REQUIRED_PACKAGES += library/libcares
50 REQUIRED_PACKAGES += library/libevent2
51 REQUIRED_PACKAGES += library/security/openssl-11
52 REQUIRED_PACKAGES += system/library