|
- # TODO: dev vs runtime packages.
- # TODO: verify docs
- # TODO: build-depends
- Source: cppcms
- Priority: extra
- Section: unknown
- Maintainer: Jon Foster <jon@jfpossibilities.com>
- #Upstream-Source: https://sourceforge.net/settings/mirror_choices?projectname=cppcms&filename=cppcms/1.2.1/cppcms-1.2.1.tar.bz2
- Homepage: http://cppcms.com/
- Description: High Performance C++ Web Framework
- CppCMS is a Free High Performance Web Development Framework (not a CMS) aimed
- at Rapid Web Application Development. It differs from most other web
- development frameworks like: Python Django, Java Servlets in the following
- ways:
- .
- 1. It is designed and tuned to handle extremely high loads.
- 2. It uses modern C++ as the primary development language in order to achieve
- the first goal.
- 3. It is designed for developing both Web Sites and Web Services.
- Copyright: .
- Copyright (c) 2018 Artyom Beilis
- .
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE.
- .
- Embedded Third Party Software:
- ------------------------------
- .
- - src/base64.cpp - MIT license (see file for copyright notices)
- - src/md5.cpp, private/md5.h - see copyright notices in files (permissive license)
- - private/sha1.h - Boost Software License 1.0, see copyright notices in the file.
- - booster/ - a sub-project released under Boost Software License 1.0
- - contrib/client_side/jsonrpc/json2.js - Public Domain
- Origin: JFP
- Packaged-For: JF Possibilities, Inc.
- Major-Changes:
- Trial patches to make embedded HTTP server work better:
- .
- 1. You can specify that apps are on "" (root).
- 2. Static files can be served without taking over /
- 3. An exception can now send an email to the site owner.
- .
- These changes are not approved by Artyom.
- changelog:
- (1.2.1-2j+p2) unstable; urgency=low
- .
- * Added *beta* email on 500 feature
- .
- -- Jon Foster <jon@jfpossibilities.com> Sat, 03 Apr 2021 09:53:20 -0700
- .
- (1.2.1-2j+p1) unstable; urgency=low
- .
- * Repackaged with my first set of trial patches.
- .
- -- Jon Foster <jon@jfpossibilities.com> Wed, 15 Apr 2020 17:10:05 -0700
- .
- (1.2.1-2j) unstable; urgency=low
- .
- * Split dev files into their separate pack
- .
- -- Jon Foster <jon@jfpossibilities.com> Wed, 15 Apr 2020 17:10:05 -0700
- .
- (1.2.1-1j) unstable; urgency=low
- .
- * Initial Debianization
- .
- -- Jon Foster <jon@jfpossibilities.com> Fri, 28 Feb 2020 14:56:29 -0800
- .
- Build-Depends: cmake
- Build-In: .
- Build: sh
- mkdir build
- cd build
- # Force building with C++11, 'cause anything previous is critically broken. ;-)
- # This is required by "private/email.h"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS=-std=c++11 ..
- make
- Clean: sh
- rm -r build || true
-
- Package: cppcms
- Architecture: any
- # TODO: Depends: []
- Description: .
- Install: sh
- cd build
- make DESTDIR="$DPAK_ROOT" install
- rm "$DPAK_ROOT"/usr/lib/*.so
- rm "$DPAK_ROOT"/usr/lib/*.a
- rm -r "$DPAK_ROOT"/usr/include
- #dpak strip
- Postinst: sh
- ldconfig
-
- Package: cppcms-dev
- Architecture: any
- Depends: cppcms
- Description: .
- This package contains the development files.
- Install: sh
- dpak install -dir /usr/include/cppcms cppcms/capi cppcms/*.h build/cppcms/*.h
- dpak install -dir /usr/include booster/booster
- dpak install -dir /usr/include/booster build/booster/booster/*.h
- cd build
- dpak install -lib booster/libbooster.a libcppcms.a
- # These happen after the install -lib so the folder is created
- ln -s libcppcms.so.1 "$DPAK_ROOT"/usr/lib/libcppcms.so
- ln -s libbooster.so.0 "$DPAK_ROOT"/usr/lib/libbooster.so
-
- # TODO: what happened to docs? Not in GIT but in source tarball?
- #Package: cppcms-doc
- #Architecture: all
- #Description: .
- # This package contains the HTML documentation.
- #Install: sh
- # dpak install -doc doc/doxygen/html
- # dpak install -doc doc/architecture.txt
- # dpak install -doc examples
- #Finalize: sh
- # # I really need a switch somewhere to disable auto-gz
- # find "$DPAK_ROOT"/usr/share/doc/*/html -type f -name "*.gz" | while read s; do
- # gunzip "$s"
- # done
|