DESCR-main 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. SQLite database of every port in the system. This can be queried through
  2. e.g., sqlitebrowser, or any kind of programming interface.
  3. This is more suitable for human consumption, use sqlite-compact for
  4. more structured information.
  5. Database Schema:
  6. - Ports(FULLPKGPATH, ...)
  7. holds all the information retrieved through various variables, e.g.,:
  8. AUTOCONF_VERSION
  9. AUTOMAKE_VERSION
  10. BROKEN
  11. *DEPENDS
  12. CATEGORIES
  13. COMMENT
  14. CONFIGURE_STYLE
  15. DESCR
  16. DISTFILES
  17. DISTNAME
  18. DIST_SUBDIR
  19. EPOCH
  20. FLAVORS
  21. FULLPKGNAME
  22. GH_*
  23. HOMEPAGE
  24. IS_INTERACTIVE
  25. MAINTAINER
  26. MAKEFILE_LIST
  27. MASTER_SITES*
  28. MODULES
  29. MULTI_PACKAGES
  30. NO_*
  31. NOT_FOR_ARCHS
  32. ONLY_FOR_ARCHS
  33. PERMIT_*
  34. PKGNAME
  35. PKGSPEC
  36. PKG_ARCH
  37. PREFIX
  38. PSEUDO_FLAVOR
  39. PSEUDO_FLAVORS
  40. TEST_IS_INTERACTIVE
  41. REVISION
  42. SEPARATE_BUILD
  43. SHARED_LIBS
  44. SUBPACKAGE
  45. SUPDISTFILES
  46. TARGETS
  47. USE_*
  48. WANTLIB
  49. README
  50. COMPILER
  51. COMPILER_LANGS
  52. COMPILER_LINKS
  53. This information is mostly unchanged, except for replacing Yes/No variables
  54. with 1/0. Variables not present in a given port are left undefined.
  55. README corresponds to README files (full text value) and only exists when
  56. such files are present.
  57. Note that USE_LIBTOOL is 3-valued: 2 is gnu, 1 is yes, undef is no.
  58. Note that USE_WXNEEDED is 3-valued: 2 is special, 1 is yes, undef is no.
  59. The FULLPKGPATH is complete, including flavor and pseudo-flavors markers.
  60. For every port with MULTI_PACKAGES settings, one entry is written for
  61. each SUBPACKAGE.
  62. - Paths (FULLPKGPATH, PKGPATH, CANONICAL)
  63. PKGPATH is the stripped down version or FULLPKGPATH, without flavors
  64. or subpackage markers.
  65. CANONICAL points to the reduced version.
  66. - Flavors(FULLPKGPATH, VALUE)
  67. - Categories(FULLPKGPATH, VALUE)
  68. - Multi(FULLPKGPATH, VALUE, SUBPKGPATH)
  69. - Makefiles(FULLPKGPATH, VALUE)
  70. - Modules(FULLPKGPATH, VALUE)
  71. - Configure(FULLPKGPATH, VALUE)
  72. - ConfigureArgs(FULLPKGPATH, VALUE)
  73. - NotForArch(FULLPKGPATH, VALUE)
  74. - OnlyForArch(FULLPKGPATH, VALUE)
  75. - Targets(FULLPKGPATH, VALUE)
  76. All of these variable values are actually lists. These lists are taken apart
  77. and result in many entries in these secondary tables (or none if the list
  78. is completely empty)
  79. Makefiles holds the stuff from MAKEFILE_LIST that's specific to a given port
  80. with all default entries stripped away.
  81. - Depends(FULLPKGPATH, FULLDEPENDS, PKGSPEC, REST, DEPENDSPATH, TYPE)
  82. All depends are stored in a single table, including the type:
  83. R -> run
  84. L -> lib
  85. B -> build
  86. T -> test
  87. with FULLDEPENDS the full text of the dependency, DEPENDSPATH the PKGPATH
  88. we depend upon, PKGSPEC the spec we depend upon (if explicit), and REST
  89. the rest.
  90. - Wantlib(FULLPKGPATH, VALUE)
  91. All the libraries the FULLPKGPATH depends upon, with and without version number,
  92. coming from either the WANTLIB variable or various LIB_DEPENDS.
  93. - Multi(FULLPKGPATH, VALUE, SUBPKGPATH)
  94. with SUBPKGPATH the normalized pkgpath for that subpackage.
  95. - BROKEN(FULLPKGPATH, ARCH, VALUE)
  96. All the broken entries, which might be arch-dependent.
  97. - Shared_Libs(FULLPKGPATH, LIBNAME, VERSION)