Subversion Repositories lsh

Compare Revisions

Ignore whitespace Rev 84 → Rev 85

/trunk/debian/patches/testsuite-mini-inetd-localhost.patch
0,0 → 1,15
Description: Tell mini-inetd to bind to 127.0.0.1 instead of "localhost".
When told to bind to "localhost", mini-inetd seems to bind to 255.255.255.255.
Author: Magnus Holmgren <holmgren@debian.org>
 
--- a/src/testsuite/functions.sh
+++ b/src/testsuite/functions.sh
@@ -155,7 +155,7 @@ spawn_lshg () {
# at_connect local-port max-connections shell-command
at_connect () {
# sleep 1 # Allow some time for earlier processes to die
- mini-inetd -m $2 -- localhost:$1 /bin/sh sh -c "$3" &
+ mini-inetd -m $2 -- 127.0.0.1:$1 /bin/sh sh -c "$3" &
at_exit "kill $!"
}
/trunk/debian/patches/series
6,3 → 6,4
blacklist.patch
terminate-on-connection-failure.patch
ipv6-v6only.patch
testsuite-mini-inetd-localhost.patch
/trunk/debian/changelog
15,8 → 15,13
indicating no blacklist file for the key type and/or size in question
exists.
* nettle-2.1.patch (new): Build with Nettle 2.1.
* Enable tests.
testsuite-mini-inetd-localhost.patch (new): When told to bind to
"localhost", mini-inetd, which is used in certain (optional) tests,
seems to bind to 255.255.255.255, which is of course no good. Tell it
to bind to 127.0.0.1 instead.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 19 Mar 2011 20:53:55 +0100
-- Magnus Holmgren <holmgren@debian.org> Sun, 20 Mar 2011 01:24:29 +0100
 
lsh-utils (2.0.4-dfsg-7) unstable; urgency=low
 
/trunk/debian/rules
29,7 → 29,6
dh_autoreconf
./configure $(buildflags) \
--prefix=/usr \
--libdir=/usr/lib \
--disable-dependency-tracking \
--enable-pam --enable-kerberos --enable-srp \
--with-pty --enable-tcp-forward --enable-x11-forward \
44,6 → 43,9
 
# Add here commands to compile the package.
$(MAKE) $(jobsflag) MAKEINFO='makeinfo --enable-encoding'
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) check
endif
 
touch build-stamp