.pkgr.yml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. name: zammad
  2. description: Zammad is a web based open source helpdesk/customer support system
  3. homepage: https://zammad.org
  4. notifications: false
  5. targets:
  6. centos-8:
  7. dependencies:
  8. - curl
  9. - elasticsearch
  10. - nginx
  11. - postgresql-server
  12. - which
  13. - epel-release
  14. - imlib2
  15. - shared-mime-info
  16. - redis
  17. build_dependencies:
  18. - https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/i/imlib2-1.4.9-8.el8.x86_64.rpm
  19. - https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/i/imlib2-devel-1.4.9-8.el8.x86_64.rpm
  20. - shared-mime-info
  21. centos-9:
  22. dependencies:
  23. - curl
  24. - elasticsearch
  25. - nginx
  26. - postgresql-server
  27. - which
  28. - epel-release
  29. - imlib2
  30. - shared-mime-info
  31. - redis
  32. build_dependencies:
  33. - https://download.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/i/imlib2-1.7.4-1.el9.x86_64.rpm
  34. - https://download.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/i/imlib2-devel-1.7.4-1.el9.x86_64.rpm
  35. - shared-mime-info
  36. - mysql-devel
  37. debian-11:
  38. dependencies:
  39. - curl
  40. - elasticsearch|elasticsearch-oss
  41. - nginx|apache2
  42. - postgresql|mariadb-server
  43. - libimlib2
  44. - shared-mime-info
  45. - redis-server
  46. build_dependencies:
  47. - libimlib2
  48. - libimlib2-dev
  49. - shared-mime-info
  50. debian-12:
  51. dependencies:
  52. - curl
  53. - elasticsearch|elasticsearch-oss
  54. - nginx|apache2
  55. - postgresql|mariadb-server
  56. - libimlib2
  57. - shared-mime-info
  58. - redis-server
  59. build_dependencies:
  60. - libimlib2
  61. - libimlib2-dev
  62. - shared-mime-info
  63. ubuntu-20.04:
  64. dependencies:
  65. - curl
  66. - elasticsearch|elasticsearch-oss
  67. - nginx|apache2
  68. - postgresql|mysql-server|mariadb-server
  69. - libimlib2
  70. - shared-mime-info
  71. - redis-server
  72. build_dependencies:
  73. - libimlib2
  74. - libimlib2-dev
  75. - shared-mime-info
  76. ubuntu-22.04:
  77. dependencies:
  78. - curl
  79. - elasticsearch|elasticsearch-oss
  80. - nginx|apache2
  81. - postgresql|mysql-server|mariadb-server
  82. - libimlib2
  83. - shared-mime-info
  84. - redis-server
  85. build_dependencies:
  86. - libimlib2
  87. - libimlib2-dev
  88. - shared-mime-info
  89. ubuntu-24.04:
  90. dependencies:
  91. - curl
  92. - elasticsearch|elasticsearch-oss
  93. - nginx|apache2
  94. - postgresql|mysql-server|mariadb-server
  95. - libimlib2
  96. - shared-mime-info
  97. - redis-server
  98. build_dependencies:
  99. - libimlib2
  100. - libimlib2-dev
  101. - shared-mime-info
  102. sles-15:
  103. dependencies:
  104. - curl
  105. - elasticsearch
  106. - nginx
  107. - postgresql-server
  108. - libImlib2-1
  109. - imlib2
  110. - shared-mime-info
  111. # We need the fuser binary from the psmisc package to detect the running redis systemd service.
  112. # Because on SUSE systems, this service is arbitrarily named (e.g.) redis@foobar.service
  113. # So we cannot hardcode the service name as we do for other supported distros.
  114. - psmisc
  115. build_dependencies:
  116. # Add packages required for build that are not in the official SLES repo.
  117. # Direct URLs must be used since we cannot add repos on packager.io
  118. # (would require a paid SLES account and credential management on packager.io).
  119. - https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/imlib2-1.4.10-1.28.x86_64.rpm
  120. - https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/imlib2-devel-1.4.10-1.28.x86_64.rpm
  121. - https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/imlib2-filters-1.4.10-1.28.x86_64.rpm
  122. - https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/distribution/leap/15.4/repo/oss/x86_64/libImlib2-1-1.4.10-1.28.x86_64.rpm
  123. - shared-mime-info
  124. - libmariadb-devel
  125. before:
  126. - contrib/packager.io/before.sh
  127. after:
  128. - contrib/packager.io/after.sh
  129. env:
  130. - RAILS_ENV=production
  131. - ZAMMAD_BIND_IP=127.0.0.1
  132. - ZAMMAD_RAILS_PORT=3000
  133. - ZAMMAD_WEBSOCKET_PORT=6042
  134. services:
  135. - postgres:15
  136. - redis
  137. before_install: contrib/packager.io/preinstall.sh
  138. after_install: contrib/packager.io/postinstall.sh
  139. buildpack: https://github.com/zammad/heroku-buildpack-multi.git#master