diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk index 02464c39acf7..ac2ca56fef53 100644 --- a/Mk/Uses/cabal.mk +++ b/Mk/Uses/cabal.mk @@ -1,316 +1,308 @@ # Provide support for building Haskell packages using Cabal. # # Feature: cabal # Usage: USES=cabal or USES=cabal:ARGS # Valid ARGS: hpack, nodefault # # hpack: The port doesn't have a .cabal file and needs devel/hs-hpack to # generate it from package.yaml file # nodefault: Do not fetch the default distribution file from Hackage. If # USE_GITHUB or USE_GITLAB is specified in the port, this argument # is implied. # # Variables, which can be set by the port: # # USE_CABAL List of Haskell packages required to build a port. # Should be listed along with version, like profunctors-5.3 # Package revision can be specified too with # usual "_" syntax: invariant-0.5.1_1 # When creating a new port, the initial list can be built # using make-use-cabal auxiliary target. # # CABAL_FLAGS List of Cabal flags to be passed verbatim into --flags # argument of cabal-install utility. Used for both # cabal configure and cabal build. # # CABAL_EXECUTABLES List of executable Cabal targets to be built and installed. # Consult the .cabal file of the project being ported to find # out possible values for this variable. # default: ${PORTNAME} # # opt_USE_CABAL Variant of USE_CABAL to be used with options framework. # opt_CABAL_FLAGS Variant of CABAL_FLAGS to be used with options framework. # Note that it works a bit differently from CABAL_FLAGS: # it appends "${opt_CABAL_FLAGS}" when the option is enabled # and "-${opt_CABAL_FLAGS}" otherwise. # opt_CABAL_EXECUTABLES Variant of CABAL_EXECUTABLES to be used with # options framework. # # CABAL_WRAPPER_SCRIPTS A subset of ${CABAL_EXECUTABLES} containing Haskell # programs to be wrapped into a shell script that sets # *_datadir environment variables before running the program. # This is needed for Haskell programs that install their # data files under share/ directory. # # FOO_DATADIR_VARS Additional environment vars to add to FOO executable's # wrapper script. # # CABAL_PROJECT Sets how to treat existing cabal.project file. Possible # values are "remove" and "append". # # SKIP_CABAL_PLIST Set to "yes" to prevent Haskell executables from being # added to the pkg-plist automatically. # # MAINTAINER: haskell@FreeBSD.org .if !defined(_INCLUDE_USES_CABAL_MK) _INCLUDE_USES_CABAL_MK= yes _valid_ARGS= hpack nodefault _cabal_project_valid_VALUES= append remove . for arg in ${cabal_ARGS} . if !${_valid_ARGS:M${arg}} IGNORE= USES=cabal: invalid arguments: ${arg} . endif . endfor . if defined(CABAL_PROJECT) && !${_cabal_project_valid_VALUES:M${CABAL_PROJECT}} IGNORE= CABAL_PROJECT: invalid value: ${CABAL_PROJECT} . endif . if ${ARCH} == i386 && defined(USE_CABAL) && ${USE_CABAL:Mbasement-0.0.1[4-5]} # Upstream issue: https://github.com/haskell-foundation/foundation/issues/565 BROKEN= ${USE_CABAL:Mbasement-0.0.1[4-5]} package doesn't compile on i386 . endif PKGNAMEPREFIX?= hs- CABAL_EXECUTABLES?= ${PORTNAME} CABAL_CMD?= cabal CABAL_PORT= devel/hs-cabal-install CABAL_HOME= ${WRKDIR}/cabal-home CABAL_LIBEXEC= libexec/cabal CABAL_EXTRACT_SUFX= .tar.gz CABAL_ARCH= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/powerpc64/ppc64/} CABAL_DEPSDIR= ${WRKSRC}/${CABAL_DEPS_SUBDIR} CABAL_DEPS_SUBDIR= _cabal_deps # A special cookie used to signify that the user is a maintainer updating the port # using cabal-* targets. The presense of this cookie disables cabal-post-patch. CABAL_COOKIE= ${WRKDIR}/.cabal_update_done.${PORTNAME}.${PREFIX:S/\//_/g} HPACK_CMD?= hpack _CABAL2TUPLE_CMD= cabal2tuple . if defined(BUILD_DEPENDS) && ${BUILD_DEPENDS:Mghc?*\:lang/ghc?*} CABAL_WITH_ARGS= --with-compiler=${BUILD_DEPENDS:Mghc?*\:lang/ghc?*:C/\:.*//} \ --with-hsc2hs=${LOCALBASE}/bin/hsc2hs-${BUILD_DEPENDS:Mghc?*\:lang/ghc?*:C/\:.*//} . else BUILD_DEPENDS+= ghc:lang/ghc . endif . if "${PORTNAME}" != "cabal-install" BUILD_DEPENDS+= cabal:${CABAL_PORT} . endif . if ${cabal_ARGS:Mhpack} EXTRACT_DEPENDS+= hpack:devel/hs-hpack . endif # Inherited via lang/ghc we need to depend on libffi.so and libgmp.so (stage q/a) LIB_DEPENDS+= libgmp.so:math/gmp \ libffi.so:devel/libffi DIST_SUBDIR?= cabal . if !defined(USE_GITHUB) && !defined(USE_GITLAB) && !${cabal_ARGS:Mnodefault} _hackage_is_default= yes . else _hackage_is_default= no . endif . if ${_hackage_is_default} == yes MASTER_SITES= https://hackage.haskell.org/package/${PORTNAME}-${PORTVERSION}/ \ http://hackage.haskell.org/package/${PORTNAME}-${PORTVERSION}/ DISTFILES+= ${PORTNAME}-${PORTVERSION}${CABAL_EXTRACT_SUFX} . endif _USES_extract= 701:cabal-post-extract _USES_patch= 701:cabal-post-patch _USES_configure=301:cabal-pre-configure _USES_stage= 751:cabal-post-install-script BUILD_TARGET?= ${CABAL_EXECUTABLES:S/^/exe:&/} _use_cabal= ${USE_CABAL:O:u} . for package in ${_use_cabal} _PKG_GROUP= ${package:C/[\.-]//g} _PKG_WITHOUT_REV= ${package:C/_[0-9]+//} _REV= ${package:C/[^_]*//:S/_//} MASTER_SITES+= https://hackage.haskell.org/package/:${package:C/[\.-]//g} \ http://hackage.haskell.org/package/:${package:C/[\.-]//g} DISTFILES+= ${package:C/_[0-9]+//}/${package:C/_[0-9]+//}${CABAL_EXTRACT_SUFX}:${package:C/[\.-]//g} . if ${package:C/[^_]*//:S/_//} != "" DISTFILES+= ${package:C/_[0-9]+//}/revision/${package:C/[^_]*//:S/_//}.cabal:${package:C/[\.-]//g} . endif _CABAL_EXTRACT_ONLY+= ${package:C/_[0-9]+//}/${package:C/_[0-9]+//}${CABAL_EXTRACT_SUFX} . endfor . if !defined(EXTRACT_ONLY) EXTRACT_ONLY= ${_DISTFILES:N*\.cabal} . else . if !defined(SKIP_CABAL_EXTRACT) EXTRACT_ONLY+= ${_CABAL_EXTRACT_ONLY} . endif . endif # Auxiliary targets used during port creation/updating. # Populates Haskell package list from Hackage. # Fetches and unpacks package source from Hackage using only PORTNAME and PORTVERSION. # If Hackage isn't a default MASTER_SITE (for instance, when USE_GITHUB is present) # this target requires distinfo to be present too. cabal-extract: check-cabal . if ${_hackage_is_default} == no @${ECHO_MSG} "===> Recursing down to make extract" @${MAKE} -C ${.CURDIR} extract SKIP_CABAL_EXTRACT=yes ${RM} -rf ${CABAL_HOME} . endif @${ECHO_MSG} "===> Fetching Cabal package index into ${CABAL_HOME}/.cabal" @${SETENV} HOME=${CABAL_HOME} ${CABAL_CMD} update . if ${_hackage_is_default} == yes @cd ${WRKDIR} && \ ${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} ${CABAL_CMD} get ${PORTNAME}-${PORTVERSION} . else . if ${cabal_ARGS:Mhpack} @${ECHO_MSG} "===> Running ${HPACK_CMD} to generate .cabal file" @cd ${WRKSRC} && ${SETENV} HOME=${CABAL_HOME} ${HPACK_CMD} . endif . endif @${RM} -r ${WRKSRC}/dist-newstyle @${TOUCH} ${EXTRACT_COOKIE} ${CABAL_COOKIE} # Calls cabal build --dry-run on the Haskell package located in ${WRKSRC} # This is a Cabal way of doing configure step of the building process # This pulls in all source dependencies, resolves them and generates build plan cabal-configure: check-cabal cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} ${CABAL_CMD} build --dry-run --disable-benchmarks --disable-tests --flags="${CABAL_FLAGS}" ${CABAL_WITH_ARGS} ${BUILD_ARGS} ${BUILD_TARGET} # Calls cabal build on the Haskell package located in ${WRKSRC} cabal-build: check-cabal cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} ${CABAL_CMD} build --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${BUILD_ARGS} ${BUILD_TARGET} # Generates USE_CABAL= ... line ready to be pasted into the port based on the plan.json file generated by cabal configure. make-use-cabal: check-cabal2tuple @${ECHO_MSG} "===> Processing plan.json" @${_CABAL2TUPLE_CMD} ${WRKSRC} || (${ECHO_CMD} "Did you forget to make cabal-configure ?" ; exit 1) check-cabal: @if ! type ${CABAL_CMD} > /dev/null 2>&1; then \ ${ECHO_MSG} "===> cabal executable not found, install ${CABAL_PORT} or set CABAL_CMD"; exit 1; \ fi; \ check-cabal2tuple: @if ! type ${_CABAL2TUPLE_CMD} > /dev/null 2>&1; then \ ${ECHO_MSG} "===> cabal2tuple executable not found, install \"ports-mgmt/hs-cabal2tuple\""; exit 1; \ fi # Main targets implementation. cabal-post-extract: . if !defined(SKIP_CABAL_EXTRACT) -# Remove the project file as requested . if "${CABAL_PROJECT}" == "remove" +# Remove the project file if requested ${RM} ${WRKSRC}/cabal.project . endif -# Save the original project file so that users can patch them -. if "${CABAL_PROJECT}" == "append" - ${MV} ${WRKSRC}/cabal.project ${WRKSRC}/cabal.project.${PORTNAME} -. endif - +. ifndef(CABAL_PROJECT) @${TEST} ! -f ${WRKSRC}/cabal.project || \ (${ECHO_CMD} "cabal.project file is already present in WRKSRC! Set CABAL_PROJECT variable." && false) +. endif # Move extracted dependencies into ${CABAL_DEPSDIR} directory ${MKDIR} ${CABAL_DEPSDIR} . for package in ${_use_cabal} # Copy revised .cabal file if present . if ${package:C/[^_]*//:S/_//} != "" cp ${DISTDIR}/${DIST_SUBDIR}/${package:C/_[0-9]+//}/revision/${package:C/[^_]*//:S/_//}.cabal `find ${WRKDIR}/${package:C/_[0-9]+//} -name '*.cabal' -depth 1` . endif # Move the dependency source itself cd ${WRKDIR} && \ mv ${package:C/_[0-9]+//} ${CABAL_DEPSDIR}/ . endfor # Create the cabal-install config ${MKDIR} ${CABAL_HOME}/.cabal ${ECHO_CMD} "jobs: ${MAKE_JOBS_NUMBER}" > ${CABAL_HOME}/.cabal/config . endif # SKIP_CABAL_EXTRACT cabal-post-patch: . if !defined(SKIP_CABAL_EXTRACT) @${TEST} ! -f ${CABAL_COOKIE} || \ (${ECHO_CMD} "===> Patching done, skipping cabal-post-patch" && false) -# Create our own cabal.project - ${ECHO_CMD} "packages:" > ${WRKSRC}/cabal.project -. if "${CABAL_PROJECT}" != "append" - ${ECHO_CMD} " ." >> ${WRKSRC}/cabal.project -. endif +# Append our stuff to possibly existing cabal.project.local + ${ECHO_CMD} "" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} "-- added by USES=cabal" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} "packages:" >> ${WRKSRC}/cabal.project.local . for package in ${_use_cabal} - ${ECHO_CMD} " ${CABAL_DEPS_SUBDIR}/${package:C/_[0-9]+//}" >> ${WRKSRC}/cabal.project + ${ECHO_CMD} " ${CABAL_DEPS_SUBDIR}/${package:C/_[0-9]+//}" >> ${WRKSRC}/cabal.project.local . endfor -# Append the (possibly patched) original cabal.project, if requested -. if "${CABAL_PROJECT}" == "append" - ${CAT} ${WRKSRC}/cabal.project.${PORTNAME} >> ${WRKSRC}/cabal.project -. endif . endif # SKIP_CABAL_EXTRACT && !CABAL_COOKIE cabal-pre-configure: # Generate .cabal file with hpack if requested . if ${cabal_ARGS:Mhpack} cd ${WRKSRC} && ${SETENV} HOME=${CABAL_HOME} hpack . endif . if !target(do-build) do-build: cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} ${CABAL_CMD} new-build --offline --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET} + ${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} ${CABAL_CMD} build --offline --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET} . endif . if !target(do-install) do-install: . if defined(CABAL_WRAPPER_SCRIPTS) && !empty(CABAL_WRAPPER_SCRIPTS) ${MKDIR} ${STAGEDIR}${PREFIX}/${CABAL_LIBEXEC} . endif . for exe in ${CABAL_EXECUTABLES} . if defined(CABAL_WRAPPER_SCRIPTS) && ${CABAL_WRAPPER_SCRIPTS:M${exe}} ${INSTALL_PROGRAM} \ $$(find ${WRKSRC}/dist-newstyle -name ${exe} -type f -perm +111) \ ${STAGEDIR}${PREFIX}/${CABAL_LIBEXEC}/${exe} ${ECHO_CMD} '#!/bin/sh' > ${STAGEDIR}${PREFIX}/bin/${exe} ${ECHO_CMD} '' >> ${STAGEDIR}${PREFIX}/bin/${exe} ${ECHO_CMD} 'export ${exe:S/-/_/g}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe} . for dep in ${${exe}_DATADIR_VARS} ${ECHO_CMD} 'export ${dep:S/-/_/g}_datadir=${DATADIR}' >> ${STAGEDIR}${PREFIX}/bin/${exe} . endfor ${ECHO_CMD} '' >> ${STAGEDIR}${PREFIX}/bin/${exe} ${ECHO_CMD} 'exec ${PREFIX}/${CABAL_LIBEXEC}/${exe} "$$@"' >> ${STAGEDIR}${PREFIX}/bin/${exe} ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${exe} . else ${INSTALL_PROGRAM} \ $$(find ${WRKSRC}/dist-newstyle -name ${exe} -type f -perm +111) \ ${STAGEDIR}${PREFIX}/bin/${exe} . endif . endfor . endif . if !defined(SKIP_CABAL_PLIST) cabal-post-install-script: . for exe in ${CABAL_EXECUTABLES} ${ECHO_CMD} 'bin/${exe}' >> ${TMPPLIST} . if defined(CABAL_WRAPPER_SCRIPTS) && ${CABAL_WRAPPER_SCRIPTS:M${exe}} ${ECHO_CMD} '${CABAL_LIBEXEC}/${exe}' >> ${TMPPLIST} . endif . endfor . endif .endif diff --git a/devel/elm-format/Makefile b/devel/elm-format/Makefile index 430e6b111767..9ab7c3d6a53b 100644 --- a/devel/elm-format/Makefile +++ b/devel/elm-format/Makefile @@ -1,68 +1,67 @@ PORTNAME= elm-format PORTVERSION= 0.8.5 CATEGORIES= devel textproc MAINTAINER= haskell@FreeBSD.org COMMENT= Elm source code formatter based on the official Elm Style Guide WWW= https://github.com/avh4/elm-format/ LICENSE= BSD3CLAUSE USES= cabal USE_GITHUB= yes GH_ACCOUNT= avh4 USE_CABAL= HUnit-1.6.2.0 \ QuickCheck-2.14.2 \ ansi-terminal-0.10.3 \ ansi-wl-pprint-0.6.9_3 \ bimap-0.3.3 \ call-stack-0.4.0 \ clock-0.8.3 \ colour-2.3.6 \ concatenative-1.0.1 \ hashable-1.4.0.2 \ hspec-2.10.0 \ hspec-core-2.10.0 \ hspec-discover-2.10.0 \ hspec-expectations-0.8.2 \ hspec-golden-0.2.0.0 \ indents-0.3.3 \ json-0.10_1 \ logict-0.8.0.0 \ optparse-applicative-0.15.1.0_1 \ primitive-0.7.4.0 \ quickcheck-io-0.2.0 \ random-1.2.1.1 \ relude-1.1.0.0 \ setenv-0.1.1.3_1 \ smallcheck-1.2.1_1 \ split-0.2.3.4_2 \ splitmix-0.1.0.4 \ syb-0.7.2.1 \ tagged-0.8.6.1_2 \ tasty-1.4.2.3 \ tasty-hspec-1.2.0.1 \ tasty-hunit-0.10.0.3 \ tasty-quickcheck-0.10.2 \ tasty-smallcheck-0.8.2_1 \ tf-random-0.5 \ transformers-compat-0.6.6 \ unbounded-delays-0.1.1.1 \ unordered-containers-0.2.19.1 \ wcwidth-0.0.2 CABAL_PROJECT= append post-extract: ${RM} ${WRKSRC}/cabal.project.freeze ${ECHO} "module Build_elm_format where" > ${WRKSRC}/src/Build_elm_format.hs ${ECHO} "gitDescribe :: String" >> ${WRKSRC}/src/Build_elm_format.hs ${ECHO} "gitDescribe = \"${PORTNAME}\"" >> ${WRKSRC}/src/Build_elm_format.hs post-patch: @${REINPLACE_CMD} -e '/with-compiler: ghc-8.10.4/d' \ - ${WRKSRC}/cabal.project.${PORTNAME} || ${TRUE} - ${RM} ${WRKSRC}/cabal.config + ${WRKSRC}/cabal.project || ${TRUE} .include diff --git a/devel/hs-haskell-language-server/files/patch-cabal.project.haskell-language-server b/devel/hs-haskell-language-server/files/patch-cabal.project.haskell-language-server index b219ff162b34..ac3bf9580b99 100644 --- a/devel/hs-haskell-language-server/files/patch-cabal.project.haskell-language-server +++ b/devel/hs-haskell-language-server/files/patch-cabal.project.haskell-language-server @@ -1,23 +1,23 @@ ---- cabal.project.haskell-language-server.orig 2022-09-14 06:08:48 UTC -+++ cabal.project.haskell-language-server +--- cabal.project.orig 2022-09-14 06:08:48 UTC ++++ cabal.project @@ -62,20 +62,6 @@ constraints: ghc-lib-parser-ex -auto, stylish-haskell +ghc-lib --- This is benign and won't affect our ability to release to Hackage, --- because we only depend on `ekg-json` when a non-default flag --- is turned on. --- DELETE MARKER FOR CI --- centos7 has an old version of git which cabal doesn't --- support. We delete these lines in gitlab ci to workaround --- this issue, as this is not necessary to build our binaries. -source-repository-package - type:git - location: https://github.com/pepeiborra/ekg-json - tag: 7a0af7a8fd38045fd15fb13445bdcc7085325460 - -- https://github.com/tibbe/ekg-json/pull/12 --- END DELETE - allow-newer: -- ghc-9.4 Chart-diagrams:lens, diff --git a/net-p2p/cardano-db-sync/Makefile b/net-p2p/cardano-db-sync/Makefile index 27c09df523f9..c56d00e06477 100644 --- a/net-p2p/cardano-db-sync/Makefile +++ b/net-p2p/cardano-db-sync/Makefile @@ -1,434 +1,434 @@ PORTNAME= cardano-db-sync PORTVERSION= 13.0.5 PORTREVISION= 2 CATEGORIES= net-p2p databases PATCH_SITES= https://arrowd.name/:freebsd_compat PATCHFILES= 1210.patch:freebsd_compat MAINTAINER= arrowd@FreeBSD.org COMMENT= PostgreSQL-driven Cardano blockchain data tool WWW= https://cardano.org/ LICENSE= APACHE20 BUILD_DEPENDS= ghc-8.10.7:lang/ghc810 RUN_DEPENDS= cardano-node:net-p2p/cardano-node \ bash:shells/bash USES= autoreconf:build cabal gmake libtool pkgconfig pgsql:14 WANT_PGSQL= server USE_GITHUB= yes GH_ACCOUNT= input-output-hk GH_TUPLE= HeinrichApfelmus:threepenny-gui:e3bb8283fc7d2e8aa374eea29426002e8dcd67a8:threepenny_gui/dist-newstyle/src/threepenn_-92d8c1b5dcc24f1d \ haskell-works:hw-aeson:6dc309ff4260c71d9a18c220cbae8aa1dfe2a02e:hw_aeson/dist-newstyle/src/hw-aeson-446b671374758b54 \ input-output-hk:Win32-network:3825d3abf75f83f406c1f7161883c438dac7277d:Win32_network/dist-newstyle/src/Win32-net_-5b9448ed2f179086 \ input-output-hk:cardano-base:0f3a867493059e650cda69e20a5cbf1ace289a57:cardano_base/dist-newstyle/src/cardano-b_-c8db9876882556ed \ input-output-hk:cardano-config:e9de7a2cf70796f6ff26eac9f9540184ded0e4e6:cardano_config/dist-newstyle/src/cardano-c_-cddf0cd12b1de19c \ input-output-hk:cardano-crypto:f73079303f663e028288f9f4a9e08bcca39a923e:cardano_crypto/dist-newstyle/src/cardano-c_-253fd88117badd8f \ input-output-hk:cardano-ledger:c7c63dabdb215ebdaed8b63274965966f2bf408f:cardano_ledger/dist-newstyle/src/cardano-l_-516df916d2b8a647 \ input-output-hk:cardano-node:950c4e222086fed5ca53564e642434ce9307b0b9:cardano_node/dist-newstyle/src/cardano-n_-156536db9a177fb0 \ input-output-hk:cardano-prelude:bb4ed71ba8e587f672d06edf9d2e376f4b055555:cardano_prelude/dist-newstyle/src/cardano-p_-cae013aee062332a \ input-output-hk:ekg-forward:297cd9db5074339a2fb2e5ae7d0780debb670c63:ekg_forward/dist-newstyle/src/ekg-forwa_-439c40ba89351585 \ input-output-hk:flat:ee59880f47ab835dbd73bea0847dab7869fc20d8:flat/dist-newstyle/src/flat-9eba9ae2d4d970a \ input-output-hk:goblins:cde90a2b27f79187ca8310b6549331e59595e7ba:goblins/dist-newstyle/src/goblins-67efee8d68d79164 \ input-output-hk:hedgehog-extras:714ee03a5a786a05fc57ac5d2f1c2edce4660d85:hedgehog_extras/dist-newstyle/src/hedgehog-_-586c3da22a5ce29b \ input-output-hk:io-sim:f4183f274d88d0ad15817c7052df3a6a8b40e6dc:io_sim/dist-newstyle/src/io-sim-5409b7204b6dc065 \ input-output-hk:iohk-monitoring-framework:066f7002aac5a0efc20e49643fea45454f226caa:iohk_monitoring_framework/dist-newstyle/src/iohk-moni_-1defcf7452717dc5 \ input-output-hk:optparse-applicative:7497a29cb998721a9068d5725d49461f2bba0e7a:optparse_applicative/dist-newstyle/src/optparse-_-3cd678a226e0281a \ input-output-hk:ouroboros-network:cb9eba406ceb2df338d8384b35c8addfe2067201:ouroboros_network/dist-newstyle/src/ouroboros_-e51b1e265e7bb521 \ input-output-hk:plutus:a56c96598b4b25c9e28215214d25189331087244:plutus/dist-newstyle/src/plutus-5e27fa0483bd0166 \ input-output-hk:typed-protocols:181601bc3d9e9d21a671ce01e0b481348b3ca104:typed_protocols/dist-newstyle/src/typed-pro_-3f57698e3fbfd050 \ vshabanov:ekg-json:00ebe7211c981686e65730b7144fbf5350462608:ekg_json/dist-newstyle/src/ekg-json-e51d7dff12d02a95 GH_TUPLE+= input-output-hk:libsodium:${LIBSODIUM_HASH}:sodium \ bitcoin-core:secp256k1:${SECP256K1_HASH}:secp CARDANO_DB_SYNC_HASH= 8ad98d48e0068f3768d48e18fdcbe254037cba3b LIBSODIUM_HASH= 66f017f16633f2060db25e17c170c2afa0f2a8a1 # Obtained from https://github.com/input-output-hk/cardano-node/blob/master/.github/workflows/github-page.yml#L21 SECP256K1_HASH= ac83be33d0956faf6b7f61a60ab524ef7d6a473a USE_RC_SUBR= cardano_db_sync MAKE_ENV= PKG_CONFIG_PATH=${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/ LIBS_PREFIX= ${WRKDIR}/libs_install BINARY_ALIAS= git=true USE_CABAL= Glob-0.10.2_3 \ HUnit-1.6.2.0 \ ListLike-4.7.6 \ MonadRandom-0.5.3_2 \ OneTuple-0.3.1_3 \ Only-0.1_1 \ QuickCheck-2.14.2 \ SHA-1.6.4.4 \ StateVar-1.2.2 \ Stream-0.4.7.2 \ Unique-0.4.7.9 \ abstract-deque-0.3 \ abstract-par-0.3.3 \ adjunctions-4.4_2 \ aeson-2.0.2.0_1 \ aeson-pretty-0.8.9_2 \ algebraic-graphs-0.6_1 \ ansi-terminal-0.11.1 \ ansi-wl-pprint-0.6.9_3 \ ap-normalize-0.1.0.1 \ appar-0.1.8 \ asn1-encoding-0.9.6_2 \ asn1-parse-0.9.5 \ asn1-types-0.3.4 \ assoc-1.0.2_3 \ async-2.2.4_2 \ async-timer-0.1.4.1 \ atomic-primops-0.8.4 \ attoparsec-0.13.2.5_2 \ attoparsec-iso8601-1.0.2.0_3 \ auto-update-0.1.6 \ barbies-2.0.3.1 \ base-compat-0.11.2_1 \ base-compat-batteries-0.11.2 \ base-orphans-0.8.6 \ base16-0.3.1.0 \ base16-bytestring-1.0.2.0 \ base58-bytestring-0.1.0 \ base64-bytestring-1.2.1.0 \ base64-bytestring-type-1.0.1_14 \ basement-0.0.12_2 \ bech32-1.1.2 \ bifunctors-5.5.11_1 \ bimap-0.4.0_1 \ bin-0.1_2 \ binary-orphans-1.0.2_1 \ blaze-builder-0.4.2.2_1 \ blaze-html-0.9.1.2_2 \ blaze-markup-0.8.2.8_3 \ bsb-http-chunked-0.0.0.4_3 \ byteorder-1.0.4 \ bytestring-builder-0.10.8.2.0 \ cabal-doctest-1.0.9_2 \ call-stack-0.4.0 \ canonical-json-0.6.0.0_1 \ case-insensitive-1.2.1.0 \ cassava-0.5.2.0_9 \ cborg-0.2.6.0_2 \ cereal-0.5.8.2_1 \ charset-0.3.9 \ clock-0.8.3 \ cmdargs-0.10.21 \ code-page-0.2.1 \ colour-2.3.6 \ comonad-5.0.8_1 \ composition-prelude-3.0.0.2 \ concurrent-output-1.10.15 \ conduit-1.3.4.2 \ conduit-extra-1.3.5_1 \ connection-0.3.1_1 \ constraints-0.13.3 \ constraints-extras-0.3.2.1_1 \ contravariant-1.5.5 \ cookie-0.4.5 \ criterion-1.5.13.0_2 \ criterion-measurement-0.1.3.0 \ cryptonite-0.27_1 \ data-default-0.7.1.1 \ data-default-class-0.1.2.0 \ data-default-instances-containers-0.0.1 \ data-default-instances-dlist-0.0.1 \ data-default-instances-old-locale-0.0.1 \ data-fix-0.3.2_3 \ dec-0.0.4_1 \ dense-linear-algebra-0.1.0.0 \ dependent-map-0.4.0.0 \ dependent-sum-0.7.1.0_2 \ dependent-sum-template-0.1.1.1 \ deque-0.4.4 \ deriving-aeson-0.2.8_1 \ deriving-compat-0.6 \ dictionary-sharing-0.1.0.0_3 \ digest-0.0.1.3 \ distributive-0.6.2.1_1 \ dlist-1.0 \ dns-3.0.4_1 \ dom-lt-0.2.3 \ easy-file-0.2.2 \ either-5.0.1.1_1 \ ekg-0.4.0.15_8 \ ekg-core-0.1.1.7_2 \ entropy-0.4.1.7_1 \ erf-2.0.0.0 \ esqueleto-3.5.3.0 \ extra-1.7.10 \ fast-logger-3.1.1 \ file-embed-0.0.15.0 \ filelock-0.1.1.5 \ fin-0.1.1_2 \ fingertree-0.1.5.0 \ fmlist-0.9.4 \ foldl-1.4.12_5 \ formatting-6.3.7_2 \ foundation-0.0.26.1_1 \ free-5.1.7_1 \ generic-data-0.9.2.1_1 \ generic-deriving-1.14.1 \ generic-monoid-0.1.0.1_1 \ generic-random-1.5.0.1 \ generics-sop-0.5.1.2_1 \ gray-code-0.3.1 \ groups-0.5.3 \ half-0.3.1 \ happy-1.20.0_1 \ hashable-1.3.5.0_1 \ haskell-lexer-1.1 \ hedgehog-1.1.1_2 \ hedgehog-quickcheck-0.1.1_4 \ hostname-1.0 \ hourglass-0.2.12 \ hsc2hs-0.68.8_1 \ hspec-2.9.4 \ hspec-core-2.9.4 \ hspec-discover-2.9.4 \ hspec-expectations-0.8.2 \ http-api-data-0.4.3_6 \ http-client-0.7.11_1 \ http-client-tls-0.3.6.1 \ http-conduit-2.3.8 \ http-date-0.0.11 \ http-media-0.8.0.0_7 \ http-types-0.12.3 \ http2-3.0.3 \ indexed-profunctors-0.1.1 \ indexed-traversable-0.1.2_2 \ indexed-traversable-instances-0.1.1_1 \ insert-ordered-containers-0.2.5.1_3 \ int-cast-0.2.0.0_4 \ integer-logarithms-1.0.3.1_3 \ invariant-0.5.5 \ io-streams-1.5.2.1_3 \ io-streams-haproxy-1.0.1.0_6 \ iproute-1.7.12 \ js-chart-2.9.4.1 \ kan-extensions-5.2.3 \ katip-0.8.7.0_2 \ lazy-search-0.1.2.1 \ lazysmallcheck-0.6 \ lens-5.1_1 \ libyaml-0.1.2 \ lift-type-0.1.0.1 \ lifted-async-0.10.2.2 \ lifted-base-0.2.3.12 \ list-t-1.0.5.1 \ logict-0.7.0.3_1 \ math-functions-0.3.4.2 \ megaparsec-9.2.0_2 \ memory-0.16.0_1 \ mersenne-random-pure64-0.2.2.0_1 \ microlens-0.4.12.0 \ microlens-mtl-0.2.0.1 \ microlens-th-0.4.3.10_1 \ microstache-1.0.2_3 \ mime-types-0.1.0.9 \ mmorph-1.1.5_1 \ monad-control-1.0.3.1 \ monad-logger-0.3.36_2 \ monad-loops-0.4.3 \ monad-par-0.3.5_2 \ monad-par-extras-0.3.3 \ mono-traversable-1.0.15.3 \ monoidal-containers-0.6.2.0_1 \ moo-1.2 \ mtl-compat-0.2.2 \ mwc-random-0.15.0.2_1 \ network-3.1.2.7 \ network-byte-order-0.1.6_1 \ network-uri-2.6.4.1 \ newtype-0.2.2.0_3 \ nothunks-0.1.3 \ old-locale-1.0.0.7_2 \ old-time-1.1.0.3_2 \ optics-core-0.4 \ optics-extra-0.4_2 \ optics-th-0.4_1 \ optparse-applicative-0.17.0.0 \ optparse-generic-1.4.7_2 \ parallel-3.2.2.0_5 \ parser-combinators-1.3.0 \ parsers-0.12.10_2 \ partial-order-0.2.0.0 \ path-pieces-0.2.1_1 \ pem-0.2.4 \ persistent-2.13.3.0_2 \ persistent-documentation-0.1.0.4 \ persistent-postgresql-2.13.4.0 \ pipes-4.3.16_5 \ postgresql-libpq-0.9.4.3_2 \ postgresql-simple-0.6.4_8 \ pretty-show-1.10 \ pretty-simple-4.0.0.0 \ prettyprinter-1.7.1 \ prettyprinter-ansi-terminal-1.1.3 \ primitive-0.7.3.0_2 \ process-extras-0.7.4 \ profunctors-5.6.2_2 \ prometheus-2.2.3 \ protolude-0.3.0 \ psqueues-0.2.7.3 \ quickcheck-instances-0.3.27_2 \ quickcheck-io-0.2.0 \ quiet-0.2 \ ral-0.1_2 \ random-1.2.1 \ random-shuffle-0.0.4 \ readable-0.3.1 \ recursion-schemes-5.2.2.2_1 \ reducers-3.12.4_2 \ reflection-2.1.6_1 \ regex-base-0.94.0.2_1 \ regex-posix-0.96.0.1_1 \ resource-pool-0.2.3.2 \ resourcet-1.2.4.3_1 \ safe-0.3.19 \ safe-exceptions-0.1.7.2 \ scientific-0.3.7.0_3 \ secp256k1-haskell-0.6.0 \ selective-0.4.2 \ semialign-1.2.0.1_3 \ semigroupoids-5.3.7 \ semigroups-0.20 \ serialise-0.2.4.0_1 \ servant-0.19_4 \ servant-server-0.19_1 \ servant-swagger-1.1.10_5 \ setenv-0.1.1.3_1 \ show-combinators-0.2.0.0_2 \ silently-1.2.5.2 \ simple-sendfile-0.2.30 \ singleton-bool-0.1.5_3 \ size-based-0.1.2.0_1 \ snap-core-1.0.4.2_1 \ snap-server-1.1.2.0_1 \ socks-0.6.1 \ some-1.0.2 \ sop-core-0.5.0.2_1 \ split-0.2.3.4_2 \ splitmix-0.1.0.4_1 \ statistics-0.16.0.1 \ statistics-linreg-0.3 \ stm-chans-3.0.0.6 \ streaming-0.2.3.1 \ streaming-binary-0.2.2.0 \ streaming-bytestring-0.2.1 \ streaming-commons-0.2.2.4 \ strict-0.4.0.1_4 \ strict-list-0.1.6 \ string-conv-0.1.2 \ string-conversions-0.4.0.1 \ swagger2-2.8.2 \ syb-0.7.2.1 \ system-filepath-0.4.14_1 \ tagged-0.8.6.1_3 \ tasty-1.4.2.1_2 \ tasty-expected-failure-0.12.3 \ tasty-golden-2.3.5 \ tasty-hedgehog-1.1.0.0_3 \ tasty-hunit-0.10.0.3 \ tasty-quickcheck-0.10.2 \ tdigest-0.2.1.1_3 \ temporary-1.3 \ terminal-size-0.3.2.1 \ testing-type-modifiers-0.1.0.1 \ text-ansi-0.1.1_4 \ text-short-0.1.5_1 \ tf-random-0.5 \ th-abstraction-0.4.3.0 \ th-compat-0.1.3_1 \ th-expand-syns-0.4.9.0 \ th-extras-0.0.0.6 \ th-lift-0.8.2_2 \ th-lift-instances-0.1.19_1 \ th-orphans-0.13.12_2 \ th-reify-many-0.1.10 \ th-utilities-0.2.4.3 \ these-1.1.1.1_6 \ time-compat-1.9.6.1_4 \ time-manager-0.0.0 \ time-units-1.0.0 \ tls-1.5.7 \ transformers-base-0.4.6 \ transformers-compat-0.6.6 \ transformers-except-0.1.2 \ tree-diff-0.2.1.1_2 \ type-equality-1_4 \ typed-process-0.2.8.0_1 \ typerep-map-0.5.0.0 \ unagi-chan-0.4.1.4 \ unbounded-delays-0.1.1.1 \ unix-bytestring-0.3.7.6 \ unix-compat-0.5.4_2 \ unix-time-0.4.7 \ unliftio-0.2.21.0 \ unliftio-core-0.2.0.1_2 \ unordered-containers-0.2.16.0 \ utf8-string-1.0.2 \ uuid-types-1.0.5_3 \ validation-selective-0.1.0.1 \ vault-0.3.1.5_2 \ vector-0.12.3.1_2 \ vector-algorithms-0.8.0.4_2 \ vector-binary-instances-0.2.5.2_2 \ vector-th-unbox-0.2.2_3 \ void-0.7.3 \ wai-3.2.3 \ wai-app-static-3.1.7.2_1 \ wai-extra-3.1.8 \ wai-logger-2.4.0 \ warp-3.3.19 \ wcwidth-0.0.2 \ websockets-0.12.7.3_1 \ websockets-snap-0.10.3.1 \ wide-word-0.1.1.2_4 \ witherable-0.4.2_3 \ wl-pprint-annotated-0.1.0.1_1 \ word8-0.1.3 \ x509-1.7.6 \ x509-store-1.6.9 \ x509-system-1.6.7 \ x509-validation-1.6.12 \ yaml-0.11.7.0 \ zlib-0.6.2.3_1 \ zlib-bindings-0.1.1.5_2 CABAL_PROJECT= append CABAL_EXECUTABLES= cardano-db-sync cardano-db-tool post-patch: ${REINPLACE_CMD} -e 's/$$(gitRevFromGit)/"${CARDANO_DB_SYNC_HASH}"/' \ -e '/Cardano.Db.RevFromGit/d' \ ${WRKSRC}/cardano-db/src/Cardano/Db/Version.hs - ${ECHO_CMD} "package *" >> ${WRKSRC}/cabal.project.${PORTNAME} - ${ECHO_CMD} " extra-include-dirs: ${LIBS_PREFIX}${PREFIX}/include" >> ${WRKSRC}/cabal.project.${PORTNAME} - ${ECHO_CMD} " extra-lib-dirs: ${LIBS_PREFIX}${PREFIX}/lib" >> ${WRKSRC}/cabal.project.${PORTNAME} + ${ECHO_CMD} "package *" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} " extra-include-dirs: ${LIBS_PREFIX}${PREFIX}/include" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} " extra-lib-dirs: ${LIBS_PREFIX}${PREFIX}/lib" >> ${WRKSRC}/cabal.project.local pre-build: cd ${WRKSRC_sodium} && ./autogen.sh cd ${WRKSRC_sodium} && ./configure --prefix=${PREFIX} --with-pthreads --disable-shared cd ${WRKSRC_sodium} && ${GMAKE} -j${MAKE_JOBS_NUMBER} && ${GMAKE} DESTDIR=${LIBS_PREFIX} ${INSTALL_TARGET} ${MKDIR} ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig ${MV} ${LIBS_PREFIX}${PREFIX}/lib/pkgconfig/libsodium.pc ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/libsodium.pc cd ${WRKSRC_secp} && ./autogen.sh cd ${WRKSRC_secp} && ./configure --prefix=${PREFIX} --enable-module-schnorrsig --enable-experimental --with-pic --disable-shared cd ${WRKSRC_secp} && ${GMAKE} -j${MAKE_JOBS_NUMBER} && ${GMAKE} DESTDIR=${LIBS_PREFIX} ${INSTALL_TARGET} ${MV} ${LIBS_PREFIX}${PREFIX}/lib/pkgconfig/libsecp256k1.pc ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/libsecp256k1.pc post-install: ${MV} ${WRKSRC}/scripts/postgresql-setup.sh ${WRKSRC}/scripts/cardano-db-sync-pgsql-setup ${INSTALL_SCRIPT} ${WRKSRC}/scripts/cardano-db-sync-pgsql-setup ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/schema cd ${WRKSRC}/schema && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/schema .include diff --git a/net-p2p/cardano-node/Makefile b/net-p2p/cardano-node/Makefile index f6ff9d3c3fc1..8236e90f222a 100644 --- a/net-p2p/cardano-node/Makefile +++ b/net-p2p/cardano-node/Makefile @@ -1,421 +1,421 @@ PORTNAME= cardano-node PORTVERSION= 1.35.3 PORTREVISION= 2 CATEGORIES= net-p2p MAINTAINER= arrowd@FreeBSD.org COMMENT= Core component of the Cardano decentralized blockchain WWW= https://cardano.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ghc-8.10.7:lang/ghc810 USES= autoreconf:build cabal gmake libtool pkgconfig USE_GITHUB= yes GH_ACCOUNT= input-output-hk GH_TUPLE= denisshevchenko:threepenny-gui:4ec92ded05ccf59ba4a874be4b404ac1b6d666b6:threepenny_gui/dist-newstyle/src/threepenn_-bd6c9d7cf9bd56f0 \ haskell-works:hw-aeson:6dc309ff4260c71d9a18c220cbae8aa1dfe2a02e:hw_aeson/dist-newstyle/src/hw-aeson-446b671374758b54 \ input-output-hk:Win32-network:3825d3abf75f83f406c1f7161883c438dac7277d:Win32_network/dist-newstyle/src/Win32-net_-5b9448ed2f179086 \ input-output-hk:cardano-base:0f3a867493059e650cda69e20a5cbf1ace289a57:cardano_base/dist-newstyle/src/cardano-b_-c8db9876882556ed \ input-output-hk:cardano-crypto:f73079303f663e028288f9f4a9e08bcca39a923e:cardano_crypto/dist-newstyle/src/cardano-c_-253fd88117badd8f \ input-output-hk:cardano-ledger:c7c63dabdb215ebdaed8b63274965966f2bf408f:cardano_ledger/dist-newstyle/src/cardano-l_-516df916d2b8a647 \ input-output-hk:cardano-prelude:bb4ed71ba8e587f672d06edf9d2e376f4b055555:cardano_prelude/dist-newstyle/src/cardano-p_-cae013aee062332a \ input-output-hk:ekg-forward:297cd9db5074339a2fb2e5ae7d0780debb670c63:ekg_forward/dist-newstyle/src/ekg-forwa_-439c40ba89351585 \ input-output-hk:flat:ee59880f47ab835dbd73bea0847dab7869fc20d8:flat/dist-newstyle/src/flat-9eba9ae2d4d970a \ input-output-hk:goblins:cde90a2b27f79187ca8310b6549331e59595e7ba:goblins/dist-newstyle/src/goblins-67efee8d68d79164 \ input-output-hk:hedgehog-extras:714ee03a5a786a05fc57ac5d2f1c2edce4660d85:hedgehog_extras/dist-newstyle/src/hedgehog-_-586c3da22a5ce29b \ input-output-hk:io-sim:f4183f274d88d0ad15817c7052df3a6a8b40e6dc:io_sim/dist-newstyle/src/io-sim-5409b7204b6dc065 \ input-output-hk:iohk-monitoring-framework:066f7002aac5a0efc20e49643fea45454f226caa:iohk_monitoring_framework/dist-newstyle/src/iohk-moni_-1defcf7452717dc5 \ input-output-hk:optparse-applicative:7497a29cb998721a9068d5725d49461f2bba0e7a:optparse_applicative/dist-newstyle/src/optparse-_-3cd678a226e0281a \ input-output-hk:ouroboros-network:cb9eba406ceb2df338d8384b35c8addfe2067201:ouroboros_network/dist-newstyle/src/ouroboros_-e51b1e265e7bb521 \ input-output-hk:plutus:a56c96598b4b25c9e28215214d25189331087244:plutus/dist-newstyle/src/plutus-5e27fa0483bd0166 \ input-output-hk:typed-protocols:181601bc3d9e9d21a671ce01e0b481348b3ca104:typed_protocols/dist-newstyle/src/typed-pro_-3f57698e3fbfd050 \ vshabanov:ekg-json:00ebe7211c981686e65730b7144fbf5350462608:ekg_json/dist-newstyle/src/ekg-json-e51d7dff12d02a95 GH_TUPLE+= input-output-hk:libsodium:${LIBSODIUM_HASH}:sodium \ bitcoin-core:secp256k1:${SECP256K1_HASH}:secp CARDANO_NODE_HASH= 950c4e222086fed5ca53564e642434ce9307b0b9 LIBSODIUM_HASH= 66f017f16633f2060db25e17c170c2afa0f2a8a1 # Obtained from https://github.com/input-output-hk/cardano-node/blob/master/.github/workflows/github-page.yml#L21 SECP256K1_HASH= ac83be33d0956faf6b7f61a60ab524ef7d6a473a USE_RC_SUBR= cardano_node MAKE_ENV= PKG_CONFIG_PATH=${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/ LIBS_PREFIX= ${WRKDIR}/libs_install BINARY_ALIAS= git=true USERS= cardano GROUPS= cardano USE_CABAL= Diff-0.4.1 \ Glob-0.10.2_3 \ HUnit-1.6.2.0 \ Histogram-0.1.0.2 \ HsOpenSSL-0.11.7.2_3 \ ListLike-4.7.6 \ MonadRandom-0.5.3_2 \ OneTuple-0.3.1_3 \ Only-0.1_1 \ QuickCheck-2.14.2 \ SHA-1.6.4.4 \ SafeSemaphore-0.10.1_1 \ StateVar-1.2.2 \ Stream-0.4.7.2 \ Unique-0.4.7.9 \ abstract-deque-0.3 \ abstract-par-0.3.3 \ adjunctions-4.4_2 \ aeson-2.0.2.0_1 \ aeson-pretty-0.8.9_2 \ algebraic-graphs-0.6_1 \ ansi-terminal-0.11.1 \ ansi-wl-pprint-0.6.9_3 \ ap-normalize-0.1.0.1 \ appar-0.1.8 \ asn1-encoding-0.9.6_2 \ asn1-parse-0.9.5 \ asn1-types-0.3.4 \ assoc-1.0.2_3 \ async-2.2.4_1 \ async-extras-0.1.3.2 \ async-timer-0.1.4.1 \ atomic-primops-0.8.4 \ attoparsec-0.13.2.5_2 \ attoparsec-iso8601-1.0.2.0_3 \ auto-update-0.1.6 \ barbies-2.0.3.1 \ base-compat-0.11.2_1 \ base-compat-batteries-0.11.2 \ base-orphans-0.8.6 \ base16-0.3.1.0 \ base16-bytestring-1.0.2.0 \ base58-bytestring-0.1.0 \ base64-bytestring-1.2.1.0 \ base64-bytestring-type-1.0.1_14 \ basement-0.0.12_1 \ bech32-1.1.2 \ bifunctors-5.5.11_1 \ bimap-0.4.0_1 \ bin-0.1_2 \ binary-orphans-1.0.2_1 \ blaze-builder-0.4.2.2_1 \ blaze-html-0.9.1.2_2 \ blaze-markup-0.8.2.8_2 \ bsb-http-chunked-0.0.0.4_3 \ byteorder-1.0.4 \ bytestring-builder-0.10.8.2.0 \ cabal-doctest-1.0.9_2 \ call-stack-0.4.0 \ canonical-json-0.6.0.0_1 \ case-insensitive-1.2.1.0 \ cassava-0.5.2.0_9 \ cborg-0.2.6.0_2 \ cereal-0.5.8.2_1 \ charset-0.3.9 \ clock-0.8.3 \ cmdargs-0.10.21 \ code-page-0.2.1 \ colour-2.3.6 \ comonad-5.0.8_1 \ composition-prelude-3.0.0.2 \ concurrent-output-1.10.15 \ conduit-1.3.4.2 \ connection-0.3.1_1 \ constraints-0.13.3 \ constraints-extras-0.3.2.1 \ contravariant-1.5.5 \ cookie-0.4.5 \ criterion-1.5.13.0_2 \ criterion-measurement-0.1.3.0 \ cryptonite-0.27_1 \ data-accessor-0.2.3 \ data-accessor-transformers-0.2.1.7 \ data-default-0.7.1.1 \ data-default-class-0.1.2.0 \ data-default-instances-containers-0.0.1 \ data-default-instances-dlist-0.0.1 \ data-default-instances-old-locale-0.0.1 \ data-fix-0.3.2_3 \ dec-0.0.4_1 \ dense-linear-algebra-0.1.0.0 \ dependent-map-0.4.0.0 \ dependent-sum-0.7.1.0_2 \ dependent-sum-template-0.1.1.1 \ deque-0.4.4 \ deriving-aeson-0.2.8_1 \ deriving-compat-0.6 \ dictionary-sharing-0.1.0.0_3 \ digest-0.0.1.3 \ distributive-0.6.2.1_1 \ dlist-1.0 \ dns-3.0.4_1 \ dom-lt-0.2.3 \ easy-file-0.2.2 \ either-5.0.1.1_1 \ ekg-0.4.0.15_8 \ ekg-core-0.1.1.7_2 \ entropy-0.4.1.7 \ erf-2.0.0.0 \ extra-1.7.10 \ fast-logger-3.1.1 \ fgl-5.7.0.3 \ file-embed-0.0.15.0 \ filelock-0.1.1.5 \ fin-0.1.1_2 \ fingertree-0.1.5.0 \ fmlist-0.9.4 \ foldl-1.4.12_4 \ formatting-6.3.7_2 \ foundation-0.0.26.1_1 \ free-5.1.7_1 \ generic-data-0.9.2.1 \ generic-deriving-1.14.1 \ generic-monoid-0.1.0.1_1 \ generic-random-1.5.0.1 \ gnuplot-0.5.7 \ graphviz-2999.20.1.0 \ gray-code-0.3.1 \ groups-0.5.3 \ half-0.3.1 \ happy-1.20.0_1 \ hashable-1.3.5.0_1 \ haskell-lexer-1.1 \ haskell-src-exts-1.23.1 \ hedgehog-1.1.1_2 \ hedgehog-corpus-0.2.0 \ hedgehog-quickcheck-0.1.1_3 \ hostname-1.0 \ hourglass-0.2.12 \ hsc2hs-0.68.8_1 \ hspec-2.9.4 \ hspec-core-2.9.4 \ hspec-discover-2.9.4 \ hspec-expectations-0.8.2 \ http-api-data-0.4.3_6 \ http-client-0.7.11_1 \ http-client-tls-0.3.6.1 \ http-date-0.0.11 \ http-media-0.8.0.0_6 \ http-types-0.12.3 \ http2-3.0.3 \ indexed-traversable-0.1.2_2 \ indexed-traversable-instances-0.1.1_1 \ int-cast-0.2.0.0_4 \ integer-logarithms-1.0.3.1_3 \ invariant-0.5.5 \ io-streams-1.5.2.1_2 \ io-streams-haproxy-1.0.1.0_5 \ iproute-1.7.12 \ ixset-typed-0.5 \ js-chart-2.9.4.1 \ kan-extensions-5.2.3 \ katip-0.8.7.0_2 \ lazy-search-0.1.2.1 \ lazysmallcheck-0.6 \ lens-5.1_1 \ libyaml-0.1.2 \ lifted-async-0.10.2.2 \ lifted-base-0.2.3.12 \ list-t-1.0.5.1 \ logict-0.7.0.3_1 \ math-functions-0.3.4.2 \ megaparsec-9.2.0_2 \ memory-0.16.0_1 \ mersenne-random-pure64-0.2.2.0_1 \ microlens-0.4.12.0 \ microlens-mtl-0.2.0.1 \ microlens-th-0.4.3.10 \ microstache-1.0.2_3 \ mime-types-0.1.0.9 \ mmorph-1.1.5_1 \ monad-control-1.0.3.1 \ monad-par-0.3.5_2 \ monad-par-extras-0.3.3 \ mono-traversable-1.0.15.3 \ monoidal-containers-0.6.2.0_1 \ moo-1.2 \ mtl-compat-0.2.2 \ mwc-random-0.15.0.2_1 \ network-3.1.2.7 \ network-byte-order-0.1.6_1 \ network-uri-2.6.4.1 \ newtype-0.2.2.0_3 \ nothunks-0.1.3 \ old-locale-1.0.0.7_2 \ old-time-1.1.0.3_2 \ openssl-streams-1.2.3.0_1 \ optparse-applicative-0.17.0.0 \ optparse-generic-1.4.7_2 \ parallel-3.2.2.0_5 \ parser-combinators-1.3.0 \ parsers-0.12.10_2 \ partial-order-0.2.0.0 \ pem-0.2.4 \ pipes-4.3.16_3 \ polyparse-1.13_5 \ pretty-show-1.10 \ pretty-simple-4.0.0.0 \ prettyprinter-1.7.1 \ prettyprinter-ansi-terminal-1.1.3 \ primitive-0.7.3.0_2 \ process-extras-0.7.4 \ profunctors-5.6.2_2 \ prometheus-2.2.3 \ protolude-0.3.0 \ psqueues-0.2.7.3 \ quickcheck-instances-0.3.27_2 \ quickcheck-io-0.2.0 \ quiet-0.2 \ ral-0.1_2 \ random-1.2.1 \ random-shuffle-0.0.4 \ readable-0.3.1 \ recursion-schemes-5.2.2.2 \ reducers-3.12.4_2 \ reflection-2.1.6_1 \ regex-base-0.94.0.2_1 \ regex-posix-0.96.0.1_1 \ resourcet-1.2.4.3_1 \ safe-0.3.19 \ safe-exceptions-0.1.7.2 \ safecopy-0.10.4.2_4 \ scientific-0.3.7.0_3 \ secp256k1-haskell-0.6.0 \ selective-0.4.2 \ semialign-1.2.0.1_3 \ semigroupoids-5.3.7 \ semigroups-0.20 \ serialise-0.2.4.0_1 \ servant-0.19_4 \ servant-server-0.19_1 \ setenv-0.1.1.3_1 \ show-combinators-0.2.0.0_2 \ simple-sendfile-0.2.30 \ singleton-bool-0.1.5_3 \ size-based-0.1.2.0_1 \ snap-blaze-0.2.1.5 \ snap-core-1.0.4.2_1 \ snap-server-1.1.2.0_1 \ socks-0.6.1 \ some-1.0.2 \ sop-core-0.5.0.2 \ split-0.2.3.4_2 \ splitmix-0.1.0.4_1 \ statistics-0.16.0.1 \ statistics-linreg-0.3 \ streaming-0.2.3.1 \ streaming-binary-0.2.2.0 \ streaming-bytestring-0.2.1 \ streaming-commons-0.2.2.4 \ strict-0.4.0.1_4 \ strict-list-0.1.6 \ string-conv-0.1.2 \ string-conversions-0.4.0.1 \ string-qq-0.0.4 \ syb-0.7.2.1 \ system-filepath-0.4.14_1 \ tagged-0.8.6.1_3 \ tasty-1.4.2.1_2 \ tasty-expected-failure-0.12.3 \ tasty-golden-2.3.5 \ tasty-hedgehog-1.1.0.0_3 \ tasty-hunit-0.10.0.3 \ tasty-quickcheck-0.10.2 \ tasty-th-0.1.7 \ tdigest-0.2.1.1_3 \ temporary-1.3 \ terminal-size-0.3.2.1 \ testing-type-modifiers-0.1.0.1 \ text-short-0.1.5_1 \ tf-random-0.5 \ th-abstraction-0.4.3.0 \ th-compat-0.1.3_1 \ th-expand-syns-0.4.9.0 \ th-extras-0.0.0.6 \ th-lift-0.8.2_2 \ th-lift-instances-0.1.19_1 \ th-orphans-0.13.12_2 \ th-reify-many-0.1.10 \ th-utilities-0.2.4.3 \ these-1.1.1.1_6 \ time-compat-1.9.6.1_4 \ time-manager-0.0.0 \ time-units-1.0.0 \ tls-1.5.7 \ transformers-base-0.4.6 \ transformers-compat-0.6.6 \ transformers-except-0.1.2 \ tree-diff-0.2.1.1_2 \ type-equality-1_4 \ typed-process-0.2.8.0_1 \ typerep-map-0.5.0.0 \ unagi-chan-0.4.1.4 \ unbounded-delays-0.1.1.1 \ unix-bytestring-0.3.7.6 \ unix-compat-0.5.4_1 \ unix-time-0.4.7 \ unliftio-0.2.21.0 \ unliftio-core-0.2.0.1_2 \ unordered-containers-0.2.16.0 \ utf8-string-1.0.2 \ utility-ht-0.0.16 \ uuid-types-1.0.5_3 \ validation-selective-0.1.0.1 \ vault-0.3.1.5_2 \ vector-0.12.3.1_2 \ vector-algorithms-0.8.0.4_2 \ vector-binary-instances-0.2.5.2_2 \ vector-th-unbox-0.2.2_3 \ void-0.7.3 \ wai-3.2.3 \ wai-app-static-3.1.7.2_1 \ wai-extra-3.1.8 \ wai-logger-2.4.0 \ warp-3.3.19 \ wcwidth-0.0.2 \ websockets-0.12.7.3_1 \ websockets-snap-0.10.3.1 \ witherable-0.4.2_3 \ wl-pprint-annotated-0.1.0.1_1 \ wl-pprint-text-1.2.0.2 \ word8-0.1.3 \ x509-1.7.6 \ x509-store-1.6.9 \ x509-system-1.6.7 \ x509-validation-1.6.12 \ yaml-0.11.7.0 \ zlib-0.6.2.3_1 \ zlib-bindings-0.1.1.5_2 CABAL_PROJECT= append CABAL_EXECUTABLES= cardano-node cardano-cli cardano-submit-api cardano-tracer NOT_FOR_ARCHS= i386 post-patch: ${REINPLACE_CMD} -e 's/$$(gitRevFromGit)/"${CARDANO_NODE_HASH}"/' \ -e '/Cardano.Git.RevFromGit/d' \ ${WRKSRC}/cardano-git-rev/src/Cardano/Git/Rev.hs - ${ECHO_CMD} "package *" >> ${WRKSRC}/cabal.project.${PORTNAME} - ${ECHO_CMD} " extra-include-dirs: ${LIBS_PREFIX}${PREFIX}/include" >> ${WRKSRC}/cabal.project.${PORTNAME} - ${ECHO_CMD} " extra-lib-dirs: ${LIBS_PREFIX}${PREFIX}/lib" >> ${WRKSRC}/cabal.project.${PORTNAME} + ${ECHO_CMD} "package *" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} " extra-include-dirs: ${LIBS_PREFIX}${PREFIX}/include" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} " extra-lib-dirs: ${LIBS_PREFIX}${PREFIX}/lib" >> ${WRKSRC}/cabal.project.local pre-build: cd ${WRKSRC_sodium} && ./autogen.sh cd ${WRKSRC_sodium} && ./configure --prefix=${PREFIX} --with-pthreads --disable-shared cd ${WRKSRC_sodium} && ${GMAKE} -j${MAKE_JOBS_NUMBER} && ${GMAKE} DESTDIR=${LIBS_PREFIX} ${INSTALL_TARGET} ${MKDIR} ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig ${MV} ${LIBS_PREFIX}${PREFIX}/lib/pkgconfig/libsodium.pc ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/libsodium.pc cd ${WRKSRC_secp} && ./autogen.sh cd ${WRKSRC_secp} && ./configure --prefix=${PREFIX} --enable-module-schnorrsig --enable-experimental --with-pic --disable-shared cd ${WRKSRC_secp} && ${GMAKE} -j${MAKE_JOBS_NUMBER} && ${GMAKE} DESTDIR=${LIBS_PREFIX} ${INSTALL_TARGET} ${MV} ${LIBS_PREFIX}${PREFIX}/lib/pkgconfig/libsecp256k1.pc ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/libsecp256k1.pc .include diff --git a/net-p2p/ogmios/Makefile b/net-p2p/ogmios/Makefile index a788cadab76e..b08aa498d4f2 100644 --- a/net-p2p/ogmios/Makefile +++ b/net-p2p/ogmios/Makefile @@ -1,409 +1,409 @@ PORTNAME= ogmios PORTVERSION= 5.5.7 DISTVERSIONPREFIX=v CATEGORIES= net-p2p MAINTAINER= arrowd@FreeBSD.org COMMENT= WebSockets API to Cardano Ouroboros' mini-protocols WWW= https://ogmios.dev/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ghc-8.10.7:lang/ghc810 RUN_DEPENDS= cardano-node:net-p2p/cardano-node USES= autoreconf:build cabal gmake libtool pkgconfig USE_GITHUB= yes GH_ACCOUNT= cardanosolutions GH_TUPLE= KtorZ:hjsonpointer:879f0e74d55eef76ceaec8f60ed07657ab84bad7:hjsonpointer/dist-newstyle/src/hjsonpoin_-fd9d209b97a534d0 \ KtorZ:hjsonschema:35e0b05c3867463363e67f00a5092cd39fa33313:hjsonschema/dist-newstyle/src/hjsonsche_-a76c251bd01924c3 \ KtorZ:wai-routes:d74b39683792649c01113f40bf57724dcf95c96a:wai_routes/dist-newstyle/src/wai-routes-73238ac83250ff21 \ input-output-hk:Win32-network:3825d3abf75f83f406c1f7161883c438dac7277d:Win32_network/dist-newstyle/src/Win32-net_-5b9448ed2f179086 \ input-output-hk:cardano-base:0f3a867493059e650cda69e20a5cbf1ace289a57:cardano_base/dist-newstyle/src/cardano-b_-c8db9876882556ed \ input-output-hk:cardano-crypto:f73079303f663e028288f9f4a9e08bcca39a923e:cardano_crypto/dist-newstyle/src/cardano-c_-253fd88117badd8f \ input-output-hk:cardano-ledger:ce3057e0863304ccb3f79d78c77136219dc786c6:cardano_ledger/dist-newstyle/src/cardano-l_-516df916d2b8a647 \ input-output-hk:cardano-node:9f1d7dc163ee66410d912e48509d6a2300cfa68a:cardano_node/dist-newstyle/src/cardano-n_-156536db9a177fb0 \ input-output-hk:cardano-prelude:bb4ed71ba8e587f672d06edf9d2e376f4b055555:cardano_prelude/dist-newstyle/src/cardano-p_-cae013aee062332a \ input-output-hk:flat:ee59880f47ab835dbd73bea0847dab7869fc20d8:flat/dist-newstyle/src/flat-9eba9ae2d4d970a \ input-output-hk:goblins:cde90a2b27f79187ca8310b6549331e59595e7ba:goblins/dist-newstyle/src/goblins-67efee8d68d79164 \ input-output-hk:hedgehog-extras:967d79533c21e33387d0227a5f6cc185203fe658:hedgehog_extras/dist-newstyle/src/hedgehog-_-586c3da22a5ce29b \ input-output-hk:io-sim:f4183f274d88d0ad15817c7052df3a6a8b40e6dc:io_sim/dist-newstyle/src/io-sim-5409b7204b6dc065 \ input-output-hk:iohk-monitoring-framework:066f7002aac5a0efc20e49643fea45454f226caa:iohk_monitoring_framework/dist-newstyle/src/iohk-moni_-1defcf7452717dc5 \ input-output-hk:optparse-applicative:7497a29cb998721a9068d5725d49461f2bba0e7a:optparse_applicative/dist-newstyle/src/optparse-_-3cd678a226e0281a \ input-output-hk:ouroboros-network:a65c29b6a85e90d430c7f58d362b7eb097fd4949:ouroboros_network/dist-newstyle/src/ouroboros_-e51b1e265e7bb521 \ input-output-hk:plutus:f680ac6979e069fcc013e4389ee607ff5fa6672f:plutus/dist-newstyle/src/plutus-5e27fa0483bd0166 \ input-output-hk:typed-protocols:181601bc3d9e9d21a671ce01e0b481348b3ca104:typed_protocols/dist-newstyle/src/typed-pro_-3f57698e3fbfd050 \ vshabanov:ekg-json:00ebe7211c981686e65730b7144fbf5350462608:ekg_json/dist-newstyle/src/ekg-json-e51d7dff12d02a95 GH_TUPLE+= input-output-hk:libsodium:${LIBSODIUM_HASH}:sodium \ bitcoin-core:secp256k1:${SECP256K1_HASH}:secp LIBSODIUM_HASH= 66f017f16633f2060db25e17c170c2afa0f2a8a1 # Obtained from https://github.com/input-output-hk/cardano-node/blob/master/.github/workflows/github-page.yml#L21 SECP256K1_HASH= ac83be33d0956faf6b7f61a60ab524ef7d6a473a WRKSRC_SUBDIR= server USE_RC_SUBR= ogmios MAKE_ENV= PKG_CONFIG_PATH=${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/ LIBS_PREFIX= ${WRKDIR}/libs_install BINARY_ALIAS= git=true USE_CABAL= Glob-0.10.2_3 \ HUnit-1.6.2.0 \ ListLike-4.7.6 \ MonadRandom-0.5.3_2 \ OneTuple-0.3.1_3 \ Only-0.1_1 \ QuickCheck-2.14.2 \ SHA-1.6.4.4 \ StateVar-1.2.2 \ Stream-0.4.7.2 \ Unique-0.4.7.9 \ abstract-deque-0.3 \ abstract-par-0.3.3 \ adjunctions-4.4_2 \ aeson-2.0.2.0_1 \ aeson-pretty-0.8.9_2 \ algebraic-graphs-0.6_1 \ ansi-terminal-0.11.1 \ ansi-wl-pprint-0.6.9_3 \ ap-normalize-0.1.0.1 \ appar-0.1.8 \ asn1-encoding-0.9.6_2 \ asn1-parse-0.9.5 \ asn1-types-0.3.4 \ assoc-1.0.2_3 \ async-2.2.4_2 \ async-timer-0.2.0.0 \ atomic-primops-0.8.4 \ attoparsec-0.13.2.5_2 \ attoparsec-iso8601-1.0.2.0_3 \ auto-update-0.1.6 \ barbies-2.0.3.1 \ base-compat-0.12.1 \ base-compat-batteries-0.12.1_2 \ base-orphans-0.8.6 \ base16-0.3.1.0 \ base16-bytestring-1.0.2.0 \ base58-bytestring-0.1.0 \ base64-0.4.2.3_2 \ base64-bytestring-1.2.1.0 \ base64-bytestring-type-1.0.1_15 \ basement-0.0.12_2 \ bech32-1.1.2 \ bech32-th-1.1.1 \ bifunctors-5.5.11_1 \ bimap-0.4.0_1 \ bin-0.1_2 \ binary-orphans-1.0.2_1 \ blaze-builder-0.4.2.2_1 \ blaze-html-0.9.1.2_2 \ blaze-markup-0.8.2.8_3 \ bsb-http-chunked-0.0.0.4_3 \ byteorder-1.0.4 \ bytestring-builder-0.10.8.2.0 \ cabal-doctest-1.0.9_2 \ call-stack-0.4.0 \ canonical-json-0.6.0.0_1 \ case-insensitive-1.2.1.0 \ cassava-0.5.2.0_9 \ cborg-0.2.6.0_2 \ cereal-0.5.8.2_1 \ charset-0.3.9 \ clock-0.8.3 \ cmdargs-0.10.21 \ code-page-0.2.1 \ colour-2.3.6 \ comonad-5.0.8_1 \ composition-prelude-3.0.0.2 \ concurrent-output-1.10.15 \ conduit-1.3.4.2 \ connection-0.3.1_1 \ constraints-0.13.3 \ constraints-extras-0.3.2.1_1 \ contravariant-1.5.5 \ cookie-0.4.5 \ criterion-1.5.13.0_2 \ criterion-measurement-0.1.3.0 \ cryptonite-0.27_1 \ data-default-0.7.1.1 \ data-default-class-0.1.2.0 \ data-default-instances-containers-0.0.1 \ data-default-instances-dlist-0.0.1 \ data-default-instances-old-locale-0.0.1 \ data-fix-0.3.2_3 \ dec-0.0.4_1 \ dense-linear-algebra-0.1.0.0 \ dependent-map-0.4.0.0 \ dependent-sum-0.7.1.0_2 \ dependent-sum-template-0.1.1.1 \ deque-0.4.4 \ deriving-aeson-0.2.8_1 \ deriving-compat-0.6 \ dictionary-sharing-0.1.0.0_3 \ digest-0.0.1.3 \ distributive-0.6.2.1_1 \ dlist-1.0 \ dns-3.0.4_1 \ dom-lt-0.2.3 \ easy-file-0.2.2 \ either-5.0.1.1_1 \ ekg-0.4.0.15_8 \ ekg-core-0.1.1.7_2 \ entropy-0.4.1.7_1 \ erf-2.0.0.0 \ extra-1.7.10 \ fast-logger-3.1.1 \ fgl-5.7.0.3_1 \ file-embed-0.0.15.0 \ filelock-0.1.1.5 \ fin-0.1.1_2 \ fingertree-0.1.5.0 \ fmlist-0.9.4 \ foldl-1.4.12_5 \ formatting-6.3.7_2 \ foundation-0.0.26.1_1 \ free-5.1.7_1 \ generic-arbitrary-0.2.0_1 \ generic-data-0.9.2.1_1 \ generic-deriving-1.14.1 \ generic-lens-2.2.1.0_1 \ generic-lens-core-2.2.1.0_1 \ generic-monoid-0.1.0.1_2 \ generic-random-1.5.0.1 \ generics-sop-0.5.1.2_1 \ ghc-byteorder-4.11.0.0.10_3 \ graphviz-2999.20.1.0_2 \ gray-code-0.3.1 \ groups-0.5.3 \ half-0.3.1 \ happy-1.20.0_1 \ hashable-1.3.5.0_1 \ haskell-lexer-1.1 \ hedgehog-1.1.1_2 \ hedgehog-quickcheck-0.1.1_4 \ hostname-1.0 \ hourglass-0.2.12 \ hsc2hs-0.68.8_1 \ hspec-2.9.4 \ hspec-core-2.9.4 \ hspec-discover-2.9.4 \ hspec-expectations-0.8.2 \ http-api-data-0.4.3_6 \ http-client-0.7.11_1 \ http-client-tls-0.3.6.1 \ http-date-0.0.11 \ http-types-0.12.3 \ http2-3.0.3 \ indexed-profunctors-0.1.1 \ indexed-traversable-0.1.2_2 \ indexed-traversable-instances-0.1.1_1 \ int-cast-0.2.0.0_4 \ integer-logarithms-1.0.3.1_3 \ invariant-0.5.5 \ io-streams-1.5.2.1_3 \ io-streams-haproxy-1.0.1.0_6 \ iproute-1.7.12 \ js-chart-2.9.4.1 \ kan-extensions-5.2.3 \ katip-0.8.7.0_2 \ lazy-search-0.1.2.1 \ lazysmallcheck-0.6 \ lens-5.1_1 \ lens-aeson-1.1.3_1 \ libyaml-0.1.2_1 \ lifted-async-0.10.2.2 \ lifted-base-0.2.3.12 \ list-t-1.0.5.1 \ logict-0.7.0.3_1 \ loop-0.3.0 \ markov-chain-usage-model-0.0.0 \ math-functions-0.3.4.2 \ matrix-0.3.6.1_1 \ megaparsec-9.2.0_2 \ memory-0.16.0_1 \ mersenne-random-pure64-0.2.2.0_1 \ microlens-0.4.12.0 \ microlens-mtl-0.2.0.1 \ microlens-th-0.4.3.10_1 \ microstache-1.0.2_3 \ mime-types-0.1.0.9 \ mmorph-1.1.5_1 \ monad-control-1.0.3.1 \ monad-loops-0.4.3 \ monad-par-0.3.5_2 \ monad-par-extras-0.3.3 \ mono-traversable-1.0.15.3 \ monoidal-containers-0.6.2.0_1 \ moo-1.2 \ mtl-compat-0.2.2 \ mwc-random-0.15.0.2_1 \ network-3.1.2.7 \ network-byte-order-0.1.6_1 \ network-uri-2.6.4.1 \ newtype-0.2.2.0_3 \ nothunks-0.1.3 \ old-locale-1.0.0.7_2 \ old-time-1.1.0.3_2 \ optparse-applicative-0.17.0.0 \ optparse-generic-1.4.7_2 \ parallel-3.2.2.0_5 \ parser-combinators-1.3.0 \ parsers-0.12.10_2 \ partial-order-0.2.0.0 \ path-pieces-0.2.1_1 \ pcre-heavy-1.0.0.2_2 \ pcre-light-0.4.1.0 \ pem-0.2.4 \ pipes-4.3.16_6 \ polyparse-1.13_5 \ pretty-show-1.10 \ pretty-simple-4.0.0.0 \ prettyprinter-1.7.1 \ prettyprinter-ansi-terminal-1.1.3 \ primitive-0.7.3.0_2 \ process-extras-0.7.4 \ profunctors-5.6.2_2 \ prometheus-2.2.3 \ protolude-0.3.0 \ psqueues-0.2.7.3 \ quickcheck-instances-0.3.27_2 \ quickcheck-io-0.2.0 \ quickcheck-state-machine-0.7.1 \ quiet-0.2 \ ral-0.1_2 \ random-1.2.1 \ random-shuffle-0.0.4 \ readable-0.3.1_1 \ recursion-schemes-5.2.2.2_1 \ reducers-3.12.4_2 \ reflection-2.1.6_1 \ regex-base-0.94.0.2_1 \ regex-posix-0.96.0.1_1 \ relude-0.7.0.0 \ resourcet-1.2.4.3_1 \ safe-0.3.19 \ safe-exceptions-0.1.7.2 \ scientific-0.3.7.0_3 \ secp256k1-haskell-0.6.0 \ selective-0.4.2 \ semialign-1.2.0.1_3 \ semigroupoids-5.3.7 \ semigroups-0.20 \ serialise-0.2.4.0_1 \ setenv-0.1.1.3_1 \ show-combinators-0.2.0.0_2 \ simple-sendfile-0.2.30 \ size-based-0.1.2.0_1 \ snap-core-1.0.4.2_1 \ snap-server-1.1.2.0_1 \ socks-0.6.1 \ some-1.0.2 \ sop-core-0.5.0.2_1 \ split-0.2.3.4_2 \ splitmix-0.1.0.4_1 \ statistics-0.16.0.1 \ statistics-linreg-0.3 \ streaming-0.2.3.1 \ streaming-binary-0.2.2.0 \ streaming-bytestring-0.2.1 \ streaming-commons-0.2.2.4 \ strict-0.4.0.1_4 \ strict-list-0.1.6 \ string-conv-0.1.2 \ string-conversions-0.4.0.1 \ syb-0.7.2.1 \ system-filepath-0.4.14_1 \ tagged-0.8.6.1_3 \ tasty-1.4.2.1_2 \ tasty-expected-failure-0.12.3 \ tasty-golden-2.3.5 \ tasty-hedgehog-1.1.0.0_3 \ tasty-hunit-0.10.0.3 \ tasty-quickcheck-0.10.2 \ tdigest-0.2.1.1_3 \ temporary-1.3 \ terminal-size-0.3.2.1 \ testing-type-modifiers-0.1.0.1 \ text-short-0.1.5_1 \ tf-random-0.5 \ th-abstraction-0.4.3.0 \ th-compat-0.1.3_1 \ th-expand-syns-0.4.9.0 \ th-extras-0.0.0.6 \ th-lift-0.8.2_2 \ th-lift-instances-0.1.19_1 \ th-orphans-0.13.12_2 \ th-reify-many-0.1.10 \ th-utilities-0.2.4.3 \ these-1.1.1.1_6 \ time-compat-1.9.6.1_4 \ time-manager-0.0.0_1 \ time-units-1.0.0 \ tls-1.5.7 \ transformers-base-0.4.6 \ transformers-compat-0.6.6 \ transformers-except-0.1.2 \ tree-diff-0.2.1.1_2 \ type-equality-1_4 \ typed-process-0.2.8.0_1 \ typerep-map-0.5.0.0 \ unbounded-delays-0.1.1.1 \ unix-bytestring-0.3.7.6 \ unix-compat-0.5.4_2 \ unix-time-0.4.7 \ unliftio-0.2.21.0 \ unliftio-core-0.1.2.0_3 \ unordered-containers-0.2.16.0 \ utf8-string-1.0.2 \ uuid-types-1.0.5_3 \ validation-selective-0.1.0.1 \ vault-0.3.1.5_2 \ vector-0.12.3.1_2 \ vector-algorithms-0.8.0.4_2 \ vector-binary-instances-0.2.5.2_2 \ vector-th-unbox-0.2.2_3 \ void-0.7.3 \ wai-3.2.3 \ wai-app-static-3.1.7.2_1 \ wai-extra-3.1.8_1 \ wai-logger-2.4.0 \ wai-websockets-3.0.1.2 \ warp-3.3.19 \ wcwidth-0.0.2 \ websockets-0.12.7.3_1 \ witherable-0.4.2_3 \ wl-pprint-annotated-0.1.0.1_1 \ wl-pprint-text-1.2.0.2 \ word8-0.1.3 \ x509-1.7.6 \ x509-store-1.6.9 \ x509-system-1.6.7 \ x509-validation-1.6.12 \ yaml-0.11.7.0 \ zlib-0.6.2.3_1 \ zlib-bindings-0.1.1.5_2 CABAL_PROJECT= append post-patch: - ${ECHO_CMD} "package *" >> ${WRKSRC}/cabal.project.${PORTNAME} - ${ECHO_CMD} " extra-include-dirs: ${LIBS_PREFIX}${PREFIX}/include" >> ${WRKSRC}/cabal.project.${PORTNAME} - ${ECHO_CMD} " extra-lib-dirs: ${LIBS_PREFIX}${PREFIX}/lib" >> ${WRKSRC}/cabal.project.${PORTNAME} + ${ECHO_CMD} "package *" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} " extra-include-dirs: ${LIBS_PREFIX}${PREFIX}/include" >> ${WRKSRC}/cabal.project.local + ${ECHO_CMD} " extra-lib-dirs: ${LIBS_PREFIX}${PREFIX}/lib" >> ${WRKSRC}/cabal.project.local pre-build: cd ${WRKSRC_sodium} && ./autogen.sh cd ${WRKSRC_sodium} && ./configure --prefix=${PREFIX} --with-pthreads --disable-shared cd ${WRKSRC_sodium} && ${GMAKE} -j${MAKE_JOBS_NUMBER} && ${GMAKE} DESTDIR=${LIBS_PREFIX} ${INSTALL_TARGET} ${MKDIR} ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig ${MV} ${LIBS_PREFIX}${PREFIX}/lib/pkgconfig/libsodium.pc ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/libsodium.pc cd ${WRKSRC_secp} && ./autogen.sh cd ${WRKSRC_secp} && ./configure --prefix=${PREFIX} --enable-module-schnorrsig --enable-experimental --with-pic --disable-shared cd ${WRKSRC_secp} && ${GMAKE} -j${MAKE_JOBS_NUMBER} && ${GMAKE} DESTDIR=${LIBS_PREFIX} ${INSTALL_TARGET} ${MV} ${LIBS_PREFIX}${PREFIX}/lib/pkgconfig/libsecp256k1.pc ${LIBS_PREFIX}${PREFIX}/libdata/pkgconfig/libsecp256k1.pc .include