# This file created by conda-build 26.1.0
# meta.yaml template originally from:
# /home/task_177460893121306/nss-feedstock/recipe, last modified Fri Mar 27 11:05:21 2026
# ------------------------------------------------

package:
  name: nss
  version: '3.121'
source:
  url: https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_121_RTM/src/nss-3.121.tar.gz
  sha256: cb3a8f8781bea78b7b8edd3afb7a2cb58e4881bb0160d189a39b98216ba7632e
  patches:
    - nss-3.55-standalone-1.patch
build:
  number: '0'
  run_exports:
    - nss >=3.121,<4.0a0
  string: h5c1ed2d_0
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - autoconf 2.71 pl5340h5eee18b_0
    - binutils_impl_linux-64 2.44 h78f17ca_3
    - binutils_linux-64 2.44 hc03a8fd_3
    - bzip2 1.0.8 h5eee18b_6
    - c-ares 1.34.6 hd44998d_0
    - ca-certificates 2025.12.2 h06a4308_0
    - cmake 4.2.3 h8f6b806_0
    - expat 2.7.5 h7354ed3_0
    - gcc_impl_linux-64 14.3.0 h4943218_4
    - gcc_linux-64 14.3.0 hda73cce_13
    - gettext 0.25.1 h92eb808_0
    - gettext-tools 0.25.1 h6a67909_0
    - gtest 1.17.0 h5f83a47_0
    - icu 73.1 h6a678d5_0
    - jansson 2.14 h5eee18b_1
    - kernel-headers_linux-64 4.18.0 h3108a97_1
    - ld_impl_linux-64 2.44 h9e0c5a2_3
    - libasprintf 0.25.1 hf2ab22a_0
    - libasprintf-devel 0.25.1 hf2ab22a_0
    - libbrotlicommon 1.2.0 h32cd6e7_0
    - libbrotlidec 1.2.0 ha2c5f68_0
    - libbrotlienc 1.2.0 h2e96acb_0
    - libcurl 8.19.0 ha05a353_0
    - libev 4.33 h7f8727e_1
    - libexpat 2.7.5 h7354ed3_0
    - libgcc 15.2.0 h69a1729_7
    - libgcc-devel_linux-64 14.3.0 he7458c1_104
    - libgcc-ng 15.2.0 h166f726_7
    - libgettextpo 0.25.1 hf2ab22a_0
    - libgettextpo-devel 0.25.1 hf2ab22a_0
    - libgomp 15.2.0 h4751f2c_7
    - libiconv 1.18 h75a1612_0
    - libidn2 2.3.8 hf80d704_0
    - libkrb5 1.22.1 h6d2bf13_0
    - libnghttp2 1.67.1 h697f920_0
    - libsanitizer 14.3.0 hd4faa28_4
    - libssh2 1.11.1 h251f7ec_0
    - libstdcxx 15.2.0 h39759b7_7
    - libstdcxx-ng 15.2.0 hc03a8fd_7
    - libunistring 1.3 hb25bd0a_0
    - libuv 1.52.0 heb5a705_0
    - libxml2 2.13.9 h2c43086_0
    - libzlib 1.3.1 hb25bd0a_0
    - lmdb 0.9.31 hb25bd0a_0
    - lz4-c 1.9.4 h6a678d5_1
    - m4 1.4.18 h4e445db_0
    - make 4.2.1 h1bed415_1
    - ncurses 6.5 h7934f7d_0
    - openssl 3.5.5 h1b28b03_0
    - perl 5.42.0 0_h47b2149_perl5
    - pkg-config 0.29.2 h1bed415_8
    - rhash 1.4.6 hd199180_1
    - sysroot_linux-64 2.28 h3108a97_1
    - tzdata 2026a he532380_0
    - xz 5.8.2 h448239c_0
    - zlib 1.3.1 hb25bd0a_0
    - zstd 1.5.7 h11fc155_0
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - libgcc 15.2.0 h69a1729_7
    - libgcc-ng 15.2.0 h166f726_7
    - libgomp 15.2.0 h4751f2c_7
    - libstdcxx 15.2.0 h39759b7_7
    - libstdcxx-ng 15.2.0 hc03a8fd_7
    - libzlib 1.3.1 hb25bd0a_0
    - ncurses 6.5 h7934f7d_0
    - nspr 4.37 h8459abe_0
    - readline 8.3 hc2a1206_0
    - sqlite 3.51.2 h3e8d24a_0
    - zlib 1.3.1 hb25bd0a_0
  run:
    - __glibc >=2.28,<3.0.a0
    - libgcc >=14
    - libzlib >=1.3.1,<2.0a0
    - nspr >=4.37,<5.0a0
    - sqlite >=3.51.2,<4.0a0
