[25781] in Source-Commits
Re: /svn/athena r25226 - trunk/debathena/debathena/larvnet/debian
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Tue Jul 12 07:56:43 2011
Date: Tue, 12 Jul 2011 07:56:37 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201107112136.p6BLaYx3004534@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1107120755470.5330@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
ACK. Let's make sure this actually works and doesn't fail to transmit
data, but socat sounds reliable enough here.
--
Geoffrey Thomas
geofft@mit.edu
On Mon, 11 Jul 2011, Jonathan D Reed wrote:
> Author: jdreed
> Date: 2011-07-11 17:36:34 -0400 (Mon, 11 Jul 2011)
> New Revision: 25226
>
> Modified:
> trunk/debathena/debathena/larvnet/debian/changelog
> trunk/debathena/debathena/larvnet/debian/control.in
> trunk/debathena/debathena/larvnet/debian/larvnet-wrapper
> Log:
> In larvnet:
> * Switch to socat because netcat is broken in Natty (Trac: #929)
>
>
> Modified: trunk/debathena/debathena/larvnet/debian/changelog
> ===================================================================
> --- trunk/debathena/debathena/larvnet/debian/changelog 2011-07-11 21:25:00 UTC (rev 25225)
> +++ trunk/debathena/debathena/larvnet/debian/changelog 2011-07-11 21:36:34 UTC (rev 25226)
> @@ -1,3 +1,9 @@
> +debathena-larvnet (10.0.8) unstable; urgency=low
> +
> + * Switch to socat because netcat is broken in Natty (Trac: #929)
> +
> + -- Jonathan Reed <jdreed@mit.edu> Mon, 11 Jul 2011 17:36:27 -0400
> +
> debathena-larvnet (10.0.7) unstable; urgency=low
>
> * Revert the changes from 10.0.6, because dpkg-query is slow (Trac:
>
> Modified: trunk/debathena/debathena/larvnet/debian/control.in
> ===================================================================
> --- trunk/debathena/debathena/larvnet/debian/control.in 2011-07-11 21:25:00 UTC (rev 25225)
> +++ trunk/debathena/debathena/larvnet/debian/control.in 2011-07-11 21:36:34 UTC (rev 25226)
> @@ -8,6 +8,6 @@
> Package: debathena-larvnet
> Architecture: all
> Provides: larvnet
> -Depends: ${shlibs:Depends}, ${misc:Depends}, x11-common, netcat, hostname, hesiod, debathena-machtype, netbase, openbsd-inetd | inet-superserver
> +Depends: ${shlibs:Depends}, ${misc:Depends}, x11-common, socat, hostname, hesiod, debathena-machtype, netbase, openbsd-inetd | inet-superserver
> Description: Larvnet monitoring software for Debathena machines
> Allows the Larvnet service to track whether this workstation is in use.
>
> Modified: trunk/debathena/debathena/larvnet/debian/larvnet-wrapper
> ===================================================================
> --- trunk/debathena/debathena/larvnet/debian/larvnet-wrapper 2011-07-11 21:25:00 UTC (rev 25225)
> +++ trunk/debathena/debathena/larvnet/debian/larvnet-wrapper 2011-07-11 21:36:34 UTC (rev 25226)
> @@ -6,7 +6,7 @@
> arch=$(machtype -c)
> set_busy() {
> for s in $servers; do
> - printf "%d%s\0%s\0" "$1" "$hostname" "$arch" | nc -q0 -u "$s" "$port"
> + printf "%d%s\0%s\0" "$1" "$hostname" "$arch" | socat STDIN UDP:"$s":"$port"
> done
> }
>
>
>