debian/0000775000000000000000000000000012313213741007165 5ustar debian/rules0000775000000000000000000000025311771253527010262 0ustar #!/usr/bin/make -f %: dh $@ --parallel --with autotools_dev override_dh_install: sed -i "/dependency_libs/ s/'.*'/''/" `find $(CURDIR)/debian -name '*.la'` dh_install debian/watch0000664000000000000000000000026111146251710010216 0ustar # watch control file for libccscript # Site Directory Pattern Version Script version=2 http://ftp.gnu.org/pub/gnu/ccscript/ccscript3-(.*)\.tar\.gz debian svn-upgrade debian/changelog0000664000000000000000000001221512313213734011042 0ustar libccscript3 (1.1.7-2ubuntu1) trusty; urgency=medium * Manually patch libtool files to add ppc64el support. -- Logan Rosen Sat, 22 Mar 2014 00:55:45 -0400 libccscript3 (1.1.7-2) unstable; urgency=low * wheezey polish * Ack NMUs - Thanks Gregor & Luk * Update to Standards Version 3.9.3 * source/format -> 3.0 (quilt) * debian/compat -> 9 hardening and multiarch * switch to dh - drop cdbs * Remove obsolete debian/*dirs * misc lintian fixes -- Mark Purcell Sat, 23 Jun 2012 15:42:07 +1000 libccscript3 (1.1.7-1.2) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: compiler.cpp:1147:38: error: format not a string literal and no format arguments [-Werror=format-security]": add patch error_format_security.patch, thanks to Ilya Barygin. (Closes: #643417) -- gregor herrmann Sun, 20 Nov 2011 13:30:14 +0100 libccscript3 (1.1.7-1.1) unstable; urgency=low * Non-maintainer upload. * Empty dependency_libs (Closes: #621602). -- Luk Claes Fri, 01 Jul 2011 18:37:51 +0200 libccscript3 (1.1.7-1) unstable; urgency=low * New upstream release * Add misc-depends & update Standards 3.8 -- Mark Purcell Mon, 16 Feb 2009 22:51:02 +1100 libccscript3 (1.1.6-3) unstable; urgency=low [ Kilian Krause ] * Download from correct URL. * Add dpkg-dev (>= 1.13.19) to Build-Depends for binary:Version * Add Homepage field as added in dpkg-dev 1.14.6. [ Faidon Liambotis ] * Add XS-Vcs-Svn and XS-Vcs-Browser to debian/control. * Fix FTBFS with gcc 4.3, thanks to Cyril Brulebois! (Closes: #455428) * Use "Tcl" instead of "tcl" in the long description. * Bump Standards-Version to 3.7.3, no changes needed. * Add myself to Uploaders. [ Mark Purcell ] * Cleanup get-orig-source VARS -- Faidon Liambotis Thu, 06 Mar 2008 02:52:00 +0200 libccscript3 (1.1.6-2) unstable; urgency=low * Reapply dbug326756 patch - FTBFS (amd64): cannot convert 'long int*' to 'SQLINTEGER*' for argument '2' to 'SQLRETURN SQLRowCount(void*, SQLINTEGER*)' (Closes: #326756) * linitan-cleanup: substvar-source-version-is-deprecated -- Mark Purcell Fri, 22 Jun 2007 12:05:13 +0100 libccscript3 (1.1.6-1) unstable; urgency=low * New upstream release * Switch to cdbs * Maintainer: Debian VoIP Team * libccscript-dev Depends: pkg-config -- Mark Purcell Thu, 12 Apr 2007 20:54:24 +0100 libccscript3 (1.1.3-1) unstable; urgency=low * New upstream release -- Mark Purcell Thu, 11 Jan 2007 18:55:31 +0000 libccscript3 (1.1.0-1) unstable; urgency=low * New upstream release * Ack NMU. Thanks Thomas. (Closes: #365518) * Bump soname: package-name-doesnt-match-sonames libccscript3-1.1-0 -- Mark Purcell Sun, 22 Oct 2006 21:50:28 +0100 libccscript3 (1.0.9-1.1) unstable; urgency=low * Non-maintainer upload. * Use the right type for row count. Closes: 365518. -- Thomas Girard Sat, 10 Jun 2006 15:19:49 +0200 libccscript3 (1.0.9-1) unstable; urgency=low * New upstream release -- Mark Purcell Sun, 7 May 2006 22:20:01 +0100 libccscript3 (1.0.8-1) unstable; urgency=low * New upstream release * Bump soname: package-name-doesnt-match-sonames libccscript3-1.0-1 * Add Build-Depends: unixodbc-dev -- Mark Purcell Mon, 17 Apr 2006 14:58:21 +0100 libccscript3 (1.0.7-1) unstable; urgency=low * New upstream release -- Mark Purcell Sun, 12 Mar 2006 19:34:15 +0000 libccscript3 (1.0.6-1) unstable; urgency=low * New upstream release -- Mark Purcell Sat, 18 Feb 2006 12:15:04 +0000 libccscript3 (1.0.2-1) unstable; urgency=low * New upstream release -- Mark Purcell Sat, 21 Jan 2006 11:54:38 +0000 libccscript3 (1.0.1-1) unstable; urgency=low * New upstream release -- Mark Purcell Sat, 29 Oct 2005 14:32:20 +0100 libccscript3 (1.0-rc1-2) unstable; urgency=low * Audit debian/copyright -- Mark Purcell Fri, 7 Oct 2005 08:59:36 +0100 libccscript3 (1.0-rc1-1) unstable; urgency=low * New upstream release -- Mark Purcell Sun, 2 Oct 2005 15:31:19 +0100 libccscript3 (0.8.1-2) unstable; urgency=low * Fix old-fsf-address * Add Depends: libcommoncpp2-dev (>= 1.3.10-4) -- Mark Purcell Sat, 17 Sep 2005 22:17:47 +0100 libccscript3 (0.8.1-1) unstable; urgency=low * New upstream release * Disable, as its optional, Build-Depends: unixodbc-dev, until it tranisitions see * Apply patch from Andreas - FTBFS (amd64): cannot convert 'long int*' to 'SQLINTEGER*' for argument '2' to 'SQLRETURN SQLRowCount(void*, SQLINTEGER*)' (Closes: #326756) * fix old-fsf-address-in-copyright-file * Bump package due to soname change * Update debian/watch -- Mark Purcell Mon, 5 Sep 2005 17:55:44 +0100 libccscript3 (0.7.0-1) unstable; urgency=low * Initial release Closes: #318983 * Build Depends for C++ ABI transition -- Mark Purcell Tue, 19 Jul 2005 10:59:37 +1000 debian/compat0000664000000000000000000000000211771251635010376 0ustar 9 debian/copyright0000664000000000000000000000217511771253332011134 0ustar This package was debianized by Mark Purcell on Tue, 19 Jul 2005 10:41:41 +1000. It was downloaded from http://www.gnu.org/software/ccscript/ Copyright Holder: Copyright (C) 1999-2005 Open Source Telecom Corporation. David Sugar designed and implemented ccscript. License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 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-2'. debian/source/0000775000000000000000000000000011771253756010506 5ustar debian/source/format0000664000000000000000000000001411771251635011706 0ustar 3.0 (quilt) debian/libccscript3-1.1-0.install0000664000000000000000000000005411771251635013605 0ustar usr/lib/*/lib*.so.* usr/lib/*/ccscript3-*/* debian/libccscript3-dev.install0000664000000000000000000000012611771251635013727 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* usr/lib/*/*.la debian/control0000664000000000000000000000425312313213736010600 0ustar Source: libccscript3 Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian VoIP Team Uploaders: Mark Purcell , Faidon Liambotis Build-Depends: debhelper (>= 9), autotools-dev, pkg-config, doxygen, libcommoncpp2-dev, unixodbc-dev Section: libs Standards-Version: 3.9.3 Homepage: http://www.gnu.org/software/ccscript/ Vcs-Svn: svn://svn.debian.org/pkg-voip/libccscript3/trunk/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/libccscript3/?op=log Package: libccscript3-dev Section: libdevel Architecture: any 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 parts of GNUCOMM (the GNU telephony meta-project). This engine differs from traditional scripting systems in that it is used to script near 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 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: GNU Common C++ framework for embedded scripting 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 parts of GNUCOMM (the GNU telephony meta-project). This engine differs from traditional scripting systems in that it is used to script near 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. debian/docs0000664000000000000000000000002110607504063010035 0ustar NEWS README TODO debian/patches/0000775000000000000000000000000012313213717010617 5ustar debian/patches/series0000664000000000000000000000016012313213547012032 0ustar spelling-error-in-binary.patch dbug365518.patch error_format_security.patch gcc-4.3.patch libtool_ppc64el.patch debian/patches/dbug365518.patch0000664000000000000000000000077110636726100013263 0ustar diff -Nur libccscript3-1.1.6/optional/odbc/thread.cpp libccscript3-1.1.6.new/optional/odbc/thread.cpp --- libccscript3-1.1.6/optional/odbc/thread.cpp 2007-01-12 13:36:02.000000000 +0000 +++ libccscript3-1.1.6.new/optional/odbc/thread.cpp 2007-06-22 11:58:03.000000000 +0100 @@ -63,8 +63,8 @@ SQLCHAR stat[10]; SQLCHAR errmsg[128]; SQLSMALLINT mlen, col, cols; -#if ODBCVER >= 0x0300 && !defined(__ppc__) - SQLINTEGER rowcnt; +#if ODBCVER >= 0x0300 + SQLLEN rowcnt; #else long int rowcnt; #endif debian/patches/libtool_ppc64el.patch0000664000000000000000000000316412313213674014647 0ustar --- a/aclocal.m4 +++ b/aclocal.m4 @@ -544,9 +544,12 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) + LD="${LD-ld} -m elf32ppclinux" + ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; @@ -560,9 +563,12 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) + LD="${LD-ld} -m elf64ppc" + ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; --- a/configure +++ b/configure @@ -4981,9 +4981,12 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) + LD="${LD-ld} -m elf32ppclinux" + ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; @@ -4997,9 +5000,12 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) + LD="${LD-ld} -m elf64ppc" + ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; debian/patches/gcc-4.3.patch0000664000000000000000000000271110763637311012706 0ustar --- a/modules/check.cpp +++ b/modules/check.cpp @@ -36,6 +36,7 @@ // #include "script3.h" +#include namespace ccscript3Extension { --- a/modules/csv.cpp +++ b/modules/csv.cpp @@ -38,6 +38,7 @@ #include "script3.h" #include #include +#include namespace ccscript3Extension { --- a/modules/math.cpp +++ b/modules/math.cpp @@ -37,6 +37,8 @@ #include "script3.h" #include +#include +#include #ifndef M_PI #define M_PI 3.14159265358979323846 --- a/modules/property.cpp +++ b/modules/property.cpp @@ -37,6 +37,7 @@ #include "script3.h" #include +#include #ifdef WIN32 #define EXT_PROP ".pro" --- a/modules/sort.cpp +++ b/modules/sort.cpp @@ -36,6 +36,7 @@ // #include "script3.h" +#include namespace ccscript3Extension { --- a/modules/string.cpp +++ b/modules/string.cpp @@ -36,6 +36,7 @@ // #include "script3.h" +#include namespace ccscript3Extension { --- a/modules/time.cpp +++ b/modules/time.cpp @@ -36,6 +36,7 @@ // #include "script3.h" +#include namespace ccscript3Extension { --- a/modules/url.cpp +++ b/modules/url.cpp @@ -36,6 +36,7 @@ // #include "script3.h" +#include namespace ccscript3Extension { --- a/modules/userauth.cpp +++ b/modules/userauth.cpp @@ -37,6 +37,7 @@ #include "script3.h" #include +#include #ifdef WIN32 #define EXT_AUTH ".pwd" debian/patches/error_format_security.patch0000664000000000000000000000112111771251635016273 0ustar --- libccscript3-1.1.7.orig/src/compiler.cpp +++ libccscript3-1.1.7/src/compiler.cpp @@ -1144,7 +1144,7 @@ continue; if(!strchr(token, ':')) { - snprintf(temp, sizeof(temp), name); + snprintf(temp, sizeof(temp), "%s", name); cp = strchr(temp, ':'); if(cp) *cp = 0; --- libccscript3-1.1.7.orig/modules/property.cpp +++ libccscript3-1.1.7/modules/property.cpp @@ -381,7 +381,7 @@ goto unlock; sym->type = symORIGINAL; - snprintf(sym->data, sym->size + 1, ep); + snprintf(sym->data, sym->size + 1, "%s", ep); unlock: release(); Thread::yield(); debian/patches/spelling-error-in-binary.patch0000664000000000000000000000570611771253332016506 0ustar 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);