summaryrefslogtreecommitdiff
path: root/HACKING/licensing.md
blob: 6d17e318a8fa7f5e81efb9d53d2a435aeb67d437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
We don't require copyright assignment or any fancy paperwork!  Just
make sure you specify the license and include a copyright statement
with your name and the current year.

New code should (please) be licensed GPLv2+.  I say v2 instead of v3
because some code from Arch is GPLv2 (no "or any later version"), and
having to worry about which programs can be combined is a huge pain.

Copyright statements should look like

	# Copyright (C) YEARS NAME <EMAIL>

for most code, for 3rd-party code that has been imported, indent it a
bit:

	#   Copyright (C) YEARS NAME <EMAIL>

Always put a line with `# License:` specifying the license of that
file.