[25779] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25227 - trunk/debathena/debathena/counterlog/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Mon Jul 11 17:38:59 2011

Date: Mon, 11 Jul 2011 17:38:53 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201107112138.p6BLcrun005041@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-07-11 17:38:53 -0400 (Mon, 11 Jul 2011)
New Revision: 25227

Modified:
   trunk/debathena/debathena/counterlog/debian/athena-counterlog
   trunk/debathena/debathena/counterlog/debian/changelog
   trunk/debathena/debathena/counterlog/debian/control.in
Log:
In counterlog:
  * Switch to socat instead of netcat (Trac: #929)


Modified: trunk/debathena/debathena/counterlog/debian/athena-counterlog
===================================================================
--- trunk/debathena/debathena/counterlog/debian/athena-counterlog	2011-07-11 21:36:34 UTC (rev 25226)
+++ trunk/debathena/debathena/counterlog/debian/athena-counterlog	2011-07-11 21:38:53 UTC (rev 25227)
@@ -27,4 +27,4 @@
 # cluster-only package.  Fortunately, the syslog protocol is dead
 # simple, so just fake a packet to the log host.
 msg="<13>root: counterlog: $host $mtype $ctype $version $id cron"
-printf "%s" "$msg" | nc -q0 -u $loghost syslog
+printf "%s" "$msg" | socat STDIN UDP:${loghost}:syslog

Modified: trunk/debathena/debathena/counterlog/debian/changelog
===================================================================
--- trunk/debathena/debathena/counterlog/debian/changelog	2011-07-11 21:36:34 UTC (rev 25226)
+++ trunk/debathena/debathena/counterlog/debian/changelog	2011-07-11 21:38:53 UTC (rev 25227)
@@ -1,3 +1,9 @@
+debathena-counterlog (1.8) unstable; urgency=low
+
+  * Switch to socat instead of netcat (Trac: #929)
+
+ -- Jonathan Reed <jdreed@mit.edu>  Mon, 11 Jul 2011 17:38:46 -0400
+
 debathena-counterlog (1.7) unstable; urgency=low
 
   [ Jonathan Reed ]

Modified: trunk/debathena/debathena/counterlog/debian/control.in
===================================================================
--- trunk/debathena/debathena/counterlog/debian/control.in	2011-07-11 21:36:34 UTC (rev 25226)
+++ trunk/debathena/debathena/counterlog/debian/control.in	2011-07-11 21:38:53 UTC (rev 25227)
@@ -7,7 +7,7 @@
 
 Package: debathena-counterlog
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, debathena-machtype, lsb-release
+Depends: ${shlibs:Depends}, ${misc:Depends}, debathena-machtype, lsb-release, socat
 Description: Machine counting service for Debathena machines
  Reports on the existence of this machine to a central logging
  service so that machines can be counted.


home help back first fref pref prev next nref lref last post