Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

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