test:
  requires:
    - pkg-config
  commands:
    - mkdir -p ./nssdb
    - echo "== libraries =="
    - test -f "${PREFIX}/lib/libfreebl3.chk"
    - test -f "${PREFIX}/lib/libfreebl3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libnss3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libnssckbi-testlib${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libnssckbi${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libnssdbm3.chk"
    - test -f "${PREFIX}/lib/libnssdbm3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libnssutil3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libsmime3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libsoftokn3.chk"
    - test -f "${PREFIX}/lib/libsoftokn3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/libssl3${SHLIB_EXT}"
    - test -f "${PREFIX}/lib/pkgconfig/nss.pc"
    - echo "== headers =="
    - test -f "${PREFIX}/include/nss/cert.h"
    - test -f "${PREFIX}/include/nss/certdb.h"
    - test -f "${PREFIX}/include/nss/cryptohi.h"
    - test -f "${PREFIX}/include/nss/keyhi.h"
    - test -f "${PREFIX}/include/nss/nss.h"
    - test -f "${PREFIX}/include/nss/nssutil.h"
    - test -f "${PREFIX}/include/nss/pk11pub.h"
    - test -f "${PREFIX}/include/nss/pkcs11.h"
    - test -f "${PREFIX}/include/nss/secasn1.h"
    - test -f "${PREFIX}/include/nss/secerr.h"
    - test -f "${PREFIX}/include/nss/secitem.h"
    - test -f "${PREFIX}/include/nss/secmod.h"
    - test -f "${PREFIX}/include/nss/secoid.h"
    - test -f "${PREFIX}/include/nss/ssl.h"
    - test -f "${PREFIX}/include/nss/sslerr.h"
    - test -f "${PREFIX}/include/nss/sslproto.h"
    - echo "== binaries exist =="
    - test -x "${PREFIX}/bin/certutil"
    - test -x "${PREFIX}/bin/nss-config"
    - test -x "${PREFIX}/bin/pk12util"
    - echo "== binaries run =="
    - echo "-- core tests"
    - certutil -N -d sql:./nssdb --empty-password
    - test -f ./nssdb/cert9.db
    - test -f ./nssdb/key4.db
    - test -f ./nssdb/pkcs11.txt
    - certutil -L -d sql:./nssdb
    - nss-config --version
    - nss-config --libs
    - nss-config --cflags
    - pkg-config --exists nss
    - pkg-config --modversion nss
    - pk12util -v || true
about:
  home: https://firefox-source-docs.mozilla.org/security/nss/index.html
  license: MPL-2.0
  license_family: OTHER
  license_file: nss/COPYING
  summary: 'A set of libraries designed to support cross-platform development of

    security-enabled client and server applications.

    '
  description: 'Network Security Services (NSS) is a set of libraries designed to
    support

    cross-platform development of security-enabled client and server

    applications. Applications built with NSS can support SSL v3, TLS,

    PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates,

    and other security standards.

    '
  doc_url: https://firefox-source-docs.mozilla.org/security/nss/index.html
  dev_url: https://hg.mozilla.org/projects/nss
extra:
  recipe-maintainers:
    - jakirkham
    - marcelotrevisani
  final: true
  copy_test_source_files: true
  remote_url: https://github.com/AnacondaRecipes/nss-feedstock
  sha: 945641b1eff479c89ce3d19549f249937bdd13b5
  task_id: MPmQCnxxTvCGCkEancm92g
  task_run_id: '0'
  pbp_graph_uuid: 621d1fdf-05fc-4f08-b34e-ee0bfbee6f58
