summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-02 19:28:10 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-02 19:28:10 +0200
commitf27702d3cf183f7fbaf88e584bae63a6514d9e65 (patch)
treea94ef7bbdddab36f5364eb32fe1df2f36206e4be
parent99d31b767bd2b9d7c7ce7b2a2fb8cb6797252548 (diff)
Added Debian package
-rw-r--r--Makefile6
-rw-r--r--TODO1
-rw-r--r--debian/README.Debian11
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control14
-rw-r--r--debian/copyright5
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/source/format1
9 files changed, 48 insertions, 1 deletions
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 <mail@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 <rr@antcom.de> 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 <mail@reichwein.it>
+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 <mail@reichwein.it>
+
+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)