# This file created by conda-build 3.28.1
# ------------------------------------------------

package:
  name: libpq
  version: '16.1'
source:
  patches:
    - patches/0001-fix-win-zlib-name.patch
    - patches/0002-disable-new-dtags.patch
    - patches/0004-fix-windows-openssl-links-for-openssl-1.1.1.patch
    - patches/fix_openssl32_compat.patch
  sha256: ce3c4d85d19b0121fe0d3f8ef1fa601f71989e86f8a66f7dc3ad546dd5564fec
  url: https://ftp.postgresql.org/pub/source/v16.1/postgresql-16.1.tar.bz2
build:
  number: 7
  run_exports:
    - libpq >=16.1,<17.0a0
  string: h33b98f1_7
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hbdbef99_2
    - gcc_impl_linux-64 12.3.0 he2b93b0_3
    - gcc_linux-64 12.3.0 h76fc315_2
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - ld_impl_linux-64 2.40 h41732ed_0
    - libgcc-devel_linux-64 12.3.0 h8bca6fd_103
    - libgcc-ng 13.2.0 h807b86a_3
    - libgomp 13.2.0 h807b86a_3
    - libsanitizer 12.3.0 h0f45ef3_3
    - libstdcxx-ng 13.2.0 h7e041cc_3
    - make 4.3 hd18ef5c_1
    - pkg-config 0.29.2 h36c2ea0_1008
    - sysroot_linux-64 2.12 he073ed8_16
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - ca-certificates 2023.11.17 hbcca054_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.2 h659d440_0
    - libedit 3.1.20191231 he28a2e2_2
    - libgcc-ng 13.2.0 h807b86a_3
    - libgomp 13.2.0 h807b86a_3
    - libstdcxx-ng 13.2.0 h7e041cc_3
    - ncurses 6.4 h59595ed_2
    - openssl 3.2.0 hd590300_1
    - tzcode 2023c h0b41bf4_0
    - tzdata 2023c h71feb2d_0
  run:
    - krb5 >=1.21.2,<1.22.0a0
    - libgcc-ng >=12
    - openssl >=3.2.0,<4.0a0
test:
  commands:
    - pg_config
    - test -f $PREFIX/lib/libpq.so.5.16
    - test -f $PREFIX/lib/libpq.so.5
    - test -f $PREFIX/lib/libpq.so
about:
  license: PostgreSQL
  license_file: COPYRIGHT
  summary: The postgres runtime libraries and utilities (not the server itself)
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: azure_20231209.1.1
  recipe-maintainers:
    - akrherz
    - gillins
    - mariusvniekerk
    - msarahan
    - ocefpaf
    - sodre
  remote_url: https://github.com/conda-forge/postgresql-feedstock
  sha: 41c3344fcc6704480278b86e5025ca1e8d77e84b
