ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
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.
 
 
 
 
 
 

139 lines
4.8 KiB

  1. # TODO: dev vs runtime packages.
  2. # TODO: verify docs
  3. # TODO: build-depends
  4. Source: cppcms
  5. Priority: extra
  6. Section: unknown
  7. Maintainer: Jon Foster <jon@jfpossibilities.com>
  8. #Upstream-Source: https://sourceforge.net/settings/mirror_choices?projectname=cppcms&filename=cppcms/1.2.1/cppcms-1.2.1.tar.bz2
  9. Homepage: http://cppcms.com/
  10. Description: High Performance C++ Web Framework
  11. CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed
  12. at Rapid Web Application Development. It differs from most other web
  13. development frameworks like: Python Django, Java Servlets in the following
  14. ways:
  15. .
  16. 1. It is designed and tuned to handle extremely high loads.
  17. 2. It uses modern C++ as the primary development language in order to achieve
  18. the first goal.
  19. 3. It is designed for developing both Web Sites and Web Services.
  20. Copyright: .
  21. Copyright (c) 2018 Artyom Beilis
  22. .
  23. Permission is hereby granted, free of charge, to any person obtaining a copy
  24. of this software and associated documentation files (the "Software"), to deal
  25. in the Software without restriction, including without limitation the rights
  26. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  27. copies of the Software, and to permit persons to whom the Software is
  28. furnished to do so, subject to the following conditions:
  29. .
  30. The above copyright notice and this permission notice shall be included in all
  31. copies or substantial portions of the Software.
  32. .
  33. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  34. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  35. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  36. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  37. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  38. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  39. SOFTWARE.
  40. .
  41. Embedded Third Party Software:
  42. ------------------------------
  43. .
  44. - src/base64.cpp - MIT license (see file for copyright notices)
  45. - src/md5.cpp, private/md5.h - see copyright notices in files (permissive license)
  46. - private/sha1.h - Boost Software License 1.0, see copyright notices in the file.
  47. - booster/ - a sub-project released under Boost Software License 1.0
  48. - contrib/client_side/jsonrpc/json2.js - Public Domain
  49. Origin: JFP
  50. Packaged-For: JF Possibilities, Inc.
  51. Major-Changes:
  52. Trial patches to make embedded HTTP server work better:
  53. .
  54. 1. You can specify that apps are on "" (root).
  55. 2. Static files can be served without taking over /
  56. 3. An exception can now send an email to the site owner.
  57. .
  58. These changes are not approved by Artyom.
  59. changelog:
  60. (1.2.1-2j+p2) unstable; urgency=low
  61. .
  62. * Added *beta* email on 500 feature
  63. .
  64. -- Jon Foster <jon@jfpossibilities.com> Sat, 03 Apr 2021 09:53:20 -0700
  65. .
  66. (1.2.1-2j+p1) unstable; urgency=low
  67. .
  68. * Repackaged with my first set of trial patches.
  69. .
  70. -- Jon Foster <jon@jfpossibilities.com> Wed, 15 Apr 2020 17:10:05 -0700
  71. .
  72. (1.2.1-2j) unstable; urgency=low
  73. .
  74. * Split dev files into their separate pack
  75. .
  76. -- Jon Foster <jon@jfpossibilities.com> Wed, 15 Apr 2020 17:10:05 -0700
  77. .
  78. (1.2.1-1j) unstable; urgency=low
  79. .
  80. * Initial Debianization
  81. .
  82. -- Jon Foster <jon@jfpossibilities.com> Fri, 28 Feb 2020 14:56:29 -0800
  83. .
  84. Build-Depends: cmake
  85. Build-In: .
  86. Build: sh
  87. mkdir build
  88. cd build
  89. # Force building with C++11, 'cause anything previous is critically broken. ;-)
  90. # This is required by "private/email.h"
  91. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS=-std=c++11 ..
  92. make
  93. Clean: sh
  94. rm -r build || true
  95. Package: cppcms
  96. Architecture: any
  97. # TODO: Depends: []
  98. Description: .
  99. Install: sh
  100. cd build
  101. make DESTDIR="$DPAK_ROOT" install
  102. rm "$DPAK_ROOT"/usr/lib/*.so
  103. rm "$DPAK_ROOT"/usr/lib/*.a
  104. rm -r "$DPAK_ROOT"/usr/include
  105. #dpak strip
  106. Postinst: sh
  107. ldconfig
  108. Package: cppcms-dev
  109. Architecture: any
  110. Depends: cppcms
  111. Description: .
  112. This package contains the development files.
  113. Install: sh
  114. dpak install -dir /usr/include/cppcms cppcms/capi cppcms/*.h build/cppcms/*.h
  115. dpak install -dir /usr/include booster/booster
  116. dpak install -dir /usr/include/booster build/booster/booster/*.h
  117. cd build
  118. dpak install -lib booster/libbooster.a libcppcms.a
  119. # These happen after the install -lib so the folder is created
  120. ln -s libcppcms.so.1 "$DPAK_ROOT"/usr/lib/libcppcms.so
  121. ln -s libbooster.so.0 "$DPAK_ROOT"/usr/lib/libbooster.so
  122. # TODO: what happened to docs? Not in GIT but in source tarball?
  123. #Package: cppcms-doc
  124. #Architecture: all
  125. #Description: .
  126. # This package contains the HTML documentation.
  127. #Install: sh
  128. # dpak install -doc doc/doxygen/html
  129. # dpak install -doc doc/architecture.txt
  130. # dpak install -doc examples
  131. #Finalize: sh
  132. # # I really need a switch somewhere to disable auto-gz
  133. # find "$DPAK_ROOT"/usr/share/doc/*/html -type f -name "*.gz" | while read s; do
  134. # gunzip "$s"
  135. # done