~roger.light/ubuntu/vivid/mosquitto/fix-for-1423037

« back to all changes in this revision

Viewing changes to debian/patches/enable-libwrap.patch

  • Committer: Bazaar Package Importer
  • Author(s): Roger A. Light
  • Date: 2011-05-01 20:12:51 UTC
  • Revision ID: james.westby@ubuntu.com-20110501201251-e4uahx1wc1el8l8h
Tags: 0.10-1
Initial release. (Closes: #605319)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Enable compile-time support for tcp-wrappers.
 
2
Author: Roger Light <roger@atchoo.org>
 
3
Index: mosquitto-0.10/config.h
 
4
===================================================================
 
5
--- mosquitto-0.10.orig/config.h        2011-04-29 22:07:10.566727001 +0100
 
6
+++ mosquitto-0.10/config.h     2011-04-29 22:07:25.706727001 +0100
 
7
@@ -6,7 +6,7 @@
 
8
  * ============================================================ */
 
9
 
 
10
 /* Uncomment to compile with tcpd/libwrap support. */
 
11
-//#define WITH_WRAP
 
12
+#define WITH_WRAP
 
13
 
 
14
 /* Compile with database upgrading support? If disabled, mosquitto won't
 
15
  * automatically upgrade old database versions. */
 
16
Index: mosquitto-0.10/config.mk
 
17
===================================================================
 
18
--- mosquitto-0.10.orig/config.mk       2011-04-29 22:07:29.950727002 +0100
 
19
+++ mosquitto-0.10/config.mk    2011-04-29 22:07:36.394727002 +0100
 
20
@@ -5,7 +5,7 @@
 
21
 #MANCOUNTRIES=en_GB
 
22
 
 
23
 CFLAGS=-I. -I.. -ggdb -Wall -O2 -I../lib
 
24
-LDFLAGS=
 
25
+LDFLAGS=-lwrap
 
26
 # Add -lwrap to LDFLAGS if compiling with tcp wrappers support.
 
27
 
 
28
 CC=gcc