summaryrefslogtreecommitdiff
path: root/clients/cli
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-09-10 11:19:01 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-09-10 11:19:56 +0200
commit24028a22467275671df71cc6a8054036b37d8f03 (patch)
tree046d175593e484ac1a7b82e4c1bae585c5de3a61 /clients/cli
parente4784327c0f1da74a78428b07d29c74bf6fa5a53 (diff)
downloadNetworkManager-24028a22467275671df71cc6a8054036b37d8f03.tar.gz
all: SPDX header conversion
$ find * -type f |xargs perl contrib/scripts/spdx.pl $ git rm contrib/scripts/spdx.pl
Diffstat (limited to 'clients/cli')
-rw-r--r--clients/cli/agent.c15
-rw-r--r--clients/cli/agent.h15
-rw-r--r--clients/cli/common.c15
-rw-r--r--clients/cli/common.h15
-rw-r--r--clients/cli/connections.c15
-rw-r--r--clients/cli/connections.h15
-rw-r--r--clients/cli/devices.c15
-rw-r--r--clients/cli/devices.h15
-rw-r--r--clients/cli/general.c15
-rw-r--r--clients/cli/general.h15
-rw-r--r--clients/cli/nmcli.c15
-rw-r--r--clients/cli/nmcli.h15
-rw-r--r--clients/cli/polkit-agent.c15
-rw-r--r--clients/cli/polkit-agent.h15
-rw-r--r--clients/cli/settings.c15
-rw-r--r--clients/cli/settings.h15
-rw-r--r--clients/cli/utils.c15
-rw-r--r--clients/cli/utils.h15
18 files changed, 18 insertions, 252 deletions
diff --git a/clients/cli/agent.c b/clients/cli/agent.c
index 6c116153ac..2c17fddc63 100644
--- a/clients/cli/agent.c
+++ b/clients/cli/agent.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Functions for running NM secret agent.
*
- * 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.
- *
* Copyright 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/agent.h b/clients/cli/agent.h
index 70ea0d9b23..500301ddfa 100644
--- a/clients/cli/agent.h
+++ b/clients/cli/agent.h
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Functions for running NM secret agent.
*
- * 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.
- *
* Copyright 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/common.c b/clients/cli/common.c
index 2fc8aaf643..eeef9b64c9 100644
--- a/clients/cli/common.c
+++ b/clients/cli/common.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Common functions and data shared between files.
*
- * 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.
- *
* Copyright 2012 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/common.h b/clients/cli/common.h
index 688f2819f6..40dee6d0f4 100644
--- a/clients/cli/common.h
+++ b/clients/cli/common.h
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* nmcli - command-line tool for controlling NetworkManager
* Common functions and data shared between files.
*
- * 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.
- *
* Copyright 2012 - 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 0e42831c7a..8e848ffd19 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/connections.h b/clients/cli/connections.h
index 122a7e2763..d92c27e27e 100644
--- a/clients/cli/connections.h
+++ b/clients/cli/connections.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* (C) Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index 8fc5198b8c..ea914ef5e5 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/devices.h b/clients/cli/devices.h
index 7a05b50b2b..06b14ef94e 100644
--- a/clients/cli/devices.h
+++ b/clients/cli/devices.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* (C) Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/general.c b/clients/cli/general.c
index e2ce639ece..b70edf9217 100644
--- a/clients/cli/general.c
+++ b/clients/cli/general.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/general.h b/clients/cli/general.h
index 05caffead6..adaf458071 100644
--- a/clients/cli/general.h
+++ b/clients/cli/general.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/nmcli.c b/clients/cli/nmcli.c
index ad45f179a5..599369bf25 100644
--- a/clients/cli/nmcli.c
+++ b/clients/cli/nmcli.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
* Jiri Klimes <jklimes@redhat.com>
*
- * 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.
- *
* Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/nmcli.h b/clients/cli/nmcli.h
index 1c4b4a2d89..c55daaafdf 100644
--- a/clients/cli/nmcli.h
+++ b/clients/cli/nmcli.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/polkit-agent.c b/clients/cli/polkit-agent.c
index accb567fe3..d667cb3e4b 100644
--- a/clients/cli/polkit-agent.c
+++ b/clients/cli/polkit-agent.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/polkit-agent.h b/clients/cli/polkit-agent.h
index e2902dc0b1..3064b15da3 100644
--- a/clients/cli/polkit-agent.h
+++ b/clients/cli/polkit-agent.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/settings.c b/clients/cli/settings.c
index fec36a89fd..5f7a2640c6 100644
--- a/clients/cli/settings.c
+++ b/clients/cli/settings.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2015 Red Hat, Inc.
*/
diff --git a/clients/cli/settings.h b/clients/cli/settings.h
index 62e8546616..c01d8270ef 100644
--- a/clients/cli/settings.h
+++ b/clients/cli/settings.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2014 Red Hat, Inc.
*/
diff --git a/clients/cli/utils.c b/clients/cli/utils.c
index a822dd89da..615b2c0597 100644
--- a/clients/cli/utils.c
+++ b/clients/cli/utils.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 Lennart Poettering
* Copyright 2010 - 2018 Red Hat, Inc.
*/
diff --git a/clients/cli/utils.h b/clients/cli/utils.h
index 5203cd987b..9f8c26bb48 100644
--- a/clients/cli/utils.h
+++ b/clients/cli/utils.h
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* nmcli - command-line tool to control NetworkManager
*
- * 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.
- *
* Copyright 2010 - 2018 Red Hat, Inc.
*/