From fbad219de3b0ae47a4971cf78e906af68cc97bb7 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Thu, 9 Jun 2011 15:49:08 +0200 Subject: libreport: fixed licence headers in source codes --- libreport/libreport.spec | 8 +++----- libreport/src/include/event_config.h | 1 + libreport/src/include/hash_sha1.h | 14 +++++++++++++- libreport/src/include/libreport.h | 22 ++++++++++++++++++---- libreport/src/include/problem_data.h | 2 +- libreport/src/include/report.h | 2 +- libreport/src/include/run_event.h | 2 +- libreport/src/lib/binhex.c | 10 ++++++---- libreport/src/lib/concat_path_file.c | 14 +++++++++++++- libreport/src/lib/encbase64.c | 17 ++++++++++++++++- libreport/src/lib/hash_sha1.c | 17 ++++++++++++++++- libreport/src/lib/overlapping_strcpy.c | 18 +++++++++++++++++- libreport/src/lib/read_write.c | 17 ++++++++++++++++- libreport/src/lib/skip_whitespace.c | 14 +++++++++++++- libreport/src/lib/spawn.c | 17 ++++++++++++++++- libreport/src/lib/stdio_helpers.c | 17 ++++++++++++++++- libreport/src/lib/xatonum.c | 17 ++++++++++++++++- libreport/src/report-python/__init__.py | 14 ++++++++++++++ libreport/src/report-python/accountmanager.py | 15 +++++++++++++++ libreport/src/report-python/io/GTKIO.py | 14 ++++++++++++++ libreport/src/report-python/io/NewtIO.py | 14 ++++++++++++++ libreport/src/report-python/io/TextIO.py | 14 ++++++++++++++ libreport/src/report-python/io/__init__.py | 14 ++++++++++++++ 23 files changed, 268 insertions(+), 26 deletions(-) (limited to 'libreport') diff --git a/libreport/libreport.spec b/libreport/libreport.spec index 9369880f..c85ebe17 100644 --- a/libreport/libreport.spec +++ b/libreport/libreport.spec @@ -17,7 +17,6 @@ BuildRequires: rpm-devel >= 4.6 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel BuildRequires: xmlrpc-c-devel -#why? BuildRequires: file-devel BuildRequires: python-devel BuildRequires: gettext BuildRequires: libxml2-devel @@ -77,8 +76,6 @@ Applications for reporting bugs using libreport backend Summary: Development libraries and headers for libreport Group: Development/Libraries Requires: libreport-gtk = %{version}-%{release} -Provides: report-gtk > 0.20 -Obsoletes: report-gtk <= 0.20 %description gtk-devel Development libraries and headers for libreport-gtk @@ -101,11 +98,11 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} # remove all .la and .a files find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f -mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir} +mkdir -p $RPM_BUILD_ROOT/%{_initrddir} mkdir -p $RPM_BUILD_ROOT/var/spool/abrt # After everything is installed, remove info dir -rm -f %{buildroot}%{_infodir}/dir +rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %clean rm -rf $RPM_BUILD_ROOT @@ -157,6 +154,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/libreport.so %{_libdir}/libabrt_dbus.so %{_libdir}/pkgconfig/libreport.pc +%dir %{_includedir}/libreport %files python %defattr(-,root,root,-) diff --git a/libreport/src/include/event_config.h b/libreport/src/include/event_config.h index 8ab9477d..cdac4083 100644 --- a/libreport/src/include/event_config.h +++ b/libreport/src/include/event_config.h @@ -1,5 +1,6 @@ /* Copyright (C) 2011 ABRT team + Copyright (C) 2010 RedHat Inc 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 diff --git a/libreport/src/include/hash_sha1.h b/libreport/src/include/hash_sha1.h index 850fd21f..7299608b 100644 --- a/libreport/src/include/hash_sha1.h +++ b/libreport/src/include/hash_sha1.h @@ -7,7 +7,19 @@ * Copyright (C) 2003 Glenn L. McGrath * Copyright (C) 2003 Erik Andersen * - * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * --------------------------------------------------------------------------- * Issue Date: 10/11/2002 diff --git a/libreport/src/include/libreport.h b/libreport/src/include/libreport.h index 9721c90c..cd8a5cb9 100644 --- a/libreport/src/include/libreport.h +++ b/libreport/src/include/libreport.h @@ -1,8 +1,22 @@ /* - * Utility routines. - * - * Licensed under GPLv2, see file COPYING in this tarball for details. - */ + Copyright (C) 2010 ABRT team + Copyright (C) 2010 RedHat Inc + + 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 2 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + #ifndef LIBREPORT_H_ #define LIBREPORT_H_ diff --git a/libreport/src/include/problem_data.h b/libreport/src/include/problem_data.h index 11a6ec73..f23cb050 100644 --- a/libreport/src/include/problem_data.h +++ b/libreport/src/include/problem_data.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2009 Abrt team. + Copyright (C) 2009 ABRT team. Copyright (C) 2009 RedHat inc. This program is free software; you can redistribute it and/or modify diff --git a/libreport/src/include/report.h b/libreport/src/include/report.h index 269866b2..a5e1fa8e 100644 --- a/libreport/src/include/report.h +++ b/libreport/src/include/report.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2011 Abrt team. + Copyright (C) 2011 ABRT team. Copyright (C) 2011 RedHat inc. This program is free software; you can redistribute it and/or modify diff --git a/libreport/src/include/run_event.h b/libreport/src/include/run_event.h index 9726b643..8e2ad589 100644 --- a/libreport/src/include/run_event.h +++ b/libreport/src/include/run_event.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2009 Abrt team. + Copyright (C) 2009 ABRT team. Copyright (C) 2009 RedHat inc. This program is free software; you can redistribute it and/or modify diff --git a/libreport/src/lib/binhex.c b/libreport/src/lib/binhex.c index 238fda0c..ed6dea08 100644 --- a/libreport/src/lib/binhex.c +++ b/libreport/src/lib/binhex.c @@ -1,10 +1,11 @@ /* - Copyright (C) 2010 ABRT team - Copyright (C) 2010 RedHat Inc + Copyright (C) 2011 ABRT team + Copyright (C) 2011 RedHat Inc This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 - as published by the Free Software Foundation. + 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 program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,6 +16,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + #include "libreport.h" static const char hexdigits_locase[] = "0123456789abcdef"; diff --git a/libreport/src/lib/concat_path_file.c b/libreport/src/lib/concat_path_file.c index a17739e3..d7f199a5 100644 --- a/libreport/src/lib/concat_path_file.c +++ b/libreport/src/lib/concat_path_file.c @@ -3,7 +3,19 @@ * * Copyright (C) 2001 Erik Andersen * - * Licensed under GPLv2 or later. + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* Concatenate path and filename to new allocated buffer. diff --git a/libreport/src/lib/encbase64.c b/libreport/src/lib/encbase64.c index 52e02b7f..9ba11e6c 100644 --- a/libreport/src/lib/encbase64.c +++ b/libreport/src/lib/encbase64.c @@ -1,7 +1,22 @@ /* * Copyright 2006 Rob Landley * - * Licensed under GPLv2 or later. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "libreport.h" /* xmalloc */ diff --git a/libreport/src/lib/hash_sha1.c b/libreport/src/lib/hash_sha1.c index fafdae56..ad4ea531 100644 --- a/libreport/src/lib/hash_sha1.c +++ b/libreport/src/lib/hash_sha1.c @@ -7,7 +7,22 @@ * Copyright (C) 2003 Glenn L. McGrath * Copyright (C) 2003 Erik Andersen * - * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * --------------------------------------------------------------------------- * Issue Date: 10/11/2002 diff --git a/libreport/src/lib/overlapping_strcpy.c b/libreport/src/lib/overlapping_strcpy.c index 3301024f..824d7bd6 100644 --- a/libreport/src/lib/overlapping_strcpy.c +++ b/libreport/src/lib/overlapping_strcpy.c @@ -1,8 +1,24 @@ /* * Copyright (C) 1999-2004 by Erik Andersen * - * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + #include "libreport.h" /* Like strcpy but can copy overlapping strings. */ diff --git a/libreport/src/lib/read_write.c b/libreport/src/lib/read_write.c index a3bbb58f..86d8a2c4 100644 --- a/libreport/src/lib/read_write.c +++ b/libreport/src/lib/read_write.c @@ -1,7 +1,22 @@ /* * Utility routines. * - * Licensed under GPLv2 or later, see file COPYING in this tarball for details. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "libreport.h" diff --git a/libreport/src/lib/skip_whitespace.c b/libreport/src/lib/skip_whitespace.c index b2864e6f..57ef2910 100644 --- a/libreport/src/lib/skip_whitespace.c +++ b/libreport/src/lib/skip_whitespace.c @@ -2,7 +2,19 @@ /* * Copyright (C) 2003 Manuel Novoa III * - * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "libreport.h" diff --git a/libreport/src/lib/spawn.c b/libreport/src/lib/spawn.c index 2e09da27..07997307 100644 --- a/libreport/src/lib/spawn.c +++ b/libreport/src/lib/spawn.c @@ -1,7 +1,22 @@ /* * Utility routines. * - * Licensed under GPLv2, see file COPYING in this tarball for details. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "libreport.h" diff --git a/libreport/src/lib/stdio_helpers.c b/libreport/src/lib/stdio_helpers.c index 2ce20777..b2b9238c 100644 --- a/libreport/src/lib/stdio_helpers.c +++ b/libreport/src/lib/stdio_helpers.c @@ -6,7 +6,22 @@ * Copyright (C) 2005, 2006 Rob Landley * Copyright (C) 2010 ABRT Team * - * Licensed under GPLv2 or later, see file LICENSE in this source tree. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "libreport.h" diff --git a/libreport/src/lib/xatonum.c b/libreport/src/lib/xatonum.c index b6b90a98..a6a4ddfd 100644 --- a/libreport/src/lib/xatonum.c +++ b/libreport/src/lib/xatonum.c @@ -3,7 +3,22 @@ * * Copyright (C) 2003 Manuel Novoa III * - * Licensed under GPLv2, see file LICENSE in this tarball for details. + * Copyright (C) 2010 ABRT team + * Copyright (C) 2010 RedHat Inc + * + * 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 2 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "libreport.h" diff --git a/libreport/src/report-python/__init__.py b/libreport/src/report-python/__init__.py index 9efd5257..796d469b 100644 --- a/libreport/src/report-python/__init__.py +++ b/libreport/src/report-python/__init__.py @@ -1,3 +1,17 @@ +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + from _pyreport import * diff --git a/libreport/src/report-python/accountmanager.py b/libreport/src/report-python/accountmanager.py index db8ed117..878be20e 100644 --- a/libreport/src/report-python/accountmanager.py +++ b/libreport/src/report-python/accountmanager.py @@ -1,3 +1,18 @@ +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + """ Compatibility with report package """ diff --git a/libreport/src/report-python/io/GTKIO.py b/libreport/src/report-python/io/GTKIO.py index 4cc8766e..a3b3d438 100644 --- a/libreport/src/report-python/io/GTKIO.py +++ b/libreport/src/report-python/io/GTKIO.py @@ -1,3 +1,17 @@ +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + """ Compatibility with report package """ diff --git a/libreport/src/report-python/io/NewtIO.py b/libreport/src/report-python/io/NewtIO.py index 10eae284..6f9670dd 100644 --- a/libreport/src/report-python/io/NewtIO.py +++ b/libreport/src/report-python/io/NewtIO.py @@ -1,3 +1,17 @@ +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + """ Compatibility with report package """ diff --git a/libreport/src/report-python/io/TextIO.py b/libreport/src/report-python/io/TextIO.py index 6162fb8b..5d386a61 100644 --- a/libreport/src/report-python/io/TextIO.py +++ b/libreport/src/report-python/io/TextIO.py @@ -1,3 +1,17 @@ +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + """ Compatibility with report package """ diff --git a/libreport/src/report-python/io/__init__.py b/libreport/src/report-python/io/__init__.py index 2ae28399..fd16dc91 100644 --- a/libreport/src/report-python/io/__init__.py +++ b/libreport/src/report-python/io/__init__.py @@ -1 +1,15 @@ +# 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 2 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + pass -- cgit