[Midnightbsd-cvs] mports: comms/minicom: update to 2.3

crash at midnightbsd.org crash at midnightbsd.org
Sat Sep 13 18:30:01 EDT 2008


Log Message:
-----------
update to 2.3

Modified Files:
--------------
    mports/comms/minicom:
        Makefile (r1.3 -> r1.4)
        distinfo (r1.1 -> r1.2)
        pkg-plist (r1.1 -> r1.2)
    mports/comms/minicom/files:
        patch-ac (r1.1 -> r1.2)
        patch-af (r1.1 -> r1.2)
        patch-minirc.dfl (r1.1 -> r1.2)
        patch-sysdep1.c (r1.1 -> r1.2)

Added Files:
-----------
    mports/comms/minicom/files:
        patch-src-minicom.h (r1.1)

Removed Files:
-------------
    mports/comms/minicom/files:
        patch-ag
        patch-configure
        patch-lib-Makefile.in
        patch-src-Makefile.in

-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/comms/minicom/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L comms/minicom/pkg-plist -L comms/minicom/pkg-plist -u -r1.1 -r1.2
--- comms/minicom/pkg-plist
+++ comms/minicom/pkg-plist
@@ -4,14 +4,22 @@
 bin/ascii-xfr
 etc/minicom/minicom.users
 %%NLS%%share/locale/cs/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/da/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/de/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/es/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/fi/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/hu/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/minicom.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/rw/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/minicom.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/minicom.mo
 @exec /usr/sbin/chown uucp %D/etc/minicom
 @dirrmtry etc/minicom
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
@@ -28,7 +36,6 @@
 %%PORTDOCS%%%%DOCSDIR%%/doc/Macros
 %%PORTDOCS%%%%DOCSDIR%%/doc/QuickStart.modemu
 %%PORTDOCS%%%%DOCSDIR%%/doc/README.lrzsz
-%%PORTDOCS%%%%DOCSDIR%%/doc/RedHat
 %%PORTDOCS%%%%DOCSDIR%%/doc/TODO.lrzsz
 %%PORTDOCS%%%%DOCSDIR%%/doc/Todo
 %%PORTDOCS%%%%DOCSDIR%%/doc/Todo.175
@@ -68,3 +75,5 @@
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/extras/terminfo
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/extras
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/rw
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/comms/minicom/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L comms/minicom/Makefile -L comms/minicom/Makefile -u -r1.3 -r1.4
--- comms/minicom/Makefile
+++ comms/minicom/Makefile
@@ -8,9 +8,10 @@
 #
 
 PORTNAME=	minicom
-PORTVERSION=	2.1
+PORTVERSION=	2.3
 CATEGORIES=	comms
