From d47169b3175a564a22de716510ed5e2bf30b6815 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Thu, 2 Aug 2012 09:19:00 +0200 Subject: Add GPLv2 license file and GPLv2+ headers to all files --- src/fan/Cura_FanAssociatedSensorProvider.c | 18 +++++++++++++++ src/fan/Cura_FanProvider.c | 18 +++++++++++++++ src/fan/Cura_FanSensorProvider.c | 18 +++++++++++++++ src/fan/fan.c | 19 ++++++++-------- src/fan/fan.h | 19 ++++++++-------- src/globals.c | 16 +++++++++++++ src/globals.h | 16 +++++++++++++ ...Cura_AssociatedPowerManagementServiceProvider.c | 16 +++++++++++++ src/power/Cura_ConcreteJobProvider.c | 17 ++++++++++++++ src/power/Cura_ElementCapabilitiesProvider.c | 17 ++++++++++++++ src/power/Cura_HostedServiceProvider.c | 16 +++++++++++++ .../Cura_PowerManagementCapabilitiesProvider.c | 17 ++++++++++++++ src/power/Cura_PowerManagementServiceProvider.c | 16 +++++++++++++ src/power/power.c | 17 ++++++++++++++ src/power/power.h | 17 ++++++++++++++ src/service/Cura_ServiceProvider.c | 18 +++++++++++++++ src/service/util/servicedisc.sh | 23 +++++++++---------- src/service/util/serviceutil.c | 24 ++++++++------------ src/service/util/serviceutil.h | 21 ++++++----------- src/service/util/serviceutil.sh | 26 +++++++++------------- 20 files changed, 295 insertions(+), 74 deletions(-) (limited to 'src') diff --git a/src/fan/Cura_FanAssociatedSensorProvider.c b/src/fan/Cura_FanAssociatedSensorProvider.c index 185518a..4674171 100644 --- a/src/fan/Cura_FanAssociatedSensorProvider.c +++ b/src/fan/Cura_FanAssociatedSensorProvider.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2012 Michal Minar + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include "Cura_FanAssociatedSensor.h" #include "fan.h" diff --git a/src/fan/Cura_FanProvider.c b/src/fan/Cura_FanProvider.c index 4538b98..cc9e13c 100644 --- a/src/fan/Cura_FanProvider.c +++ b/src/fan/Cura_FanProvider.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2012 Michal Minar + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include #include "Cura_Fan.h" diff --git a/src/fan/Cura_FanSensorProvider.c b/src/fan/Cura_FanSensorProvider.c index efbc1a5..2965bf5 100644 --- a/src/fan/Cura_FanSensorProvider.c +++ b/src/fan/Cura_FanSensorProvider.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2012 Michal Minar + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include "Cura_FanSensor.h" #include "fan.h" diff --git a/src/fan/fan.c b/src/fan/fan.c index 4ce9495..04a74a0 100644 --- a/src/fan/fan.c +++ b/src/fan/fan.c @@ -1,19 +1,20 @@ -/* This file is part of cmpiCura_FanProvider. +/* + * Copyright (C) 2012 Michal Minar * - * cmpiCura_FanProvider 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 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. * - * cmpiCura_FanProvider is distributed in the hope that it will be useful, + * 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 + * 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 cmpiCura_FanProvider. If not, see - * . + * along with this program; if not, see . */ + #include #include #include diff --git a/src/fan/fan.h b/src/fan/fan.h index a2da25c..316f65c 100644 --- a/src/fan/fan.h +++ b/src/fan/fan.h @@ -1,19 +1,20 @@ -/* This file is part of cmpiCura_FanProvider. +/* + * Copyright (C) 2012 Michal Minar * - * cmpiCura_FanProvider 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 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. * - * cmpiCura_FanProvider is distributed in the hope that it will be useful, + * 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 + * 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 cmpiCura_FanProvider. If not, see - * . + * along with this program; if not, see . */ + #ifndef LINUX_FAN_H_ #define LINUX_FAN_H_ diff --git a/src/globals.c b/src/globals.c index 2a2646b..dbf09e1 100644 --- a/src/globals.c +++ b/src/globals.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ #include "globals.h" diff --git a/src/globals.h b/src/globals.h index a027656..0f1a586 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ #ifndef GLOBALS_H #define GLOBALS_H diff --git a/src/power/Cura_AssociatedPowerManagementServiceProvider.c b/src/power/Cura_AssociatedPowerManagementServiceProvider.c index 82c9ea5..81f8883 100644 --- a/src/power/Cura_AssociatedPowerManagementServiceProvider.c +++ b/src/power/Cura_AssociatedPowerManagementServiceProvider.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ #include "Cura_AssociatedPowerManagementService.h" #include "Cura_PowerManagementService.h" diff --git a/src/power/Cura_ConcreteJobProvider.c b/src/power/Cura_ConcreteJobProvider.c index cf919d4..54775dc 100644 --- a/src/power/Cura_ConcreteJobProvider.c +++ b/src/power/Cura_ConcreteJobProvider.c @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include #include "Cura_ConcreteJob.h" diff --git a/src/power/Cura_ElementCapabilitiesProvider.c b/src/power/Cura_ElementCapabilitiesProvider.c index 0208630..6d08021 100644 --- a/src/power/Cura_ElementCapabilitiesProvider.c +++ b/src/power/Cura_ElementCapabilitiesProvider.c @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include "Cura_ElementCapabilities.h" #include "globals.h" diff --git a/src/power/Cura_HostedServiceProvider.c b/src/power/Cura_HostedServiceProvider.c index d2023e9..e396446 100644 --- a/src/power/Cura_HostedServiceProvider.c +++ b/src/power/Cura_HostedServiceProvider.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ #include #include diff --git a/src/power/Cura_PowerManagementCapabilitiesProvider.c b/src/power/Cura_PowerManagementCapabilitiesProvider.c index 5e7f4fc..587733c 100644 --- a/src/power/Cura_PowerManagementCapabilitiesProvider.c +++ b/src/power/Cura_PowerManagementCapabilitiesProvider.c @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include "Cura_PowerManagementCapabilities.h" diff --git a/src/power/Cura_PowerManagementServiceProvider.c b/src/power/Cura_PowerManagementServiceProvider.c index dcdb2bc..493cc63 100644 --- a/src/power/Cura_PowerManagementServiceProvider.c +++ b/src/power/Cura_PowerManagementServiceProvider.c @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ #include "Cura_PowerManagementService.h" diff --git a/src/power/power.c b/src/power/power.c index 4042f4a..bf22b1d 100644 --- a/src/power/power.c +++ b/src/power/power.c @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include "power.h" #include diff --git a/src/power/power.h b/src/power/power.h index 8f1f0bc..1cd30a4 100644 --- a/src/power/power.h +++ b/src/power/power.h @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #ifndef POWER_H #define POWER_H diff --git a/src/service/Cura_ServiceProvider.c b/src/service/Cura_ServiceProvider.c index 3d2084c..b8363c7 100644 --- a/src/service/Cura_ServiceProvider.c +++ b/src/service/Cura_ServiceProvider.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2012 Vitezslav Crhonek + * Copyright (C) 2012 Radek Novacek + * + * 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, see . + */ + #include #include #include "Cura_Service.h" diff --git a/src/service/util/servicedisc.sh b/src/service/util/servicedisc.sh index bc74501..f22243b 100755 --- a/src/service/util/servicedisc.sh +++ b/src/service/util/servicedisc.sh @@ -1,25 +1,24 @@ #!/bin/sh # # servicedisc.sh -# -# Copyright (C) 2012 Red Hat, Inc. All rights reserved. -# -# 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. -# +# +# Copyright (C) 2012 Vitezslav Crhonek +# +# 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, see . -# -# Red Hat Author(s): Vitezslav Crhonek +# along with this program; if not, see . # + # path to systemd service directory SYSTEMD_SDIR=/lib/systemd/system # path to sysv service initscript directory diff --git a/src/service/util/serviceutil.c b/src/service/util/serviceutil.c index e41a179..7876c97 100644 --- a/src/service/util/serviceutil.c +++ b/src/service/util/serviceutil.c @@ -1,28 +1,22 @@ /* - * serviceutil.c + * Copyright (C) 2012 Vitezslav Crhonek + * Copyright (C) 2012 Radek Novacek * - * Copyright (C) 2012 Red Hat, Inc. All rights reserved. - * - * 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 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, see . - * - * Based on syslogserviceutil.c from sblim-cmpi-syslog written by - * R Sharada , Copyright (c) IBM Corp. 2003, 2009 - * - * Red Hat Author(s): Vitezslav Crhonek * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . */ + #include #include #include diff --git a/src/service/util/serviceutil.h b/src/service/util/serviceutil.h index dd8adea..9fd7abe 100644 --- a/src/service/util/serviceutil.h +++ b/src/service/util/serviceutil.h @@ -1,12 +1,10 @@ /* - * serviceutil.sh + * Copyright (C) 2012 Vitezslav Crhonek * - * Copyright (C) 2012 Red Hat, Inc. All rights reserved. - * - * 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 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 @@ -14,15 +12,10 @@ * 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 . - * - * Based on syslogserviceutil.h from sblim-cmpi-syslog written by - * R Sharada , Copyright (c) IBM Corp. 2003, 2009 - * - * Red Hat Author(s): Vitezslav Crhonek - * + * along with this program; if not, see . */ + #ifndef SERVICEUTIL_H #define SERVICEUTIL_H diff --git a/src/service/util/serviceutil.sh b/src/service/util/serviceutil.sh index f0e4d98..bcfcf46 100755 --- a/src/service/util/serviceutil.sh +++ b/src/service/util/serviceutil.sh @@ -1,28 +1,24 @@ #!/bin/sh # # serviceutil.sh -# -# Copyright (C) 2012 Red Hat, Inc. All rights reserved. -# -# 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. -# +# +# Copyright (C) 2012 Vitezslav Crhonek +# +# 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, see . -# -# Based on syslog-service.sh from sblim-cmpi-syslog written by -# R Sharada , Copyright (c) IBM Corp. 2003, 2009 # -# Red Hat Author(s): Vitezslav Crhonek +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . # + # path to systemd service directory SYSTEMD_SDIR=/lib/systemd/system # path to sysv service initscript directory -- cgit