PACKAGING 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. Packaging bsd-games and bsd-games-non-free
  2. ==========================================
  3. This file contains some information intended for those packaging
  4. bsd-games or bsd-games-non-free for a Linux distribution. It is
  5. presumed that you have read INSTALL first, and that you have the
  6. competence in the POSIX shell required to read and understand the
  7. configure script. This information may also be useful to people
  8. building their own systems, who wish to rebuild the whole system
  9. automatically or who use a packaging system for locally built
  10. software.
  11. The configuration and build of bsd-games has two features designed to
  12. facilitate packaging:
  13. 1) Installation prefix.
  14. The configure script allows you to choose an installation prefix (by
  15. default empty) that is prepended to all paths used for installation,
  16. but not those built into the executables (this is similar to the
  17. install_root of glibc, and DESTDIR in some packages, but is chosen at
  18. configure time). The package would then be built in some way from
  19. this directory, and the contents would end up in the root of the
  20. target system. If used, this prefix must be an absolute path.
  21. 2) config.params to change configuration defaults.
  22. Although the configuration script is by default interactive (although
  23. it does not need a terminal), it can also be used non-interactively.
  24. If a file "config.params" exists in the source directory, it will be
  25. sourced by the configure script. If this file (which can be an
  26. arbitrary shell script) sets "bsd_games_cfg_non_interactive" to "y",
  27. then the default answers to all questions will be taken without
  28. interaction. If this sets "bsd_games_cfg_FOO" to "BAR" then the
  29. default value for configuration parameter "FOO" will become "BAR"
  30. instead of whatever default the script would otherwise give. You can
  31. find the names and meanings of the configuration parameters by reading
  32. the configure script; they are not otherwise documented.
  33. Issues for packagers
  34. ====================
  35. Please read the security warnings in SECURITY. There is a potential
  36. trade-off between security and functionality present, and you may wish
  37. to choose a potentially more secure default and allow the sysadmin to
  38. change permissions if they are in an environment (for example, a home
  39. system with only trusted users) where the functionality is preferred,
  40. while ensuring such changes persist across upgrades. Some packagers
  41. may wish to provide a security-hardened system by giving each setgid
  42. game its own group so bugs in one do not affect others.
  43. You may wish to include auxiliary documentation for users, such as the
  44. AUTHORS and THANKS files and the year 2000 statement YEAR2000.
  45. Assuming you distribute source for your package (I do not believe any
  46. of the games have licences requiring this), and separate your patches
  47. from the original source .tar.gz files (whether in separate files or
  48. in a single file source package including them as separable
  49. components), arranging the building of the source so that your patches
  50. add a "config.params" as described above, and do any other necessary
  51. changes to "configure" or other source files, and so that the build
  52. process runs configure non-interactively and then builds the package,
  53. makes it easier for readers to see how you have packaged it than
  54. running configure interactively and including the generated files in
  55. your patch.
  56. Since bsd-games no longer comes with its own words file, you may wish
  57. to ensure that the same dictionaries are used in the build of boggle
  58. regardless of the local configuration of the dictionaries installed on
  59. the computer used for the build. (The list used by hangman can also
  60. be specified by the user at run time; future versions may provide for
  61. this to be done with boggle as well; see TODO.)
  62. Andries Brouwer has noted more than once on linux-kernel (and
  63. elsewhere) that some packagers (for various software and documentation
  64. used under Linux):
  65. (a) Do not send their patches to upstream maintainers, so that
  66. improvements and bug fixes stay in some distributions, which may need
  67. to discover them independently, and do not come to benefit other
  68. users.
  69. (b) Keep applying their same patches to new versions of the source as
  70. long as they apply without error, even though they may no longer be
  71. needed or even be harmful.
  72. If you have patches that are needed for the package to build or to fix
  73. bugs (in a supported environment, not with old versions of libraries
  74. and tools) or that provide enhancements other than conforming to
  75. distribution-specific policy, please send them to me (unidiffs
  76. preferred; see notes on bug reporting and sending patches at the end
  77. of README). Do not assume that old patches should be applied to new
  78. versions; check that the problem they are supposed to fix is still
  79. present first.
  80. Warnings
  81. ========
  82. If distributing bsd-games, it is your responsibility to check that the
  83. licences on the games you distribute permit what you wish to do with
  84. them, and that you are providing accurate information on the licences
  85. to your users. Likewise it is your responsibility to carry out
  86. whatever audits you deem necessary on the code, and to include such
  87. warnings or information (about security and otherwise) for the end
  88. user as you see fit. Please read the disclaimers in the individual
  89. source files.
  90. Some of the games may contain material, actions or language that in
  91. some jurisdictions may be prohibited or considered unsuitable for
  92. minors; this includes but is not limited to the offensive fortunes.
  93. It is your responsibility to determine and apply any restriction on
  94. your distribution of the games that may be necessary in consequence.
  95. This package contains cryptographic software (caesar and rot13). See
  96. the warnings in README about this.
  97. Notification of new versions
  98. ============================
  99. If you want to receive notification of new versions by email, but do
  100. not currently receive this notification, please let me know.
  101. A note on terminology and credit
  102. ================================
  103. I am not the "upstream author" of the games packaged here; for an
  104. incomplete list of the authors see AUTHORS, but do not give me this
  105. credit I do not deserve at the expense of the true authors. Rather I
  106. am the "upstream maintainer" of the bsd-games and bsd-games-non-free
  107. packages (upstream relative to distributions), and upstream of me is
  108. NetBSD, who also are maintainers of the games, but not for the most
  109. part authors. Nor am I the creator of the bsd-games package, although
  110. much the current form of the packaging and many of the porting changes
  111. are mine: the package was created by Curt Olson and Andy Tefft, and
  112. passed to me after it had been idle and unmaintained for some years.
  113. Any system that provides fields for recording this sort of information
  114. should distinguish these concepts, and the different fields should be
  115. filled in correctly. Please consider where credit is due and credit
  116. the authors of the games accordingly: if you find the names of authors
  117. where not known and listed in AUTHORS, or up-to-date contact details
  118. for authors listed there, please send me the details so they can
  119. receive their due credit in future versions, and thanks from any
  120. appreciative users.
  121. Local Variables:
  122. mode: text
  123. End: