From 667bcb27be227a668037e9e5d507871b52ef77c7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" <wking@tremily.us> Date: Fri, 19 Oct 2012 00:08:00 -0400 Subject: [PATCH] Add missing copyright blurbs. Signed-off-by: W. Trevor King <wking@tremily.us> --- kmod/_libkmod_h.pxd | 11 +++++++++++ kmod/_util.pxd | 11 +++++++++++ kmod/_util.pyx | 11 +++++++++++ kmod/error.py | 11 +++++++++++ kmod/kmod.pxd | 12 ++++++++++++ kmod/list.pxd | 11 +++++++++++ kmod/list.pyx | 11 +++++++++++ kmod/module.pxd | 11 +++++++++++ kmod/module.pyx | 11 +++++++++++ kmod/version.py | 11 +++++++++++ setup.py | 11 +++++++++++ 11 files changed, 122 insertions(+) diff --git a/kmod/_libkmod_h.pxd b/kmod/_libkmod_h.pxd index 9282cd2..457cfbc 100644 --- a/kmod/_libkmod_h.pxd +++ b/kmod/_libkmod_h.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cdef extern from *: ctypedef char* const_char_ptr 'const char *' ctypedef char* const_char_const_ptr 'const char const *' diff --git a/kmod/_util.pxd b/kmod/_util.pxd index 3251d93..5193f6e 100644 --- a/kmod/_util.pxd +++ b/kmod/_util.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h diff --git a/kmod/_util.pyx b/kmod/_util.pyx index 7c527fc..097efaf 100644 --- a/kmod/_util.pyx +++ b/kmod/_util.pyx @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + import sys as _sys cimport _libkmod_h diff --git a/kmod/error.py b/kmod/error.py index d976bb6..d1848b8 100644 --- a/kmod/error.py +++ b/kmod/error.py @@ -1,2 +1,13 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + class KmodError (Exception): pass diff --git a/kmod/kmod.pxd b/kmod/kmod.pxd index 2933724..8b42b63 100644 --- a/kmod/kmod.pxd +++ b/kmod/kmod.pxd @@ -1,5 +1,17 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h + cdef class Kmod (object): cdef _libkmod_h.kmod_ctx *_kmod_ctx cdef object mod_dir diff --git a/kmod/list.pxd b/kmod/list.pxd index 6c3725b..b51a2fa 100644 --- a/kmod/list.pxd +++ b/kmod/list.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h diff --git a/kmod/list.pyx b/kmod/list.pyx index e2bf04f..9d9c959 100644 --- a/kmod/list.pyx +++ b/kmod/list.pyx @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h diff --git a/kmod/module.pxd b/kmod/module.pxd index 3cc4d63..4e24f35 100644 --- a/kmod/module.pxd +++ b/kmod/module.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h cimport list as _list diff --git a/kmod/module.pyx b/kmod/module.pyx index e10c5f3..3c1f023 100644 --- a/kmod/module.pyx +++ b/kmod/module.pyx @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h from error import KmodError as _KmodError cimport list as _list diff --git a/kmod/version.py b/kmod/version.py index 11d27f8..4b74d6c 100644 --- a/kmod/version.py +++ b/kmod/version.py @@ -1 +1,12 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + __version__ = '0.1' diff --git a/setup.py b/setup.py index 301967c..bbef37a 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + from distutils.core import setup from distutils.extension import Extension as _Extension import os as _os -- 2.26.2