[spymemcached] 01/01: Initial Debian folder

Christopher Hoskin christopher.hoskin at gmail.com
Sat Nov 26 18:28:11 UTC 2016


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

grinorcole-guest pushed a commit to branch master
in repository spymemcached.

commit d51c1f22500a3181a53bc0d71b5a1599ac6abda8
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date:   Sat Nov 26 18:27:39 2016 +0000

    Initial Debian folder
---
 debian/README.source             |  9 +++++++
 debian/changelog                 |  5 ++++
 debian/compat                    |  1 +
 debian/control                   | 46 ++++++++++++++++++++++++++++++++++
 debian/copyright                 | 54 ++++++++++++++++++++++++++++++++++++++++
 debian/libspymemcached-java.poms | 28 +++++++++++++++++++++
 debian/maven.cleanIgnoreRules    |  1 +
 debian/maven.ignoreRules         |  3 +++
 debian/maven.properties          |  5 ++++
 debian/maven.publishedRules      |  2 ++
 debian/maven.rules               |  5 ++++
 debian/rules                     |  7 ++++++
 debian/source/format             |  1 +
 debian/watch                     |  2 ++
 14 files changed, 169 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..0600297
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about spymemcached
+------------------------------
+
+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..7a8e538
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+spymemcached (2.12.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #845789)
+
+ -- Christopher Hoskin <christopher.hoskin at gmail.com>  Fri, 25 Nov 2016 17:15:52 +0000
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..97ace1d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: spymemcached
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Christopher Hoskin <christopher.hoskin at gmail.com>
+Build-Depends: debhelper (>= 10), default-jdk, maven-debian-helper (>= 2.1)
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/spymemcached.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/spymemcached.git
+Homepage: http://www.couchbase.org/code/couchbase/java
+
+Package: libspymemcached-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Suggests: ${maven:OptionalDepends}
+Description: simple, asynchronous, single-threaded memcached client
+ Spymemcached is a simple, asynchronous, single-threaded memcached client
+ written in Java, featuring:
+ .
+  *   Efficient storage of objects. General serializable objects are stored in
+      their serialized form and optionally compressed if they meet criteria.
+      Certain native objects are stored as tightly as possible (for example, a
+      Date object generally consumes six bytes, and a Long can be anywhere from
+      zero to eight bytes).
+ .
+  *   Resilient to server and network outages. In many cases, a client 
+      operation can be replayed against a server if it goes away and comes
+      back. In cases where it can't, it will communicate that as well. An 
+      exponential backoff reconnect algorithm is applied when a memcached
+      becomes unavailable, but asynchronous operations will queue up for the
+      server to be applied when it comes back online.
+ .
+  *   Operations are asynchronous. It is possible to issue a store and continue
+      processing without having to wait for that operation to finish. It is even
+      possible to issue a get, do some further processing, check the result of
+      the get and cancel it if it doesn't return fast enough.
+ .
+  *   There is only one thread for all processing. Regardless of the number of
+      requests, threads using the client, or servers to which the client is
+      connected, only one thread will ever be allocated to a given
+      MemcachedClient.
+ .
+  *   Aggressively optimized. There are many optimizations that combine to
+      provide high throughput.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9bb0fa5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Spymemcached
+Source: http://www.couchbase.org/code/couchbase/java
+Files-Excluded: libs/*
+
+Files: *
+Copyright: 2006-2009, Dustin Sallings
+ 2009-2015, Couchbase, Inc.
+License: Expat
+
+Files: debian/*
+Copyright: 2016, Christopher Hoskin <christopher.hoskin at gmail.com>
+License: Expat
+
+Files: .//src/scripts/write-version-info.sh
+Copyright: Cloudera, Inc.
+License: Apache-2.0
+
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+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/libspymemcached-java.poms b/debian/libspymemcached-java.poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/libspymemcached-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
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..4110510
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,3 @@
+
+jmock jmock * * * *
+junit junit * * * *
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..103e4d8
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,2 @@
+
+net.spy spymemcached jar s/.*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..2da60a2
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,5 @@
+
+io.dropwizard.metrics metrics-parent pom s/.*/debian/ * *
+net.spy spymemcached jar s/.*/debian/ * *
+log4j log4j * s/1\.2\..*/1.2.x/ * *
+s/com.codahale.metrics/io.dropwizard.metrics/ * * s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aba914b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=maven
+
+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..9c41316
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/couchbase/spymemcached/tags .*/(?:.*?)([\d\.]+)\.tar\.gz

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



More information about the pkg-java-commits mailing list