pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/latd Updated to 1.18. Closes PR pkg/22735.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02b8f036ab06
branches:  trunk
changeset: 462978:02b8f036ab06
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Oct 21 20:55:42 2003 +0000

description:
Updated to 1.18. Closes PR pkg/22735.

Changelog:

latd (1.17-1) unstable; urgency=low

  * Add support for a MOPRC_INTERFACE env variable.
  * Fix bug in the lastest retransmit code that screwed up
    queued connections rather badly.
  * Don't show status messages to /dev/lat ports
  * moprc is now a C++ program that uses the LATinterfaces class.
  * llogin -p only locks devices if liblockdev is found
  * Porting work for *BSD and Darwin.
    HUGE thanks to Matthew Fredette of NetBSD for all the bpf work.
  * Use autoconf to configure and build. Again Matthew Fredette did
    most of the work for this, but I added the Linux bits.

latd (1.16-1) unstable; urgency=low

  * Don't use an IP socket for finding interfaces. So now you
    can use LAT (& moprc) with a kernel that doesn't have IP.
  * Fix latcp man page (-J and -j were wrong way round)
  * llogin -L disables locking when using -p
  * latd now expires services if it doesn't receive HELLOs
  * Expand escape sequences in /etc/issue.net or /etc/issue.lat
  * Fix crash on queued connections referencing freed memory.
  * moprc now ignores duplicate messages it receives. This fixes
    odd behaviour with some Emulex targets
  * Put a timeout on CONNECT and COMMAND messages so we can resend
    them if we get no reply.
  * Check connection IDs more carefully.

latd (1.15-1) unstable; urgency=low

  * More DS90L+ fixes (keepalive message format)
  * Fix iostreams so they produce the correct output in gcc 3.0 & 2.95.
    Now I know why people really hate iostreams.
  * Use getloadavg() rather than /proc to get load average.
  * Close all FDs before forking server processes.
  * Always send an ACK for a packet with data in it.
  * llogin uses lock files for device connections

latd (1.14-1) unstable; urgency=low

  * gcc-3.0 compilation fixes in the new bits
  * Rewritten ethernet flow control
  * Increase moprc timeout a little.
  * Don't try to process zero-length packets
  * Include lat.html documentation
  * Tested on DECserver 700
  * Send "no more slots on circuit" message when closing a connection for
    that reason. Fixes reconnection on DECserver 90L+

pkgsrc changes:

        * Fix building when using gcc3
        * Use the bsd.pkg.install.mk framework to install the
          configuration file into the right place.

diffstat:

 net/latd/Makefile         |  14 +++++++++++---
 net/latd/PLIST            |  13 +++++++------
 net/latd/distinfo         |  10 +++++++---
 net/latd/patches/patch-aa |  12 ++++++++++++
 net/latd/patches/patch-ab |  12 ++++++++++++
 net/latd/patches/patch-ac |  20 ++++++++++++++++++++
 net/latd/patches/patch-ad |  18 ++++++++++++++++++
 7 files changed, 87 insertions(+), 12 deletions(-)

diffs (143 lines):

diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/Makefile
--- a/net/latd/Makefile Tue Oct 21 17:29:12 2003 +0000
+++ b/net/latd/Makefile Tue Oct 21 20:55:42 2003 +0000
@@ -1,13 +1,21 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/03/12 22:19:18 fredette Exp $
+# $NetBSD: Makefile,v 1.2 2003/10/21 20:55:42 xtraeme Exp $
+#
 
-DISTNAME=       latd-1.13.mhf1
+DISTNAME=       latd-1.18
 CATEGORIES=    net
-MASTER_SITES=   http://theory.lcs.mit.edu/~fredette/latd/
+MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=linux-decnet/}
 
 MAINTAINER=    fredette%theory.lcs.mit.edu@localhost
 HOMEPAGE=      http://theory.lcs.mit.edu/~fredette/latd/index.html
 COMMENT=       The linux-decnet project's LAT protocol suite
 
+USE_BUILDLINK2=        yes
+USE_PKGINSTALL=        yes
 GNU_CONFIGURE= yes
 
+CPPFLAGS+=     -DPREFIX=\"\\\"${PREFIX}\\\"\"
+
+EGDIR=         ${PREFIX}/share/examples/latd
+CONF_FILES=    ${EGDIR}/latd.conf ${PKG_SYSCONFDIR}/latd.conf
+
 .include "../../mk/bsd.pkg.mk"
diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/PLIST
--- a/net/latd/PLIST    Tue Oct 21 17:29:12 2003 +0000
+++ b/net/latd/PLIST    Tue Oct 21 20:55:42 2003 +0000
@@ -1,11 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/12 22:19:18 fredette Exp $
-sbin/latd
-sbin/latcp
-sbin/moprc
+@comment $NetBSD: PLIST,v 1.2 2003/10/21 20:55:42 xtraeme Exp $
 bin/llogin
