[Pkg-freeipa-devel] [Git][freeipa-team/ldapjdk][master] 2 commits: Build depend on default-jdk instead of openjdk-8-jdk (Closes: #910698)
Timo Aaltonen
gitlab at salsa.debian.org
Fri Nov 30 13:53:31 GMT 2018
Timo Aaltonen pushed to branch master at FreeIPA packaging / ldapjdk
Commits:
7f56b20a by Emmanuel Bourg at 2018-11-30T10:22:17Z
Build depend on default-jdk instead of openjdk-8-jdk (Closes: #910698)
- - - - -
022228e3 by Timo Aaltonen at 2018-11-30T13:53:28Z
Merge branch 'master' into 'master'
Build depend on default-jdk instead of openjdk-8-jdk (#910698)
See merge request freeipa-team/ldapjdk!1
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/01-java8-compatibility.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ldapjdk (4.20.0+dfsg1-3) UNRELEASED; urgency=medium
+
+ * Build depend on default-jdk instead of openjdk-8-jdk (Closes: #910698)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Fri, 30 Nov 2018 11:09:37 +0100
+
ldapjdk (4.20.0+dfsg1-2) unstable; urgency=medium
* Build with JDK8.
=====================================
debian/control
=====================================
@@ -8,7 +8,7 @@ Build-Depends:
debhelper (>= 10),
javahelper,
Build-Depends-Indep:
- openjdk-8-jdk-headless,
+ default-jdk,
libjss-java (>= 4.5.0~),
liboro-java,
Standards-Version: 4.1.2
=====================================
debian/patches/01-java8-compatibility.patch
=====================================
@@ -0,0 +1,47 @@
+Description: Ensure the compiled code remains compatible with Java 8
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/java-sdk/build.xml
++++ b/java-sdk/build.xml
+@@ -184,14 +184,17 @@
+ <target name="build-jdk" depends="init">
+ <!-- Compile the java jdk code from ${src} into ${dest} -->
+ <javac srcdir="${basedir}/ldapjdk/com" destdir="${jdk.dist}"
++ release="8"
+ excludes="cvs/**"
+ classpath="${jsselibs}"
+ />
+ <javac srcdir="${basedir}/ldapjdk/netscape" destdir="${jdk.dist}"
++ release="8"
+ excludes="cvs/**"
+ classpath="${jsselibs}"
+ />
+ <javac srcdir="${basedir}/tools" destdir="${jdk.dist}"
++ release="8"
+ excludes="cvs/**"
+ classpath="${jsselibs}"
+ />
+@@ -199,6 +202,7 @@
+
+ <target name="build-filter" depends="init,build-jdk">
+ <javac srcdir="${basedir}/ldapfilter" destdir="${filter.dist}"
++ release="8"
+ excludes="cvs/**"
+ classpath="${jdk.dist}:${jsselibs}"
+ />
+@@ -207,6 +211,7 @@
+ <target name="build-beans" depends="init">
+ <!-- Compile the java jdk bean code from ${src} into ${dest} -->
+ <javac srcdir="${basedir}/ldapbeans" destdir="${jdk.dist}"
++ release="8"
+ excludes="cvs/**"
+ classpath="${jsselibs}"
+ />
+@@ -215,6 +220,7 @@
+ <target name="build-jndi" depends="init,build-jdk">
+ <!-- Compile the java code from ${src} into ${dest} -->
+ <javac srcdir="${basedir}/ldapsp" destdir="${jndi.dist}"
++ release="8"
+ excludes="cvs/**"
+ classpath="${jsselibs}:${basedir}/ldapsp/lib/jndi.jar"
+ />
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
#placeholder
+01-java8-compatibility.patch
=====================================
debian/rules
=====================================
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-$(DEB_BUILD_ARCH)
+export JAVA_HOME=/usr/lib/jvm/default-java
%:
dh $@ --with javahelper
View it on GitLab: https://salsa.debian.org/freeipa-team/ldapjdk/compare/87af296accc7b7504915e55a0323065a98ee6c86...022228e3a400a990ce9f00c6d85973f59e548e01
--
View it on GitLab: https://salsa.debian.org/freeipa-team/ldapjdk/compare/87af296accc7b7504915e55a0323065a98ee6c86...022228e3a400a990ce9f00c6d85973f59e548e01
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20181130/c4c1e86b/attachment-0001.html>
More information about the Pkg-freeipa-devel
mailing list