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.

CONTRIBUTIONS.md 4.8KB

9 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. # Rspamd contribution policy
  2. When submitting contributions to rspamd project you should:
  3. * provide your own original code;
  4. * use the license for your contribution from the list below;
  5. * accept the terms of this policy.
  6. Submitting patches automatically implies your agreement with the statements above. Submitting code without explicit license means automatic applying of the LICENSE distributed within rspamd sources.
  7. ## List of licenses accepted
  8. Preferred license is Apache-2:
  9. ~~~C
  10. /*-
  11. * Copyright [year] [your name]
  12. *
  13. * Licensed under the Apache License, Version 2.0 (the "License");
  14. * you may not use this file except in compliance with the License.
  15. * You may obtain a copy of the License at
  16. *
  17. * http://www.apache.org/licenses/LICENSE-2.0
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an "AS IS" BASIS,
  21. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. */
  25. ~~~
  26. ### The 2 clause version of the BSD license
  27. ~~~C
  28. /*-
  29. * Copyright (c) [year] [your name]
  30. * All rights reserved.
  31. *
  32. * Redistribution and use in source and binary forms, with or without
  33. * modification, are permitted provided that the following conditions
  34. * are met:
  35. * 1. Redistributions of source code must retain the above copyright
  36. * notice, this list of conditions and the following disclaimer.
  37. * 2. Redistributions in binary form must reproduce the above copyright
  38. * notice, this list of conditions and the following disclaimer in the
  39. * documentation and/or other materials provided with the distribution.
  40. *
  41. * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  42. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  43. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  44. * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  45. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  46. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  47. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  48. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  49. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  50. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  51. * SUCH DAMAGE.
  52. *
  53. */
  54. ~~~
  55. ### The ISC License
  56. ~~~C
  57. /*-
  58. * Copyright (c) [year] [copyright holder]
  59. *
  60. * Permission to use, copy, modify, and distribute this software for any
  61. * purpose with or without fee is hereby granted, provided that the above
  62. * copyright notice and this permission notice appear in all copies.
  63. *
  64. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  65. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  66. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  67. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  68. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  69. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  70. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  71. *
  72. */
  73. ~~~
  74. ### The MIT License
  75. ~~~C
  76. /*-
  77. * Copyright (c) [year] [copyright holders]
  78. *
  79. * Permission is hereby granted, free of charge, to any person obtaining a copy
  80. * of this software and associated documentation files (the "Software"), to deal
  81. * in the Software without restriction, including without limitation the rights
  82. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  83. * copies of the Software, and to permit persons to whom the Software is
  84. * furnished to do so, subject to the following conditions:
  85. *
  86. * The above copyright notice and this permission notice shall be included in
  87. * all copies or substantial portions of the Software.
  88. *
  89. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  90. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  91. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  92. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  93. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  94. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  95. * THE SOFTWARE.
  96. *
  97. */
  98. ~~~
  99. ### CC0 1.0 Universal Public Domain Dedication
  100. ~~~C
  101. /*
  102. * To the extent possible under law, the author(s) have dedicated all copyright
  103. * and related and neighboring rights to this software to the public domain
  104. * worldwide. This software is distributed without any warranty.
  105. *
  106. * You should have received a copy of the CC0 Public Domain Dedication along with
  107. * this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
  108. *
  109. */
  110. ~~~