diff options
-rw-r--r-- | debian/README.source | 9 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 41 | ||||
-rw-r--r-- | debian/copyright | 27 | ||||
-rw-r--r-- | debian/files | 1 | ||||
-rw-r--r-- | debian/libhikaricp-java-doc.doc-base | 9 | ||||
-rw-r--r-- | debian/libhikaricp-java-doc.install | 2 | ||||
-rw-r--r-- | debian/libhikaricp-java.poms | 28 | ||||
-rw-r--r-- | debian/maven.cleanIgnoreRules | 1 | ||||
-rw-r--r-- | debian/maven.ignoreRules | 20 | ||||
-rw-r--r-- | debian/maven.properties | 5 | ||||
-rw-r--r-- | debian/maven.publishedRules | 2 | ||||
-rw-r--r-- | debian/maven.rules | 3 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/skip-hibernate-and-prometheus | 17 | ||||
-rwxr-xr-x | debian/rules | 7 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
19 files changed, 182 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..2bf2edc --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about hikaricp +-------------------------- + +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..3e3190b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +hikaricp (2.6.0-1) unstable; urgency=medium + + * Initial release (Closes: #855727) + + -- Apollon Oikonomopoulos <apoikos@debian.org> Wed, 01 Mar 2017 15:29:20 +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..29f99ac --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: hikaricp +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Uploaders: Apollon Oikonomopoulos <apoikos@debian.org> +Build-Depends: debhelper (>= 10), + default-jdk, + libdropwizard-metrics-java, + libjavassist-java, + libmaven-bundle-plugin-java, + libmaven-exec-plugin-java, + libmaven-javadoc-plugin-java, + maven-debian-helper (>= 2.1) +Build-Depends-Indep: libslf4j-java +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/git/pkg-java/hikaricp.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/hikaricp.git +Homepage: https://github.com/brettwooldridge/HikariCP + +Package: libhikaricp-java +Architecture: all +Depends: ${maven:Depends}, ${misc:Depends} +Suggests: ${maven:OptionalDepends} +Description: high-performance JDBC connection pool library + HikariCP is a high performance, low overhead JDBC connection pool library for + Java. It aims at being simple, robust, reliable and extremely fast. HikariCP + comes with sane defaults that perform well in most deployments without + additional tweaking. + +Package: libhikaricp-java-doc +Architecture: all +Section: doc +Depends: ${maven:Depends}, ${misc:Depends} +Suggests: ${maven:DocOptionalDepends} +Description: high-performance JDBC connection pool library - documentation + HikariCP is a high performance, low overhead JDBC connection pool library for + Java. It aims at being simple, robust, reliable and extremely fast. HikariCP + comes with sane defaults that perform well in most deployments without + additional tweaking. + . + This package contains the API javadoc. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ea0b1d4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: HikariCP +Source: https://github.com/brettwooldridge/HikariCP + +Files: * +Copyright: 2013, 2014 Brett Wooldridge +License: Apache-2.0 + +Files: debian/* +Copyright: 2017, Apollon Oikonomopoulos <apoikos@debian.org> +License: Apache-2.0 + +License: Apache-2.0 + Licensed 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. + . + On Debian systems, the complete text of the Apache License 2.0 can + be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..1785ff3 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +hikaricp_2.6.0-1_source.buildinfo java optional diff --git a/debian/libhikaricp-java-doc.doc-base b/debian/libhikaricp-java-doc.doc-base new file mode 100644 index 0000000..6691754 --- /dev/null +++ b/debian/libhikaricp-java-doc.doc-base @@ -0,0 +1,9 @@ +Document: libhikaricp-java-api +Title: API Javadoc for HikariCP +Author: Brett Wooldridge +Abstract: This is the API Javadoc provided by the HikariCP library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libhikaricp-java/api/index.html +Files: /usr/share/doc/libhikaricp-java/api/* diff --git a/debian/libhikaricp-java-doc.install b/debian/libhikaricp-java-doc.install new file mode 100644 index 0000000..2f6ead5 --- /dev/null +++ b/debian/libhikaricp-java-doc.install @@ -0,0 +1,2 @@ +target/site/apidocs/* /usr/share/doc/libhikaricp-java/api + diff --git a/debian/libhikaricp-java.poms b/debian/libhikaricp-java.poms new file mode 100644 index 0000000..5ad70f2 --- /dev/null +++ b/debian/libhikaricp-java.poms @@ -0,0 +1,28 @@ +# 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 --has-package-version diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/maven.cleanIgnoreRules @@ -0,0 +1 @@ + diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..5612c22 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,20 @@ + +com.h2database h2 * * * * +io.prometheus simpleclient * * * * +javax.inject javax.inject * * * * +junit junit * * * * +org.apache.commons commons-csv * * * * +org.apache.felix org.apache.felix.framework * * * * +org.apache.logging.log4j log4j-api * * * * +org.apache.logging.log4j log4j-core * * * * +org.apache.logging.log4j log4j-slf4j-impl * * * * +org.apache.maven.plugins maven-source-plugin * * * * +org.jacoco jacoco-maven-plugin * * * * +org.hibernate hibernate-core * * * * +org.mockito mockito-core * * * * +org.ops4j.pax.exam pax-exam-container-native * * * * +org.ops4j.pax.exam pax-exam-junit4 * * * * +org.ops4j.pax.exam pax-exam-link-mvn * * * * +org.ops4j.pax.url pax-url-aether * * * * +org.ops4j.pax.url pax-url-reference * * * * +simple-jndi simple-jndi * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..e593715 --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,5 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true + +maven.test.skip=true diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules new file mode 100644 index 0000000..ffd01ad --- /dev/null +++ b/debian/maven.publishedRules @@ -0,0 +1,2 @@ + +com.zaxxer HikariCP-java7 jar s/.*/debian/ * * diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..f3310c7 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,3 @@ + +com.zaxxer HikariCP jar * * * +com.zaxxer HikariCP jar s/.*/debian/ * * diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4062855 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +skip-hibernate-and-prometheus diff --git a/debian/patches/skip-hibernate-and-prometheus b/debian/patches/skip-hibernate-and-prometheus new file mode 100644 index 0000000..053633c --- /dev/null +++ b/debian/patches/skip-hibernate-and-prometheus @@ -0,0 +1,17 @@ +Author: Apollon Oikonomopoulos <apoikos@debian.org> +Description: Do not build hibernate and prometheus bindings +Last-Update: 2017-03-01 +Forwarded: no (debain-specific) +--- a/pom.xml ++++ b/pom.xml +@@ -342,6 +342,10 @@ + <configuration> + <source>1.8</source> + <target>1.8</target> ++ <excludes> ++ <exclude>**/com/zaxxer/hikari/metrics/prometheus/**</exclude> ++ <exclude>**/com/zaxxer/hikari/hibernate/**</exclude> ++ </excludes> + </configuration> + </plugin> + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5985cac --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +get-orig-source: + uscan --download-current-version --force-download --no-symlink 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..2821420 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/brettwooldridge/HikariCP/releases .*/archive/HikariCP-(.*).tar.gz |