The attached patch adds support for honoring /etc/hosts.(allow|deny) to
vino builds.

--
Jamin W. Collins

diff -Naur vino-2.13.5/config.h.in vino-2.13.5.libwrap/config.h.in
--- vino-2.13.5/config.h.in	2006-08-21 15:18:31.000000000 -0400
+++ vino-2.13.5.libwrap/config.h.in	2006-08-21 15:15:37.000000000 -0400
@@ -117,3 +117,5 @@
 
 /* Define to 1 if the X Window System is missing or not being used. */
 #undef X_DISPLAY_MISSING
+
+#define USE_LIBWRAP 1
diff -Naur vino-2.13.5/debian/rules vino-2.13.5.libwrap/debian/rules
--- vino-2.13.5/debian/rules	2006-08-21 15:18:50.000000000 -0400
+++ vino-2.13.5.libwrap/debian/rules	2006-08-21 15:17:25.000000000 -0400
@@ -6,7 +6,7 @@
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-avahi
-DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed -lwrap"
 
 clean::
 	rm -f intltool-update intltool-merge intltool-extract

Reply via email to