From d8693f0657657a8ac8eb062752e6534c5491df7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Janosch=20Gr=C3=A4f?= Date: Sat, 13 Dec 2008 17:20:18 +0100 Subject: [PATCH] iso9660: new license LGPL --- apps/iso9660/dir.c | 33 +++++++++--------- apps/iso9660/directory_record.h | 33 +++++++++--------- apps/iso9660/file.c | 33 +++++++++--------- apps/iso9660/init.c | 33 +++++++++--------- apps/iso9660/iso9660_cdi.h | 33 +++++++++--------- apps/iso9660/iso9660def.h | 33 +++++++++--------- apps/iso9660/main.c | 33 +++++++++--------- apps/iso9660/res.c | 33 +++++++++--------- apps/iso9660/resources.c | 75 ++++++++++++++++++++-------------------- apps/iso9660/rockridge.c | 33 +++++++++--------- apps/iso9660/rockridge.h | 33 +++++++++--------- apps/iso9660/sector.c | 33 +++++++++--------- apps/iso9660/volume_descriptor.c | 33 +++++++++--------- apps/iso9660/volume_descriptor.h | 33 +++++++++--------- 14 files changed, 245 insertions(+), 259 deletions(-) rewrite apps/iso9660/resources.c (60%) diff --git a/apps/iso9660/dir.c b/apps/iso9660/dir.c index 5cda48a..1b19d9e 100644 --- a/apps/iso9660/dir.c +++ b/apps/iso9660/dir.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include #include diff --git a/apps/iso9660/directory_record.h b/apps/iso9660/directory_record.h index 0d9d6c9..c8706a8 100644 --- a/apps/iso9660/directory_record.h +++ b/apps/iso9660/directory_record.h @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #ifndef _DIRECTORY_RECORD_H_ #define _DIRECTORY_RECORD_H_ diff --git a/apps/iso9660/file.c b/apps/iso9660/file.c index 71f9732..06ede31 100644 --- a/apps/iso9660/file.c +++ b/apps/iso9660/file.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include "cdi/fs.h" #include "cdi/cache.h" diff --git a/apps/iso9660/init.c b/apps/iso9660/init.c index ca5445f..868ed7c 100644 --- a/apps/iso9660/init.c +++ b/apps/iso9660/init.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include diff --git a/apps/iso9660/iso9660_cdi.h b/apps/iso9660/iso9660_cdi.h index 8a99976..25a4a14 100644 --- a/apps/iso9660/iso9660_cdi.h +++ b/apps/iso9660/iso9660_cdi.h @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #ifndef _ISO9660_CDI_H_ #define _ISO9660_CDI_H_ diff --git a/apps/iso9660/iso9660def.h b/apps/iso9660/iso9660def.h index bc7e9e8..9c955ee 100644 --- a/apps/iso9660/iso9660def.h +++ b/apps/iso9660/iso9660def.h @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #ifndef _ISO9660DEF_H_ #define _ISO9660DEF_H_ diff --git a/apps/iso9660/main.c b/apps/iso9660/main.c index 3536895..28ae0c6 100644 --- a/apps/iso9660/main.c +++ b/apps/iso9660/main.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include #include diff --git a/apps/iso9660/res.c b/apps/iso9660/res.c index 65d88fe..1763db1 100644 --- a/apps/iso9660/res.c +++ b/apps/iso9660/res.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include #include diff --git a/apps/iso9660/resources.c b/apps/iso9660/resources.c dissimilarity index 60% index 283c18b..6587464 100644 --- a/apps/iso9660/resources.c +++ b/apps/iso9660/resources.c @@ -1,38 +1,37 @@ -/* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 "iso9660_cdi.h" - -struct cdi_fs_res_res iso9660_fs_res_res = { - .load = iso9660_fs_res_load, - .unload = iso9660_fs_res_unload, - .meta_read = iso9660_fs_res_meta_read, -}; - -struct cdi_fs_res_file iso9660_fs_res_file = { - // Prinzipiell haben wir nur ausfuehrbare Dateien, der Rest wird mit den - // Berechtigungen geregelt - .executable = 1, - - .read = iso9660_fs_file_read, -}; - -struct cdi_fs_res_dir iso9660_fs_res_dir = { - .list = iso9660_fs_dir_list, -}; +/* + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ + +#include "iso9660_cdi.h" + +struct cdi_fs_res_res iso9660_fs_res_res = { + .load = iso9660_fs_res_load, + .unload = iso9660_fs_res_unload, + .meta_read = iso9660_fs_res_meta_read, +}; + +struct cdi_fs_res_file iso9660_fs_res_file = { + // Prinzipiell haben wir nur ausfuehrbare Dateien, der Rest wird mit den + // Berechtigungen geregelt + .executable = 1, + + .read = iso9660_fs_file_read, +}; + +struct cdi_fs_res_dir iso9660_fs_res_dir = { + .list = iso9660_fs_dir_list, +}; diff --git a/apps/iso9660/rockridge.c b/apps/iso9660/rockridge.c index b77285b..5113840 100644 --- a/apps/iso9660/rockridge.c +++ b/apps/iso9660/rockridge.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include "iso9660def.h" #ifdef ISO9660_USE_ROCKRIDGE diff --git a/apps/iso9660/rockridge.h b/apps/iso9660/rockridge.h index 56ac259..63ce733 100644 --- a/apps/iso9660/rockridge.h +++ b/apps/iso9660/rockridge.h @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #ifndef _ISO9660_ROCKRIDGE_H_ #define _ISO9660_ROCKRIDGE_H_ diff --git a/apps/iso9660/sector.c b/apps/iso9660/sector.c index 318cdf4..3c8e7e2 100644 --- a/apps/iso9660/sector.c +++ b/apps/iso9660/sector.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include diff --git a/apps/iso9660/volume_descriptor.c b/apps/iso9660/volume_descriptor.c index 8c6ac84..5ad4819 100644 --- a/apps/iso9660/volume_descriptor.c +++ b/apps/iso9660/volume_descriptor.c @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #include #include diff --git a/apps/iso9660/volume_descriptor.h b/apps/iso9660/volume_descriptor.h index e67798c..39dd998 100644 --- a/apps/iso9660/volume_descriptor.h +++ b/apps/iso9660/volume_descriptor.h @@ -1,21 +1,20 @@ /* - * iso9660 - An iso9660 CDI driver with Rockridge support - * - * Copyright (C) 2008 Janosch Gräf - * - * 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 3 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 . - */ + iso9660 - An iso9660 CDI driver with Rockridge support + Copyright (C) 2008 Janosch Gräf + + 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 3 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +*/ #ifndef _VOLUME_DESCRIPTOR_H_ #define _VOLUME_DESCRIPTOR_H_ -- 2.11.4.GIT