Skip to content
This repository was archived by the owner on Feb 12, 2020. It is now read-only.

Commit 397d30b

Browse files
committed
relicense and expand attributions
1 parent 47172c6 commit 397d30b

File tree

11 files changed

+268
-364
lines changed

11 files changed

+268
-364
lines changed

LICENSE

Lines changed: 9 additions & 335 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -227,18 +227,20 @@ Returns a MIME database organized by type.
227227

228228
## License
229229

230-
Copyright © 2017 Blobfolio, LLC (email: hello@blobfolio.com)
230+
Copyright © 2017 [Blobfolio, LLC](https://blobfolio.com) <hello@blobfolio.com>
231231

232-
This program is free software; you can redistribute it and/or
233-
modify it under the terms of the GNU General Public License
234-
as published by the Free Software Foundation; either version 2
235-
of the License, or (at your option) any later version.
232+
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2.
233+
234+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
235+
Version 2, December 2004
236+
237+
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
238+
239+
Everyone is permitted to copy and distribute verbatim or modified
240+
copies of this license document, and changing it is allowed as long
241+
as the name is changed.
236242

237-
This program is distributed in the hope that it will be useful,
238-
but WITHOUT ANY WARRANTY; without even the implied warranty of
239-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
240-
GNU General Public License for more details.
243+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
244+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
241245

242-
You should have received a copy of the GNU General Public License
243-
along with this program; if not, write to the Free Software
244-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
246+
0. You just DO WHAT THE FUCK YOU WANT TO.

build/build.php

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,56 @@
1818
* @package blobfolio/mimes
1919
* @author Blobfolio, LLC <hello@blobfolio.com>
2020
*
21+
* @see {https://github.com/Blobfolio/blob-mimes}
22+
*/
23+
24+
/**
25+
* Data Source: IANA
26+
*
2127
* @see {https://www.iana.org/assignments/media-types}
28+
*
29+
* @copyright 2017 IETF Trust
30+
* @license https://www.rfc-editor.org/copyright/ rfc-copyright-story
31+
*/
32+
33+
/**
34+
* Data Source: Apache
35+
*
2236
* @see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}
37+
*
38+
* @copyright 2017 The Apache Software Foundation
39+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
40+
*/
41+
42+
/**
43+
* Data Source: Nginx
44+
*
2345
* @see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}
46+
*
47+
* @copyright 2017 NGINX Inc.
48+
* @license https://opensource.org/licenses/BSD-2-Clause BSD
49+
*/
50+
51+
/**
52+
* Data Source: Freedesktop.org
53+
*
2454
* @see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}
55+
*
56+
* @copyright 2017 Freedesktop.org
57+
* @license https://opensource.org/licenses/MIT MIT
58+
*/
59+
60+
/**
61+
* Data Source: Apache Tika
62+
*
2563
* @see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}
26-
* @see {https://github.com/Blobfolio/blob-mimes}
64+
*
65+
* @copyright 2017 The Apache Software Foundation
66+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
2767
*/
2868

69+
70+
2971
// -------------------------------------------------
3072
// Setup/Env.
3173

build/skel/data.template

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,62 @@
33
/**
44
* MIME data.
55
*
6-
* This class contains the MIME and file extension
7-
* data that will be used. It is automatically
8-
* generated as part of the build process.
6+
* This class contains the MIME and file extension data that will be
7+
* used. It is automatically generated as part of the build process.
98
*
109
* Built: %GENERATED%.
1110
*
11+
* @see {https://github.com/Blobfolio/blob-mimes/tree/master/build}
12+
*
1213
* @package blobfolio/mimes
1314
* @author Blobfolio, LLC <hello@blobfolio.com>
1415
*/
1516

17+
/**
18+
* Data Source: IANA
19+
*
20+
* @see {https://www.iana.org/assignments/media-types}
21+
*
22+
* @copyright 2017 IETF Trust
23+
* @license https://www.rfc-editor.org/copyright/ rfc-copyright-story
24+
*/
25+
26+
/**
27+
* Data Source: Apache
28+
*
29+
* @see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}
30+
*
31+
* @copyright 2017 The Apache Software Foundation
32+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
33+
*/
34+
35+
/**
36+
* Data Source: Nginx
37+
*
38+
* @see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}
39+
*
40+
* @copyright 2017 NGINX Inc.
41+
* @license https://opensource.org/licenses/BSD-2-Clause BSD
42+
*/
43+
44+
/**
45+
* Data Source: Freedesktop.org
46+
*
47+
* @see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}
48+
*
49+
* @copyright 2017 Freedesktop.org
50+
* @license https://opensource.org/licenses/MIT MIT
51+
*/
52+
53+
/**
54+
* Data Source: Apache Tika
55+
*
56+
* @see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}
57+
*
58+
* @copyright 2017 The Apache Software Foundation
59+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
60+
*/
61+
1662
namespace blobfolio\mimes;
1763

1864
class data {

build/skel/wp.template

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,59 @@
33
/**
44
* Lord of the Files - MIME Aliases
55
*
6-
* This file is automatically generated by the blob-mimes
7-
* build process.
6+
* This file is automatically generated by the blob-mimes build process.
87
*
98
* @see {https://github.com/Blobfolio/blob-mimes/tree/master/build}
109
*
1110
* @package blob-mimes
1211
* @author Blobfolio, LLC <hello@blobfolio.com>
1312
*/
1413

14+
/**
15+
* Data Source: IANA
16+
*
17+
* @see {https://www.iana.org/assignments/media-types}
18+
*
19+
* @copyright 2017 IETF Trust
20+
* @license https://www.rfc-editor.org/copyright/ rfc-copyright-story
21+
*/
22+
23+
/**
24+
* Data Source: Apache
25+
*
26+
* @see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}
27+
*
28+
* @copyright 2017 The Apache Software Foundation
29+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
30+
*/
31+
32+
/**
33+
* Data Source: Nginx
34+
*
35+
* @see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}
36+
*
37+
* @copyright 2017 NGINX Inc.
38+
* @license https://opensource.org/licenses/BSD-2-Clause BSD
39+
*/
40+
41+
/**
42+
* Data Source: Freedesktop.org
43+
*
44+
* @see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}
45+
*
46+
* @copyright 2017 Freedesktop.org
47+
* @license https://opensource.org/licenses/MIT MIT
48+
*/
49+
50+
/**
51+
* Data Source: Apache Tika
52+
*
53+
* @see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}
54+
*
55+
* @copyright 2017 The Apache Software Foundation
56+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
57+
*/
58+
1559
namespace blobfolio\wp\bm\mime;
1660

1761
class aliases {

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"extensions",
88
"suffix"
99
],
10-
"version": "1.2.5",
10+
"version": "1.3.0",
1111
"type": "library",
1212
"homepage": "https:\/\/github.com\/Blobfolio\/blob-mimes",
13-
"license": "GPLv2",
13+
"license": "WTFPL",
1414
"authors": [
1515
{
1616
"name": "Josh Stoik",

lib/blobfolio/mimes/data.php

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,62 @@
33
/**
44
* MIME data.
55
*
6-
* This class contains the MIME and file extension
7-
* data that will be used. It is automatically
8-
* generated as part of the build process.
6+
* This class contains the MIME and file extension data that will be
7+
* used. It is automatically generated as part of the build process.
98
*
10-
* Built: 2017-07-02 08:30:13.
9+
* Built: 2017-07-03 09:54:08.
10+
*
11+
* @see {https://github.com/Blobfolio/blob-mimes/tree/master/build}
1112
*
1213
* @package blobfolio/mimes
1314
* @author Blobfolio, LLC <hello@blobfolio.com>
1415
*/
1516

17+
/**
18+
* Data Source: IANA
19+
*
20+
* @see {https://www.iana.org/assignments/media-types}
21+
*
22+
* @copyright 2017 IETF Trust
23+
* @license https://www.rfc-editor.org/copyright/ rfc-copyright-story
24+
*/
25+
26+
/**
27+
* Data Source: Apache
28+
*
29+
* @see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}
30+
*
31+
* @copyright 2017 The Apache Software Foundation
32+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
33+
*/
34+
35+
/**
36+
* Data Source: Nginx
37+
*
38+
* @see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}
39+
*
40+
* @copyright 2017 NGINX Inc.
41+
* @license https://opensource.org/licenses/BSD-2-Clause BSD
42+
*/
43+
44+
/**
45+
* Data Source: Freedesktop.org
46+
*
47+
* @see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}
48+
*
49+
* @copyright 2017 Freedesktop.org
50+
* @license https://opensource.org/licenses/MIT MIT
51+
*/
52+
53+
/**
54+
* Data Source: Apache Tika
55+
*
56+
* @see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}
57+
*
58+
* @copyright 2017 The Apache Software Foundation
59+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
60+
*/
61+
1662
namespace blobfolio\mimes;
1763

1864
class data {

wp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ This work is free. You can redistribute it and/or modify it under the terms of t
400400
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
401401
Version 2, December 2004
402402

403-
Copyright (C) 2017 Sam Hocevar <sam@hocevar.net>
403+
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
404404

405405
Everyone is permitted to copy and distribute verbatim or modified
406406
copies of this license document, and changing it is allowed as long

wp/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Lord of the Files: Enhanced Upload Security
44
*
55
* @package blob-mimes
6-
* @version 0.5.6
6+
* @version 0.6.0
77
*
88
* @see {https://core.trac.wordpress.org/ticket/39963}
99
* @see {https://core.trac.wordpress.org/ticket/40175}
@@ -14,7 +14,7 @@
1414
* Plugin Name: Lord of the Files: Enhanced Upload Security
1515
* Plugin URI: https://wordpress.org/plugins/blob-mimes/
1616
* Description: This plugin expands file-related security during the upload process.
17-
* Version: 0.5.6
17+
* Version: 0.6.0
1818
* Text Domain: blob-mimes
1919
* Domain Path: /languages/
2020
* Author: Blobfolio, LLC

wp/lib/blobfolio/wp/bm/mime/aliases.php

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,59 @@
33
/**
44
* Lord of the Files - MIME Aliases
55
*
6-
* This file is automatically generated by the blob-mimes
7-
* build process.
6+
* This file is automatically generated by the blob-mimes build process.
87
*
98
* @see {https://github.com/Blobfolio/blob-mimes/tree/master/build}
109
*
1110
* @package blob-mimes
1211
* @author Blobfolio, LLC <hello@blobfolio.com>
1312
*/
1413

14+
/**
15+
* Data Source: IANA
16+
*
17+
* @see {https://www.iana.org/assignments/media-types}
18+
*
19+
* @copyright 2017 IETF Trust
20+
* @license https://www.rfc-editor.org/copyright/ rfc-copyright-story
21+
*/
22+
23+
/**
24+
* Data Source: Apache
25+
*
26+
* @see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}
27+
*
28+
* @copyright 2017 The Apache Software Foundation
29+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
30+
*/
31+
32+
/**
33+
* Data Source: Nginx
34+
*
35+
* @see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}
36+
*
37+
* @copyright 2017 NGINX Inc.
38+
* @license https://opensource.org/licenses/BSD-2-Clause BSD
39+
*/
40+
41+
/**
42+
* Data Source: Freedesktop.org
43+
*
44+
* @see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}
45+
*
46+
* @copyright 2017 Freedesktop.org
47+
* @license https://opensource.org/licenses/MIT MIT
48+
*/
49+
50+
/**
51+
* Data Source: Apache Tika
52+
*
53+
* @see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}
54+
*
55+
* @copyright 2017 The Apache Software Foundation
56+
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache
57+
*/
58+
1559
namespace blobfolio\wp\bm\mime;
1660

1761
class aliases {

0 commit comments

Comments
 (0)