Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2005 19:30:25 GMT
From:      Matthew Luckie <mjl@luckie.org.nz>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/88968: [patch] comms/birda unexpire
Message-ID:  <200511141930.jAEJUPhl061672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/88968; it has been noted by GNATS.

From: Matthew Luckie <mjl@luckie.org.nz>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/88968: [patch] comms/birda unexpire
Date: Tue, 15 Nov 2005 08:23:24 +1300

 two releases of birda were released overnight.  the first addressed
 the use of log(), which gcc-3 complained about, and fixed the
 use-after-free bug addressed by freebsd's patch-iassrv.c
 
 the second release adds a driver for redlink-105
 
 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/comms/birda/Makefile
 
 Please consider this patch instead of the one in the PR.
 
 Finally, I am aware that the ftp.augustsson.net mirror is not very
 quick, and that it was removed from the port in ports/47947; at
 the moment, the new birda release has not made its way to NetBSD's
 FTP service.
 
 Thanks
 
 Matthew
 
 diff -uNr birda.orig/Makefile birda/Makefile
 --- birda.orig/Makefile Fri Nov  4 17:07:14 2005
 +++ birda/Makefile      Tue Nov 15 08:06:35 2005
 @@ -6,16 +6,13 @@
  #
  
  PORTNAME=      birda
 -PORTVERSION=   1.00
 -PORTREVISION=  2
 +PORTVERSION=   1.3
  CATEGORIES=    comms
 -MASTER_SITES=  ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
 +MASTER_SITES=  ftp://ftp.augustsson.net/pub/netbsd/ \
 +               ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
  
  MAINTAINER=    allbery@ece.cmu.edu
  COMMENT=       Bohlin's IrDA utilities, ported from NetBSD's pkgsrc
 -
 -DEPRECATED=    "mastersite disappeared, no longer maintained by author"
 -EXPIRATION_DATE=       2005-12-31
  
  MAN1=          ircomm.1 irobex.1 irs.1 \
                 mkobexcard.1 mkobexdate.1 mkobexmemo.1 mkobexpdb.1 \
 diff -uNr birda.orig/distinfo birda/distinfo
 --- birda.orig/distinfo Fri Mar 19 06:59:56 2004
 +++ birda/distinfo      Tue Nov 15 08:06:59 2005
 @@ -1,2 +1,3 @@
 -MD5 (birda-1.00.tar.gz) = 0f847c3bbeadb388bdb9bc438d2dcc6b
 -SIZE (birda-1.00.tar.gz) = 56074
 +MD5 (birda-1.3.tar.gz) = da9d3a9859fbcf41d3eece2ecdb68c3c
 +SHA256 (birda-1.3.tar.gz) = 168ed16ad3acc3dce4b2e8743f7dfa6c4cf7203c18926e0931e
 4b2614e89c833
 +SIZE (birda-1.3.tar.gz) = 57848
 diff -uNr birda.orig/files/patch-iassrv.c birda/files/patch-iassrv.c
 --- birda.orig/files/patch-iassrv.c     Thu Jul 17 00:21:07 2003
 +++ birda/files/patch-iassrv.c  Thu Jan  1 12:00:00 1970
 @@ -1,22 +0,0 @@
 ---- src/iassrv.c.orig  Sun Dec 16 19:22:20 2001
 -+++ src/iassrv.c       Wed Jul 16 14:08:55 2003
 -@@ -281,6 +281,7 @@
 - 
 - static void status(Connection* con, int event, void* buf, int len)
 - {
 -+  int flags;
 -   IASConnection* ic=(IASConnection*)con->handle;
 - 
 -   if(event==CONN_CLOSED) {
 -@@ -300,9 +301,10 @@
 - 
 -     if(ic->outBuf) freeMem(ic->outBuf);
 -     if(ic->inBuf) freeMem(ic->inBuf);
 -+    flags = ic->ias->ias.debug&IAS_DEBUG_INFO;
 -     freeMem(ic);
 -     connClose(con);
 --    if(ic->ias->ias.debug&IAS_DEBUG_INFO) log("ias closed\n");
 -+    if(flags) log("ias closed\n");
 -   }
 - }
 - 
 diff -uNr birda.orig/files/patch-lib-Makefile birda/files/patch-lib-Makefile
 --- birda.orig/files/patch-lib-Makefile Thu Jan  1 12:00:00 1970
 +++ birda/files/patch-lib-Makefile      Mon Nov 14 10:47:33 2005
 @@ -0,0 +1,9 @@
 +--- lib/Makefile.orig  Mon Nov 14 10:43:07 2005
 ++++ lib/Makefile       Mon Nov 14 10:42:14 2005
 +@@ -9,4 +9,6 @@
 + NOPIC=                yes
 + MKLINKLIB=    no
 + 
 ++install:
 ++
 + .include <bsd.lib.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511141930.jAEJUPhl061672>