Hi Andreas,

On 02/06/2021 07:16, Andreas Tille wrote:
Hi Claude,

On Mon, May 31, 2021 at 09:51:33AM +0100, Claude Heiland-Allen wrote:
I managed to rebuild the package locally with websockets support by adding
-DCIVETWEB_ENABLE_WEBSOCKETS=ON to CMAKE_EXTRA_FLAGS in debian/rules, adding
extra lines to debian/libcivetweb1.symbols like
  mg_websocket_client_write@Base 1.13+dfsg-5
  mg_websocket_write@Base 1.13+dfsg-5
Thank you for the bug report.  It seems to be easy to accomplish.
However, due to the current freeze policy we can not upload to unstable
and thus I prefer to leave this bug open until after the freeze.
Sure that's perfectly fine for me.
It would be great if you could meanwhile post a complete patch (by
for instance using debdiff) to save us the work to do what you just
have done.
I could not get debdiff to work for me (I couldn't figure out how to create a new .dsc file, I'm very out of practice with Debian packaging), so I attach a regular diff between two directories.  I hope it's not too inconvenient.

Thanks,


Claude

diff -ruw civetweb-1.13+dfsg.old/debian/changelog civetweb-1.13+dfsg.new/debian/changelog
--- civetweb-1.13+dfsg.old/debian/changelog	2021-01-21 14:30:38.000000000 +0000
+++ civetweb-1.13+dfsg.new/debian/changelog	2021-06-02 09:34:33.738622818 +0100
@@ -1,3 +1,10 @@
+civetweb (1.13+dfsg-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Enable websockets support.
+
+ -- Claude Heiland-Allen <cla...@mathr.co.uk>  Wed, 02 Jun 2021 09:34:18 +0100
+
 civetweb (1.13+dfsg-5) unstable; urgency=medium
 
   * Team Upload.
diff -ruw civetweb-1.13+dfsg.old/debian/libcivetweb1.symbols civetweb-1.13+dfsg.new/debian/libcivetweb1.symbols
--- civetweb-1.13+dfsg.old/debian/libcivetweb1.symbols	2021-01-21 14:14:50.000000000 +0000
+++ civetweb-1.13+dfsg.new/debian/libcivetweb1.symbols	2021-06-02 09:32:55.214672544 +0100
@@ -144,4 +144,6 @@
  mg_url_decode@Base 1
  mg_url_encode@Base 1
  mg_version@Base 1
+ mg_websocket_client_write@Base 1.13+dfsg-5
+ mg_websocket_write@Base 1.13+dfsg-5
  mg_write@Base 1
diff -ruw civetweb-1.13+dfsg.old/debian/rules civetweb-1.13+dfsg.new/debian/rules
--- civetweb-1.13+dfsg.old/debian/rules	2021-01-21 14:29:18.000000000 +0000
+++ civetweb-1.13+dfsg.new/debian/rules	2021-06-02 09:31:08.019109852 +0100
@@ -12,6 +12,7 @@
         -DCIVETWEB_BUILD_TESTING=OFF \
         -DCIVETWEB_SOVERSION=1 \
 	-DCIVETWEB_ENABLE_CXX=ON \
+	-DCIVETWEB_ENABLE_WEBSOCKETS=ON \
         -DBUILD_SHARED_LIBS=ON
 
 %:

Reply via email to