-etc/latd.conf
 man/man1/llogin.1
 man/man5/latd.conf.5
+man/man8/latcp.8
 man/man8/latd.8
-man/man8/latcp.8
 man/man8/moprc.8
+sbin/latcp
+sbin/latd
+sbin/moprc
+share/examples/latd/latd.conf
+@dirrm share/examples/latd
diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/distinfo
--- a/net/latd/distinfo Tue Oct 21 17:29:12 2003 +0000
+++ b/net/latd/distinfo Tue Oct 21 20:55:42 2003 +0000
@@ -1,4 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/03/12 22:19:18 fredette Exp $
+$NetBSD: distinfo,v 1.2 2003/10/21 20:55:42 xtraeme Exp $
 
-SHA1 (latd-1.13.mhf1.tar.gz) = 76e32b56f3c9541a2ea580349cc49c093a515201
-Size (latd-1.13.mhf1.tar.gz) = 103017 bytes
+SHA1 (latd-1.18.tar.gz) = a7cecdb97507f485e726ea4c2fef0a59ad3adbae
+Size (latd-1.18.tar.gz) = 233882 bytes
+SHA1 (patch-aa) = 70e2a543f471c9a818bfbe138137920d605d5aa9
+SHA1 (patch-ab) = 6d62fc224d383ca20758bc9a76a789e5f4b965e5
+SHA1 (patch-ac) = adbe7b78bce30b6fbf540a18922ddb073cfccf0c
+SHA1 (patch-ad) = f606a87bf3dff0571db3ededc6889e31f2012397
diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/latd/patches/patch-aa Tue Oct 21 20:55:42 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2003/10/21 20:55:42 xtraeme Exp $
+
+--- clientsession.cc.orig      2003-10-20 19:12:16.000000000 +0200
++++ clientsession.cc   2003-10-20 19:12:36.000000000 +0200
+@@ -23,6 +23,7 @@
+ #include <string>
+ #include <map>
+ #include <strstream>
++#include <assert.h>
+ 
+ #include "lat.h"
+ #include "utils.h"
diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/latd/patches/patch-ab Tue Oct 21 20:55:42 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2003/10/21 20:55:42 xtraeme Exp $
+
+--- interfaces-bpf.cc.orig     2003-10-20 19:13:38.000000000 +0200
++++ interfaces-bpf.cc  2003-10-20 19:13:52.000000000 +0200
+@@ -15,6 +15,7 @@
+     GNU General Public License for more details.
+ ******************************************************************************/
+ 
++#include <assert.h>
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <fcntl.h>
diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/latd/patches/patch-ac Tue Oct 21 20:55:42 2003 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 2003/10/21 20:55:42 xtraeme Exp $
+
+--- Makefile.in.orig   2003-10-20 19:18:37.000000000 +0200
++++ Makefile.in        2003-10-20 19:20:20.000000000 +0200
+@@ -508,12 +508,12 @@
+ sysconfDATA_INSTALL = $(INSTALL_DATA)
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++      $(mkinstalldirs) $(PREFIX)/share/examples/latd
+       @list='$(sysconf_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f="`echo $$p | sed -e 's|^.*/||'`"; \
+-        echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
+-        $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
++        echo " $(sysconfDATA_INSTALL) $$d$$p $(PREFIX)/share/examples/latd/$$f"; \
++        $(sysconfDATA_INSTALL) $$d$$p $(PREFIX)/share/examples/latd/$$f; \
+       done
+ 
+ uninstall-sysconfDATA:
diff -r 5ab8a993ffaf -r 02b8f036ab06 net/latd/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/latd/patches/patch-ad Tue Oct 21 20:55:42 2003 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2003/10/21 20:55:42 xtraeme Exp $
+
+--- latcp.cc.orig      2003-10-20 19:32:10.000000000 +0200
++++ latcp.cc   2003-10-20 19:32:39.000000000 +0200
+@@ -773,10 +773,10 @@
+       latd_bin = "/usr/sbin/latd";
+       latd_path = "/usr/sbin";
+     }
+-    else if (!stat("/usr/local/sbin/latd", &st))
++    else if (!stat("PREFIX/sbin/latd", &st))
+     {
+-      latd_bin = "/usr/local/sbin/latd";
+-      latd_path = "/usr/local/sbin";
++      latd_bin = "PREFIX/sbin/latd";
++      latd_path = "PREFIX/sbin";
+     }
+ 
+     // Did we find it?



Home | Main Index | Thread Index | Old Index