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
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
14 # Copyright 2023 Niklas Poslovski
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= pgbouncer
20 COMPONENT_VERSION
= 1.23.1
21 COMPONENT_SUMMARY
= pgBouncer connection pooler
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:1963b497231d9a560a62d266e4a2eae6881ab401853d93e5d292c3740eec5084
25 COMPONENT_ARCHIVE_URL
= https
://pgbouncer.github.io
/downloads
/files
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
26 COMPONENT_PROJECT_URL
= https
://www.pgbouncer.org
/
27 COMPONENT_FMRI
= database
/postgres
/$(COMPONENT_NAME
)
28 COMPONENT_CLASSIFICATION
= System
/Administration and Configuration
29 COMPONENT_LICENSE
= BSD
30 COMPONENT_LICENSE_FILE
= COPYRIGHT
32 # Don't depend on host default pg_config
33 PATH
=$(PG_BINDIR.
$(BITS
)):/usr
/sbin
:/usr
/bin
35 TEST_TARGET
=$(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
38 CLONEY_ARGS
= CLONEY_MODE
="hardlink"
40 CONFIGURE_OPTIONS
+= --with-openssl
=$(OPENSSL_PREFIX
)
41 CONFIGURE_ENV
+= "XMLTO=xmlto --skip-validation"
44 REQUIRED_PACKAGES
+= $(PG_DEVELOPER_PKG
)
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
48 REQUIRED_PACKAGES
+= SUNWcs
49 REQUIRED_PACKAGES
+= library
/libcares
50 REQUIRED_PACKAGES
+= library
/libevent2
51 REQUIRED_PACKAGES
+= system
/library