[libpostgresql-jdbc-java] 08/13: Disabled remote jar fetching

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 9 15:24:32 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository libpostgresql-jdbc-java.

commit e38db49c44021a0d9cd72d014107273ddf4fb202
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jan 9 14:26:03 2017 +0100

    Disabled remote jar fetching
---
 debian/changelog               |  1 +
 debian/patches/classpath.patch | 18 ++++++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7b4ddda..59a51e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ libpgjava (9.2-1004-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream release
     - Refreshed the patches
+    - Disabled remote jar fetching
   * Standards-Version updated to 3.9.8
   * Switch to debhelper level 10
   * Use secure Vcs-* URLs
diff --git a/debian/patches/classpath.patch b/debian/patches/classpath.patch
new file mode 100644
index 0000000..36689e9
--- /dev/null
+++ b/debian/patches/classpath.patch
@@ -0,0 +1,18 @@
+Description: Build the classpath from local jars instead of downloading them
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -106,9 +106,9 @@
+     <include name="${package}/xa/jdbc4/*.java" if="jdbc4any"/>
+   </patternset>
+ 
+-  <artifact:dependencies pathId="dependency.classpath" useScope="test">
+-    <dependency groupId="junit" artifactId="junit" version="3.8.2" scope="test"/>
+-  </artifact:dependencies>
++  <path id="dependency.classpath">
++    <pathelement path="/usr/share/java/junit.jar"/>
++  </path>
+ 
+   <target name="check_versions">
+     <condition property="jdbc2">
diff --git a/debian/patches/series b/debian/patches/series
index 78d8c9e..95b5533 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 link-javadoc.patch
+classpath.patch

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



More information about the pkg-java-commits mailing list