Package: nginx
Version: 0.7.64-1
Priority: wishlist
Tags: patch
Trying to track down a bug in nginx, I found debugging symbols to be very
useful. The attached patch modifies nginx to build a debugging symbols
package alongside the main build. I'd appreciate it (for future nginx
debugging sessions) if you'd apply it in the next upload of nginx.
Thanks,
- Matt
diff -u nginx-0.7.64/debian/rules nginx-0.7.64/debian/rules
--- nginx-0.7.64/debian/rules
+++ nginx-0.7.64/debian/rules
@@ -82,7 +82,7 @@
dh_installman debian/nginx.1
dh_installlogrotate
dh_link
- dh_strip
+ dh_strip --dbg-package=nginx-dbg
dh_compress
dh_fixperms
dh_installdeb
diff -u nginx-0.7.64/debian/control nginx-0.7.64/debian/control
--- nginx-0.7.64/debian/control
+++ nginx-0.7.64/debian/control
@@ -28,0 +29,13 @@
+
+Package: nginx-dbg
+Architecture: any
+Section: libdevel
+Depends: nginx (= ${binary:Version})
+Description: Debugging symbols for nginx
+ Nginx (engine x) is a web server created by Igor Sysoev and kindly provided to
+ the open-source community. This server can be used as standalone HTTP server
+ and as a reverse proxy server before some Apache or another big server to
+ reduce load to backend servers by many concurrent HTTP-sessions.
+ .
+ This package provides debugging symbols for nginx, to assist in debugging
+ issues that you may find. It should not be required for normal operation.