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.
 
 
 
 
 
 

116 lines
4.0 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. changelog:
  52. (1.2.1-2j) unstable; urgency=low
  53. .
  54. * Split dev files into their separate pack
  55. .
  56. -- Jon Foster <jon@jfpossibilities.com> Wed, 15 Apr 2020 17:10:05 -0700
  57. .
  58. (1.2.1-1j) unstable; urgency=low
  59. .
  60. * Initial Debianization
  61. .
  62. -- Jon Foster <jon@jfpossibilities.com> Fri, 28 Feb 2020 14:56:29 -0800
  63. .
  64. Build-Depends: cmake
  65. Build-In: .
  66. Build: sh
  67. mkdir build
  68. cd build
  69. cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  70. make
  71. Clean: sh
  72. rm -r build || true
  73. Package: cppcms
  74. Architecture: any
  75. # TODO: Depends: []
  76. Description: .
  77. Install: sh
  78. cd build
  79. make DESTDIR="$DPAK_ROOT" install
  80. rm "$DPAK_ROOT"/usr/lib/*.so
  81. rm "$DPAK_ROOT"/usr/lib/*.a
  82. rm -r "$DPAK_ROOT"/usr/include
  83. #dpak strip
  84. Postinst: sh
  85. ldconfig
  86. Package: cppcms-dev
  87. Architecture: any
  88. Depends: cppcms
  89. Description: .
  90. This package contains the development files.
  91. Install: sh
  92. dpak install -dir /usr/include/cppcms cppcms/capi cppcms/*.h build/cppcms/*.h
  93. dpak install -dir /usr/include booster/booster
  94. dpak install -dir /usr/include/booster build/booster/booster/*.h
  95. cd build
  96. dpak install -lib booster/libbooster.a libcppcms.a
  97. # These happen after the install -lib so the folder is created
  98. ln -s libcppcms.so.1 "$DPAK_ROOT"/usr/lib/libcppcms.so
  99. ln -s libbooster.so.0 "$DPAK_ROOT"/usr/lib/libbooster.so
  100. Package: cppcms-doc
  101. Architecture: all
  102. Description: .
  103. This package contains the HTML documentation.
  104. Install: sh
  105. dpak install -doc doc/doxygen/html
  106. dpak install -doc doc/architecture.txt
  107. dpak install -doc examples
  108. Finalize: sh
  109. # I really need a switch somewhere to disable auto-gz
  110. find "$DPAK_ROOT"/usr/share/doc/*/html -type f -name "*.gz" | while read s; do
  111. gunzip "$s"
  112. done