-MASTER_SITES=	ftp://ftp.nuug.no/pub/anders/distfiles/ \
+MASTER_SITES=	http://alioth.debian.org/frs/download.php/2332/ \
+                ftp://ftp.nuug.no/pub/anders/distfiles/ \
 		http://atreides.freenix.no/~anders/
 
 MAINTAINER=	ports at MidnightBSD.org
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/comms/minicom/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L comms/minicom/distinfo -L comms/minicom/distinfo -u -r1.1 -r1.2
--- comms/minicom/distinfo
+++ comms/minicom/distinfo
@@ -1,3 +1,3 @@
-MD5 (minicom-2.1.tar.gz) = 1c8f3b247c38fb16c3c2170df9fc102a
-SHA256 (minicom-2.1.tar.gz) = 7f04535b3839fbbb0affa780108c32c330b924caf4e41dacd57dd23aa1fec392
-SIZE (minicom-2.1.tar.gz) = 607939
+MD5 (minicom-2.3.tar.gz) = 0ebe7a91898384ca906787cc4e2c3f25
+SHA256 (minicom-2.3.tar.gz) = 2acbc3d4a07e1134ee285a72fa44bbc27703b02dba02be68db9e6fd8320356fb
+SIZE (minicom-2.3.tar.gz) = 789162
Index: patch-af
===================================================================
RCS file: /home/cvs/mports/comms/minicom/files/patch-af,v
retrieving revision 1.1
retrieving revision 1.2
diff -L comms/minicom/files/patch-af -L comms/minicom/files/patch-af -u -r1.1 -r1.2
--- comms/minicom/files/patch-af
+++ comms/minicom/files/patch-af
@@ -1,11 +1,46 @@
---- src/window.c.orig	Sun Jan 27 18:57:13 2002
-+++ src/window.c	Sun Jan 27 18:57:25 2002
-@@ -110,7 +110,7 @@
+--- src/window.c.orig	2008-02-06 22:49:55.000000000 +0100
++++ src/window.c	2008-04-17 20:08:10.000000000 +0200
+@@ -70,6 +70,7 @@
+ static const char *CS, *SF, *SR, *VB, *BL;
+ static const char *VE, *VI, *KS, *KE;
+ static const char *CD, *CL, *IC, *DC;
++static char *mcBC;
+ static const char *CR, *NL;
+ #ifdef ST_LINE
+ static const char *TS, *FS, *DS;
+@@ -342,8 +343,8 @@
+   else if (NL != NULL && x == 0 && x == curx && y == cury + 1)
+     outstr(NL);
+ #endif
+-  else if (BC != NULL && y == cury && x == curx - 1)
+-    outstr(BC);
++  else if (mcBC != NULL && y == cury && x == curx - 1)
++    outstr(mcBC);
+   else
+     outstr(tgoto(CM, x, y));
+   curx = x;
+@@ -2007,7 +2008,7 @@
+   CL = tgetstr("cl", &_tptr);
+   IC = tgetstr("ic", &_tptr);
+   DC = tgetstr("dc", &_tptr);
+-  BC = tgetstr("bc", &_tptr);
++  mcBC = tgetstr("bc", &_tptr);
+   CR = tgetstr("cr", &_tptr);
+   NL = tgetstr("nl", &_tptr);
+   AC = tgetstr("ac", &_tptr);
+@@ -2066,11 +2067,11 @@
+   _has_am = tgetflag("am");
+   _mv_standout = tgetflag("ms");
+   if (tgetflag("bs")) {
+-    if (BC == NULL)
+-      BC = "\b";
++    if (mcBC == NULL)
++      mcBC = "\b";
+   }
+   else
+-    BC = NULL;
++    mcBC = NULL;
  
- int useattr = 1;
- int dirflush = 1;
--extern int LINES, COLS;
-+int LINES, COLS;
- int usecolor = 0;
- WIN *stdwin;
- char *_tptr = CNULL;
+   /* Special IBM box-drawing characters */
+   D_UL  = 201;
+
Index: patch-minirc.dfl
===================================================================
RCS file: /home/cvs/mports/comms/minicom/files/patch-minirc.dfl,v
retrieving revision 1.1
retrieving revision 1.2
diff -L comms/minicom/files/patch-minirc.dfl -L comms/minicom/files/patch-minirc.dfl -u -r1.1 -r1.2
--- comms/minicom/files/patch-minirc.dfl
+++ comms/minicom/files/patch-minirc.dfl
@@ -1,9 +1,9 @@
---- doc/minirc.dfl.orig	Sun Jan 27 23:21:45 2002
-+++ doc/minirc.dfl	Sun Jan 27 23:21:49 2002
+--- doc/minirc.dfl.orig 2003-03-30 20:55:39.000000000 +0200
++++ doc/minirc.dfl      2008-04-17 20:17:35.000000000 +0200
 @@ -1,2 +1,7 @@
- # $Id: minirc.dfl,v 1.1.1.1 1999/12/18 11:18:51 misiek Exp $
+ # $Id: minirc.dfl,v 1.1.1.1 2003/03/30 18:55:39 al-guest Exp $
  # Machine-generated file - use "minicom -s" to change parameters.
-+pr port             /dev/cuaa0
++pr port             /dev/cuad0
 +pu baudrate         9600
 +pu bits             8
 +pu parity           N
