Convert from verbose license text to SDPX.
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I25c57a0db2554f551bda0b9b5f6c03893ff83646
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54172
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
-#
-# LGPL HEADER START
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# This program 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.1 of the
-# License, or (at your option) any later version.
-#
-# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
-#
-# LGPL HEADER END
+# SPDX-License-Identifier: LGPL-2.0
#
# Copyright (c) 2014, 2017, Intel Corporation.
#
-# Author:
-# Amir Shehata <amir.shehata@intel.com>
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+# Author: Amir Shehata <amir.shehata@intel.com>
#
lib_LTLIBRARIES = liblnetconfig.la
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program 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.1 of the
- * License, or (at your option) any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- * LGPL HEADER END
- *
* Copyright (c) 2014, 2017, Intel Corporation.
- *
- * Author:
- * Amir Shehata <amir.shehata@intel.com>
*/
/*
+ * This file is part of Lustre, http://www.lustre.org/
+ *
* The cYAML tree is constructed as an n-tree.
* root -> cmd 1
* ||
* ||
* \/
* attr2.1 -> attr2.1.1 -> attr2.1.2
+ *
+ * Author: Amir Shehata <amir.shehata@intel.com>
*/
#include <yaml.h>
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program 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.1 of the
- * License, or (at your option) any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- * LGPL HEADER END
- *
* Copyright (c) 2014, 2017, Intel Corporation.
+ */
+
+/*
+ * This file is part of Lustre, http://www.lustre.org/
*
- * Author:
- * Amir Shehata <amir.shehata@intel.com>
+ * Author: Amir Shehata <amir.shehata@intel.com>
*/
#ifndef CYAML_H
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program 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.1 of the
- * License, or (at your option) any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- * LGPL HEADER END
- *
* Copyright (c) 2015, James Simmons <jsimmons@infradead.org>
*
* Copyright (c) 2016, 2017, Intel Corporation.
*/
+/*
+ * This file is part of Lustre, http://www.lustre.org/
+ */
+
#ifndef LIB_LND_CONFIG_API_H
#define LIB_LND_CONFIG_API_H
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program 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.1 of the
- * License, or (at your option) any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- * LGPL HEADER END
- *
* Copyright (c) 2014, 2017, Intel Corporation.
- *
- * Author:
- * Amir Shehata <amir.shehata@intel.com>
*/
/*
+ * This file is part of Lustre, http://www.lustre.org/
+ *
* There are two APIs:
* 1. APIs that take the actual parameters expanded. This is for other
* entities that would like to link against the library and call the APIs
* directly without having to form an intermediate representation.
* 2. APIs that take a YAML file and parses out the information there and
* calls the APIs mentioned in 1
+ *
+ * Author: Amir Shehata <amir.shehata@intel.com>
*/
+
#include <ctype.h>
#include <errno.h>
#include <limits.h>
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program 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.1 of the
- * License, or (at your option) any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- * LGPL HEADER END
- *
* Copyright (c) 2014, 2017, Intel Corporation.
+ */
+
+/*
+ * This file is part of Lustre, http://www.lustre.org/
*
- * Author:
- * Amir Shehata <amir.shehata@intel.com>
+ * Author: Amir Shehata <amir.shehata@intel.com>
*/
#ifndef LIB_LNET_CONFIG_API_H
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program 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.1 of the
- * License, or (at your option) any later version.
- *
- * This library 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 library. If not, see <http://www.gnu.org/licenses/>.
- *
- * LGPL HEADER END
- *
* Copyright (c) 2015, James Simmons
*
* Copyright (c) 2016, 2017, Intel Corporation.
+ */
+
+/*
+ * This file is part of Lustre, http://www.lustre.org/
*
- * Author:
- * James Simmons <jsimmons@infradead.org>
+ * Author: James Simmons <jsimmons@infradead.org>
*/
#include <limits.h>
+// SPDX-License-Identifier: LGPL-2.0
+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * LGPL version 2.1 or (at your discretion) any later version.
- * LGPL version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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.
- *
- * LGPL HEADER END
+ * Copyright (c) 2021 UT-Battelle, LLC
*/
-/**
- * Netlink handling.
+
+/*
+ * This file is part of Lustre, http://www.lustre.org/
*
- * Copyright (c) 2021 UT-Battelle, LLC
+ * Netlink handling.
*
* Author: James Simmons <jsimmons@infradead.org>
*/
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
*
*
* Copyright (c) 2018-2020 Data Direct Networks.
*
- * This file is part of Lustre, https://wiki.whamcloud.com/
- *
- * Portals is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * Portals 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
- * version 2 along with this program; If not, see
- * http://www.gnu.org/licenses/gpl-2.0.html
- *
- * Author: Sonia Sharma
+ * Copyright (c) 2020, Whamcloud.
*/
+
/*
- * Copyright (c) 2020, Whamcloud.
+ * This file is part of Lustre, http://www.lustre.org/
*
+ * Author: Sonia Sharma
*/
#include <errno.h>