debian/0000775000000000000000000000000013354655730007203 5ustar debian/liblouis-bin.manpages0000664000000000000000000000004212163765341013301 0ustar debian/tmp/usr/share/man/man1/*.1 debian/info0000664000000000000000000000002212163765341010050 0ustar doc/liblouis.info debian/liblouis-bin.install0000664000000000000000000000015512163765341013161 0ustar usr/bin/lou_allround usr/bin/lou_checkhyphens usr/bin/lou_translate usr/bin/lou_checktable usr/bin/lou_debug debian/liblouis-data.install0000664000000000000000000000003212163765341013314 0ustar usr/share/liblouis/tables debian/watch0000664000000000000000000000053612163765341010235 0ustar version=3 http://www.abilitiessoft.com/downloads.html liblouis-(.*)\.tar\.gz opts=downloadurlmangle=s%.*name=(.*?)&.*%https://liblouis\.googlecode\.com/files/$1%,filenamemangle=s/.*name=(.*?)&.*/$1/ \ http://code.google.com/p/liblouis/downloads/list?can=1&q= \ .*name=liblouis[\-\._]?(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz|zip|7z|jar)&\S* debian/source/0000775000000000000000000000000012163765341010500 5ustar debian/source/format0000664000000000000000000000001412163765341011706 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212163765341010376 0ustar 7 debian/liblouis2.install0000664000000000000000000000002412163765341012470 0ustar usr/lib/*/lib*.so.* debian/docs0000664000000000000000000000006412163765341010053 0ustar NEWS README TODO doc/liblouis.html doc/liblouis.txt debian/patches/0000775000000000000000000000000013354463025010624 5ustar debian/patches/CVE-2018-12085.patch0000664000000000000000000000137713354463025013337 0ustar From dbfa58bb128cae86729578ac596056b3385817ef Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Wed, 6 Jun 2018 16:41:53 +0200 Subject: [PATCH] Check index before writing to result->chars Fixes #595 diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index a7a6867..99a6d9c 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -1583,12 +1583,12 @@ parseChars (FileInfo * nested, CharsString * result, CharsString * token) } in++; } - result->chars[out++] = (widechar) ch; if (out >= MAXSTRING) { result->length = out; return 1; } + result->chars[out++] = (widechar) ch; continue; } lastOutSize = out; debian/patches/series0000664000000000000000000000026613354463025012045 0ustar CVE-2017-13738-and-2017-13744.patch CVE-2014-8184.patch CVE-2018-11440.patch CVE-2018-11577.patch CVE-2018-11685.patch CVE-2018-11684.patch CVE-2018-11683.patch CVE-2018-12085.patch debian/patches/CVE-2018-11684.patch0000664000000000000000000000156513305537725013347 0ustar Backported of: From fb2bfce4ed49ac4656a8f7e5b5526e4838da1dde Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Mon, 4 Jun 2018 14:11:50 +0200 Subject: [PATCH] Fix yet another buffer overflow in the braille table parser Reported by Henri Salo Fixes #592 diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index e8a5c9e..5a6917c 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -1853,6 +1853,10 @@ includeFile (FileInfo * nested, CharsString * includedFile) char includeThis[MAXSTRING]; for (k = 0; k < includedFile->length; k++) includeThis[k] = (char) includedFile->chars[k]; + if (k >= MAXSTRING) { + compileError(nested, "Include statement too long: 'include %s'", includeThis); + return 0; + } includeThis[k] = 0; return compileFile (includeThis); } debian/patches/CVE-2018-11577.patch0000664000000000000000000000367013305255626013344 0ustar Backported of: From 7e135b9313ad06218dfcf9ed63070edede7745a1 Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Thu, 31 May 2018 12:08:56 +0200 Subject: [PATCH] Fix yet another buffer overflow in the braille table parser Reported by Edward-L Fixes #582 diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index 51bc6ac..ee21118 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -2933,6 +2933,10 @@ compilePassOpcode (FileInfo * nested, TranslationTableOpcode opcode) passLinepos = 0; while (passLinepos <= endTest) { + if (passIC >= MAXSTRING) { + compileError(passNested, "Test part in multipass operand too long"); + return 0; + } switch ((passSubOp = passLine.chars[passLinepos])) { case pass_lookback: @@ -3128,6 +3132,10 @@ compilePassOpcode (FileInfo * nested, TranslationTableOpcode opcode) while (passLinepos < passLine.length && passLine.chars[passLinepos] > 32) { + if (passIC >= MAXSTRING) { + compileError(passNested, "Action part in multipass operand too long"); + return 0; + } switch ((passSubOp = passLine.chars[passLinepos])) { case pass_string: @@ -3155,8 +3163,15 @@ compilePassOpcode (FileInfo * nested, TranslationTableOpcode opcode) if (passHoldString.length == 0) return 0; passInstructions[passIC++] = passHoldString.length; - for (kk = 0; kk < passHoldString.length; kk++) + for (kk = 0; kk < passHoldString.length; kk++) + { + if (passIC >= MAXSTRING) + { + compileError(passNested, "@ operand in action part of multipass operand too long"); + return 0; + } passInstructions[passIC++] = passHoldString.chars[kk]; + } break; case pass_variable: passLinepos++; debian/patches/CVE-2017-13738-and-2017-13744.patch0000664000000000000000000000123613152013417015135 0ustar From edf8ee00197e5a9b062554bdca00fe1617d257a4 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Tue, 29 Aug 2017 16:55:29 -0500 Subject: [PATCH] Fix possible out-of-bounds write from a \ followed by multiple newlines Fixes CVE-2017-13738 and CVE-2017-13744. diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index 4758f2a..957a6c9 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -639,6 +639,7 @@ getALine (FileInfo * nested) if (pch == '\\' && ch == 10) { nested->linelen--; + pch = ch; continue; } if (ch == 10 || nested->linelen >= MAXSTRING) debian/patches/CVE-2018-11440.patch0000664000000000000000000000154713305255606013330 0ustar Backported of: From 4417bad83df4481ed58419b28c5c91b9649e2a86 Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Wed, 30 May 2018 16:47:10 +0200 Subject: [PATCH] Fix another buffer overflow in table parsing reported by Henri Salo Fixes #575 and CVE-2018-11440 diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index e83249e..51bc6ac 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -1601,6 +1601,10 @@ parseChars (FileInfo * nested, CharsString * result, CharsString * token) { if (in >= MAXSTRING) break; + if (out >= MAXSTRING) { + result->length = lastOutSize; + return 1; + } if (token->chars[in] < 128 || (token->chars[in] & 0x0040)) { compileWarning (nested, "invalid UTF-8. Assuming Latin-1."); debian/patches/CVE-2018-11683.patch0000664000000000000000000000443313305537722013340 0ustar Backported of: From d4fc803687e38a5355fb686bf98cc082951f3043 Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Mon, 4 Jun 2018 13:51:26 +0200 Subject: [PATCH] Use a standard buffer size for translating I believe this fixes #591 (the second part of of it) From e7eee2b7926668360a0d8e2abee6c35a00ebce3c Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Mon, 4 Jun 2018 12:02:13 +0200 Subject: [PATCH] Fix yet another buffer overflow in the braille table parser Reported by Henri Salo Fixes #591 diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index ee21118..e8a5c9e 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -1614,14 +1614,14 @@ parseChars (FileInfo * nested, CharsString * result, CharsString * token) } utf32 = (utf32 << 6) + (token->chars[in++] & 0x3f); } - if (CHARSIZE == 2 && utf32 > 0xffff) - utf32 = 0xffff; - result->chars[out++] = (widechar) utf32; if (out >= MAXSTRING) { result->length = lastOutSize; return 1; } + if (CHARSIZE == 2 && utf32 > 0xffff) + utf32 = 0xffff; + result->chars[out++] = (widechar) utf32; } result->length = out; return 1; diff --git a/tools/lou_translate.c b/tools/lou_translate.c index 0ef186a..c806fd1 100644 --- a/tools/lou_translate.c +++ b/tools/lou_translate.c @@ -36,8 +36,6 @@ #include "progname.h" #include "version-etc.h" -#define BUFSIZE MAXSTRING - 4 - static int forward_flag = 0; static int backward_flag = 0; @@ -58,10 +56,10 @@ const char version_etc_copyright[] = static void translate_input (int forward_translation, char *table_name) { - char charbuf[BUFSIZE]; + char charbuf[MAXSTRING]; char *outputbuf; - widechar inbuf[BUFSIZE]; - widechar transbuf[BUFSIZE]; + widechar inbuf[MAXSTRING]; + widechar transbuf[MAXSTRING]; int inlen; int translen; int k; @@ -69,9 +67,9 @@ translate_input (int forward_translation, char *table_name) int result; while (1) { - translen = BUFSIZE; + translen = MAXSTRING; k = 0; - while ((ch = getchar ()) != '\n' && ch != EOF && k < BUFSIZE) + while ((ch = getchar ()) != '\n' && ch != EOF && k < MAXSTRING) charbuf[k++] = ch; if (ch == EOF && k == 0) break; debian/patches/CVE-2018-11685.patch0000664000000000000000000000144513305537727013347 0ustar From b5049cb17ae3d15b2b26890de0e24d0fecc080f5 Mon Sep 17 00:00:00 2001 From: Christian Egli Date: Mon, 4 Jun 2018 15:47:28 +0200 Subject: [PATCH] Fix yet another buffer overflow in the braille table parser Reported by Henri Salo Fixes #593 Index: liblouis-2.5.3/liblouis/compileTranslationTable.c =================================================================== --- liblouis-2.5.3.orig/liblouis/compileTranslationTable.c +++ liblouis-2.5.3/liblouis/compileTranslationTable.c @@ -3674,7 +3674,7 @@ compileHyphenation (FileInfo * nested, C HyphenationTrans *holdPointer; HyphenHashTab *hashTab; CharsString word; - char pattern[MAXSTRING]; + char pattern[MAXSTRING + 1]; unsigned int stateNum = 0, lastState = 0; int i, j, k = encoding->length; widechar ch; debian/patches/CVE-2014-8184.patch0000664000000000000000000000727113177043533013260 0ustar Backported: From 2fe2b279994e3ed70bae461e284702cc1c7d4665 Mon Sep 17 00:00:00 2001 From: Raphael Sanchez Prudencio Date: Mon, 18 Sep 2017 18:44:31 +0200 Subject: [PATCH 5/7] Fix multiple stack-based buffer overflows in findTable(). Fixes CVE-2014-8184. Note: combined patch from redhat version and Samuel Thibault patch https://github.com/liblouis/liblouis/issues/425 diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c index 957a6c9..e83249e 100644 --- a/liblouis/compileTranslationTable.c +++ b/liblouis/compileTranslationTable.c @@ -4521,8 +4521,7 @@ findTable (const char *tableName) char trialPath[MAXSTRING]; if (tableName == NULL || tableName[0] == 0) return NULL; - strcpy (trialPath, tablePath); - strcat (trialPath, tableName); + snprintf (trialPath, MAXSTRING-1, "%s%s", tablePath, tableName); if ((tableFile = fopen (trialPath, "rb"))) return tableFile; pathEnd[0] = DIR_SEP; @@ -4536,23 +4535,23 @@ findTable (const char *tableName) int listLength; int currentListPos = 0; listLength = strlen (pathList); + if (listLength >= MAXSTRING) + listLength = MAXSTRING-1; for (k = 0; k < listLength; k++) if (pathList[k] == ',') break; if (k == listLength || k == 0) { /* Only one file */ - strcpy (trialPath, pathList); - strcat (trialPath, pathEnd); - strcat (trialPath, tableName); + snprintf (trialPath, MAXSTRING-1, "%s%s%s", pathList, pathEnd, tableName); if ((tableFile = fopen (trialPath, "rb"))) break; } else { /* Compile a list of files */ - strncpy (trialPath, pathList, k); - trialPath[k] = 0; - strcat (trialPath, pathEnd); - strcat (trialPath, tableName); + char path[MAXSTRING]; + strncpy (path, pathList, k); + path[k] = 0; + snprintf (trialPath, MAXSTRING-1, "%s%s%s", path, pathEnd, tableName); currentListPos = k + 1; if ((tableFile = fopen (trialPath, "rb"))) break; @@ -4561,11 +4560,9 @@ findTable (const char *tableName) for (k = currentListPos; k < listLength; k++) if (pathList[k] == ',') break; - strncpy (trialPath, - &pathList[currentListPos], k - currentListPos); - trialPath[k - currentListPos] = 0; - strcat (trialPath, pathEnd); - strcat (trialPath, tableName); + strncpy (path, &pathList[currentListPos], k - currentListPos); + path[k - currentListPos] = 0; + snprintf (trialPath, MAXSTRING-1, "%s%s%s", path, pathEnd, tableName); if ((tableFile = fopen (trialPath, "rb"))) currentListPos = k + 1; break; @@ -4583,26 +4580,20 @@ findTable (const char *tableName) pathList = lou_getDataPath (); if (pathList) { - strcpy (trialPath, pathList); - strcat (trialPath, pathEnd); #ifdef _WIN32 - strcat (trialPath, "liblouis\\tables\\"); + snprintf (trialPath, MAXSTRING-1, "%s%sliblouis\\tables\\%s", pathList, pathEnd, tableName); #else - strcat (trialPath, "liblouis/tables/"); + snprintf (trialPath, MAXSTRING-1, "%s%sliblouis/tables/%s", pathList, pathEnd, tableName); #endif - strcat (trialPath, tableName); if ((tableFile = fopen (trialPath, "rb"))) return tableFile; } /* See if table on installed or program path. */ #ifdef _WIN32 - strcpy (trialPath, lou_getProgramPath ()); - strcat (trialPath, "\\share\\liblouss\\tables\\"); + snprintf (trialPath, MAXSTRING-1, "%s\\share\\liblouss\\tables\\%s", lou_getProgramPath(), tableName); #else - strcpy (trialPath, TABLESDIR); - strcat (trialPath, pathEnd); + snprintf (trialPath, MAXSTRING-1, "%s%s%s", TABLESDIR, pathEnd, tableName); #endif - strcat (trialPath, tableName); if ((tableFile = fopen (trialPath, "rb"))) return tableFile; return NULL; debian/examples0000664000000000000000000000005312163765341010737 0ustar tools/lou_translate.c tools/lou_allround.c debian/control0000664000000000000000000001012313152013722010564 0ustar Source: liblouis Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Accessibility Team Uploaders: Samuel Thibault , Cyril Brulebois Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, python-all (>= 2.6.6-3~), python3-all, texinfo, help2man, dpkg-dev (>= 1.16), hardening-wrapper, quilt, dh-autoreconf Standards-Version: 3.9.4 Section: libs Vcs-Git: git://git.debian.org/git/pkg-a11y/liblouis Vcs-Browser: http://git.debian.org/?p=pkg-a11y/liblouis.git Homepage: http://code.google.com/p/liblouis/ X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 Package: liblouis-dev Section: libdevel Architecture: any Multi-Arch: same Depends: liblouis2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Braille translation library - static libs and headers Liblouis is a braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many languages and has support for hyphenation. Liblouis also supports math braille (Nemeth and Marburg). . This package contains static libraries and development headers. Package: liblouis2 Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, liblouis-data, ${misc:Depends} Description: Braille translation library - shared libs Liblouis is a braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many languages and has support for hyphenation. Liblouis also supports math braille (Nemeth and Marburg). . This package contains shared libraries. Package: liblouis-data Section: text Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Description: Braille translation library - data Liblouis is a braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many languages and has support for hyphenation. Liblouis also supports math braille (Nemeth and Marburg). New languages can easily be added through tables that support a rule- or dictionary based approach. Included are also tools for testing and debugging tables. . This package contains runtime data. Package: liblouis-bin Section: text Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: Braille translation library - utilities Liblouis is a braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many languages and has support for hyphenation. Liblouis also supports math braille (Nemeth and Marburg). New languages can easily be added through tables that support a rule- or dictionary based approach. Included are also tools for testing and debugging tables. . This package contains a few tools to test tables and translate text. Package: python-louis Section: python Architecture: all Depends: ${python:Depends}, liblouis2 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Description: Python bindings for liblouis Liblouis is a braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many languages and has support for hyphenation. Liblouis also supports math braille (Nemeth and Marburg). . This package contains Python bindings. Package: python3-louis Section: python Architecture: all Depends: ${python3:Depends}, liblouis2 (>= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Provides: ${python3:Provides} Description: Python bindings for liblouis Liblouis is a braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many languages and has support for hyphenation. Liblouis also supports math braille (Nemeth and Marburg). . This package contains Python bindings. debian/liblouis-dev.doc-base0000664000000000000000000000072612163765341013202 0ustar Document: liblouis Title: Programmer API for the liblouis Braille translation library Author: John J. Boyer Abstract: This manual describes the liblouis translator library: - for the end user - for braille tables writers - for developers using the API of the library Section: Programming/C Format: HTML Index: /usr/share/doc/liblouis-dev/liblouis.html Files: /usr/share/doc/liblouis-dev/liblouis.html Format: text Files: /usr/share/doc/liblouis-dev/liblouis.txt.gz debian/changelog0000664000000000000000000002403613354655334011062 0ustar liblouis (2.5.3-2ubuntu1.5) trusty-security; urgency=medium * SECURITY UPDATE: Stack-based buffer overflow - debian/patches/CVE-2018-12085.patch: fix in liblouis/compileTranslationTable.c. - CVE-2018-12085 -- Leonidas S. Barbosa Mon, 01 Oct 2018 15:24:48 -0300 liblouis (2.5.3-2ubuntu1.4) trusty-security; urgency=medium * SECURITY UPDATE: Stack-based buffer overflow - debian/patches/CVE-2018-11683.patch: fix in liblouis/compileTranslationTable.c, tools/lou_translate.c. - CVE-2018-11683 * SECURITY UPDATE: Stack-based buffer overflow - debian/patches/CVE-2018-11684.patch: fix in liblouis/compileTranslationTable.c. - CVE-2018-11684 * SECURITY UPDATE: Stack-based buffer overflow - debian/patches/CVE-2018-11685.patch: fix in liblouis/compileTranslationTable.c. - CVE-2018-11685 -- Leonidas S. Barbosa Tue, 05 Jun 2018 13:52:47 -0300 liblouis (2.5.3-2ubuntu1.3) trusty-security; urgency=medium * SECURITY UPDATE: Stack-based buffer overflow - debian/patches/CVE-2018-11440.patch: fix in table parsing liblouis/compileTranslationTable.c. - CVE-2018-11440 * SECURITY UPDATE: Buffer overflow in braille table parser - debian/patches/CVE-2018-11577.patch: fix in liblouis/compileTranslationTable.c. - CVE-2018-11577 -- Leonidas S. Barbosa Mon, 04 Jun 2018 12:32:47 -0300 liblouis (2.5.3-2ubuntu1.2) trusty-security; urgency=medium * SECURITY UPDATE: stack-based buffer overflow in findTable() - debian/patches/CVE-2014-8184.patch: refactory findTable code that fix stack based overflow in findTable(). - CVE-2014-8184 -- Leonidas S. Barbosa Thu, 02 Nov 2017 13:57:52 -0300 liblouis (2.5.3-2ubuntu1.1) trusty-security; urgency=medium * SECURITY UPDATE: Illegal address access in getALine - debian/patches/CVE-2017-13738-and-2017-13744.patch: fix possible out-of-bounds write in liblouis/compileTranslationTable.c. - CVE-2017-13738 - CVE-2017-13744 -- Leonidas S. Barbosa Thu, 31 Aug 2017 11:03:04 -0300 liblouis (2.5.3-2ubuntu1) trusty; urgency=medium * Build using dh-autoreconf. -- Matthias Klose Wed, 18 Dec 2013 13:51:34 +0100 liblouis (2.5.3-2) unstable; urgency=low * Make python-louis and python3-louis Arch: all packages. (Closes: Bug#719139) (LP: #1070251) -- Samuel Thibault Mon, 19 Aug 2013 17:12:48 +0200 liblouis (2.5.3-1) unstable; urgency=low * New upstream release. * Replace python -dev build-deps with python build-deps (Closes: #712076). * watch: Add code.google.com download URL. -- Samuel Thibault Sun, 30 Jun 2013 10:30:53 +0200 liblouis (2.5.2-2) unstable; urgency=low * Upload to unstable. [ Samuel Thibault ] * control: Make liblouis-dev Multi-Arch: same. [ Luke Yelavich ] * Build a python 3 package (Closes: #692386) * Update standards version, no changes needed -- Samuel Thibault Sun, 19 May 2013 00:43:57 +0200 liblouis (2.5.2-1) experimental; urgency=low * New upstream release - Update copyright - Remove patches/format, merged upstream. -- Samuel Thibault Tue, 18 Dec 2012 23:52:16 +0100 liblouis (2.5.1-1) experimental; urgency=low * New upstream release. - Update copyright - Add TODO file to docs. * source/format: Switch to quilt format. * patches/format: New format patch to fix build. * liblouis-bin.install: Do not install lou_harnessGenerator. -- Samuel Thibault Sun, 30 Sep 2012 15:31:57 +0200 liblouis (2.4.1-1) unstable; urgency=low * New upstream release. * control: Bump Standards-Version to 3.9.3 (no changes). -- Samuel Thibault Sun, 26 Feb 2012 21:03:21 +0100 liblouis (2.4.0-1) unstable; urgency=low * New upstream release - copyright: Update. * rules: Add build-indep and build-arch targets. * control: Depend on hardening-check. * rules: Set DEB_BUILD_HARDENING=1 to enable hardening. -- Samuel Thibault Sat, 04 Feb 2012 23:51:57 +0100 liblouis (2.3.0-3) unstable; urgency=low [ Samuel Thibault ] * debian/liblouis-dev.install: Move pkg-config file to multiarch place. [ Barry Warsaw ] * Switch to dh_python2 (Closes: Bug#635442) (LP: #788514) -- Samuel Thibault Thu, 11 Aug 2011 03:51:30 +0200 liblouis (2.3.0-2) unstable; urgency=low * debian/rules: Set libdir to DEB_HOST_MULTIARCH. * debian/control: Make liblouis2 pre-depend on multiarch-support. -- Samuel Thibault Sun, 05 Jun 2011 12:34:49 +0200 liblouis (2.3.0-1) unstable; urgency=low * New upstream release. * Cherry-pick r448 and r449 from upstream, to fix make check timeouts and hung processes * debian/control: - Set liblouis-data Multi-Arch: foreign. - Build-depend on dpkg-dev (>= 1.16) * Bump Standards-Version to 3.9.2 -- Samuel Thibault Mon, 09 May 2011 23:40:10 +0200 liblouis (2.2.0-1) unstable; urgency=low * New upstream release (Closes: Bug#614568). * debian/copyright: Update. -- Samuel Thibault Sun, 30 Jan 2011 17:38:29 +0100 liblouis (2.0.0-2) unstable; urgency=low * debian/watch: Replace googlecode URL with abilitiessoft.com URL. * debian/gbp.conf: Add git-buildpackage configuration file. -- Samuel Thibault Fri, 20 Aug 2010 20:04:37 +0200 liblouis (2.0.0-1) unstable; urgency=low * New upstream release. * debian/control: Bump Standards-Version to 3.9.1 (no change needed). * debian/rules: Do not stop build on make check error. -- Samuel Thibault Tue, 27 Jul 2010 02:42:36 +0200 liblouis (1.8.0-1) unstable; urgency=low * New upstream release (Closes: Bug#563673). * debian/control: - Drop duplicate Section: libs field. - Add help2man Build-Depends. - Rename liblouis0 package to liblouis2 due to soname change. * debian/rules: - Automatically copy config.{sub,guess} from autotools-dev (Closes: Bug#563485). - Remove python/build on clean. * debian/lou_*.1: Remove manpages, upstream now have some. * debian/copyright: Fix copyright sign. * debian/liblouis-dev.doc-base: Add. -- Samuel Thibault Tue, 12 Jan 2010 23:48:47 +0100 liblouis (1.7.0-2) unstable; urgency=low * debian/control: Remove python2.4-ctypes build-depends (Closes: Bug#562480), bump python-all-dev dependency version to >= 2.5. -- Samuel Thibault Sun, 27 Dec 2009 02:57:36 +0100 liblouis (1.7.0-1) unstable; urgency=low New upstream release. [ Loïc Minier ] * Don't override LD_LIBRARY_PATH completely as this breaks fakeroot. * Add ${misc:Depends}. * Run testsuite during build by default. * Stop installing *.la files in liblouis-dev; the only package build-depending on liblouis-dev (recursively) is liblouisxml-dev so that's fine. * Cleanup rules. * Add ${shlibs:Depends} to liblouis-dev and python-louis. * Fix copyright to mention licensing of tools (GPLv2 or later). [ Cyril Brulebois ] * Merge Loïc's patches (and tweak some of them), thanks! [ Samuel Thibault ] * rules: Install libraries to /usr/lib/$(DEB_HOST_GNU_TYPE), but not the pkgconfig file. * control: Add Multi-Arch: foreign to liblouis-bin, same to liblouis0. * Fix LD_LIBRARY_PATH change * Disable the present_progressive test, as it is known upstream that it fails. * debian/control: Bump Standards-Version to 3.8.3 (no change needed). * debian/lou_checkhyphens.1: New manpage. -- Samuel Thibault Sat, 22 Aug 2009 15:52:10 +0200 liblouis (1.6.2.0-2) unstable; urgency=low * Add texinfo to Build-Depends, fixing FTBFS with missing makeinfo command, before it gets reported. :) * Add myself to Uploaders. -- Cyril Brulebois Wed, 29 Jul 2009 06:25:24 +0200 liblouis (1.6.2.0-1) unstable; urgency=low * New upstream release. * examples: use lou_translate.c and lou_allround.c as examples (Closes: #535454). * Include some python examples in pydoc louis. -- Samuel Thibault Wed, 29 Jul 2009 01:40:24 +0200 liblouis (1.6.1-3) unstable; urgency=low [ Samuel Thibault ] * control: make python-louis's dependency on liblouis0 versioned in case new functions are added. [ Cyril Brulebois ] * Get rid of XB-Python-Version, useless with python-support. * Get rid of debian/*.dirs, dh_install does the right thing. * Fix watch file: trying to match just the basename of the tarball fails, it looks like it's needed to consider any possible path in front of it. -- Samuel Thibault Sun, 28 Jun 2009 01:28:52 +0200 liblouis (1.6.1-2) unstable; urgency=low * Load the precise library file from the python bindings (Closes: #530608). Thanks Cyril Brulebois for the patch! * Since the python package is called louis and not liblouis, rename package python-liblouis into python-louis to meet the Debian Python Policy and fix ${python:Depends} generation (no reverse dependency exist). Make it Architecture: any instead of all as different systems may have different liblouis library file names. * control: Change my email, remove DM-Upload-Allowed, add Vcs-Git and Vcs-Browser. * pycompat: Remove, useless with python-support. * Bump Standards-Version to 3.8.2 (no change needed). -- Samuel Thibault Sat, 27 Jun 2009 21:48:19 +0200 liblouis (1.6.1-1) unstable; urgency=low * New upstream bugfix release. * Bump Standards-Version to 3.8.1, no changes needed. * Set CFLAGS to -O2 unless noopt is given in DEB_BUILD_OPTIONS. * Build liblouis-data in binary-indep instead of binary-arch. -- Samuel Thibault Tue, 21 Apr 2009 00:00:00 +0200 liblouis (1.6.0-1) unstable; urgency=low * Initial release (Closes: #513632). -- Samuel Thibault Sat, 07 Mar 2009 23:03:22 +0100 debian/rules0000775000000000000000000000576712254315111010262 0ustar #!/usr/bin/make -f # -*- makefile -*- DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS := --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS := --build $(DEB_BUILD_GNU_TYPE) endif ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif export DEB_BUILD_HARDENING=1 maybe_check = $(if $(findstring nocheck,$(DEB_BUILD_OPTIONS)),,check) PYVERS := $(shell pyversions -r) PY3VERS := $(shell py3versions -r) configure-stamp: dh_testdir dh_autoreconf ./configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --enable-ucs4 touch $@ build: build-indep build-arch build-indep: build-stamp build-arch: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) cd python; \ for py in $(PYVERS) $(PY3VERS); do \ LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py build; \ done touch $@ clean: dh_testdir dh_testroot rm -f build-stamp check-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean -cd python; \ for py in $(PYVERS) $(PY3VERS); do \ LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py clean --all; \ done; \ rm -f louis/__init__.pyc rm -f doc/liblouis.info doc/stamp-vti doc/version.texi rm -fr python/build dh_autoreconf_clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install cd python; \ for py in $(PYVERS); do \ LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py install --root=$(CURDIR)/debian/python-louis --install-layout=deb; \ done cd python; \ for py in $(PY3VERS); do \ LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py install --root=$(CURDIR)/debian/python3-louis --install-layout=deb; \ done check: check-stamp check-stamp: -$(MAKE) check touch $@ binary-arch: export DH_OPTIONS=-s binary-arch: build install $(maybe_check) dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_install dh_installman dh_installinfo dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-indep: export DH_OPTIONS=-i binary-indep: build install $(maybe_check) dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_install dh_python2 dh_python3 dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb get-orig-source: uscan --verbose --rename --repack --force-download binary: binary-indep binary-arch .PHONY: build build-indep build-arch clean binary-indep binary-arch binary install debian/copyright0000664000000000000000000001133112163765341011132 0ustar This package was debianized by Samuel Thibault on Fri, 30 Jan 2009 22:41:58 +0100. It was downloaded from http://code.google.com/p/liblouis/ Upstream Author: John J. Boyer Dave Mielke and other BRLTTY team members Leon Ungier of ViewPlus Technologies John Gardner of ViewPlus Technologies Yuemei Sun of ViewPlus Technologies Eitan Isaacson Alastair Irving Christian Egli James Teh Michel Such Copyright: Copyright (C) 1995-2012 by the BRLTTY Team Copyright (C) 2004-2009 ViewPlus Technologies, Inc. `www.viewplus.com'. Copyright (C) 2004 Computers to Help People, Inc., www.chpi.org Copyright (C) 2004-2008 JJB Software, Inc. `www.jjb-software.com'. Copyright (C) 2010 Leon Ungier Copyright (C) 2010 Mohammed R. Ramadan Copyright (C) 2010, 2012 Samuel Thibault Copyright (c) 2010 by DocArch Copyright (C) 2009-2010 INIB (Iceland National Institute for the Blind) Copyright (C) 2010,2012 by Swiss Library for the Blind, Visually Impaired and Print Disabled Copyright (C) 2011-2012 by Mesar Hameed Copyright (C) 2011 by Abdolamir Banisaeid Copyright (C) 2011 by Bert Frees Copyright (C) 2011 by Jan Halousek Copyright (C) 2012 by Aliminator83@gmail.com Copyright (C) 2012 liblouis authors, Jyrgen Dengo Copyright (C) 2011 by Caterina Avoledo Copyright (C) 2012 by Simone Dal Maso Copyright (C) 2012 Rui Fontes Copyright (C) 2012 by Brailcom, o.p.s. Copyright (C) 2012, maintained by Greg Kearney, gkearney@gmail.com Copyright (C) 2009-2012 Free Software Foundation, Inc. When not otherwise specified, files are under the LGPL version 3 or later: License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser 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 Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. The tools below the tools/ directory are under the GPL version 2 or later: 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'. The snippets below the buidl-aux/snippet/ directory are under the GPL version 3 or later: License: This program 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 3 of the License, or (at your option) any later version. This program 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 program. If not, see . */ The Debian packaging is © 2009, Samuel Thibault and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/liblouis-dev.install0000664000000000000000000000010712163765341013164 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/gbp.conf0000664000000000000000000000011512163765341010614 0ustar [git-import-orig] upstream-branch = upstream-import debian-branch = upstream