--- comms/minicom/files/patch-ag
+++ /dev/null
@@ -1,26 +0,0 @@
---- src/windiv.c.orig	Mon Jan 31 21:12:08 2000
-+++ src/windiv.c	Sun Jan 27 19:05:05 2002
-@@ -19,6 +19,7 @@
- #include "rcsid.h"
- RCSID("$Id: windiv.c,v 1.2 2000/01/27 11:25:31 misiek Exp $")
- 
-+#include <sys/types.h>
- #include <dirent.h>
- #include <sys/stat.h>
- #include "port.h"
-@@ -251,8 +252,14 @@
- 
-       /* get regular files */
-       dirlist[nCnt].d_ino    = dirent->d_ino;
--      dirlist[nCnt].d_off    = dirent->d_off;
-       dirlist[nCnt].d_reclen = dirent->d_reclen;
-+#if (defined(BSD) && (BSD >= 199306))
-+      dirlist[nCnt].d_type   = dirent->d_type;
-+      dirlist[nCnt].d_namlen = dirent->d_namlen;
-+#else
-+      dirlist[nCnt].d_off    = dirent->d_off;
-+#endif
-+
-       strcpy(dirlist[nCnt].d_name, dirent->d_name );
-       nMaxWidth = max(nMaxWidth, strlen(dirent->d_name));
-       nCnt++;
--- comms/minicom/files/patch-lib-Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/Makefile.in.orig	Wed Jul 23 04:04:52 2003
-+++ lib/Makefile.in	Wed Jul 23 04:05:33 2003
-@@ -76,7 +76,7 @@
- INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
- KEYSERV = @KEYSERV@
- LIBICONV = @LIBICONV@
--LIBOBJS = @LIBOBJS@
-+LIBOBJS = @LIBOBJS@ getopt.o getopt_long.o
- LIBPORT_GETOPT_LONG_DEP = @LIBPORT_GETOPT_LONG_DEP@
- MAKEINFO = @MAKEINFO@
- MKINSTALLDIRS = @MKINSTALLDIRS@
-@@ -109,7 +109,7 @@
- CPPFLAGS = @CPPFLAGS@
- LDFLAGS = @LDFLAGS@
- LIBS = @LIBS@
--libport_a_DEPENDENCIES =  @LIBOBJS@
-+libport_a_DEPENDENCIES =  @LIBOBJS@ getopt.o getopt_long.o
- libport_a_OBJECTS = 
- AR = ar
- CFLAGS = @CFLAGS@
--- comms/minicom/files/patch-src-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/Makefile.in.orig	Sun May 18 11:46:03 2003
-+++ src/Makefile.in	Wed Jul 23 04:12:27 2003
-@@ -119,9 +119,9 @@
- 
- CPPFLAGS = @CPPFLAGS@  -I$(top_srcdir)/lib
- 
--minicom_LDADD = @INTLLIBS@ $(MINICOM_LIBPORT)
-+minicom_LDADD = @INTLLIBS@ $(MINICOM_LIBPORT) ../lib/getopt.o ../lib/getopt_long.o
- 
--runscript_LDADD = @INTLLIBS@
-+runscript_LDADD = @INTLLIBS@ ../lib/getopt.o ../lib/getopt_long.o
- 
- EXTRA_DIST = functions.c xminicom
- mkinstalldirs = $(SHELL) $(top_srcdir)/aux/mkinstalldirs
Index: patch-sysdep1.c
===================================================================
RCS file: /home/cvs/mports/comms/minicom/files/patch-sysdep1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -L comms/minicom/files/patch-sysdep1.c -L comms/minicom/files/patch-sysdep1.c -u -r1.1 -r1.2
--- comms/minicom/files/patch-sysdep1.c
+++ comms/minicom/files/patch-sysdep1.c
@@ -1,6 +1,6 @@
---- src/sysdep1.c.orig	Wed Jul 23 04:06:53 2003
-+++ src/sysdep1.c	Wed Jul 23 04:10:29 2003
-@@ -82,13 +82,13 @@
+--- src/sysdep1.c.orig	2007-10-10 22:18:20.000000000 +0200
++++ src/sysdep1.c	2008-04-17 19:48:58.000000000 +0200
+@@ -84,13 +84,13 @@
    if (portfd_is_socket)
      return;
  #endif
