debian/0000755000000000000000000000000012235036644007173 5ustar debian/dirs0000644000000000000000000000002211752402515010046 0ustar usr/bin usr/share debian/libcob1.install0000644000000000000000000000002211752402577012075 0ustar usr/lib/lib*.so.* debian/source/0000755000000000000000000000000011752402576010477 5ustar debian/source/format0000644000000000000000000000001411752402576011705 0ustar 3.0 (quilt) debian/open-cobol.install0000644000000000000000000000006111752513437012620 0ustar usr/share/locale/ usr/share/open-cobol/ usr/bin/ debian/copyright0000644000000000000000000000607111752405011011121 0ustar This package was debianized by Bart Martens on Sat, 4 Mar 2006 17:22:08 +0100. It was downloaded from http://www.opencobol.org/ Copyright (C) 2001-2009 Keisuke Nishida Copyright (C) 2004-2009 Roger While Copyright (C) 1984-2007 Free Software Foundation, Inc. Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald Copyright (C) 1994 X Consortium Copyright holders, copied from AUTHORS and README: > * Keisuke Nishida wrote > cobc/*, libcob/*, libcob.h, libcob.conf, cob-config.in, > and po/ja.po. > > * lib/getopt1.c, lib/getopt.h, lib/getopt1.c were extracted > from the GNU C Library 2.3.2. Distributed under GNU LGPL. > > * lib/gettext.h was extracted from the GNU gettext 0.11.2. > Distributed under GNU LGPL. > > * libcob/byteswap.h was extracted from GLIB 2.2.2 and > modified by Keisuke Nishida. Distributed under GNU LGPL. > > All programs except those in lib and libcob are distributed under > the GNU General Public License. See COPYING for details. > > Programs in lib and libcob are distributed under the GNU Lesser > General Public License. See COPYING.LIB for details. License "GNU GPL": 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 version 2 can be found in `/usr/share/common-licenses/GPL-2'. License "GNU LGPL": 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 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 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 version 2 can be found in `/usr/share/common-licenses/LGPL-2'. The Debian packaging is Copyright (C) 2006-2012 Bart Martens and is licensed under the GPL version 2, see above. debian/libcob1-dev.install0000644000000000000000000000005511752407533012654 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so debian/changelog0000644000000000000000000000576412235036644011061 0ustar open-cobol (1.1-1build1) trusty; urgency=low * No change rebuild against db 5.3. -- Dmitrijs Ledkovs Fri, 01 Nov 2013 23:47:48 +0000 open-cobol (1.1-1) unstable; urgency=low * New upstream release. * Switch to dpkg-source 3.0 (quilt) format, debhelper 8, no cdbs. * debian/rules: No longer using --with-db because it is the default. -- Bart Martens Wed, 09 May 2012 05:49:44 +0000 open-cobol (1.0-5) unstable; urgency=low * debian/patches/01_hardening-format-security.diff: Closes: #643449. -- Bart Martens Thu, 29 Sep 2011 04:24:23 +0200 open-cobol (1.0-4.1) unstable; urgency=low * Non-maintainer upload. * Don't ship .la files (Closes: #622422). -- Luk Claes Sat, 25 Jun 2011 14:55:13 +0200 open-cobol (1.0-4) unstable; urgency=low * Changed priority to "extra" because libdb-dev has priority "extra". * debian/watch: Updated. -- Bart Martens Tue, 07 Jul 2009 19:50:21 +0200 open-cobol (1.0-3) unstable; urgency=low * debian/control: Replaced libdb4.5-dev by libdb-dev, not only in Build-Depends but also in Depends. Closes: #517284. * debian/control: Added libncurses5-dev to Depends. Closes: #528206. * debian/copyright: Added copyright and license for Debian packaging. -- Bart Martens Mon, 11 May 2009 23:02:42 +0200 open-cobol (1.0-2) unstable; urgency=low * debian/control: Replaced libdb4.5-dev by libdb-dev. Closes: #517284. -- Bart Martens Wed, 15 Apr 2009 21:19:48 +0200 open-cobol (1.0-1) unstable; urgency=low * New upstream release. -- Bart Martens Tue, 22 Jan 2008 19:23:12 +0100 open-cobol (0.33~cvs20070616-1) unstable; urgency=low * New upstream version from upstream cvs. Closes: #405597. * debian/README.Debian-source: Added. * debian/control: Replaced libdb4.3-dev by libdb4.5-dev. * debian/copyright: Updated. -- Bart Martens Sat, 16 Jun 2007 16:24:46 +0200 open-cobol (0.32-3) unstable; urgency=low * debian/rules, debian/control: Switch to cdbs. * debian/control: open-cobol depends on libdb4.3-dev. Closes: #387937. * debian/control: Standards version. * debian/open-cobol.manpages: Added. -- Bart Martens Tue, 19 Sep 2006 22:14:00 +0200 open-cobol (0.32-2) unstable; urgency=low * Changed my e-mail address. * debian/control: Added dependencies. Closes: #365217. Reported by Andre Luiz Rodrigues Ferreira (si0ux) , thank you. * configure.ac, debian/control: Newer version of libgmp. Closes: #365177. -- Bart Martens Fri, 28 Apr 2006 19:11:34 +0200 open-cobol (0.32-1) unstable; urgency=low * Initial release. Closes: #355333. * debian/rules: Added configure option --with-db to use libdb, see README. * debian/rules: Put options "-Wl,-z,defs" in LDFLAGS, see bug #338990. * debian/open-cobol.1: Added. -- Bart Martens Sat, 4 Mar 2006 17:22:08 +0100 debian/control0000644000000000000000000000234412235036644010601 0ustar Source: open-cobol Section: devel Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Bart Martens Build-Depends: debhelper (>= 8.0.0), autotools-dev, libgmp3-dev, libltdl3-dev, libdb-dev, libncurses5-dev, autoconf, bison, flex, texinfo, Standards-Version: 3.9.3 Homepage: http://www.opencobol.org/ Package: open-cobol Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcob1-dev (=${binary:Version}), libgmp3-dev, libltdl3-dev, libdb-dev, libncurses5-dev, Description: COBOL compiler OpenCOBOL implements substantial part of the COBOL 85 and COBOL 2002 standards, as well as many extensions of the existent compilers. OpenCOBOL translates COBOL into C and compiles the translated code using GCC. Package: libcob1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: COBOL compiler - runtime library This package contains the runtime library for open-cobol. Package: libcob1-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcob1 (=${binary:Version}) Description: COBOL compiler - development files This package contains the development files for open-cobol. debian/open-cobol.links0000644000000000000000000000020311752402515012262 0ustar usr/share/man/man1/open-cobol.1.gz usr/share/man/man1/cobc.1.gz usr/share/man/man1/open-cobol.1.gz usr/share/man/man1/cobcrun.1.gz debian/info0000644000000000000000000000002511752402577010053 0ustar texi/open-cobol.info debian/libcob1-dev.dirs0000644000000000000000000000002411752402577012146 0ustar usr/lib usr/include debian/rules0000755000000000000000000000011211752515572010252 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --with autotools-dev debian/watch0000644000000000000000000000007411752402515010222 0ustar version=3 http://sf.net/open-cobol/open-cobol-(.*)\.tar\.gz debian/open-cobol.manpages0000644000000000000000000000002411752402515012736 0ustar debian/open-cobol.1 debian/patches/0000755000000000000000000000000011752516274010627 5ustar debian/patches/01_hardening-format-security.diff0000644000000000000000000000345711752406343017057 0ustar Index: open-cobol-1.1/cobc/codegen.c =================================================================== --- open-cobol-1.1.orig/cobc/codegen.c 2009-01-28 18:18:21.000000000 +0000 +++ open-cobol-1.1/cobc/codegen.c 2012-05-09 06:21:19.000000000 +0000 @@ -278,7 +278,7 @@ output_indent_level -= level; } - output_line (str); + output_line ("%s", str); if (*p == '{' && strcmp (str, ")}") != 0) { output_indent_level += level; Index: open-cobol-1.1/cobc/error.c =================================================================== --- open-cobol-1.1.orig/cobc/error.c 2009-01-24 13:31:30.000000000 +0000 +++ open-cobol-1.1/cobc/error.c 2012-05-09 06:21:19.000000000 +0000 @@ -241,7 +241,7 @@ break; } strcat (errnamebuff, _("defined here")); - cb_error_x (y, errnamebuff); + cb_error_x (y, "%s", errnamebuff); } } } Index: open-cobol-1.1/cobc/parser.c =================================================================== --- open-cobol-1.1.orig/cobc/parser.c 2009-02-04 16:57:25.000000000 +0000 +++ open-cobol-1.1/cobc/parser.c 2012-05-09 06:21:19.000000000 +0000 @@ -12224,7 +12224,7 @@ yycount++; } } - yyerror (yymsg); + yyerror ("%s", yymsg); YYSTACK_FREE (yymsg); } else Index: open-cobol-1.1/cobc/typeck.c =================================================================== --- open-cobol-1.1.orig/cobc/typeck.c 2009-01-28 17:57:25.000000000 +0000 +++ open-cobol-1.1/cobc/typeck.c 2012-05-09 06:21:19.000000000 +0000 @@ -3907,11 +3907,11 @@ loc = src->source_line ? src : dst; if (value_flag) { /* VALUE clause */ - cb_warning_x (loc, msg); + cb_warning_x (loc, "%s", msg); } else { /* MOVE statement */ if (flag) { - cb_warning_x (loc, msg); + cb_warning_x (loc, "%s", msg); if (src_flag) { warning_destination (src); } debian/patches/series0000644000000000000000000000004211752516274012040 0ustar 01_hardening-format-security.diff debian/patches/notests.diff0000644000000000000000000000060111752411761013150 0ustar --- ./tests/Makefile.in.orig 2009-01-06 16:27:37.000000000 +0000 +++ ./tests/Makefile.in 2012-05-09 06:50:02.000000000 +0000 @@ -190,11 +190,7 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = cobol85 -TESTS = $(srcdir)/syntax \ - $(srcdir)/run \ - $(srcdir)/run-O \ - $(srcdir)/data-rep \ - $(srcdir)/data-rep-O +TESTS = syntax_DEPENDENCIES = \ syntax.at \ debian/libcob1.dirs0000644000000000000000000000001011752402577011365 0ustar usr/lib debian/docs0000644000000000000000000000002111752402577010044 0ustar NEWS README TODO debian/compat0000644000000000000000000000000211752402576010375 0ustar 8 debian/open-cobol.10000644000000000000000000000167211752402515011315 0ustar .TH OPEN-COBOL 1 "March 4, 2006" .SH NAME open-cobol \- COBOL compiler .SH SYNOPSIS .B cobc .RI [ options ] " files" ... .br .B cobcrun .RI " program [ arguments to program ]" .SH DESCRIPTION This manual page documents briefly the .B cobc and .B cobcrun commands. .PP \fBcobc\fP is the COBOL compiler. .PP \fBcobcrun\fP is a driver program to run COBOL programs compiled as modules. .SH OPTIONS The .B cobc program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-h, \-\-help Show summary of options. .TP .B \-\-version Show version of program. .SH SEE ALSO info open-cobol .br http://www.opencobol.org/ .br .SH AUTHOR open-cobol was written by Keisuke Nishida . .PP This manual page was written by Bart Martens , for the Debian project (but may be used by others).