From fc016c1ddd9af0169413975b8e2a49dc7853138f04a41b93e52784ed9b987fbb Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 29 Sep 2024 05:50:37 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-ivy?expand=0&rev=81 --- .gitattributes | 23 ++++ .gitignore | 1 + apache-ivy-2.5.2-src.tar.gz | 3 + apache-ivy-global-settings.patch | 11 ++ apache-ivy-pack200.patch | 21 +++ apache-ivy-publication-date.patch | 192 +++++++++++++++++++++++++++ apache-ivy.changes | 183 ++++++++++++++++++++++++++ apache-ivy.spec | 202 ++++++++++++++++++++++++++++ ivy-2.5.2.pom | 211 ++++++++++++++++++++++++++++++ ivy.1 | 128 ++++++++++++++++++ 10 files changed, 975 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 apache-ivy-2.5.2-src.tar.gz create mode 100644 apache-ivy-global-settings.patch create mode 100644 apache-ivy-pack200.patch create mode 100644 apache-ivy-publication-date.patch create mode 100644 apache-ivy.changes create mode 100644 apache-ivy.spec create mode 100644 ivy-2.5.2.pom create mode 100644 ivy.1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/apache-ivy-2.5.2-src.tar.gz b/apache-ivy-2.5.2-src.tar.gz new file mode 100644 index 0000000..eb20fec --- /dev/null +++ b/apache-ivy-2.5.2-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e06edd472268dbf200c19d16fa595e095837cbac4a7bf29c147c301a0a1b0713 +size 2728835 diff --git a/apache-ivy-global-settings.patch b/apache-ivy-global-settings.patch new file mode 100644 index 0000000..3b5af77 --- /dev/null +++ b/apache-ivy-global-settings.patch @@ -0,0 +1,11 @@ +--- a/src/java/org/apache/ivy/ant/IvyAntSettings.java ++++ b/src/java/org/apache/ivy/ant/IvyAntSettings.java +@@ -345,7 +345,7 @@ public class IvyAntSettings extends DataType { + File[] settingsLocations = new File[] { + new File(getProject().getBaseDir(), settingsFileName), + new File(getProject().getBaseDir(), "ivyconf.xml"), new File(settingsFileName), +- new File("ivyconf.xml")}; ++ new File("ivyconf.xml"), new File("/etc/ivy/ivysettings.xml")}; + for (File settingsFile : settingsLocations) { + task.log("searching settings file: trying " + settingsFile, Project.MSG_VERBOSE); + if (settingsFile.exists()) { diff --git a/apache-ivy-pack200.patch b/apache-ivy-pack200.patch new file mode 100644 index 0000000..9d50983 --- /dev/null +++ b/apache-ivy-pack200.patch @@ -0,0 +1,21 @@ +--- apache-ivy-2.5.2/build.xml 2023-10-30 16:09:23.892302634 +0100 ++++ apache-ivy-2.5.2/build.xml 2023-10-30 16:12:01.143389848 +0100 +@@ -185,6 +185,7 @@ + midToKeep) { + DefaultModuleDescriptor fixedmd = new DefaultModuleDescriptor(md.getModuleRevisionId(), +- md.getStatus(), new Date()); ++ md.getStatus(), System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()); + + // copy namespaces + for (Map.Entry ns : md.getExtraAttributesNamespaces().entrySet()) { +--- apache-ivy-2.5.2/src/java/org/apache/ivy/core/resolve/ResolveEngine.java 2023-09-19 08:19:56.009666226 +0200 ++++ apache-ivy-2.5.2/src/java/org/apache/ivy/core/resolve/ResolveEngine.java 2023-09-19 09:04:13.531927183 +0200 +@@ -572,7 +572,7 @@ + try { + options.setConfs(confs); + +- Date reportDate = new Date(); ++ Date reportDate = System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date(); + ResolveData data = context.getResolveData(); + if (data == null) { + data = new ResolveData(this, options); +--- apache-ivy-2.5.2/src/java/org/apache/ivy/osgi/core/BundleInfoAdapter.java 2023-09-19 08:19:56.012999584 +0200 ++++ apache-ivy-2.5.2/src/java/org/apache/ivy/osgi/core/BundleInfoAdapter.java 2023-09-19 09:06:16.799468326 +0200 +@@ -93,7 +93,7 @@ + md.addExtraAttributeNamespace("o", Ivy.getIvyHomeURL() + "osgi"); + ModuleRevisionId mrid = asMrid(BundleInfo.BUNDLE_TYPE, bundle.getSymbolicName(), + bundle.getVersion()); +- md.setResolvedPublicationDate(new Date()); ++ md.setResolvedPublicationDate(System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()); + md.setModuleRevisionId(mrid); + + md.addConfiguration(CONF_DEFAULT); +--- apache-ivy-2.5.2/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java 2023-09-19 08:19:56.012999584 +0200 ++++ apache-ivy-2.5.2/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java 2023-09-19 09:06:27.589544872 +0200 +@@ -201,7 +201,7 @@ + Collections.singletonMap(CAPABILITY_EXTRA_ATTR, md.getModuleRevisionId().toString())); + + DefaultModuleDescriptor capabilityMd = new DefaultModuleDescriptor(capabilityRev, +- getSettings().getStatusManager().getDefaultStatus(), new Date()); ++ getSettings().getStatusManager().getDefaultStatus(), System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()); + + String useConf = BundleInfoAdapter.CONF_USE_PREFIX + dd.getDependencyRevisionId().getName(); + +--- apache-ivy-2.5.2/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java 2023-09-19 08:19:56.016332941 +0200 ++++ apache-ivy-2.5.2/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java 2023-09-19 09:05:45.949249470 +0200 +@@ -249,7 +249,7 @@ + DependencyResolver resolver = parserSettings.getResolver(mrid); + + if (resolver != null) { +- DefaultArtifact artifact = new DefaultArtifact(mrid, new Date(), artifactId, "jar", ++ DefaultArtifact artifact = new DefaultArtifact(mrid, System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date(), artifactId, "jar", + "jar"); + ArtifactOrigin artifactOrigin = resolver.locate(artifact); + +@@ -268,7 +268,7 @@ + ext = packaging; + } + +- mainArtifact = new DefaultArtifact(mrid, new Date(), artifactId, packaging, ext); ++ mainArtifact = new DefaultArtifact(mrid, System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date(), artifactId, packaging, ext); + ivyModuleDescriptor.addArtifact("master", mainArtifact); + } + diff --git a/apache-ivy.changes b/apache-ivy.changes new file mode 100644 index 0000000..0011931 --- /dev/null +++ b/apache-ivy.changes @@ -0,0 +1,183 @@ +------------------------------------------------------------------- +Tue Feb 20 10:44:09 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Mon Oct 30 15:24:39 UTC 2023 - Fridrich Strba + +- Added patch: + * apache-ivy-pack200.patch + + conditionally apply to allow building against standalone + pack200 implementation + +------------------------------------------------------------------- +Tue Sep 19 11:31:58 UTC 2023 - Fridrich Strba + +- Added patch: + * apache-ivy-publication-date.patch + + Use SOURCE_DATE_EPOCH for publication date in ivy artifacts + +------------------------------------------------------------------- +Mon Aug 21 23:30:17 UTC 2023 - Fridrich Strba + +- Upgrade to version 2.5.2 (bsc#1214422) + * Fixes: + + ivy:retrieve could fail because of a 'NullPointerException' + (jira:IVY-1641[]) + + reading POMs may loose dependencies when multiple Maven + dependencies only differ in 'classifier' (jira:IVY-1642[]) + + CVE-2022-46751: Apache Ivy Is Vulnerable to XML External + Entity Injections + +------------------------------------------------------------------- +Mon Nov 7 08:10:54 UTC 2022 - David Anes + +- Upgrade to version 2.5.1 (bsc#1205142, bsc#1205138) + * Breaking: + + Removed old fr\jayasoft\ivy\ant\antlib.xml AntLib definition + file. + * Fixes: + + CVE-2022-37865 allow create/overwrite any file on the system. + (see https://ant.apache.org/ivy/security.html) + + CVE-2022-37866 Path traversal in patterns. + (see https://ant.apache.org/ivy/security.html) + + ResolveEngine resets dictator resolver to null in the global + configuration. + + ConcurrentModificationException in + MessageLoggerHelper.sumupProblems. + + useOrigin="true" fails with file-based ibiblio. + + ivy:retrieve Ant task didn’t create an empty fileset when no + files were retrieved to a non-empty directory. + + ivy:retrieve Ant task relied on the default HTTP header + "Accept" which caused problems with servers that interpret it + strictly (e.g. AWS CodeArtifact). + * Improvements: + + Ivy command now accepts a URL for the -settings option. + +------------------------------------------------------------------- +Sat Mar 19 13:22:59 UTC 2022 - Fridrich Strba + +- Upgrade to upstream version 2.5.0 +- Force building with JDK < 14, since it imports statically a class + removed in JDK14 +- Change dependencies for the httpclient to httpcomponents-client + instead of apache-commons-httpclient +- Modified patch: + * apache-ivy-global-settings.patch + + implement the same functionality with a bit of less code +- Removed patches: + * apache-ivy-2.4.0-jdk9.patch + * port-to-bc-1.52.patch + + not needed with this version + +------------------------------------------------------------------- +Tue Dec 10 22:39:53 UTC 2019 - Fridrich Strba + +- Specify bundle.version in order to avoid unexpanded macro + +------------------------------------------------------------------- +Tue Sep 24 16:08:31 UTC 2019 - Fridrich Strba + +- Build the bouncycastle signer plugin since bcpg is now present +- Added patch: + * port-to-bc-1.52.patch + + Allow building the signer plugin against bouncycastle >= 1.52 + +------------------------------------------------------------------- +Tue Jul 2 09:22:21 UTC 2019 - Fridrich Strba + +- Add possibility to build with ssh and vfs integration, since + we have all the dependencies in openSUSE. + +------------------------------------------------------------------- +Mon Apr 8 18:12:07 UTC 2019 - Fridrich Strba + +- Remove the reference to parent from pom file, since we are not + building using maven. + +------------------------------------------------------------------- +Thu Feb 7 14:48:24 UTC 2019 - Fridrich Strba + +- Add apache-ivy/ivy.jar symlink + +------------------------------------------------------------------- +Mon Nov 26 10:25:21 UTC 2018 - Fridrich Strba + +- Upgrade to version 2.4.0 +- Modified patch: + * apache-ivy-2.3.0-jdk9.patch -> apache-ivy-2.4.0-jdk9.patch + + rediff to changed context +- Added patch: + * apache-ivy-global-settings.patch + + change global settings + +------------------------------------------------------------------- +Tue May 15 13:26:55 UTC 2018 - fstrba@suse.com + +- Modified patch: + * apache-ivy-2.3.0-jdk9.patch + + Build with source and target 8 to prepare for a possible + removal of 1.6 compatibility +- Run fdupes on documentation + +------------------------------------------------------------------- +Thu Sep 7 17:10:15 UTC 2017 - fstrba@suse.com + +- Added patch: + * apache-ivy-2.3.0-jdk9.patch + + Use source and target version 1.6 to enable build with jdk9 + +------------------------------------------------------------------- +Sun May 21 08:01:08 UTC 2017 - tchvatal@suse.com + +- Reduce deps a bit + +------------------------------------------------------------------- +Fri May 19 10:07:03 UTC 2017 - pcervinka@suse.com + +- New build dependency: javapackages-local + +------------------------------------------------------------------- +Wed Mar 18 09:46:01 UTC 2015 - tchvatal@suse.com + +- Fix build with new javapackages-tools + +------------------------------------------------------------------- +Tue Jul 8 11:01:30 UTC 2014 - tchvatal@suse.com + +- Do not depend on ant-nodeps. + +------------------------------------------------------------------- +Wed Nov 6 10:58:10 UTC 2013 - mvyskocil@suse.com + +- Remove jakarta-commons-httpclient3, we do no longer provide it +- Add ant.d config snippet for ivy +- call add_maven_depmap + +------------------------------------------------------------------- +Mon Sep 9 11:04:12 UTC 2013 - tchvatal@suse.com + +- Move from jpackage-utils to javapackage-tools + +------------------------------------------------------------------- +Fri Jan 25 15:03:33 UTC 2013 - archie@dellroad.org + +- Upgrade to release 2.3.0 + * improved Ant support with some new Ant tasks and enhancements to existing tasks + * improved Maven2 compatibility + * some new resolvers + * numerous bug fixes as documented in Jira and in the release notes + +------------------------------------------------------------------- +Wed Jan 2 17:08:16 UTC 2013 - archie@dellroad.org + +- Define ${target.ivy.version} during build +- Include an ivy(1) command line script and man page + +------------------------------------------------------------------- +Mon Jan 16 14:55:55 UTC 2012 - mvyskocil@suse.cz + +- Initial SUSE packaging of apache-ivy 2.2.0 + (without signing support) + diff --git a/apache-ivy.spec b/apache-ivy.spec new file mode 100644 index 0000000..0c888ac --- /dev/null +++ b/apache-ivy.spec @@ -0,0 +1,202 @@ +# +# spec file for package apache-ivy +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%bcond_without httpclient +%bcond_without oro +%bcond_without sftp +%bcond_without vfs +%bcond_with pack200 +Name: apache-ivy +Version: 2.5.2 +Release: 0 +Summary: Java-based dependency manager +License: Apache-2.0 +Group: Development/Tools/Building +URL: https://ant.apache.org/ivy/ +Source0: https://archive.apache.org/dist/ant/ivy/%{version}/%{name}-%{version}-src.tar.gz +Source1: ivy.1 +Source2: https://repo1.maven.org/maven2/org/apache/ivy/ivy/%{version}/ivy-%{version}.pom +Patch0: apache-ivy-global-settings.patch +Patch1: apache-ivy-publication-date.patch +Patch2: apache-ivy-pack200.patch +BuildRequires: ant +BuildRequires: bouncycastle-pg +BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 +BuildRequires: javapackages-local >= 6 +BuildRequires: jsch +BuildRequires: oro +Provides: ivy = %{version}-%{release} +Obsoletes: ivy < %{version}-%{release} +BuildArch: noarch +%if %{with pack200} +BuildRequires: pack200 +%else +BuildConflicts: java >= 14 +BuildConflicts: java-devel >= 14 +BuildConflicts: java-headless >= 14 +%endif +%if %{with vfs} +BuildRequires: apache-commons-vfs2 +%endif +%if %{with sftp} +BuildRequires: jsch-agent-proxy-connector-factory +BuildRequires: jsch-agent-proxy-core +BuildRequires: jsch-agent-proxy-jsch +%endif +%if %{with httpclient} +BuildRequires: httpcomponents-client +%endif +%if %{with oro} +BuildRequires: oro +%endif + +%description +Apache Ivy is a tool for managing (recording, tracking, resolving and +reporting) project dependencies. It is designed as process agnostic and is +not tied to any methodology or structure. while available as a standalone +tool, Apache Ivy works particularly well with Apache Ant providing a number +of powerful Ant tasks ranging from dependency resolution to dependency +reporting and publication. + +%package javadoc +Summary: API Documentation for ivy +Group: Documentation/HTML + +%description javadoc +JavaDoc documentation for %{name} + +%prep +%setup -q +%patch -P 0 -p1 +%patch -P 1 -p1 + +cp %{SOURCE2} pom.xml + +%pom_remove_dep :jsch.agentproxy + +%if %{without httpclient} +%pom_remove_dep :httpclient +rm src/java/org/apache/ivy/util/url/HttpClientHandler.java +%endif + +%if %{without oro} +%pom_remove_dep :oro +rm src/java/org/apache/ivy/plugins/matcher/GlobPatternMatcher.java +%endif + +%if %{without vfs} +%pom_remove_dep :commons-vfs2 +rm src/java/org/apache/ivy/plugins/repository/vfs/VfsRepository.java +rm src/java/org/apache/ivy/plugins/repository/vfs/VfsResource.java +rm src/java/org/apache/ivy/plugins/repository/vfs/ivy_vfs.xml +rm src/java/org/apache/ivy/plugins/resolver/VfsResolver.java +%endif + +%if %{without sftp} +%pom_remove_dep :jsch +%pom_remove_dep :jsch.agentproxy.connector-factory +%pom_remove_dep :jsch.agentproxy.jsch +rm src/java/org/apache/ivy/plugins/repository/sftp/SFTPRepository.java +rm src/java/org/apache/ivy/plugins/repository/sftp/SFTPResource.java +rm src/java/org/apache/ivy/plugins/repository/ssh/AbstractSshBasedRepository.java +rm src/java/org/apache/ivy/plugins/repository/ssh/RemoteScpException.java +rm src/java/org/apache/ivy/plugins/repository/ssh/Scp.java +rm src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java +rm src/java/org/apache/ivy/plugins/repository/ssh/SshRepository.java +rm src/java/org/apache/ivy/plugins/repository/ssh/SshResource.java +rm src/java/org/apache/ivy/plugins/resolver/AbstractSshBasedResolver.java +rm src/java/org/apache/ivy/plugins/resolver/SFTPResolver.java +rm src/java/org/apache/ivy/plugins/resolver/SshResolver.java +%endif + +%if %{with pack200} +%pom_add_dep io.pack200:pack200:14:provided +%patch -P 2 -p1 +%endif + +%build +# Craft class path +mkdir -p lib +build-jar-repository -s lib ant ant/ant-nodeps jsch bcprov bcpg +export CLASSPATH=$(build-classpath ant ant/ant-nodeps jsch httpcomponents bcprov bcpg) +%if %{with httpclient} +build-jar-repository -s lib httpcomponents +export CLASSPATH=${CLASSPATH}:$(build-classpath httpcomponents) +%endif +%if %{with oro} +build-jar-repository -s lib oro +export CLASSPATH=${CLASSPATH}:$(build-classpath oro) +%endif +%if %{with vfs} +build-jar-repository -s lib commons-vfs2 +export CLASSPATH=${CLASSPATH}:$(build-classpath commons-vfs2) +%endif +%if %{with sftp} +build-jar-repository -s lib jsch.agentproxy.core \ + jsch.agentproxy.connector-factory \ + jsch.agentproxy.jsch +export CLASSPATH=${CLASSPATH}:$(build-classpath jsch.agentproxy.core jsch.agentproxy.connector-factory jsch.agentproxy.jsch) +%endif +%if %{with pack200} +build-jar-repository -s lib pack200 +export CLASSPATH=${CLASSPATH}:$(build-classpath pack200) +%endif + +# Build +%{ant} -v -Dtarget.ivy.version=%{version} -Dbundle.version=%{version} /localivy /offline jar javadoc + +%install +# Code +install -d %{buildroot}%{_javadir}/%{name} +install -p -m644 build/artifact/jars/ivy.jar %{buildroot}%{_javadir}/ivy.jar +ln -sf ../ivy.jar %{buildroot}%{_javadir}/%{name}/ivy.jar + +install -d -m 0755 %{buildroot}/%{_mavenpomdir}/ +%{mvn_install_pom} pom.xml %{buildroot}/%{_mavenpomdir}/JPP-ivy.pom +# Maven depmap +%add_maven_depmap JPP-ivy.pom ivy.jar + +# API Documentation +install -d %{buildroot}%{_javadocdir}/%{name} +cp -rp build/reports/api/. %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} + +# Command line script +MAIN_CLASS=`sed -rn 's/^Main-Class: (.*)$/\1/gp' META-INF/MANIFEST.MF | tr -d '\r'` +%jpackage_script "${MAIN_CLASS}" "" "" ant:ant/ant-nodeps:ivy:oro:jsch:commons-httpclient ivy + +mkdir -p %{buildroot}%{_sysconfdir}/ant.d +echo "ivy" > %{buildroot}%{_sysconfdir}/ant.d/%{name} + +# Man page +install -d %{buildroot}%{_mandir}/man1 +install %{SOURCE1} %{buildroot}%{_mandir}/man1/ivy.1 + +%files -f .mfiles +%license LICENSE NOTICE +%doc README.adoc +%config %{_sysconfdir}/ant.d/%{name} +%{_javadir}/%{name} +%attr(755,root,root) %{_bindir}/* +%attr(644,root,root) %{_mandir}/man1/* + +%files javadoc +%{_javadocdir}/* + +%changelog diff --git a/ivy-2.5.2.pom b/ivy-2.5.2.pom new file mode 100644 index 0000000..0544924 --- /dev/null +++ b/ivy-2.5.2.pom @@ -0,0 +1,211 @@ + + + + + 4.0.0 + + org.apache + apache + 7 + + org.apache.ivy + ivy + 2.5.2 + Apache Ivy + http://ant.apache.org/ivy/ + + scm:svn:https://svn.apache.org/repos/asf/ant/ivy/core/trunk/ + scm:svn:https://svn.apache.org/repos/asf/ant/ivy/core/trunk + https://svn.apache.org/repos/asf/ant/ivy/core/trunk + + + + Ant/Ivy Developers List + dev-subscribe@ant.apache.org + dev-unsubscribe@ant.apache.org + dev@ant.apache.org + https://mail-archives.apache.org/mod_mbox/ant-dev + + + Ivy Users List + ivy-user-subscribe@ant.apache.org + ivy-user-unsubscribe@ant.apache.org + ivy-user@ant.apache.org + https://mail-archives.apache.org/mod_mbox/ant-ivy-user + + + + jira + https://issues.apache.org/jira/browse/IVY + + + + org.apache.ant + ant + 1.9.16 + true + + + org.apache.httpcomponents + httpclient + 4.5.13 + true + + + oro + oro + 2.0.8 + true + + + org.apache.commons + commons-vfs2 + 2.2 + true + + + com.jcraft + jsch + 0.1.55 + true + + + com.jcraft + jsch.agentproxy + 0.0.9 + true + + + com.jcraft + jsch.agentproxy.connector-factory + 0.0.9 + true + + + com.jcraft + jsch.agentproxy.jsch + 0.0.9 + true + + + org.bouncycastle + bcpg-jdk15on + 1.70 + true + + + org.bouncycastle + bcprov-jdk15on + 1.70 + true + + + junit + junit + 4.13.2 + test + + + org.hamcrest + hamcrest-core + 1.3 + test + + + org.hamcrest + hamcrest-library + 1.3 + test + + + org.apache.ant + ant-testutil + 1.9.16 + test + + + * + * + + + + + org.apache.ant + ant-launcher + 1.9.16 + test + + + * + * + + + + + org.apache.ant + ant-junit + 1.9.16 + test + + + * + * + + + + + org.apache.ant + ant-junit4 + 1.9.16 + test + + + * + * + + + + + ant-contrib + ant-contrib + 1.0b3 + test + + + * + * + + + + + xmlunit + xmlunit + 1.6 + test + + + * + * + + + + + diff --git a/ivy.1 b/ivy.1 new file mode 100644 index 0000000..0f2837a --- /dev/null +++ b/ivy.1 @@ -0,0 +1,128 @@ +.\" -*- nroff -*- +.\" +.Dd January 2, 2013 +.Dt IVY 1 +.Os +.Sh NAME +.Nm ivy +.Nd Ivy depedency manager +.Sh SYNOPSIS +.Nm ivy +.Bk -words +.Op options ... +.Ek +.Sh DESCRIPTION +.Nm +invokes the Ivy dependency manager from the command line. +.Sh OPTIONS +.Ss Settings Options +.Bl -tag -width Ds +.It Fl settings Ar settingsfile +Use given file for settings. +.It Fl cache Ar cachedir +Use given directory for cache. +.It Fl novalidate +Do not validate ivy files against xsd. +.It Fl m2compatible +Use maven2 compatibility. +.El +.Ss Resolve Options +.Bl -tag -width Ds +.It Fl ivy Ar ivyfile +Use given file as ivy file. +.It Fl refresh +Refresh dynamic resolved revisions. +.It Fl dependency Ar organisation Ar module Ar revision +Use this instead of ivy file to do the rest of the +work with this as a dependency. +.It Fl confs Ar configurations +Resolve given configurations. +.It Fl types Ar types +Comma separated list of accepted artifact types. +.It Fl mode Ar resolvemode +The resolve mode to use. +.It Fl notransitive +Do not resolve dependencies transitively. +.El +.Ss Retrieve Options +.Bl -tag -width Ds +.It Fl retrieve Ar retrievepattern +Use given pattern as retrieve pattern. +.It Fl ivypattern Ar pattern +Use given pattern to copy the ivy files. +.It Fl sync +Use sync mode for retrieve. +.It Fl symlink +Create symbolic links. +.El +.Ss Cache Path Options +.Bl -tag -width Ds +.It Fl cachepath Ar cachepathfile +Outputs a classpath consisting of all dependencies +in cache (including transitive ones) of the given +ivy file to the given +.Ar cachepathfile . +.El +.Ss Deliver Options +.Bl -tag -width Ds +.It Fl deliverto Ar ivypattern +Use given pattern as resolved ivy file pattern. +.El +.Ss Publish Options +.Bl -tag -width Ds +.It Fl publish Ar resolvername +Use given resolver to publish to. +.It Fl publishpattern Ar artpattern +Use given pattern to find artifacts to publish. +.It Fl revision Ar revision +Use given revision to publish the module. +.It Fl status Ar status +Use given status to publish the module. +.It Fl overwrite +Overwrite files in the repository if they exist. +.El +.Ss HTTP Auth Options +.Bl -tag -width Ds +.It Fl realm Ar realm +Use given realm for HTTP AUTH. +.It Fl host Ar host +Use given host for HTTP AUTH. +.It Fl username Ar username +Use given username for HTTP AUTH. +.It Fl passwd Ar passwd +Use given password for HTTP AUTH. +.El +.Ss Launcher Options +.Bl -tag -width Ds +.It Fl main Ar main +The FQCN of the main class to launch. +.It Fl args Ar args +The arguments to give to the launched process. +.It Fl cp Ar cp +Extra classpath to use when launching process. +.El +.Ss Message Options +.Bl -tag -width Ds +.It Fl debug +Set message level to debug. +.It Fl verbose +Set message level to verbose. +.It Fl warn +Set message level to warn. +.It Fl error +Set message level to error. +.El +.Ss Help Options +.Bl -tag -width Ds +.It Fl ? +Display this help. +.It Fl deprecated +Show deprecated options. +.It Fl version +Displays version information. +.El +.Sh SEE ALSO +.Rs +.%T "Ivy: The agile dependency manager" +.%O http://ant.apache.org/ivy/ +.Re From b33b21a0a106ff9f4fdef0e7526fe47e89792ad34da8ac3581a6bbe16a84fa0a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 29 Sep 2024 19:45:15 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-ivy?expand=0&rev=82 --- apache-ivy.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apache-ivy.changes b/apache-ivy.changes index 0011931..a453249 100644 --- a/apache-ivy.changes +++ b/apache-ivy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 29 19:45:07 UTC 2024 - Fridrich Strba + +- Fix build after removal of the default %%{java_home} define + ------------------------------------------------------------------- Tue Feb 20 10:44:09 UTC 2024 - Dominique Leuenberger