Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11130 | georgesk | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
||
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
||
4 | |||
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
||
6 | |||
7 | <head> |
||
8 | <title>*markdown-output*</title> |
||
9 | |||
10 | </head> |
||
11 | |||
12 | <body> |
||
13 | |||
14 | <p>The directory dfsg stands for: Debian Free Software Guidelines, |
||
15 | see <a href="https://en.wikipedia.org/wiki/Debian_Free_Software_Guidelines">https://en.wikipedia.org/wiki/Debian_Free_Software_Guidelines</a></p> |
||
16 | |||
17 | <h1>Making a dfsg-free source package</h1> |
||
18 | |||
19 | <p>To build an official Debian package, one needs to check thoroughly |
||
20 | than every source file shipped in it is distributed under a DFSG-free |
||
21 | license, and give proper credit to the authors inside the file |
||
22 | debian/copyright which will be included in the debian source package.</p> |
||
23 | |||
24 | <h2>Non-DFSG-free licenses</h2> |
||
25 | |||
26 | <p>Some parts of the official source tarball for WIMS are not DFSG-free, |
||
27 | i.e., they may be free enough for the main concern of a random Wims |
||
28 | administrator, allowing him to run the server legally, but they are not |
||
29 | free according to the Debian Free Software Guidelines.</p> |
||
30 | |||
31 | <p>Examples of non-dfsg-free parts include packages including third-party |
||
32 | components with non-free licenses: a non-commercial clause makes a license |
||
33 | non-free, as well as a clause stating that the only legitimate use is for |
||
34 | education. More subtle non-free licenses can be the "good, not evil" license |
||
35 | authored by Douglas Crockford; even if it may be considered as a joke, it |
||
36 | entails a legal instability which is refused by Debian developers. See |
||
37 | <a href="https://en.wikipedia.org/wiki/Douglas_Crockford#.22Good.2C_not_Evil.22">https://en.wikipedia.org/wiki/Douglas_Crockford#.22Good.2C_not_Evil.22</a>.</p> |
||
38 | |||
39 | <h2>Uglified "source" code</h2> |
||
40 | |||
41 | <p>Also, every source file must be human-readable. For the sake of efficiency, |
||
42 | many javascript files are compressed or "uglified" in order to use less |
||
43 | bandwidth. If a javascript is compressed, minified or "uglified", it cannot |
||
44 | be considered as a source file any longer. If so, it must be removed from |
||
45 | the source package, and the source file yielding it must be included, |
||
46 | eventually with some way to generate the compressed file upon compilation |
||
47 | of the source package.</p> |
||
48 | |||
49 | <h1>Contents of this directory</h1> |
||
50 | |||
51 | <ul> |
||
52 | <li><code>README.md</code>: the source file for this information</li> |
||
53 | <li><code>README.html</code>: this information in HTML format</li> |
||
54 | <li><code>Makefile</code>: a script for the "make" command, which strips non-dfsg |
||
55 | parts, and adds eventually third-party non-obfuscated sources for |
||
56 | javascript files.</li> |
||
57 | </ul> |
||
58 | |||
59 | </body> |
||
60 | </html> |