@@ -17,21 +17,21 @@
    }
  #endif
  #ifdef _COHERENT
-@@ -215,11 +215,11 @@
+@@ -213,11 +213,11 @@
      return portfd_is_connected;
    }
  #endif
 -#ifdef TIOCMODG
-+#ifdef TIOCMGET
++#ifdef TIOCMODGET
    {
-     int mcs=0;
-      
--    ioctl(fd, TIOCMODG, &mcs);
-+    ioctl(fd, TIOCMGET, &mcs);
-     return(mcs & TIOCM_CAR ? 1 : 0);
+     int mcs = 0;
+ 
+-    if (ioctl(fd, TIOCMODG, &mcs) < 0)
++    if (ioctl(fd, TIOCMODGET, &mcs) < 0)
+       return -1;
+     return mcs & TIOCM_CAR ? 1 : 0;
    }
- #else
-@@ -262,8 +262,8 @@
+@@ -260,8 +260,8 @@
    ioctl(fd, TIOCLGET, &lsw);
  #  endif
  #endif
@@ -42,7 +42,7 @@
  #endif
  }
  
-@@ -288,8 +288,8 @@
+@@ -285,8 +285,8 @@
    ioctl(fd, TIOCLSET, &lsw);
  #  endif
  #endif
@@ -52,4 +52,4 @@
 +  ioctl(fd, TIOCMSET, &m_word);
  #endif
  }
- 
+
Index: patch-ac
===================================================================
RCS file: /home/cvs/mports/comms/minicom/files/patch-ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -L comms/minicom/files/patch-ac -L comms/minicom/files/patch-ac -u -r1.1 -r1.2
--- comms/minicom/files/patch-ac
+++ comms/minicom/files/patch-ac
@@ -1,11 +1,11 @@
---- src/updown.c.orig	Sun Jan 27 18:45:22 2002
-+++ src/updown.c	Sun Jan 27 18:45:58 2002
-@@ -245,7 +245,7 @@
+--- src/updown.c.orig   2008-04-17 19:52:52.000000000 +0200
++++ src/updown.c        2008-04-17 19:53:27.000000000 +0200
+@@ -244,7 +244,7 @@
      do_log("%s", cmdline);   /* jl 22.06.97 */
  
    if (P_PFULL(g) == 'N') {
--    win = wopen(10, 7, 70, 13, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
-+    win = wopen(5, 5, 74, 11, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
+-    win = mc_wopen(10, 7, 70, 13, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
++    win = mc_wopen(5, 5, 74, 11, BSINGLE, stdattr, mfcolor, mbcolor, 1,0, 1);
      snprintf(title, sizeof(title), _("%.30s %s - Press CTRL-C to quit"), P_PNAME(g),
  	    what == 'U' ? _("upload") : _("download"));
-     wtitle(win, TMID, title);
+     mc_wtitle(win, TMID, title);
--- comms/minicom/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig	Mon Oct  1 14:21:54 2001
-+++ configure	Mon May 20 14:24:41 2002
-@@ -4893,7 +4893,7 @@
- fi
- 
- 
--for ac_func in snprintf usleep getopt getopt_long
-+for ac_func in snprintf usleep
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- echo "configure:4900: checking for $ac_func" >&5
--- /dev/null
+++ comms/minicom/files/patch-src-minicom.h
@@ -0,0 +1,10 @@
+--- src/minicom.h.orig	2008-04-17 20:06:14.000000000 +0200
++++ src/minicom.h	2008-04-17 20:06:22.000000000 +0200
+@@ -34,6 +34,7 @@
+ #include "libport.h"
+ 
+ #include <time.h>
++#include <limits.h>
+ 
+ #ifdef USE_SOCKET
+ #include <sys/socket.h>


More information about the Midnightbsd-cvs mailing list