Commit 09807f1419a0a0b505c07c6dbecf788be770a1fb
Committed by
Stéphane Raimbault
1 parent
6eaaad6b
Introduce SPDX license identifiers
This replaces the lengthy license text headers with a short and standardized license tag. See http://spdx.org for details. This is useful e.g. for license compliance tools which scan through files and generate a report of the licenses used in a project. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Showing
19 changed files
with
19 additions
and
149 deletions
src/modbus-data.c
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2010-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #include <stdlib.h> | ... | ... |
src/modbus-private.h
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2010-2012 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef MODBUS_PRIVATE_H | ... | ... |
src/modbus-rtu-private.h
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef MODBUS_RTU_PRIVATE_H | ... | ... |
src/modbus-rtu.c
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #include <stdio.h> | ... | ... |
src/modbus-rtu.h
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef MODBUS_RTU_H | ... | ... |
src/modbus-tcp-private.h
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef MODBUS_TCP_PRIVATE_H | ... | ... |
src/modbus-tcp.c
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2013 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #include <stdio.h> | ... | ... |
src/modbus-tcp.h
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2010 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef MODBUS_TCP_H | ... | ... |
src/modbus.c
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | - * | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 18 | 5 | * |
| 19 | 6 | * This library implements the Modbus protocol. |
| 20 | 7 | * http://libmodbus.org/ | ... | ... |
src/modbus.h
| 1 | 1 | /* |
| 2 | 2 | * Copyright © 2001-2013 Stéphane Raimbault <stephane.raimbault@gmail.com> |
| 3 | 3 | * |
| 4 | - * This library is free software; you can redistribute it and/or | |
| 5 | - * modify it under the terms of the GNU Lesser General Public | |
| 6 | - * License as published by the Free Software Foundation; either | |
| 7 | - * version 2.1 of the License, or (at your option) any later version. | |
| 8 | - * | |
| 9 | - * This library is distributed in the hope that it will be useful, | |
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | - * Lesser General Public License for more details. | |
| 13 | - * | |
| 14 | - * You should have received a copy of the GNU Lesser General Public | |
| 15 | - * License along with this library; if not, write to the Free Software | |
| 16 | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 4 | + * SPDX-License-Identifier: LGPL-2.1+ | |
| 17 | 5 | */ |
| 18 | 6 | |
| 19 | 7 | #ifndef MODBUS_H | ... | ... |
tests/bandwidth-client.c
tests/bandwidth-server-many-up.c
tests/bandwidth-server-one.c
tests/random-test-client.c
tests/random-test-server.c
tests/unit-test-client.c
tests/unit-test-server.c
tests/unit-test.h.in
tests/version.c