head 1.13; access; symbols pkgsrc-2026Q1:1.13.0.4 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.13.0.2 pkgsrc-2025Q4-base:1.13 pkgsrc-2025Q3:1.12.0.2 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.11.0.6 pkgsrc-2025Q2-base:1.11 pkgsrc-2025Q1:1.11.0.4 pkgsrc-2025Q1-base:1.11 pkgsrc-2024Q4:1.11.0.2 pkgsrc-2024Q4-base:1.11 pkgsrc-2024Q3:1.10.0.18 pkgsrc-2024Q3-base:1.10 pkgsrc-2024Q2:1.10.0.16 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.14 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.10.0.12 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.10 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.8 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.6 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.4 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.2 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.9.0.22 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.20 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.18 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.16 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.14 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.12 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.10 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.8 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.6 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.4 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.7.0.2 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.6.0.2 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.5.0.10 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.8 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.6 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.4 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.2 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.4.0.6 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.4 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.3.0.34 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.32 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.30 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.28 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.26 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.24 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.22 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.20 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.18 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.16 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.14 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.12 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.10 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.8 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.6 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.4 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.2.0.4 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.1.1.0.4 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.2 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.13 date 2025.11.15.12.05.03; author ryoon; state Exp; branches; next 1.12; commitid XUCrkFk79VEB3EiG; 1.12 date 2025.08.16.01.46.43; author ryoon; state Exp; branches; next 1.11; commitid ld3dThfkBiBPyT6G; 1.11 date 2024.12.12.14.45.32; author ryoon; state Exp; branches; next 1.10; commitid nIk3Psa6LS0gOdBF; 1.10 date 2022.09.12.18.44.09; author ryoon; state Exp; branches; next 1.9; commitid nMjTBjxYosSgyBTD; 1.9 date 2019.10.09.12.41.13; author fox; state Exp; branches; next 1.8; commitid xYuC8G52GDhUTbGB; 1.8 date 2019.10.08.23.40.37; author fox; state Exp; branches; next 1.7; commitid xB9VeKntau1jA7GB; 1.7 date 2019.07.23.20.33.51; author sevan; state Exp; branches; next 1.6; commitid psNWWjc3NHhC1dwB; 1.6 date 2019.05.23.19.23.02; author rillig; state Exp; branches; next 1.5; commitid aWlQW8HYUUFCAmoB; 1.5 date 2018.01.01.18.16.36; author rillig; state Exp; branches; next 1.4; commitid L9I6buPNATMZvclA; 1.4 date 2017.08.01.14.59.01; author wiz; state Exp; branches; next 1.3; commitid WdGfxAP8wrFJlw1A; 1.3 date 2013.06.11.19.51.27; author asau; state Exp; branches; next 1.2; commitid Ms5yFjtLZhEozeTw; 1.2 date 2012.10.02.20.11.37; author asau; state Exp; branches; next 1.1; 1.1 date 2012.05.04.11.51.30; author ryoon; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.05.04.11.51.30; author ryoon; state Exp; branches; next ; desc @@ 1.13 log @lang/clojure: Update to 1.12.3.1577 Changelog: 1.12.3.1577 (Sep 25, 2025) Update to Clojure 1.12.3 1.12.2.1571 (Sep 22, 2025) TDEPS-272 In -X:deps prep, suppport prep of named tools 1.12.2.1565 (Aug 26, 2025) Update to Clojure 1.12.2 @ text @# $NetBSD: Makefile,v 1.12 2025/08/16 01:46:43 ryoon Exp $ DISTNAME= clojure-tools-1.12.3.1577 PKGNAME= ${DISTNAME:S/-tools//} CATEGORIES= lang MASTER_SITES= https://download.clojure.org/install/ MAINTAINER= ryoon@@NetBSD.org HOMEPAGE= https://clojure.org/ COMMENT= Dynamic programming language that targets the Java VM LICENSE= epl-v1.0 DEPENDS+= rlwrap-[0-9]*:../../misc/rlwrap NO_BUILD= yes USE_JAVA= run USE_JAVA2= 8 USE_TOOLS+= bash REPLACE_BASH+= clj REPLACE_BASH+= clojure INSTALLATION_DIRS= bin \ clojure \ clojure/libexec \ ${PKGMANDIR}/man1 WRKSRC= ${WRKDIR}/clojure-tools SUBST_CLASSES+= set-java SUBST_STAGE.set-java= pre-configure SUBST_MESSAGE.set-java= Setting JAVA_HOME path. SUBST_FILES.set-java= clojure SUBST_SED.set-java= -e '/^JAVA_CMD=/s,java,${PKG_JAVA_HOME}/bin/java,' SUBST_CLASSES+= set-base SUBST_STAGE.set-base= pre-configure SUBST_MESSAGE.set-base= Setting package base path. SUBST_FILES.set-base= clojure SUBST_FILES.set-base+= clj SUBST_SED.set-base= -e 's,PREFIX,${PREFIX}/clojure,g' SUBST_SED.set-base+= -e 's,BINDIR,${PREFIX}/bin,g' do-install: ${INSTALL_DATA} ${WRKSRC}/*.edn ${DESTDIR}${PREFIX}/clojure ${INSTALL_DATA} ${WRKSRC}/*.jar ${DESTDIR}${PREFIX}/clojure/libexec ${INSTALL_MAN} ${WRKSRC}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_SCRIPT} ${WRKSRC}/clj ${DESTDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/clojure ${DESTDIR}${PREFIX}/bin .include "../../mk/java-env.mk" .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" @ 1.12 log @lang/clojure: Update to 1.12.1.1561 Changelog: 1.12.1.1561 (Aug 14, 2025) TDEPS-264 Add -X:deps basis - to print the basis for a deps config TDEPS-259 Improve error reporting on deps.edn spec errors Update to latest deps 1.12.1.1550 (Jun 3, 2025) -Sdescribe - undocumented (prefer using tools.deps APIs instead) -Sverbose - add explicit deps.edn references 1.12.1.1543 (Jun 3, 2025) Update to Clojure 1.12.1 1.12.1.1538 (Jun 2, 2025) Update to Clojure 1.12.1 1.12.0.1530 (Mar 5, 2025) clj -Sdeps can now take a path to an edn file instead of a literal map Fix computation of tool argmap when both aliases and tools are used together Update tools.deps to latest 1.12.0.1517 (Feb 10, 2025) During dep expansion, only consider lib to be omitted if all parent paths to root are omitted Memoize dep lookups during dep expansion to avoid unnecessary calls Update tools.deps, tools.deps.cli to latest 1.12.0.1501 (Jan 27, 2025) Fix bug with -Srepro -Spom 1.12.0.1495 (Dec 31, 2024) Echo args in -M deprecation warning for clarity Refactored tool classpath calculation and align on create-basis Update deps to latest @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/12/12 14:45:32 ryoon Exp $ d3 1 a3 1 DISTNAME= clojure-tools-1.12.1.1561 @ 1.11 log @lang/clojure: Update to 1.12.0.1488 Changelog: 1.12.0.1488 (Nov 21, 2024) TDEPS-265 - -Ttools install-latest fixed bug when :coord with git url provided TDEPS-268 - -X:deps find-versions returns all procurer types, not just first found Updated tools.deps, tools.deps.cli, tools.tools to latest 1.12.0.1479 (Sep 5, 2024) Use Clojure 1.12.0 as default Clojure version 1.11.4.1474 (Aug 5, 2024) Use Clojure 1.11.4 as default Clojure version 1.11.3.1463 (May 1, 2024) -X:deps aliases - make resilient for non-map alias data Update :deps programs in help Updated tools.deps, tools.deps.cli to latest 1.11.3.1456 (Apr 24, 2024) Update default Clojure version to 1.11.3 Updated tools.deps, tools.deps.cli to latest 1.11.2.1446 (Mar 8, 2024) Update default Clojure version to 1.11.2 Clojure -X:deps programs that create a basis now take a :dir option for the directory context to use Updated tools.deps, tools.deps.cli to latest 1.11.1.1435 (Jan 3, 2024) TDEPS-238 - deps.edn files are now validated against specs TDEPS-239 - treat empty deps.edn file as {} Updated several dependencies 1.11.1.1429 (Dec 4, 2023) Roll back Maven resolver dep updates from 1.11.1.1420 1.11.1.1420 (Dec 4, 2023) TDEPS-119 Unable to start CLI in write-protected project directory TDEPS-256 create-basis - when different project dir is specified, should be used to resolve relative local deps Update all dependencies to latest versions 1.11.1.1413 (Aug 26, 2023) No changes 1.11.1.1409 (Aug 25, 2023) No changes 1.11.1.1405 (Aug 22, 2023) CLI releases on GitHub now have .sha256 files for the binaries 1.11.1.1386 (Aug 14, 2023) CLI releases are now published to GitHub under https://github.com/clojure/brew-install The download archive is still available but will be treated as a mirror (and configured that way in brew) 1.11.1.1347 (May 31, 2023) With -X or -T accept - as a trailing argument to read the remainder of args from stdin On windows installer, hide progress bar on download TDEPS-247 - Fix StackOverflow on deps with big fan-out TDEPS-249 - Properly push/pop thread bindings during dep expansion TDEPS-227 - Shut down dep expansion threads at end of resolve-deps TDEPS-248 - Make tags return known tags when offline Use tools.deps 0.18.1354 1.11.1.1273 (Apr 3, 2023) Fix regression in -Spom Updated help to include -X:deps mvn-pom rather than -Spom (which will eventually go away) Use tools.deps 0.18.1335 1.11.1.1267 (Mar 31, 2023) TDEPS-245 - Fix error in -X:deps find-versions with an uncanonicalized lib name Use tools.deps 0.18.1331 1.11.1.1262 (Mar 27, 2023) Make local deps version comparable based on path Use tools.deps 0.18.1317 1.11.1.1257 (Mar 15, 2023) Use tools.deps 0.18.1308 1.11.1.1252 (Mar 6, 2023) Switch to passing exec args via the basis :argmap Function execution protocol support for -X/-T Use tools.deps 0.17.1297 1.11.1.1237 (Feb 27, 2023) Added env var that can be set to temporarily allow support for http repos: CLOJURE_CLI_ALLOW_HTTP_REPO Remove deprecated support for -R and -C Clean up help text around repl supporting init-opts Use tools.deps 0.16.1285 1.11.1.1224 (Feb 12, 2023) Fix issue with git tag verification for repos with a large number of tags TDEPS-235 - Disallow http :mvn/repos TDEPS-236 - Add rlwrap -m to clj for multiline editing 1.11.1.1208 (Dec 11, 2022) TDEPS-234 - Always include -XX:-OmitStackTraceInFastThrow by default Use tools.deps 0.16.1264 1.11.1.1200 (Nov 14, 2022) Added support in :mvn/repos map to set release and snapshot policies TDEPS-101 Output repo policies in -Spom and -X:deps mvn-pom Use tools.deps.alpha 0.15.1254 1.11.1.1189 (Nov 2, 2022) TDEPS-233 bash script fixes from stale jar check changes Add some missing items on help and man page 1.11.1.1182 (Oct 26, 2022) TDEPS-70 - Detect missing jar in classpath and download automatically TDEPS-232 - Add generic posix installer TDEPS-200 - Clean up default user deps.edn TDEPS-219 Fixed -X:deps find-versions doesn’t find Maven versions that start with a letter Add :n option to -X:deps find-versions and default to 8 During -X:deps prep, use :exec-args of alias being prepped, if present During -X:deps prep, also prep current project if needed add :current flag to prep current project, default=false Fix bad invocation of deps/prep-libs! in clojure.tools.cli.api/prep Improve error message when local dep directory is missing For downstream tools, added new well-known location to look up latest stable tools release Use tools.deps.alpha 0.15.1244 1.11.1.1165 (Sep 18, 2022) TDEPS-165 Use the env var CLJ_JVM_OPTS to pass JVM properties to the internal classpath building process Add support to include the common JAVA_OPTS env var as JVM properties in user program execution @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2022/09/12 18:44:09 ryoon Exp $ d3 1 a3 1 DISTNAME= clojure-tools-1.12.0.1488 @ 1.10 log @clojure: Update to 1.11.1.1155 Changelog: 1.11.1.1155 (Aug 5, 2022) * TDEPS-228 Add support for auto inferred Sourcehut git urls * Update aws-api, Maven, etc dep versions * Use tools.deps.alpha 0.14.1222 1.11.1.1149 (Jun 21, 2022) * clj -Ttools install-latest - refine how versions are filtered, sorted, and newest selected * Update to tools.tools v0.2.8 * Use tools.deps.alpha 0.14.1212 1.11.1.1139 (Jun 16, 2022) * Add clj -Ttools install-latest api function, examples: * Install tool: clj -Ttools install-latest :lib io.github.clojure/ tools.deps.graph :as graph * Update tool: clj -Ttools install-latest :tool graph * Fix regression with clj -X:deps find-versions from 1.11.1.1119 * Output from clj -X:deps find-versions now provides :git/tag and :git/sha * Update to tools.tools v0.2.6 * Use tools.deps.alpha 0.14.1205 1.11.1.1129 (Jun 14, 2022) * Fix directory context of -X:deps prep with transitive local deps * Use tools.deps.alpha 0.14.1194 1.11.1.1124 (Jun 11, 2022) * Fix bug in TDEPS-213 change * Use tools.deps.alpha 0.14.1189 1.11.1.1119 (Jun 9, 2022) * TDEPS-213 - Add -X:deps aliases to list available aliases * TDEPS-226 - More nunanced error handling for s3 downloads * Better error message when git url can??t be inferred * Use tools.deps.alpha 0.14.1185 1.11.1.1113 (Apr 25, 2022) * TDEPS-153 - yet more fixes for errors during concurrent Maven downloads * Use tools.deps.alpha 0.14.1178 1.11.1.1105 (Apr 5, 2022) * Default to Clojure 1.11.1 if no Clojure version specified 1.11.0.1100 (Mar 28, 2022) * Default to Clojure 1.11.0 if no Clojure version specified * TDEPS-153 Fix concurrency issues in Maven artifact downloads 1.10.3.1087 (Feb 28, 2022) * Fix error message when git url missing or not inferred * Pass :exec-fn and :exec-args to -X/-T even when using -Scp * TDEPS-222 Make Clojure dependency in pom a compile dependency, not provided * TDEPS-203 In -X:deps prep - now takes basis settings, including aliases * TDEPS-197 -X:deps git-resolve-tags - now resolves to :git/tag and :git/sha * -X:deps tree - now takes basis settings * -X:deps mvn-pom - now takes basis settings * -X:deps list - put license abbreviation list in a resource and load on demand * Use tools.deps.alpha 0.12.1158 1.10.3.1075 (Feb 2, 2022) * TDEPS-216 - Built-in :deps alias should remove project paths from classpath * Improve error if git sha is not found in git repo * Improve prep error if transtive dep??s prep function is unresolvable * Bump AWS deps to latest versions * Use tools.deps.alpha 0.12.1135 1.10.3.1069 (Jan 26, 2022) * Update some Maven transitive deps to address some CVEs * Update to tools.tools v0.2.5 * Add check to error on invocation of multiple exec functions * Use tools.deps.alpha 0.12.1120 1.10.3.1058 (Jan 5, 2022) * TDEPS-207 Fix deadlock in version range resolution * TDEPS-215 Fix race condition during parallel loading of s3 transporter * Don??t track local deps.edn manifest for caching if deps project doesn??t have one * Update maven-core to 3.8.4, aws libs, tools.build, tools.tools to latest * Use tools.deps.alpha 0.12.1109 1.10.3.1040 (Dec 1, 2021) * Add clj -X:deps list for listing the full transitive set of deps and their license info - see docs * Improved error handling for unknown tool with -T or -X:deps find-versions * Use tools.deps.alpha 0.12.1084 1.10.3.1029 (Nov 8, 2021) * TDEPS-212 Cover a much wider range of valid git dep urls, including git file urls * Use tools.deps.alpha 0.12.1071 1.10.3.1020 (Nov 5, 2021) * TDEPS-83 Invalidate classpath cache when local dep manifests change * Add new clj -X:deps list program to list the full lib set on the classpath, see API docs for more info * Bump deps to more recent versions - aws-api, jetty-client, etc * Clean up exception handling for -X/-T * Use tools.deps.alpha 0.12.1067 1.10.3.998 (Oct 26, 2021) * Remove bottle :unneeded from brew formulas (no longer needed) * TDEPS-209 Include only jar files in classpath from Maven artifacts * Update to tools.tools v0.2.1 (minor improvements in clj -Ttools list) * Use tools.deps.alpha 0.12.1058 1.10.3.986 (Sep 22, 2021) * Fix nested session cache computation for local pom model building * Use tools.deps.alpha 0.12.1048 1.10.3.981 (Sep 21, 2021) * Update to latest AWS API libs * Downgrade Maven resolver libs to better match Maven core libs * Use tools.deps.alpha 0.12.1041 1.10.3.967 (Sep 1, 2021) * Refine exec exceptions for missing namespace vs missing function in namespace * Replace Maven-based build process with tools.build * Compile entry points in tools.deps used for building classpaths for performance * Use tools.deps.alpha 0.12.1036 1.10.3.943 (Aug 13, 2021) * TDEPS-199 Use default http-client in S3 transporter * Cache S3 transporter for a repo * Fixed session cache to work properly across threads / binding stacks for better perf * Replace specific maven version range requests with non-range request to reduce repo metadata lookups * Load and cache Maven settings once for perf * Cache version range resolution results for perf * Use tools.deps.alpha 0.12.1019 1.10.3.933 (July 28, 2021) * deps.edn + git deps o If a git library name follows the repo convention names, the :git/ url can now be inferred (:git/url can also be specified explicitly and takes precedence) o :git/tag and prefix :git/sha can now be specified instead of the full sha. Both must point to the same commit. o :sha has been renamed to :git/sha but the original is still supported for backwards compatibility + :deps/prep-lib - a new top-level key can be used to say how a source lib should be prepared before being added to the classpath. This key??s value is a map with :alias, :fn, and :ensures. See prep docs for more info. + :tools/usage - a new top-level key can be used to provide the :ns-default and :ns-aliases context for a tool * Tools - git-based programs that can be installed with a local name. Tools can provide their own usage context in deps.edn. + Added new auto-installed tool named tools with functions install, list, remove. See reference. + Install a tool with clojure -Ttools install :as + Run a tool with clojure -T fn (also takes -X style args) * Clojure CLI + New -T option is like -X (executes a function) but does not use the project classpath, instead uses tool classpath (and adds :paths ["."] by default). -T:aliases is otherwise same as -X. -Ttoolname resolves named tool by name and uses that tool lib. + TDEPS-198 - -X and -T will not wait to exit if futures/agents have been used + TDEPS-182 - Improve deprecation messages to be more accurate + TDEPS-183 - Fix -Sdescribe output to be valid EDN on Windows + TDEPS-179 - Fix incorrect classpath when :classpath-overrides removes path + Delay computation of local-repo path (don??t compute at load time) + Use tools.deps.alpha 0.12.1003 * New -X:deps programs: + find-versions - to find versions of Maven or git libs or tools + prep - use to prep source libs + help/dir - to list available functions in a tool namespace + help/doc - to list docs for a tool namespace or function Read more at Source Libs and Builds. 1.10.3.855 (May 25, 2021) * Fix in applying :jvm-opts with -X execution on Windows 1.10.3.849 (May 21, 2021) * Adds support for a trailing map of kvs in -X calls (similar to Clojure 1.11 trailing map to vararg calls) * Updates all Maven deps to latest (maven-resolver 1.7.0, maven core 1.8.3) to address these security concerns + CVE-2020-13956 - bumps deps on Apache HttpClient used by Maven + CVE-2021-26291 - potential security problems regarding Maven repositories: o Due to the possibility of MITM (man in the middle) attacks, http repo access is now blocked by default. tools.deps/Clojure CLI has always used https repos in the default repository list (central and clojars), so this mostly impacts any explicit http repositories defined in deps.edn o Concerns over the "hijacking" of repository urls by transitive pom deps (or their super poms) to download artifacts from malicious repos. Maven made no changes here, but did clarify how repos are resolved on this page. From a deps perspective, we only use repositories declared in the top-level deps.edn (if transitive deps need a custom repo, you will need to add it at top-level too). For tools.deps use of pom dependencies, we are providing the repos of the top deps.edn file (which should always put Maven Central and Clojars first), then deferring to Maven for the rest. * Use tools.deps.alpha 0.11.922 1.10.3.839 (May 12, 2021) * Fix Linux installer breakage in 1.10.3.833 1.10.3.833 (May 11, 2021) * TDEPS-177 - Fix Maven mirrors to look up by id, not name * Remove flag when fetching git deps so that older git versions work * Tweak some warning messages * Clean up scripts to simplify variable replacement * Use tools.deps.alpha 0.11.918 1.10.3.822 (Apr 3, 2021) * Fix issue with git deps where new commits on branches were not fetched 1.10.3.814 (Mar 16, 2021) * git deps: switch from using jgit to shelling out to git (must be git >= 2.5) + New env vars for control: o GITLIBS_COMMAND - command to invoke when shelling out to git, default = git o GITLIBS_DEBUG - set to true to print git commands and output to stderr, default = false * Made git fetch only when shas can??t be resolved to improve performance * Bump dep versions for tools.cli and aws api to latest * Use tools.deps.alpha 0.11.905 1.10.2.796 (Feb 23, 2021) * Fix clj -X:deps git-resolve-tags to update the sha to match the tag * Perf improvements for git or local deps using pom.xml * Use tools.deps.alpha 0.9.884 1.10.2.790 (Feb 19, 2021) * Add -version and --version options * TDEPS-56 - Fix main-opts and jvm-opts word splitting on spaces * TDEPS-125 - Use JAVA_CMD if set (thanks Gregor Middell!) * Add warning if :paths or :extra-paths refers to a directory outside the project root (in the future will become an error) * Use tools.deps.alpha 0.9.871 1.10.2.774 (Jan 26, 2021) * Improve error when git dep version relationship can??t be determined * Switch to 1.10.2 for default Clojure version * Use tools.deps.alpha 0.9.863 1.10.1.763 (Dec 10, 2020) * Set exit code for -X ex-info error * Sync up cli syntax for aliases in help * Use tools.deps.alpha 0.9.857 1.10.1.754 (Dec 7, 2020) * New, more informative tree format for clj -Stree / clj -X:deps tree * Added options for use with clj -X:deps tree * Use tools.deps.alpha 0.9.857 1.10.1.739 (Nov 23, 2020) * Fix use of jdk profile activation in local deps with pom files * Fix error handling for -X to avoid double throw * Add error handling for -A used without an alias * Use tools.deps.alpha 0.9.840 1.10.1.727 (Oct 21, 2020) * Fix clj -X:deps tree adding tools.deps.alpha to tree * Fix clj -X:deps mvn-pom adding tools.deps.alpha to pom deps * Fix clj -X:deps git-resolve-tags not working * TDEPS-169 - Fix clj -X:deps mvn-install on jar to also install embedded pom * Fix clj -Spom not respecting dep modifications from -A (regression) * Use tools.deps.alpha 0.9.833 1.10.1.716 (Oct 10, 2020) * Make edn reading tolerant of unknown tagged literals * Update to latest dependencies for maven-resolver and aws-api * Use tools.deps.alpha 0.9.821 1.10.1.708 (Oct 7, 2020) * Fixes to handling transitive deps when newer versions of a dep are found in the dep expansion * TDEPS-168 - Improvements to -X error message handling * Use tools.deps.alpha 0.9.816 1.10.1.697 (Sept 25, 2020) * Added execution mode (-X) * Added prepare mode (-P) * Expanded main execution (-M) to support all argmap arguments * Added new argmap attributes for namespace resolution: + :ns-aliases and :ns-default * Added new clojure.tools.cli.api available via -X:deps alias: + clj -X:deps git-resolve-tags + clj -X:deps mvn-install + clj -X:deps mvn-pom + clj -X:deps tree * Deprecated -R, -C (use -X, -M, or -A instead) * Deprecated unqualified lib names in deps.edn (use fully qualified lib names) * Deprecated alias tool args :deps and :paths (use :replace-deps and :replace-paths) * Removed -O (use -X, -M, or -A) * Removed -Sresolve-tags (use -X:deps git-resolve-tags) * TDEPS-152 - Fixes to -Spom generation with srcDirectory * TDEPS-155 - Better error handling for bad coordinates * TDEPS-167 - Handle absolute resource paths in pom deps * Use tools.deps.alpha 0.9.810 1.10.1.561 (July 17, 2020) * Rework exclusion handling when exclusion sets differ for same lib/version * Use tools.deps.alpha 0.8.709 1.10.1.547 (June 11, 2020) * (Windows) Write -Spath to output, not to host * TDEPS-152 - Fix bad addition of srcDirectory in pom gen * TDEPS-155 - Add error checking for missing :mvn/version * Use tools.deps.alpha 0.8.695 1.10.1.536 (Feb 28, 2020) * Release automation work, no tool changes 1.10.1.510 (Feb 14, 2020) * TDEPS-150 - Fix regression in supporting -Scp flag (avoid resolving deps) * TDEPS-148 - Fix incorrect path resolution for git/local dep without deps.edn * Use tools.deps.alpha 0.8.677 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/10/09 12:41:13 fox Exp $ d3 1 a3 1 DISTNAME= clojure-tools-1.11.1.1155 @ 1.9 log @clojure: Avoid changing version numbers in two places. Fix suggested by leot@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/10/08 23:40:37 fox Exp $ d3 1 a3 1 DISTNAME= clojure-tools-1.10.1.469 d40 1 d42 1 @ 1.8 log @clojure: Update to 1.10.1.469 Changes since 1.8.0: https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-19 https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-110 https://github.com/clojure/clojure/blob/master/changes.md#changes-to-clojure-in-version-1101 Submitted by: Sunil Nimmagadda (sunil@@nimmagadda.net) ok maya@@ @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGNAME= clojure-1.10.1.469 @ 1.7 log @Update to Clojure 1.8.0 1 New and Improved Features 1.1 Direct Linking Direct linking can be enabled with -Dclojure.compiler.direct-linking=true Direct linking allows functions compiled with direct linking on to make direct static method calls to most other functions, instead of going through the var and the Fn object. This can enable further optimization by the jit, at a cost in dynamism. In particular, directly-linked calls will not see redefinitions. With this change, clojure.core itself is compiled with direct linking and therefore other namespaces cannot redefine core fns and have those redefinitions seen by core code. A new metadata key ^:redef is provided. A function declared with this key can be redefined and will never be direct linked. Also, functions declared as ^:dynamic will never be direct linked. CLJ-1809 CLJ-1805 CLJ-1854 CLJ-1856 1.2 String Functions Several new string functions were added to clojure.string to increase portability and reduce the need for Java interop calls: index-of - search for the index of a char or string in a string last-index-of - search for the index of a char or string backwards in a string starts-with? - true if string starts with a substring ends-with? - true if string ends with a substring includes? - true if string includes a substring CLJ-1449 1.3 Socket Server and REPL The Clojure runtime now has the ability to start a socket server at initialization based on system properties. One expected use for this is serving a socket-based REPL, but it also has many other potential uses for dynamically adding server capability to existing programs without code changes. A socket server will be started for each JVM system property like clojure.server.. The value for this property is an edn map representing the configuration of the socket server with the following properties: address - host or address, defaults to loopback port - positive integer, required accept - namespaced symbol of function to invoke on socket accept, required args - sequential collection of args to pass to accept bind-err - defaults to true, binds *err* to socket out stream server-daemon - defaults to true, socket server thread doesn't block exit client-daemon - defaults to true, socket client thread doesn't block exit Additionally, there is a repl function provided that is slightly customized for use with the socket server in clojure.core.server/repl. Following is an example of starting a socket server with a repl listener. This can be added to any existing Clojure program to allow it to accept external REPL clients. -Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}" An example client you can use to connect to this socket repl is telnet: $ telnet 127.0.0.1 5555 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. user=> (println "hello") hello See: CLJ-1671 CLJ-1853 Socket REPL design page CLJ-1829 2 Enhancements 2.1 Error handling CLJ-1778 let-bound namespace-qualified bindings should throw (if not map destructuring) CLJ-1456 Compiler now errors if too few or too many arguments to throw CLJ-1282 quote now throws if passed more or less than one arg CLJ-1210 Improved error message for (clojure.java.io/reader nil) 2.2 Documentation strings CLJ-1060 'list*' returns not a list CLJ-1722 Typo in the docstring of 'with-bindings' CLJ-1769 Docstrings for *' and +' refer to * and + CLJ-1414 sort and sort-by now indicate sort is stable in docstring 2.3 Performance CLJ-703 Improve writeClassFile performance CLJ-1765 areduce performance improvements CLJ-1724 Remove unnecessary call to seq() in LazySeq.hashCode() CLJ-1295 Improved array-map dissoc performance CLJ-1277 Speed up printing of time instants with type hints CLJ-1259 Speed up pprint and cl-format with type hints CLJ-668 Improve slurp performance by using StringWriter and jio/copy 2.4 Other enhancements CLJ-1208 Optionally require namespace on defrecord class init CLJ-1823 Document new :load-ns option to defrecord/deftype CLJ-1810 ATransientMap now marked public CLJ-1653 str of an empty list should be "()" CLJ-1567 Removed unused local in condp implementation CLJ-1351 Unused swapThunk method was being emitted for fns with keyword callsites CLJ-1329 Removed unused local in PersistentVector.cons() CLJ-1831 Add clojure.core/map-entry? predicate CLJ-1845 Make clojure.core/load dynamic so it can be redef'ed even with direct linking 3 Bug Fixes CLJ-130 Namespace metadata lost in AOT compile CLJ-1134 star-directive in clojure.pprint/cl-format with at-prefix ("~n@@*") does not obey its specification CLJ-1137 Metadata on a def gets evaluated twice CLJ-1157 Classes generated by gen-class aren't loadable from remote codebase CLJ-1225 quot overflow issues around Long/MIN_VALUE for BigInt CLJ-1313 Correct a few unit tests CLJ-1319 array-map fails lazily if passed an odd number of arguments CLJ-1361 pprint with code-dispatch incorrectly prints a simple ns macro call CLJ-1390 pprint a GregorianCalendar results in Arity exception CLJ-1399 field name unmunged when recreating deftypes serialized into bytecode CLJ-1485 clojure.test.junit/with-junit-output doesn't handle multiple expressions CLJ-1528 clojure.test/inc-report-counter is not thread-safe CLJ-1533 invokePrim path does not take into account var or form meta CLJ-1562 some->,some->>,cond->,cond->> and as-> doesn't work with (recur) CLJ-1565 pprint produces infinite output for a protocol CLJ-1588 StackOverflow in clojure.test macroexpand with are and anon fn CLJ-1644 into-array fails for sequences starting with nil CLJ-1645 protocol class does not set the source file CLJ-1657 proxy bytecode calls super methods of abstract classes CLJ-1659 compile leaks files CLJ-1761 clojure.core/run! does not always return nil per docstring CLJ-1782 Spelling mistake in clojure.test/use-fixtures CLJ-1785 Reader conditionals throw when returning nil CLJ-1766 Serializing+deserializing lists breaks their hash CLJ-1609 Edge case in Reflector's search for a public method declaration CLJ-1586 Compiler doesn't preserve metadata for LazySeq literals CLJ-1232 Functions with non-qualified return type hints will now work without import from other namespace CLJ-1812 Fix test failure on windows due to line endings CLJ-1380 3-arg ExceptionInfo constructor permitted nil data CLJ-1226 set! of a deftype field using field-access syntax caused ClassCastException Records and types without fields eval to empty map CLJ-1827 Fix reflection warning introduced in CLJ-1259 CLJ-1453 Ensure that all Iterator implementations throw NoSuchElementException on next() when exhausted CLJ-1868 Avoid compiler NPE when checking class return type @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2019/05/23 19:23:02 rillig Exp $ d3 2 a4 1 DISTNAME= clojure-1.8.0 d6 1 a6 2 MASTER_SITES= http://repo1.maven.org/maven2/org/clojure/clojure/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .zip d13 2 d17 5 a21 3 USE_JAVA2= 1.5 USE_LANGUAGES= # none USE_TOOLS+= pax d24 17 a40 17 share/doc/${PKGNAME_NOREV} \ lib/java/clojure \ share/examples/${PKGNAME_NOREV} CLOJURE_DOCS= changes.md epl-v10.html readme.txt \ doc/clojure/pprint/CommonLispFormat.markdown \ doc/clojure/pprint/PrettyPrinting.markdown SUBST_CLASSES+= java SUBST_STAGE.java= pre-install SUBST_MESSAGE.java= Set Java SUBST_FILES.java= clj.sh SUBST_SED.java= -e 's,@@JAVA_HOME@@,${PKG_JAVA_HOME},g' SUBST_VARS.java= SH pre-patch: ${INSTALL_DATA} ${FILESDIR}/clj.sh ${WRKSRC} d43 5 a47 14 ${INSTALL_DATA} ${WRKSRC}/${PKGNAME_NOREV}.jar \ ${DESTDIR}${PREFIX}/lib/java/clojure/clojure.jar cd ${WRKSRC}/test/clojure && pax -rw -pmp test_clojure \ ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV}/ ${INSTALL_DATA} ${WRKSRC}/test/clojure/test_helper.clj \ ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV} .for f in ${CLOJURE_DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV} .endfor ${INSTALL_SCRIPT} ${WRKSRC}/clj.sh ${DESTDIR}${PREFIX}/bin/clj @ 1.6 log @all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2018/01/01 18:16:36 rillig Exp $ d3 1 a3 1 DISTNAME= clojure-1.5.1 @ 1.5 log @Replaced $(ROUND) with ${CURLY} variable references. This has been a pkglint warning for several years now, and pkglint can even fix it automatically. And it did for this commit. Only in lang/mercury, two passes of autofixing were necessary because there were nested variables. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2017/08/01 14:59:01 wiz Exp $ d33 1 a33 1 SUBST_SED.java+= -e 's,@@SH@@,${SH},' @ 1.4 log @Follow some http -> https redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2013/06/11 19:51:27 asau Exp $ d5 1 a5 1 MASTER_SITES= http://repo1.maven.org/maven2/org/clojure/clojure/$(PKGVERSION_NOREV)/ @ 1.3 log @Update to Clojure 1.5.1 Changes to Clojure in Version 1.5.1 * fix for leak caused by ddc65a96fdb1163b Changes to Clojure in Version 1.5 1 Deprecated and Removed Features 1.1 Clojure 1.5 reducers library requires Java 6 or later 2 New and Improved Features 2.1 Reducers 2.2 Reader Literals improved 2.3 clojure.core/set-agent-send-executor!, set-agent-send-off-executor!, and send-via 2.4 New threading macros 2.5 Column metadata captured by reader 2.6 gen-class improvements 2.7 Support added for marker protocols 2.8 clojure.pprint/print-table output compatible with Emacs Org mode 2.9 clojure.string/replace and replace-first handle special characters more predictably 2.10 Set and map constructor functions allow duplicates 2.11 More functions preserve metadata 2.12 New edn reader, improvements to *read-eval* 3 Performance Enhancements 4 Improved error messages 5 Improved documentation strings 6 Bug Fixes 7 Binary Compatibility Notes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/10/02 20:11:37 asau Exp $ d9 1 a9 1 HOMEPAGE= http://clojure.org/ @ 1.2 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.1.1.1 2012/05/04 11:51:30 ryoon Exp $ # d3 1 a3 1 DISTNAME= clojure-1.4.0 d5 1 a5 1 MASTER_SITES= http://repo1.maven.org/maven2/org/clojure/clojure/1.4.0/ @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1.1.1 log @Import clojure-1.4.0 as lang/clojure. Clojure is a dynamic programming language that targets the Java Virtual Machine (and the CLR, and JavaScript). It is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs. I hope you find Clojure's combination of facilities elegant, powerful, practical and fun to use. @ text @@