[Pkg-voip-commits] r9823 - in /libccscript3/trunk/debian: changelog control copyright patches/series patches/spelling-error-in-binary.patch rules

msp at alioth.debian.org msp at alioth.debian.org
Sat Jun 23 05:40:46 UTC 2012


Author: msp
Date: Sat Jun 23 05:40:42 2012
New Revision: 9823

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9823
Log:
misc lintian fixes

Added:
    libccscript3/trunk/debian/patches/spelling-error-in-binary.patch
Modified:
    libccscript3/trunk/debian/changelog
    libccscript3/trunk/debian/control
    libccscript3/trunk/debian/copyright
    libccscript3/trunk/debian/patches/series
    libccscript3/trunk/debian/rules

Modified: libccscript3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libccscript3/trunk/debian/changelog?rev=9823&op=diff
==============================================================================
--- libccscript3/trunk/debian/changelog (original)
+++ libccscript3/trunk/debian/changelog Sat Jun 23 05:40:42 2012
@@ -6,6 +6,7 @@
   * debian/compat -> 9 hardening and multiarch
   * switch to dh - drop cdbs
   * Remove obsolete debian/*dirs
+  * misc lintian fixes
 
  -- Mark Purcell <msp at debian.org>  Sat, 23 Jun 2012 14:54:47 +1000
 

Modified: libccscript3/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/libccscript3/trunk/debian/control?rev=9823&op=diff
==============================================================================
--- libccscript3/trunk/debian/control (original)
+++ libccscript3/trunk/debian/control Sat Jun 23 05:40:42 2012
@@ -13,8 +13,8 @@
 Package: libccscript3-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libccscript3-1.1-0 (= ${binary:Version}), libcommoncpp2-dev (>= 1.3.10-4), pkg-config
-Description: GNU Common C++ framework for embedded scripting
+Depends: ${misc:Depends}, libccscript3-1.1-0 (= ${binary:Version}), libcommoncpp2-dev, pkg-config
+Description: GNU Common C++ framework for embedded scripting - development files
  The GNU ccScript package offers a class extensible threaded embedded
  scripting engine for use with GNU Common C++.  This engine is also used in
  GNU Bayonne (the GNU telephony application server package) and other
@@ -23,9 +23,11 @@
  real-time state-event systems through deterministic callback step
  execution rather than the linear and non-deterministic fashion of embedded
  script systems such as Tcl, libguile, etc.
+ .
+ This package contains the development files and headers to link to
+ this library.
 
 Package: libccscript3-1.1-0
-Section: libs
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}

Modified: libccscript3/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/libccscript3/trunk/debian/copyright?rev=9823&op=diff
==============================================================================
--- libccscript3/trunk/debian/copyright (original)
+++ libccscript3/trunk/debian/copyright Sat Jun 23 05:40:42 2012
@@ -25,4 +25,4 @@
    MA 02110-1301, USA.
 
 On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
+Public License can be found in `/usr/share/common-licenses/GPL-2'.

Modified: libccscript3/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/libccscript3/trunk/debian/patches/series?rev=9823&op=diff
==============================================================================
--- libccscript3/trunk/debian/patches/series (original)
+++ libccscript3/trunk/debian/patches/series Sat Jun 23 05:40:42 2012
@@ -1,3 +1,4 @@
+spelling-error-in-binary.patch
 dbug365518.patch
 error_format_security.patch
 gcc-4.3.patch

Added: libccscript3/trunk/debian/patches/spelling-error-in-binary.patch
URL: http://svn.debian.org/wsvn/pkg-voip/libccscript3/trunk/debian/patches/spelling-error-in-binary.patch?rev=9823&op=file
==============================================================================
--- libccscript3/trunk/debian/patches/spelling-error-in-binary.patch (added)
+++ libccscript3/trunk/debian/patches/spelling-error-in-binary.patch Sat Jun 23 05:40:42 2012
@@ -1,0 +1,103 @@
+Description: spelling-error-in-binary usr/lib/ccscript3-1.1/locker.dso aquired acquired
+Bug-Debian: http://lintian.debian.org/tags/spelling-error-in-binary.html
+
+Index: libccscript3-1.1.7/modules/locker.cpp
+===================================================================
+--- libccscript3-1.1.7.orig/modules/locker.cpp	2007-08-11 21:39:54.000000000 +1000
++++ libccscript3-1.1.7/modules/locker.cpp	2012-06-23 15:31:41.000000000 +1000
+@@ -67,14 +67,14 @@
+ 
+ public:
+ 	void release(const char *id, void *v);
+-	bool aquire(const char *id, void *v);
++	bool acquire(const char *id, void *v);
+ 
+ 	LockerBinder();
+ 	static LockerBinder locker;
+ };
+ 
+ static Script::Define runtime[] = {
+-	{"aquire", false, (Script::Method)&LockerMethods::scrAquire,
++	{"acquire", false, (Script::Method)&LockerMethods::scrAquire,
+ 		(Script::Check)&LockerChecks::chkAquire},
+ 	{"release", false, (Script::Method)&LockerMethods::scrRelease,
+ 		(Script::Check)&LockerChecks::chkRelease},
+@@ -95,7 +95,7 @@
+ 	return alloc(size);
+ }
+ 
+-bool LockerBinder::aquire(const char *id, void *v)
++bool LockerBinder::acquire(const char *id, void *v)
+ {
+ 	bool rtn = false;
+ 	void *dp;
+@@ -134,7 +134,7 @@
+ void LockerBinder::detach(ScriptInterp *interp)
+ {
+ 	Symbol *list[65];
+-	unsigned count = interp->gathertype(list, 64, "aquired", symCONST);
++	unsigned count = interp->gathertype(list, 64, "acquired", symCONST);
+ 	unsigned idx = 0;
+ 	Symbol *sym;
+ 	char name[65];
+@@ -173,7 +173,7 @@
+ 		return true;
+ 	}
+ 
+-	snprintf(name, sizeof(name), "aquired.%s", tag);
++	snprintf(name, sizeof(name), "acquired.%s", tag);
+ 	sym = mapSymbol(name, 32);
+ 	if(sym->type == symINITIAL)
+ 		sym->type = symCONST;
+@@ -192,7 +192,7 @@
+ 	}
+ 
+ 	snprintf(name, sizeof(name), "%s.%s", tag, id);
+-	if(!LockerBinder::locker.aquire(name, this)) {
++	if(!LockerBinder::locker.acquire(name, this)) {
+ 		error("lock-used");
+ 		return false;
+ 	}
+@@ -222,7 +222,7 @@
+ 		tag = var;
+ 	}
+ 
+-	snprintf(name, sizeof(name), "aquired.%s", tag);
++	snprintf(name, sizeof(name), "acquired.%s", tag);
+ 	sym = mapSymbol(name, 0);
+ 	if(!sym || sym->type != symCONST || !sym->data[0]) {
+ 		error("no-lock");
+@@ -250,17 +250,17 @@
+ 	const char *cp;
+ 
+ 	if(hasKeywords(line))
+-		return "aquire has no keywords";
++		return "acquire has no keywords";
+ 
+ 	if(!getOption(line, &idx))
+-		return "aquire needs id argument";
++		return "acquire needs id argument";
+ 
+ 	cp = getOption(line, &idx);
+ 	if(!cp)
+ 		return NULL;
+ 
+ 	if(getOption(line, &idx))
+-		return "only one label for aquire";
++		return "only one label for acquire";
+ 
+ 	return NULL;
+ }
+Index: libccscript3-1.1.7/src/script3.h
+===================================================================
+--- libccscript3-1.1.7.orig/src/script3.h	2007-08-11 21:39:53.000000000 +1000
++++ libccscript3-1.1.7/src/script3.h	2012-06-23 15:30:52.000000000 +1000
+@@ -1517,7 +1517,7 @@
+ 	void attach(ScriptCommand *cmd, ScriptImage *img, Name *scr);
+ 
+ 	/**
+-	 * Release any aquired lock...
++	 * Release any acquired lock...
+ 	 */
+ 	void release(void);
+ 

Modified: libccscript3/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/libccscript3/trunk/debian/rules?rev=9823&op=diff
==============================================================================
--- libccscript3/trunk/debian/rules (original)
+++ libccscript3/trunk/debian/rules Sat Jun 23 05:40:42 2012
@@ -2,6 +2,9 @@
 %:
 	dh $@ --parallel --with autotools_dev
 
+override_dh_auto_configure:
+	dh_auto_configure -- --disable-rpath
+
 override_dh_install:
 	sed -i "/dependency_libs/ s/'.*'/''/" `find $(CURDIR)/debian -name '*.la'`
 	dh_install




More information about the Pkg-voip-commits mailing list