This is an automated email from the git hooks/post-receive script. apo pushed a commit to branch master in repository libokhttp-java.
commit c6eb8399fa1746fb8d78b53abd086aad4e71f076 Author: Markus Koschany <[email protected]> Date: Sat Oct 14 14:59:47 2017 +0200 Import Debian changes 3.9.0-1 libokhttp-java (3.9.0-1) unstable; urgency=medium * Initial release (Closes: #878404). --- debian/README.source | 9 +++++++ debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 33 +++++++++++++++++++++++ debian/copyright | 19 +++++++++++++ debian/libokhttp-java.classpath | 1 + debian/libokhttp-java.poms | 39 +++++++++++++++++++++++++++ debian/maven.ignoreRules | 21 +++++++++++++++ debian/maven.properties | 6 +++++ debian/maven.rules | 11 ++++++++ debian/patches/no-javac-with-errorprone.patch | 22 +++++++++++++++ debian/patches/series | 1 + debian/rules | 17 ++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 15 files changed, 188 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..6077a96 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about libokhttp-java +-------------------------------- + +This package was debianized using the mh_make command +from the maven-debian-helper package. + +The build system uses Maven but prevents it from downloading +anything from the Internet, making the build compliant with +the Debian policy. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..26cc39f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libokhttp-java (3.9.0-1) unstable; urgency=medium + + * Initial release (Closes: #878404). + + -- Markus Koschany <[email protected]> Sat, 14 Oct 2017 14:59:47 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..da65dfd --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: libokhttp-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: + Markus Koschany <[email protected]> +Build-Depends: + checkstyle, + debhelper (>= 10), + default-jdk, + javahelper, + libandroid-23-java, + libokio-java (>= 1.13.0), + maven-debian-helper (>= 2.1) +Standards-Version: 4.1.1 +Vcs-Git: https://anonscm.debian.org/git/pkg-java/libokhttp-java.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libokhttp-java.git +Homepage: https://github.com/square/okhttp + +Package: libokhttp-java +Architecture: all +Depends: + ${maven:Depends}, + ${misc:Depends} +Suggests: + ${maven:OptionalDepends} +Description: HTTP+HTTP/2 client for Android and Java applications + OkHttp is an HTTP client that’s efficient by default. It supports both + synchronous blocking calls and async calls with callbacks. + * HTTP/2 support allows all requests to the same host to share a socket. + * Connection pooling reduces request latency (if HTTP/2 isn’t available). + * Transparent GZIP shrinks download sizes. + * Response caching avoids the network completely for repeat requests diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..77d58a3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: OkHttp +Source: https://github.com/square/okhttp +Files-Excluded: + website + +Files: * +Copyright: 2011-2017, Square Inc. + 2009-2017, The Android Open Source Project + 2011-2017, Google Inc. +License: Apache-2.0 + +Files: debian/* +Copyright: 2017, Markus Koschany <[email protected]> +License: Apache-2.0 + +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' diff --git a/debian/libokhttp-java.classpath b/debian/libokhttp-java.classpath new file mode 100644 index 0000000..18eb380 --- /dev/null +++ b/debian/libokhttp-java.classpath @@ -0,0 +1 @@ +/usr/share/java/okhttp.jar /usr/share/java/okio.jar diff --git a/debian/libokhttp-java.poms b/debian/libokhttp-java.poms new file mode 100644 index 0000000..036bd21 --- /dev/null +++ b/debian/libokhttp-java.poms @@ -0,0 +1,39 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --no-parent +okhttp/pom.xml --java-lib +okhttp-tests/pom.xml --ignore +okhttp-android-support/pom.xml --ignore +okhttp-apache/pom.xml --ignore +okhttp-testing-support/pom.xml --ignore +okhttp-urlconnection/pom.xml --ignore +okhttp-logging-interceptor/pom.xml --ignore +okcurl/pom.xml --ignore +mockwebserver/pom.xml --ignore +samples/pom.xml --ignore +benchmarks/pom.xml --ignore diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..6e00ca7 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,21 @@ + +com.squareup.okhttp3 benchmarks jar * * * +com.squareup.okhttp3 logging-interceptor jar * * * +com.squareup.okhttp3 mockwebserver jar * * * +com.squareup.okhttp3 okcurl jar * * * +com.squareup.okhttp3 okhttp-android-support jar * * * +com.squareup.okhttp3 okhttp-apache jar * * * +com.squareup.okhttp3 okhttp-testing-support jar * * * +com.squareup.okhttp3 okhttp-tests jar * * * +com.squareup.okhttp3 okhttp-urlconnection jar * * * +com.squareup.okhttp3.sample sample-parent pom * * * +com.google.android android * * * * +org.apache.maven.plugins maven-checkstyle-plugin * * * * +org.apache.maven.plugins maven-javadoc-plugin * * * * +org.apache.maven.plugins maven-release-plugin * * * * +org.apache.maven.plugins maven-surefire-plugin * * * * +org.apache.maven.scm maven-scm-provider-gitexe * * * * +org.codehaus.mojo animal-sniffer-maven-plugin * * * * +org.codehaus.mojo templating-maven-plugin * * * * +org.codehaus.plexus plexus-compiler-javac-errorprone * * * * +com.google.errorprone error_prone_core * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..9bc693b --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,6 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true +# project.build.sourceEncoding=UTF-8 + +maven.test.skip=true diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..5a98c65 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,11 @@ + +s/com.google.code.google-collections/com.google.guava/ s/google-collect/guava/ s/jar/bundle/ s/.*/debian/ * * +s/com.google.collections/com.google.guava/ s/google-collections/guava/ s/jar/bundle/ s/.*/debian/ * * +com.google.guava guava bundle s/.*/debian/ * * +com.google.guava guava s/jar/bundle/ s/.*/debian/ * * +com.squareup.okhttp3 okhttp jar s/.*/debian/ * * +com.squareup.okhttp3 parent pom s/.*/debian/ * * +junit junit jar s/4\..*/4.x/ * * +s/org.jsr-305/com.google.code.findbugs/ s/ri/jsr305/ * s/0\..*/debian/ * * +org.bouncycastle s/bcprov-jdk15on/bcprov/ * s/.*/debian/ * * +s/com.google.android/com.android * * s/.*/23/ * * diff --git a/debian/patches/no-javac-with-errorprone.patch b/debian/patches/no-javac-with-errorprone.patch new file mode 100644 index 0000000..60af5af --- /dev/null +++ b/debian/patches/no-javac-with-errorprone.patch @@ -0,0 +1,22 @@ +From: Markus Koschany <[email protected]> +Date: Fri, 13 Oct 2017 12:45:40 +0200 +Subject: no javac with errorprone + +Not yet packaged for Debian? +--- + pom.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pom.xml b/pom.xml +index fe391b8..09a9b4d 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -137,7 +137,7 @@ + <artifactId>maven-compiler-plugin</artifactId> + <version>3.6.1</version> + <configuration> +- <compilerId>javac-with-errorprone</compilerId> ++ <compilerId>javac</compilerId> + <forceJavacCompilerUse>true</forceJavacCompilerUse> + <source>${java.version}</source> + <target>${java.version}</target> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..d09c6cd --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +no-javac-with-errorprone.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..85710da --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ --with javahelper + +override_dh_auto_build: + # Workaround for not automatically generated Version.java file + sed -e \ + 's/$${project.version}/${DEB_VERSION_UPSTREAM}/g' < \ + $(CURDIR)/okhttp/src/main/java-templates/okhttp3/internal/Version.java > \ + $(CURDIR)/okhttp/src/main/java/okhttp3/internal/Version.java + dh_auto_build + +get-orig-source: + uscan --download-current-version --force-download --repack --compression xz 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..60359e9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/square/okhttp/tags .*/(?:.*?)([\d\.]+)\.tar\.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libokhttp-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

