[ivy] 02/06: Imported Debian patch 2.4.0-2

Markus Koschany apo-guest at moszumanska.debian.org
Wed Dec 16 12:51:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to annotated tag debian/2.4.0-3
in repository ivy.

commit 37bc4d14c9b861b5d6a16333ac82baeb84944345
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Nov 3 23:18:40 2015 +0100

    Imported Debian patch 2.4.0-2
---
 debian/README.Debian             |  13 ++++
 debian/ant.properties            |   5 ++
 debian/build.xml                 |  67 +++++++++++++++++
 debian/changelog                 | 148 ++++++++++++++++++++++++++++++++++++++
 debian/compat                    |   1 +
 debian/control                   |  40 +++++++++++
 debian/copyright                 |  15 ++++
 debian/ivy-doc.doc-base.api      |   9 +++
 debian/ivy.poms                  |   1 +
 debian/maven.rules               |   5 ++
 debian/orig-tar.sh               |  19 +++++
 debian/patches/commons-vfs2.diff | 105 +++++++++++++++++++++++++++
 debian/patches/series            |   1 +
 debian/pom.xml                   | 151 +++++++++++++++++++++++++++++++++++++++
 debian/rules                     |  33 +++++++++
 debian/source/format             |   1 +
 debian/watch                     |   3 +
 17 files changed, 617 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..b913518
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,13 @@
+Using ivy
+=========
+
+This package installs the ivy.jar in /usr/share/java.
+
+No symlink to ivy.jar is created in /usr/share/ant/lib/ due to several
+reasons listed in #547969.
+
+To use ivy ant tasks, ivy should be added to ant's classpath in any of
+the ways listed here:
+http://ant.apache.org/manual/install.html#optionalTasks
+
+-- Varun Hiremath <varun at debian.org>  Thu,  1 Oct 2009 19:37:44 -0400
diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..0ab68fe
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,5 @@
+project.name=ivy
+class.dir=classes
+source.dir=src/java
+jar.name=ivy.jar
+doc.dir=api
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..15df110
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+  <property file="./build.properties" />
+  <patternset id="compiler.resources">
+    <include name="**/?*.properties" />
+    <include name="**/?*.patterns" />
+    <include name="**/?*.json" />
+    <include name="**/?*.xml" />
+    <include name="**/?*.png" />
+    <include name="**/?*.pom" />
+    <include name="**/?*.jpeg" />
+    <include name="**/?*.jpg" />
+    <include name="**/?*.html" />
+    <include name="**/?*.xsl" />
+    <include name="**/?*.xsd" />
+    <include name="**/?*.ent" />
+    <include name="**/?*.css" />
+    <include name="**/?*.ico" />
+    <include name="**/pom.template" />
+  </patternset>
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true" />
+    <delete file="${jar.name}" quiet="true" />
+    <delete dir="${doc.dir}" quiet="true" />
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}" />
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+	   debug="true" source="1.5" target="1.5"/>
+    <copy todir="${class.dir}">
+      <fileset dir="${source.dir}">
+        <patternset refid="compiler.resources" />
+      </fileset>
+    </copy>
+
+    <!-- copy antlib for backward compatibility with fr.jayasoft.ivy package -->
+    <copy file="${class.dir}/org/apache/ivy/ant/antlib.xml" 
+          todir="${class.dir}/fr/jayasoft/ivy/ant" />
+
+    <!-- copy settings files for backward compatibility with ivyconf naming -->
+    <copy file="${class.dir}/org/apache/ivy/core/settings/ivysettings-local.xml"
+          tofile="${class.dir}/org/apache/ivy/core/settings/ivyconf-local.xml" />
+    <copy file="${class.dir}/org/apache/ivy/core/settings/ivysettings-default-chain.xml"
+          tofile="${class.dir}/org/apache/ivy/core/settings/ivyconf-default-chain.xml" />
+    <copy file="${class.dir}/org/apache/ivy/core/settings/ivysettings-main-chain.xml"
+          tofile="${class.dir}/org/apache/ivy/core/settings/ivyconf-main-chain.xml" />
+    <copy file="${class.dir}/org/apache/ivy/core/settings/ivysettings-public.xml"
+          tofile="${class.dir}/org/apache/ivy/core/settings/ivyconf-public.xml" />
+    <copy file="${class.dir}/org/apache/ivy/core/settings/ivysettings-shared.xml"
+          tofile="${class.dir}/org/apache/ivy/core/settings/ivyconf-shared.xml" />
+    <copy file="${class.dir}/org/apache/ivy/core/settings/ivysettings.xml"
+          tofile="${class.dir}/org/apache/ivy/core/settings/ivyconf.xml" />
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}" basedir="${class.dir}" manifest="META-INF/MANIFEST.MF"/>
+  </target>
+
+  <target name="javadoc" description="Creates Javadoc documentation">
+    <mkdir dir="${doc.dir}" />
+    <javadoc packagenames="*" locale="en" additionalparam="-notimestamp"
+    sourcepath="${source.dir}" destdir="${doc.dir}" />
+  </target>
+
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5c1d3b3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,148 @@
+ivy (2.4.0-2) unstable; urgency=medium
+
+  * Upload to unstable
+  * Improved the reproducibility:
+    - Set the locale and remove the timestamps when generating the javadoc
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 03 Nov 2015 23:18:40 +0100
+
+ivy (2.4.0-1) experimental; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+    - Refreshed the VFS patch
+    - New dependency on libjsch-agent-proxy-java
+    - Set the source/target level to 1.5 in debian/build.xml
+  * Use XZ compression for the upstream tarball
+  * Moved the package to Git
+  * Switch to debhelper level 9
+  * debian/copyright: Updated to the Copyright Format 1.0
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 29 Apr 2015 23:12:39 +0200
+
+ivy (2.3.0-4) unstable; urgency=medium
+
+  * Team upload.
+  * Added the missing pom.template file in ivy.jar (Closes: #762108)
+  * Standards-Version updated to 3.9.6 (no changes)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 24 Dec 2014 12:47:57 +0100
+
+ivy (2.3.0-3) unstable; urgency=low
+
+  * Team upload.
+  * Use canonical URLs for the Vcs-* fields
+  * Switched the dependency on Commons Collections to 3.x
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 09 Sep 2013 21:19:17 +0200
+
+ivy (2.3.0-2) unstable; urgency=low
+
+  * Team upload.
+  * Upload to unstable.
+
+ -- tony mancill <tmancill at debian.org>  Wed, 15 May 2013 17:44:57 -0700
+
+ivy (2.3.0-1) experimental; urgency=low
+
+  [ Miguel Landaeta ]
+  * New upstream release. 
+  * Bump Standards-Version to 3.9.4. No changes were required.
+  * Fix minor lintian warning regarding package description.
+
+  [ Damien Raude-Morvan ]
+  * d/maven.rules: Replace commons-vfs by commons-vfs2,
+    use 3.x version of commons-httpclient and add mapping
+    for bouncycastle.
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Sun, 31 Mar 2013 21:32:10 -0300
+
+ivy (2.2.0-2) unstable; urgency=low
+
+  * Team upload.
+  * Fix for commons-vfs2.
+  * Bump Standards-Version to 3.9.2: no changes needed.
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Sun, 11 Sep 2011 01:36:00 +0200
+
+ivy (2.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Update pom.xml to the latest version.
+  * Add Build-Depends and Suggests on libbcprov-java and libbcpg-java.
+  * Add mh_clean call in clean target.
+  * Bump Standards-Version to 3.9.1. No changes were required.
+  * Add myself to Uploaders.
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Sun, 06 Feb 2011 20:56:32 -0430
+
+ivy (2.1.0-1) unstable; urgency=low
+
+  [ Thierry Carrez ]
+  * debian/build.xml: Build java2-code to match runtime dependency
+
+  [ Varun Hiremath ]
+  * New upstream release
+  * Update pom.xml to the latest version
+  * (Build)-Depend on default-jdk-doc (Closes: #567274)
+  * Switch to source format 3.0
+
+ -- Varun Hiremath <varun at debian.org>  Thu, 11 Feb 2010 15:47:07 -0500
+
+ivy (2.1.0~rc2-3) unstable; urgency=low
+
+  * Update pom.xml file to latest 2.1.0~rc2 version (Closes: #548310)
+  * Include the MANIFEST.MF file in the jar (Closes: #548311)
+  * Add debian/README.Debian listing reasons for not creating symlink to
+    ivy.jar in ant's lib directory and solutions (Closes: #547969)
+  * Switch to default-jdk
+  * Bump Standards-Version to 3.8.3 (no changes)
+
+ -- Varun Hiremath <varun at debian.org>  Thu, 01 Oct 2009 19:47:35 -0400
+
+ivy (2.1.0~rc2-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 09 Aug 2009 11:17:50 +0200
+
+ivy (2.1.0~rc2-1) experimental; urgency=low
+
+  * New upstream version
+  * Add myself to Uploaders
+  * Bump Standards-Version to 3.8.2
+  * Change section to java
+  * Add the Maven POM to the package
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+  * Depend on the headless Java runtimes as Ivy does not use any GUI
+    or graphics most of the time
+  * move default-jre | java2-runtime to Suggests for the rare case
+    when Swing is used (to ask the user for credentials when they
+    are missing)
+  * Move api documentation to /usr/share/doc/ivy/api
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Sun, 26 Jul 2009 16:59:47 +0100
+
+ivy (2.1.0~rc1-1) unstable; urgency=low
+
+  * New upstream release
+  * Fix watch file
+  * Include .xsd and .ent files in ivy.jar (Closes: #526326)
+  * Copy settings files for backward compatibility with ivyconf naming
+  * Copy antlib for backward compatibility with fr.jayasoft.ivy package
+
+ -- Varun Hiremath <varun at debian.org>  Thu, 30 Apr 2009 20:15:32 -0400
+
+ivy (2.0.0-2) unstable; urgency=low
+
+  * Include xml files in ivy.jar (Closes: #524878)
+  * Add libjsch-java to Suggests (Closes: #521738)
+  * Bump Standards-Version to 3.8.1
+
+ -- Varun Hiremath <varun at debian.org>  Mon, 20 Apr 2009 18:43:56 -0400
+
+ivy (2.0.0-1) unstable; urgency=low
+
+  * Initial upload (Closes: #514757)
+
+ -- Varun Hiremath <varun at debian.org>  Fri, 06 Mar 2009 22:04:56 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ed57292
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: ivy
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun at debian.org>,
+ Torsten Werner <twerner at debian.org>,
+ Ludovic Claude <ludovic.claude at laposte.net>,
+ Miguel Landaeta <miguel at miguel.cc>,
+ Emmanuel Bourg <ebourg at apache.org>
+Build-Depends: cdbs, debhelper (>= 9)
+Build-Depends-Indep: maven-repo-helper, ant, default-jdk, libcommons-httpclient-java,
+ libcommons-lang-java, libcommons-cli-java, liboro-java,
+ libcommons-collections3-java, libcommons-vfs-java (>= 2.0), junit,
+ libjsch-java, libbcprov-java, libbcpg-java, default-jdk-doc,
+ libjsch-agent-proxy-java
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/ivy.git
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/ivy.git
+Homepage: http://ant.apache.org/ivy/
+
+Package: ivy
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Suggests: libjsch-java, libjsch-agent-proxy-java, libbcprov-java, libbcpg-java, ivy-doc,
+ default-jre | java2-runtime
+Description: agile dependency manager
+ Ivy is a very powerful dependency manager oriented toward Java
+ dependency management, even though it could be used to manage
+ dependencies of any kind.
+
+Package: ivy-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, default-jdk-doc
+Description: agile dependency manager (documentation)
+ Ivy is a very powerful dependency manager oriented toward Java
+ dependency management, even though it could be used to manage
+ dependencies of any kind.
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d9648de
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Apache Ivy
+Source: http://www.apache.org/dist/ant/ivy/
+
+Files: *
+Copyright: 2009-2014, The Apache Software Foundation
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
+
+Files: debian/*
+Copyright: 2009, Varun Hiremath <varun at debian.org>
+License: GPL-3
+ On Debian systems, the full text of the GPL-3 license
+ can be found in the file '/usr/share/common-licenses/GPL-3'
diff --git a/debian/ivy-doc.doc-base.api b/debian/ivy-doc.doc-base.api
new file mode 100644
index 0000000..a5e4b52
--- /dev/null
+++ b/debian/ivy-doc.doc-base.api
@@ -0,0 +1,9 @@
+Document: ivy
+Title: API for ivy
+Author: The Apache Software Foundation
+Abstract: The agile dependency manager
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/ivy/api/index.html
+Files: /usr/share/doc/ivy/api/*.html
diff --git a/debian/ivy.poms b/debian/ivy.poms
new file mode 100644
index 0000000..623bd24
--- /dev/null
+++ b/debian/ivy.poms
@@ -0,0 +1 @@
+debian/pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..d5dee9d
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,5 @@
+s/ant/org.apache.ant/ s/ant.*/ant/ * s/.*/debian/
+s/commons-vfs/org.apache.commons/ s/commons-vfs/commons-vfs2/ jar s/.*/debian/
+commons-httpclient commons-httpclient jar s/.*/3.x/
+org.bouncycastle s/bcpg-jdk14/bcpg/ jar s/.*/debian/
+org.bouncycastle s/bcprov-jdk14/bcprov/ jar s/.*/debian/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..8442aa0
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+VERSION=$2
+DIR=ivy-$VERSION.orig
+TAR=../ivy_${VERSION}.orig.tar.xz
+
+# clean up the upstream tarball
+tar -z -x -f $3
+mv apache-ivy* $DIR
+XZ_OPT=--best tar -c -J -v -f $TAR --exclude '*/test*' --exclude '*/doc*' $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $3 $origDir
+  echo "moved $3 to $origDir"
+fi
diff --git a/debian/patches/commons-vfs2.diff b/debian/patches/commons-vfs2.diff
new file mode 100644
index 0000000..013ec11
--- /dev/null
+++ b/debian/patches/commons-vfs2.diff
@@ -0,0 +1,105 @@
+Description: Fix build with commons vfs 2.0
+Author: Damien Raude-Morvan <drazzib at debian.org>
+Last-Update: 2011-09-11
+Forwarded: no
+--- a/META-INF/MANIFEST.MF
++++ b/META-INF/MANIFEST.MF
+@@ -20,13 +20,13 @@
+  org.apache.commons.httpclient.params;resolution:=optional,
+  org.apache.commons.httpclient.protocol;resolution:=optional,
+  org.apache.commons.net.ftp;resolution:=optional,
+- org.apache.commons.vfs;resolution:=optional,
+- org.apache.commons.vfs.impl;resolution:=optional,
+- org.apache.commons.vfs.provider;resolution:=optional,
+- org.apache.commons.vfs.provider.ftp;resolution:=optional,
+- org.apache.commons.vfs.provider.local;resolution:=optional,
+- org.apache.commons.vfs.provider.sftp;resolution:=optional,
+- org.apache.commons.vfs.provider.url;resolution:=optional,
++ org.apache.commons.vfs2;resolution:=optional,
++ org.apache.commons.vfs2.impl;resolution:=optional,
++ org.apache.commons.vfs2.provider;resolution:=optional,
++ org.apache.commons.vfs2.provider.ftp;resolution:=optional,
++ org.apache.commons.vfs2.provider.local;resolution:=optional,
++ org.apache.commons.vfs2.provider.sftp;resolution:=optional,
++ org.apache.commons.vfs2.provider.url;resolution:=optional,
+  org.apache.oro.text;resolution:=optional,
+  org.apache.oro.text.regex;resolution:=optional,
+  org.apache.tools.ant;resolution:=optional,
+--- a/src/java/org/apache/ivy/plugins/repository/vfs/VfsRepository.java
++++ b/src/java/org/apache/ivy/plugins/repository/vfs/VfsRepository.java
+@@ -25,12 +25,12 @@
+ import java.util.Arrays;
+ import java.util.List;
+ 
+-import org.apache.commons.vfs.FileContent;
+-import org.apache.commons.vfs.FileObject;
+-import org.apache.commons.vfs.FileSystemException;
+-import org.apache.commons.vfs.FileSystemManager;
+-import org.apache.commons.vfs.FileType;
+-import org.apache.commons.vfs.impl.StandardFileSystemManager;
++import org.apache.commons.vfs2.FileContent;
++import org.apache.commons.vfs2.FileObject;
++import org.apache.commons.vfs2.FileSystemException;
++import org.apache.commons.vfs2.FileSystemManager;
++import org.apache.commons.vfs2.FileType;
++import org.apache.commons.vfs2.impl.StandardFileSystemManager;
+ import org.apache.ivy.plugins.repository.AbstractRepository;
+ import org.apache.ivy.plugins.repository.RepositoryCopyProgressListener;
+ import org.apache.ivy.plugins.repository.Resource;
+--- a/src/java/org/apache/ivy/plugins/repository/vfs/VfsResource.java
++++ b/src/java/org/apache/ivy/plugins/repository/vfs/VfsResource.java
+@@ -22,11 +22,11 @@
+ import java.util.ArrayList;
+ import java.util.List;
+ 
+-import org.apache.commons.vfs.FileContent;
+-import org.apache.commons.vfs.FileObject;
+-import org.apache.commons.vfs.FileSystemException;
+-import org.apache.commons.vfs.FileSystemManager;
+-import org.apache.commons.vfs.FileType;
++import org.apache.commons.vfs2.FileContent;
++import org.apache.commons.vfs2.FileObject;
++import org.apache.commons.vfs2.FileSystemException;
++import org.apache.commons.vfs2.FileSystemManager;
++import org.apache.commons.vfs2.FileType;
+ import org.apache.ivy.plugins.repository.Resource;
+ import org.apache.ivy.plugins.resolver.VfsResolver;
+ import org.apache.ivy.util.Message;
+--- a/src/java/org/apache/ivy/plugins/repository/vfs/ivy_vfs.xml
++++ b/src/java/org/apache/ivy/plugins/repository/vfs/ivy_vfs.xml
+@@ -20,29 +20,29 @@
+      in the jakarta-vfs-common distribution with the res and tmp schemas removed.
+  -->
+  <providers>
+-    <default-provider class-name="org.apache.commons.vfs.provider.url.UrlFileProvider">
++    <default-provider class-name="org.apache.commons.vfs2.provider.url.UrlFileProvider">
+     </default-provider>
+-    <provider class-name="org.apache.commons.vfs.provider.local.DefaultLocalFileProvider">
++    <provider class-name="org.apache.commons.vfs2.provider.local.DefaultLocalFileProvider">
+         <scheme name="file"/>
+     </provider>
+-    <provider class-name="org.apache.commons.vfs.provider.ftp.FtpFileProvider">
++    <provider class-name="org.apache.commons.vfs2.provider.ftp.FtpFileProvider">
+         <scheme name="ftp"/>
+         <if-available class-name="org.apache.commons.net.ftp.FTPFile"/>
+     </provider>
+     <!-- FIXME: not available anymore in commons-vfs but in commons-vfs-sandbox
+-    <provider class-name="org.apache.commons.vfs.provider.smb.SmbFileProvider">
++    <provider class-name="org.apache.commons.vfs2.provider.smb.SmbFileProvider">
+         <scheme name="smb"/>
+         <if-available class-name="jcifs.smb.SmbFile"/>
+     </provider>
+     -->
+     <!--
+-    <provider class-name="org.apache.commons.vfs.provider.http.HttpFileProvider">
++    <provider class-name="org.apache.commons.vfs2.provider.http.HttpFileProvider">
+         <scheme name="http"/>
+         <if-available class-name="org.apache.commons.httpclient.HttpClient"/>
+     </provider>
+     -->
+     
+-    <provider class-name="org.apache.commons.vfs.provider.sftp.SftpFileProvider">
++    <provider class-name="org.apache.commons.vfs2.provider.sftp.SftpFileProvider">
+         <scheme name="sftp"/>
+         <if-available class-name="javax.crypto.Cipher"/>
+         <if-available class-name="com.jcraft.jsch.JSch"/>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4618d37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+commons-vfs2.diff
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..1b16231
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>7</version>
+  </parent>
+  <groupId>org.apache.ivy</groupId>
+  <artifactId>ivy</artifactId>
+  <version>2.3.0</version>
+  <name>Apache Ivy</name>
+  <url>http://ant.apache.org/ivy/</url>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/ant/ivy/core/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/ant/ivy/core/trunk</developerConnection>
+    <url>http://svn.apache.org/repos/asf/ant/ivy/core/trunk</url>
+  </scm>
+  <mailingLists>
+    <mailingList>
+      <name>Ant/Ivy Developers List</name>
+      <subscribe>dev-subscribe at ant.apache.org</subscribe>
+      <unsubscribe>dev-unsubscribe at ant.apache.org</unsubscribe>
+      <post>dev at ant.apache.org</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/ant-dev</archive>
+    </mailingList>
+    <mailingList>
+      <name>Ivy Users List</name>
+      <subscribe>ivy-user-subscribe at ant.apache.org</subscribe>
+      <unsubscribe>ivy-user-unsubscribe at ant.apache.org</unsubscribe>
+      <post>ivy-user at ant.apache.org</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/ant-ivy-user</archive>
+    </mailingList>
+  </mailingLists>
+  <issueManagement>
+    <system>jira</system>
+    <url>http://issues.apache.org/jira/browse/IVY</url>
+  </issueManagement>
+  <dependencies>
+    <dependency>
+      <groupId>ant</groupId>
+      <artifactId>ant</artifactId>
+      <version>1.6.2</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>ant</groupId>
+      <artifactId>ant-nodeps</artifactId>
+      <version>1.6.2</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>ant</groupId>
+      <artifactId>ant-trax</artifactId>
+      <version>1.6.2</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>commons-httpclient</groupId>
+      <artifactId>commons-httpclient</artifactId>
+      <version>3.0</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>oro</groupId>
+      <artifactId>oro</artifactId>
+      <version>2.0.8</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>commons-vfs</groupId>
+      <artifactId>commons-vfs</artifactId>
+      <version>1.0</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>com.jcraft</groupId>
+      <artifactId>jsch</artifactId>
+      <version>0.1.31</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.bouncycastle</groupId>
+      <artifactId>bcpg-jdk14</artifactId>
+      <version>1.45</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.bouncycastle</groupId>
+      <artifactId>bcprov-jdk14</artifactId>
+      <version>1.45</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+      <version>2.5</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.ant</groupId>
+      <artifactId>ant-testutil</artifactId>
+      <version>1.7.0</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>ant</groupId>
+      <artifactId>ant-launcher</artifactId>
+      <version>1.6.2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>xerces</groupId>
+      <artifactId>xercesImpl</artifactId>
+      <version>2.6.2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>xerces</groupId>
+      <artifactId>xmlParserAPIs</artifactId>
+      <version>2.6.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..510fa84
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+MVN_VERSION          := $(shell echo $(VERSION) | sed 's/~/-/')
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_ANT_BUILD_TARGET := jar javadoc
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_JARS             := commons-httpclient commons-lang commons-cli commons-collections3 \
+                        commons-vfs2 junit jsch oro bcprov bcpg \
+                        jsch.agentproxy.core jsch.agentproxy.connector-factory jsch.agentproxy.jsch
+API_DOCS             := api
+
+binary-post-install/$(PACKAGE)::
+	mh_installpoms -p$(PACKAGE)
+	mh_installjar -p$(PACKAGE) -l debian/pom.xml ivy.jar
+
+binary-post-install/$(PACKAGE)-doc::
+	dh_install -p$(PACKAGE)-doc $(API_DOCS) usr/share/doc/$(PACKAGE)
+
+clean::
+	-rm -rf debian/tmp
+	mh_clean
+
+get-orig-source:
+	-uscan --force-download --rename
+
+get-orig-pom:
+	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/org/apache/ivy/ivy/$(MVN_VERSION)/ivy-$(MVN_VERSION).pom
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3556605
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-rc/~rc/" \
+ http://www.apache.org/dist/ant/ivy/([\d].*)/apache-ivy-([\d].*)-src.tar.gz debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ivy.git



More information about the pkg-java-commits mailing list