From f27702d3cf183f7fbaf88e584bae63a6514d9e65 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 2 Apr 2020 19:28:10 +0200 Subject: Added Debian package --- Makefile | 6 ++++++ TODO | 1 - debian/README.Debian | 11 +++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 14 ++++++++++++++ debian/copyright | 5 +++++ debian/rules | 5 +++++ debian/source/format | 1 + 9 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/Makefile b/Makefile index 13d78c8..736387a 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,10 @@ PROJECTNAME=webserver CXX=clang++-10 #CXX=g++-9 +ifeq ($(CXXFLAGS),) #CXXFLAGS=-O2 -DNDEBUG CXXFLAGS=-O0 -g -D_DEBUG +endif # -fprofile-instr-generate -fcoverage-mapping # gcc:--coverage @@ -80,6 +82,10 @@ googletest/src/%.o: googletest/src/%.cc ADD_DEP=Makefile +install: + mkdir -p $(DESTDIR)/usr/bin + cp webserver $(DESTDIR)/usr/bin + # misc --------------------------------------------------- clean: -rm -f test-$(PROJECTNAME) $(PROJECTNAME) diff --git a/TODO b/TODO index 0d4b8fa..0fe5f15 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -Debian package Plugin: https://www.boost.org/doc/libs/1_72_0/doc/html/boost_dll/tutorial.html#boost_dll.tutorial.symbol_shadowing_problem__linux_ HTTP+HTTPS: https://www.boost.org/doc/libs/1_72_0/libs/beast/doc/html/beast/examples.html#beast.examples.servers Config: https://www.boost.org/doc/libs/1_72_0/doc/html/property_tree/tutorial.html diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..23ff42c --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,11 @@ +webserver for Debian +==================== + +This package is the Debian version ofr webserver. + + +Contact +------- + +Reichwein IT + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..aacdf51 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +webserver (1.0) unstable; urgency=medium + + * First version + + -- Roland Reichwein Thu, 02 Apr 2020 18:59:59 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e5f62ff --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: webserver +Section: web +Priority: extra +Maintainer: Roland Reichwein +Build-Depends: debhelper (>= 9), libssl-dev, libboost-all-dev | libboost1.71-all-dev +Standards-Version: 4.1.3 +Homepage: http://www.reichwein.it/webserver/ + +Package: webserver +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Homepage: http://www.reichwein.it/webserver/ +Description: Web server + Webserver is a web server diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..71cab6b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,5 @@ +This package is Copyright 2020 by Reichwein.IT +Roland Reichwein + +Commercial licensing is available. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..abde6ef --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +%: + dh $@ + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3