You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
4.7 KiB

  1. # Contributing Guidelines
  2. (See <http://wiki.openwrt.org/doc/devel/packages> for overall format and construction)
  3. All packages you commit or submit by pull-request should follow these simple guidelines:
  4. * Package a version which is still maintained by the upstream author.
  5. * Will be updated regularly to maintained and supported versions.
  6. * Have no dependencies outside the OpenWrt core packages or this repository feed.
  7. * 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.
  8. * 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.
  9. * Best of all -- it works as expected!
  10. Makefile contents should contain:
  11. * An up-to-date copyright notice. Use OpenWrt if no other present or supply your own.
  12. * A (PKG_)MAINTAINER definition listing either yourself or another person in the field.
  13. (E.g.: PKG_MAINTAINER:= Joe D. Hacker `<jdh@jdhs-email-provider.org`>)
  14. * A PKG_LICENSE tag declaring the main license of the package.
  15. (E.g.: PKG_LICENSE:=GPL-2.0+) Please use SPDX identifiers if possible (see list at the bottom).
  16. * An optional PKG_LICENSE_FILES tag including the filenames of the license-files in the source-package.
  17. (E.g.: PKG_LICENSE_FILES:=COPYING)
  18. * 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.
  19. Commits in your pull-requests should:
  20. * Have a useful description prefixed with the package name
  21. (E.g.: "foopkg: Add libzot dependency")
  22. * Include Signed-off-by in the comment
  23. (See <https://dev.openwrt.org/wiki/SubmittingPatches#a10.Signyourwork>)
  24. If you have commit access:
  25. * Do NOT use git push --force.
  26. * Do NOT commit to other maintainer's packages without their consent.
  27. * Use Pull Requests if you are unsure and to suggest changes to other maintainers.
  28. Gaining commit access:
  29. * We will gladly grant commit access to responsible contributors who have made
  30. useful pull requests and / or feedback or patches to this repository or
  31. OpenWrt in general. Please include your request for commit access in your
  32. next pull request or ticket.
  33. Release Branches:
  34. * Branches named "for-XX.YY" (e.g. for-14.07) are release branches.
  35. * These branches are built with the respective OpenWrt release and are created
  36. during the release stabilisation phase.
  37. * Please ONLY cherry-pick or commit security and bug-fixes to these branches.
  38. * Do NOT add new packages and do NOT do major upgrades of packages here.
  39. * If you are unsure if your change is suitable, please use a pull request.
  40. ####Common LICENSE tags (short list)
  41. (Complete list can be found at: <http://spdx.org/licenses>)
  42. ####
  43. | Full Name | Identifier |
  44. |---|:---|
  45. |Apache License 1.0|Apache-1.0|
  46. |Apache License 1.1|Apache-1.1|
  47. |Apache License 2.0|Apache-2.0|
  48. |Artistic License 1.0|Artistic-1.0|
  49. |Artistic License 1.0 (Perl)|Artistic-1.0-Perl|
  50. |Artistic License 1.0 w/clause 8|Artistic-1.0-cl8|
  51. |Artistic License 2.0|Artistic-2.0|
  52. |BSD 2-clause "Simplified" License|BSD-2-Clause|
  53. |BSD 2-clause FreeBSD License|BSD-2-Clause-FreeBSD|
  54. |BSD 2-clause NetBSD License|BSD-2-Clause-NetBSD|
  55. |BSD 3-clause "New" or "Revised" License|BSD-3-Clause|
  56. |BSD 3-clause Clear License|BSD-3-Clause-Clear|
  57. |BSD 4-clause "Original" or "Old" License|BSD-4-Clause|
  58. |BSD Protection License|BSD-Protection|
  59. |BSD with attribution|BSD-3-Clause-Attribution|
  60. |BSD-4-Clause (University of California-Specific)|BSD-4-Clause-UC|
  61. |GNU General Public License v1.0 only|GPL-1.0|
  62. |GNU General Public License v1.0 or later|GPL-1.0+|
  63. |GNU General Public License v2.0 only|GPL-2.0|
  64. |GNU General Public License v2.0 or later|GPL-2.0+|
  65. |GNU General Public License v3.0 only|GPL-3.0|
  66. |GNU General Public License v3.0 or later|GPL-3.0+|
  67. |GNU Lesser General Public License v2.1 only|LGPL-2.1|
  68. |GNU Lesser General Public License v2.1 or later|LGPL-2.1+|
  69. |GNU Lesser General Public License v3.0 only|LGPL-3.0|
  70. |GNU Lesser General Public License v3.0 or later|LGPL-3.0+|
  71. |GNU Library General Public License v2 only|LGPL-2.0|
  72. |GNU Library General Public License v2 or later|LGPL-2.0+|
  73. |Fair License|Fair|
  74. |ISC License|ISC|
  75. |MIT License|MIT|
  76. |No Limit Public License|NLPL|
  77. |OpenSSL License|OpenSSL|
  78. |X11 License|X11|
  79. |zlib License|Zlib|