[libmemcached-libmemcached-perl] 01/02: Fix various lintian warnings

Christopher Hoskin christopher.hoskin at gmail.com
Fri Feb 5 08:31:12 UTC 2016


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

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

commit f388e086c38ff3351bf80da14d91bee91abf0fc7
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date:   Fri Feb 5 08:14:25 2016 +0000

    Fix various lintian warnings
---
 debian/changelog              | 12 +--------
 debian/patches/series         |  1 +
 debian/patches/spelling.patch | 60 +++++++++++++++++++++++++++++++++++++++++++
 debian/rules                  |  5 ++++
 4 files changed, 67 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d0bd600..ce75fad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,16 +1,6 @@
-libmemcached-libmemcached-perl (1.001801-1) UNRELEASED; urgency=low
+libmemcached-libmemcached-perl (1.001801+dfsg-1) UNRELEASED; urgency=low
 
   [ Christopher Hoskin ]
-  TODO:
-  - autopkgtest: the rewrite with the new tools looks nice! but unfortunately
-    it has a problem: /usr/bin/memcached is still running at the end :/
-    (which means in my lvm setup that the snapshot lv can't be unmounted and
-    the tests finally die)
-  - Yes, I couldn't see a way to shutdown the daemon at the end. Perhaps we
-    need a hook to call a smoke-teardown script?
-    + ntyni agreed that smoke-teardown "it is then". feel free to go aheard,
-      it might take him a few days ...
-
   * Initial Release. Closes: #801254
 
   [ Salvatore Bonaccorso ]
diff --git a/debian/patches/series b/debian/patches/series
index d0ce0a8..419b6e9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 use-system-libmemcached.patch
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..2f976cf
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,60 @@
+Description: Spelling corrections for pod pages
+Author: Christopher Hoskin <christopher.hoskin at gmail.com>
+Forwarded: https://github.com/timbunce/Memcached-libmemcached/pull/25
+Last-Update: 2016-02-04
+
+--- a/lib/Memcached/libmemcached/memcached_behavior.pm
++++ b/lib/Memcached/libmemcached/memcached_behavior.pm
+@@ -240,13 +240,13 @@
+ =item MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE
+ 
+ Find the current size of SO_SNDBUF. A value of 0 means either an error
+-occured or no hosts were available. It is safe to assume system default
++occurred or no hosts were available. It is safe to assume system default
+ if this occurs.
+ 
+ =item MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE
+ 
+ Find the current size of SO_RCVBUF. A value of 0 means either an error
+-occured or no hosts were available. It is safe to assume system default
++occurred or no hosts were available. It is safe to assume system default
+ if this occurs.
+ 
+ =item MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT
+--- a/lib/Memcached/libmemcached/memcached_callback.pm
++++ b/lib/Memcached/libmemcached/memcached_callback.pm
+@@ -41,12 +41,12 @@
+ 
+ =item MEMCACHED_CALLBACK_CLEANUP_FUNCTION
+ 
+-When memcached_delete() is called this function will be excuted. At the
++When memcached_delete() is called this function will be executed. At the
+ point of its execution all connections have been closed.
+ 
+ =item MEMCACHED_CALLBACK_CLONE_FUNCTION
+ 
+-When memcached_delete() is called this function will be excuted. At the
++When memcached_delete() is called this function will be executed. At the
+ point of its execution all connections have been closed.
+ 
+ =item MEMCACHED_CALLBACK_PREFIX_KEY
+@@ -83,7 +83,7 @@
+ returned to the calling process. You must clone the memcached_st in order to
+ make use of it. The value will be stored only if you return
+ MEMCACHED_SUCCESS or MEMCACHED_BUFFERED. Returning MEMCACHED_BUFFERED will
+-cause the object to be buffered and not sent immediatly (if this is the default behavior based on your connection setup this will happen automatically).
++cause the object to be buffered and not sent immediately (if this is the default behavior based on your connection setup this will happen automatically).
+ 
+ The prototype for this is:
+ memcached_return_t (*memcached_trigger_key)(memcached_st *ptr, char *key, size_t key_length, memcached_result_st *result);
+--- a/lib/Memcached/libmemcached/memcached_dump.pm
++++ b/lib/Memcached/libmemcached/memcached_dump.pm
+@@ -26,7 +26,7 @@
+ =head1 DESCRIPTION
+ 
+ memcached_dump() is used to get a list of keys found  memcached(1) servers.
+-Because memcached(1) does not guarentee to dump all keys you can not assume
++Because memcached(1) does not guarantee to dump all keys you can not assume
+ you have fetched all keys from the server. The function takes an array
+ of callbacks that it will use to execute on keys as they are found.
+ 
diff --git a/debian/rules b/debian/rules
index a4adfeb..57d9bd3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+
 BUILDHOME = $(CURDIR)/debian/build
 PIDFILE   = $(BUILDHOME)/memcached.pid
 WHOAMI    = $(shell whoami)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmemcached-libmemcached-perl.git



More information about the Pkg-perl-cvs-commits mailing list