Skip to content

Commit

Permalink
Merge pull request #92 from chu11/spdx
Browse files Browse the repository at this point in the history
Update license headers to SPDX license identifier
  • Loading branch information
mergify[bot] authored Jan 25, 2024
2 parents c7cb796 + 9c7e869 commit cf3de6e
Show file tree
Hide file tree
Showing 46 changed files with 329 additions and 974 deletions.
28 changes: 7 additions & 21 deletions src/httppower/httppower.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2007 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Jim Garlick <garlick@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2007 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/argv.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2003 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Jim Garlick <garlick@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2003 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/debug.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2001 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Andrew Uselton <uselton2@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2001 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/error.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2001 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Andrew Uselton <uselton2@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2001 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/hprintf.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2003 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Jim Garlick <garlick@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2003 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/test/argv.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2004 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Jim Garlick <garlick@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2004 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/test/xregex.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2004 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Jim Garlick <garlick@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2004 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#include <stdio.h>
#include <stdlib.h>
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/xmalloc.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2001 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Andrew Uselton <uselton2@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2001 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/xpoll.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2001 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Andrew Uselton <uselton2@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2001 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/xpty.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2001 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Andrew Uselton <uselton2@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2001 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
28 changes: 7 additions & 21 deletions src/libcommon/xread.c
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*****************************************************************************
* Copyright (C) 2001 The Regents of the University of California.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by Andrew Uselton <uselton2@llnl.gov>
* UCRL-CODE-2002-008.
/************************************************************\
* Copyright (C) 2001 The Regents of the University of California.
* (c.f. DISCLAIMER, COPYING)
*
* This file is part of PowerMan, a remote power management program.
* For details, see http://github.com/chaos/powerman/
* This file is part of PowerMan, a remote power management program.
* For details, see https://github.com/chaos/powerman.
*
* PowerMan 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.
*
* PowerMan 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 PowerMan; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
\*****************************************************************************/
* SPDX-License-Identifier: GPL-2.0-or-later
\************************************************************/

#if HAVE_CONFIG_H
#include "config.h"
Expand Down
Loading

0 comments on commit cf3de6e

Please sign in to comment.