1 # Contributing Guidelines
2 (See <http://wiki.openwrt.org/doc/devel/packages> for overall format and construction)
5 All packages you commit or submit by pull-request should follow these simple guidelines:
7 * Package a version which is still maintained by the upstream author.
8 * Will be updated regularly to maintained and supported versions.
9 * Have no dependencies outside the OpenWrt core packages or this repository feed.
10 * Have been tested to compile with the correct includes and dependencies. Please also test with "Compile with full language support" found under "General Build Settings" set if language support is relevant to your package.
11 * Do NOT use a rolling source file (e.g. foo-latest.tar.gz) or the head of a branch as source for the package since that would create unpredictable builds which change over time.
12 * Best of all -- it works as expected!
14 Makefile contents should contain:
16 * An up-to-date copyright notice. Use OpenWrt if no other present or supply your own.
17 * A (PKG_)MAINTAINER definition listing either yourself or another person in the field.
18 (E.g.: PKG_MAINTAINER:= Joe D. Hacker `<jdh@jdhs-email-provider.org`>)
19 * A PKG_LICENSE tag declaring the main license of the package.
20 (E.g.: PKG_LICENSE:=GPL-2.0+) Please use SPDX identifiers if possible (see list at the bottom).
21 * An optional PKG_LICENSE_FILES tag including the filenames of the license-files in the source-package.
22 (E.g.: PKG_LICENSE_FILES:=COPYING)
23 * PKG_RELEASE should be initially set to 1 or reset to 1 if the software version is changed. You should increment it if the package itself has changed. For example, modifying a support script, changing configure options like --disable* or --enable* switches, or if you changed something in the package which causes the resulting binaries to be different. Changes like correcting md5sums, changing mirror URLs, adding a maintainer field or updating a comment or copyright year in a Makefile do not require a change to PKG_RELEASE.
25 Commits in your pull-requests should:
27 * Have a useful description prefixed with the package name
28 (E.g.: "foopkg: Add libzot dependency")
29 * Include Signed-off-by in the comment
30 (See <https://dev.openwrt.org/wiki/SubmittingPatches#a10.Signyourwork>)
32 If you have commit access:
34 * Do NOT use git push --force.
35 * Do NOT commit to other maintainer's packages without their consent.
36 * Use Pull Requests if you are unsure and to suggest changes to other maintainers.
38 Gaining commit access:
40 * We will gladly grant commit access to responsible contributors who have made
41 useful pull requests and / or feedback or patches to this repository or
42 OpenWrt in general. Please include your request for commit access in your
43 next pull request or ticket.
47 * Branches named "for-XX.YY" (e.g. for-14.07) are release branches.
48 * These branches are built with the respective OpenWrt release and are created
49 during the release stabilisation phase.
50 * Please ONLY cherry-pick or commit security and bug-fixes to these branches.
51 * Do NOT add new packages and do NOT do major upgrades of packages here.
52 * If you are unsure if your change is suitable, please use a pull request.
54 ####Common LICENSE tags (short list)
55 (Complete list can be found at: <http://spdx.org/licenses>)
58 | Full Name | Identifier |
60 |Apache License 1.0|Apache-1.0|
61 |Apache License 1.1|Apache-1.1|
62 |Apache License 2.0|Apache-2.0|
63 |Artistic License 1.0|Artistic-1.0|
64 |Artistic License 1.0 (Perl)|Artistic-1.0-Perl|
65 |Artistic License 1.0 w/clause 8|Artistic-1.0-cl8|
66 |Artistic License 2.0|Artistic-2.0|
67 |BSD 2-clause "Simplified" License|BSD-2-Clause|
68 |BSD 2-clause FreeBSD License|BSD-2-Clause-FreeBSD|
69 |BSD 2-clause NetBSD License|BSD-2-Clause-NetBSD|
70 |BSD 3-clause "New" or "Revised" License|BSD-3-Clause|
71 |BSD 3-clause Clear License|BSD-3-Clause-Clear|
72 |BSD 4-clause "Original" or "Old" License|BSD-4-Clause|
73 |BSD Protection License|BSD-Protection|
74 |BSD with attribution|BSD-3-Clause-Attribution|
75 |BSD-4-Clause (University of California-Specific)|BSD-4-Clause-UC|
76 |GNU General Public License v1.0 only|GPL-1.0|
77 |GNU General Public License v1.0 or later|GPL-1.0+|
78 |GNU General Public License v2.0 only|GPL-2.0|
79 |GNU General Public License v2.0 or later|GPL-2.0+|
80 |GNU General Public License v3.0 only|GPL-3.0|
81 |GNU General Public License v3.0 or later|GPL-3.0+|
82 |GNU Lesser General Public License v2.1 only|LGPL-2.1|
83 |GNU Lesser General Public License v2.1 or later|LGPL-2.1+|
84 |GNU Lesser General Public License v3.0 only|LGPL-3.0|
85 |GNU Lesser General Public License v3.0 or later|LGPL-3.0+|
86 |GNU Library General Public License v2 only|LGPL-2.0|
87 |GNU Library General Public License v2 or later|LGPL-2.0+|
91 |No Limit Public License|NLPL|
92 |OpenSSL License|OpenSSL|