Subject: pkg/22867: Update of package comms/mgetty+sendfax
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <sfortier@wishbone-tech.com>
List: netbsd-bugs
Date: 09/20/2003 00:52:53
>Number:         22867
>Category:       pkg
>Synopsis:       Update of package comms/mgetty+sendfax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 20 00:53:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stephane Fortier
>Release:        1.6.1
>Organization:
>Environment:
NA
>Description:
This new version of mgetty supports more voice formats that are common on modern modems.

Changes:

Upgraded Makefile and patches to mgetty1.1.30-Dec16
Added
PKG_GROUPS=             dialer
PKG_USERS=              fax:dialer
to the Makefile since faxrunq(d) now runs a user "fax"
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile	2003/08/30 22:51:13	1.34
+++ Makefile	2003/09/20 00:34:14
@@ -2,9 +2,8 @@
 # FreeBSD Id: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp
 #
 
-DISTNAME=	mgetty1.1.28-Jan10
-PKGNAME=	mgetty-1.1.28
-PKGREVISION=	3
+DISTNAME=	mgetty1.1.30-Dec16
+PKGNAME=	mgetty-1.1.30
 WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
 CATEGORIES=	comms
 MASTER_SITES=	ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/ \
@@ -40,6 +39,9 @@
 CONF_FILES+=		${_EXAMPLES_DIR}/${cfg} ${PKG_SYSCONFDIR}/${cfg}
 . endfor
 .endif
+
+PKG_GROUPS=		dialer
+PKG_USERS=		fax:dialer 
 
 _EXAMPLES_DIR=		${PREFIX}/share/examples/mgetty+sendfax
 MAKE_DIRS_PERMS+=	/var/spool/fax ${ROOT_USER} ${ROOT_GROUP} 755
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- distinfo	2003/02/27 21:43:36	1.11
+++ distinfo	2003/09/20 00:34:14
@@ -1,15 +1,15 @@
 $NetBSD: distinfo,v 1.11 2003/02/27 21:43:36 fredb Exp $
 
-SHA1 (mgetty1.1.28-Jan10.tar.gz) = b0c33bf5f5137f17f8d1fbd529c5ba6f0afb9dbc
-Size (mgetty1.1.28-Jan10.tar.gz) = 964610 bytes
-SHA1 (patch-aa) = 249ec3d2425d359a5d89241978ff9ac6122d0eb6
-SHA1 (patch-ab) = ca2ff2961b045b66a3aedf692ce83e8fc6ecdd09
-SHA1 (patch-ac) = 1ff9866dd8a54fca4fa59d5144117fa3b46a9b4f
-SHA1 (patch-ad) = 27fcebfe959a1d24657f504b89017fa3a58ae6c1
-SHA1 (patch-ae) = f274db8059463f8b915c2d2faa86aa0e956e5a2c
-SHA1 (patch-ag) = 943aa837a285663ff6cf5ab07c3f908f499c2074
-SHA1 (patch-ai) = 98eba401e1b422e2f759eca00132a75e68518f4d
-SHA1 (patch-aj) = d03345166f70270d05ae478287165089bd832c16
-SHA1 (patch-ak) = 18f9570f35909089a4083fa24903dfea14dcc475
-SHA1 (patch-al) = 2a6dcf13d65446d2064228b1024517e599892a60
-SHA1 (patch-am) = 6b7516b3f857f65c0ecc7963f39e433e4ef8771d
+SHA1 (mgetty1.1.30-Dec16.tar.gz) = aea2a4c999f167e2311e797b164d4797baf328c4
+Size (mgetty1.1.30-Dec16.tar.gz) = 969967 bytes
+SHA1 (patch-aa) = 52a6537290c2b8e4d71a8ccb0d015a583d718782
+SHA1 (patch-ab) = e058fe9a7fb9693770602b475824c0f10e67142e
+SHA1 (patch-ac) = ef075ea5e0fa1eaeb0923c5d556a02bbd648b13c
+SHA1 (patch-ad) = 9b2b440c1371ad8df8689196e987fc19281c0766
+SHA1 (patch-ae) = fb548d6e002f35718beea57a07896d57887844fd
+SHA1 (patch-af) = 989e0ebfe0a64dc9b33b8eb28ebdbd0ccccece0c
+SHA1 (patch-ag) = c7a77717d83afc2db977a93b83b7dd291efb2fd7
+SHA1 (patch-ah) = 6d3a2929e802ba39957a514bd596b58f2fa363be
+SHA1 (patch-ai) = bba8ca0e1c5cf1603aef9312247e967e934fa455
+SHA1 (patch-aj) = 33865347871b7014345156385d33b16eaa37d656
+SHA1 (patch-ak) = a129c8178e47f16915f3dee6a71405f63b1661b9
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patches/patch-aa	1998/11/15 20:45:30	1.2
+++ patches/patch-aa	2003/09/20 00:34:14
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 1998/11/15 20:45:30 tron Exp $
+$NetBSD$
 
---- fax/faxspool.in.orig	Fri Aug  8 21:43:55 1997
-+++ fax/faxspool.in	Mon Dec 29 22:31:59 1997
-@@ -299,11 +299,11 @@
+--- fax/faxspool.in.orig	Fri Sep 19 15:47:01 2003
++++ fax/faxspool.in
+@@ -361,11 +361,11 @@ fs_cvt_pdf()
  # user name (for authentification)
  ##########
  
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ab,v
retrieving revision 1.5
diff -u -r1.5 patch-ab
--- patches/patch-ab	2001/06/21 17:02:24	1.5
+++ patches/patch-ab	2003/09/20 00:34:15
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.5 2001/06/21 17:02:24 fredb Exp $
+$NetBSD$
 
---- Makefile.orig	Sun Feb 25 06:33:49 2001
+--- Makefile.orig	Fri Sep 19 15:47:11 2003
 +++ Makefile
 @@ -4,8 +4,8 @@
  #
@@ -13,7 +13,7 @@
  #
  #### C Compiler Flags ####
  #
-@@ -107,7 +107,7 @@
+@@ -107,7 +107,7 @@ CC=gcc
  # prompt first. Don't forget to activate the /AutoPPP/ line in login.config!
  #
  #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
@@ -22,7 +22,7 @@
  #CFLAGS=-O -DSVR4
  #CFLAGS=-O -DSVR4 -DSVR42
  #CFLAGS=-O -DUSE_POLL
-@@ -149,7 +149,7 @@
+@@ -149,7 +149,7 @@ CFLAGS=-O2 -Wall -pipe
  # For Linux, add "-lutil" if the linker complains about "updwtmp".
  #
  LDFLAGS=
@@ -31,7 +31,7 @@
  #LIBS=-lprot -lsocket				# SCO Unix
  #LIBS=-lsocket
  #LIBS=-lbsd					# OSF/1
-@@ -169,15 +169,15 @@
+@@ -169,15 +169,15 @@ LIBS=
  #
  # if your systems doesn't have one, use the shell script that I provide
  # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
@@ -50,7 +50,7 @@
  #
  # prefix for all the spool directories (usually /usr/spool or /var/spool)
  #
-@@ -185,20 +185,20 @@
+@@ -185,20 +185,20 @@ spool=/var/spool
  #
  # where the mgetty + sendfax binaries live (used for "make install")
  #
@@ -75,8 +75,8 @@
 +CONF_EXAMPLES_DIR=${PREFIX}/share/examples/mgetty+sendfax
  #
  #
- # where PID and status files (mgetty.pid, faxrunqd.pid, 
-@@ -216,20 +216,20 @@
+ # where mgetty PID files (mgetty.pid) go to
+@@ -224,20 +224,20 @@ FAX_OUT_USER=fax
  #
  #
  # Where section 1 manual pages should be placed
@@ -102,7 +102,7 @@
  #
  #
  # A shell that understands bourne-shell syntax
-@@ -254,7 +254,7 @@
+@@ -262,7 +262,7 @@ PERL="/usr/bin/perl -w"
  # If you have Perl with TK extentions, define it here. This may be the
  # same as PERL=... above, or different, if you have TkPerl statically
  # linked.
@@ -111,7 +111,7 @@
  #
  #
  # An echo program that understands escapes like "\n" for newline or
-@@ -266,9 +266,9 @@
+@@ -274,9 +274,9 @@ TKPERL=/usr/bin/tkperl
  # please use the "mg.echo" program provided in the compat/ subdirectory.
  # Set ECHO="mg.echo" and INSTALL_MECHO to mg.echo
  #
@@ -123,7 +123,7 @@
  
  #
  # for mgetty, that's it. If you want to use the voice
-@@ -276,7 +276,7 @@
+@@ -284,7 +284,7 @@ ECHO="echo"
  
  # To maintain security, I recommend creating a new group for
  # users who are allowed to manipulate the recorded voice messages.
@@ -132,7 +132,7 @@
  PHONE_PERMS=770
  
  # Add -DNO_STRSTR to CFLAGS if you don't have strstr().
-@@ -308,7 +308,7 @@
+@@ -316,7 +316,7 @@ SFAXOBJ=sendfax.o logfile.o locks.o mode
  
  all:	bin-all doc-all
  
@@ -141,7 +141,7 @@
  
  # a few C files need extra compiler arguments
  
-@@ -559,8 +559,8 @@
+@@ -568,8 +568,8 @@ newslock: compat/newslock.c
  # internal: use this to create a "clean" mgetty+sendfax tree
  bindist: all doc-all sedscript
  	-rm -rf bindist
@@ -152,7 +152,7 @@
  		BINDIR=$$bd$(BINDIR) SBINDIR=$$bd$(SBINDIR) \
  		LIBDIR=$$bd$(LIBDIR) CONFDIR=$$bd$(CONFDIR) \
  		spool=$$bd$(spool) FAX_SPOOL=$$bd$(FAX_SPOOL) \
-@@ -572,7 +572,7 @@
+@@ -581,7 +581,7 @@ bindist: all doc-all sedscript
  	cd bindist; gtar cvvfz mgetty$(MR).$(SR)-bin.tgz *
  
  
@@ -161,7 +161,7 @@
  
  install.bin: mgetty sendfax newslock \
  		login.config mgetty.config sendfax.config 
-@@ -580,7 +580,7 @@
+@@ -589,7 +589,7 @@ install.bin: mgetty sendfax newslock \
  # binaries
  #
  	-test -d $(BINDIR)  || ( ./mkidirs $(BINDIR)  ; chmod 755 $(BINDIR)  )
@@ -170,7 +170,7 @@
  
  	-test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
  	-mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
-@@ -592,18 +592,13 @@
+@@ -601,18 +601,13 @@ install.bin: mgetty sendfax newslock \
  #
  	test -d $(LIBDIR)  || \
  		( ./mkidirs $(LIBDIR) ; chmod 755 $(LIBDIR) )
@@ -185,14 +185,14 @@
 -	test -f $(CONFDIR)/dialin.config || \
 -		$(INSTALL) -o root -m 600 dialin.config $(CONFDIR)/
 -	test -f $(CONFDIR)/faxrunq.config || \
--		$(INSTALL) -o root -m 600 faxrunq.config $(CONFDIR)/
+-		$(INSTALL) -o root -m 644 faxrunq.config $(CONFDIR)/
 +	test -d $(CONF_EXAMPLES_DIR) || \
 +		( ./mkidirs $(CONF_EXAMPLES_DIR); chmod 755 $(CONF_EXAMPLES_DIR))
 +	$(INSTALL) -o root -m 600 login.config $(CONF_EXAMPLES_DIR)/
 +	$(INSTALL) -o root -m 600 mgetty.config $(CONF_EXAMPLES_DIR)/
 +	$(INSTALL) -o root -m 644 sendfax.config $(CONF_EXAMPLES_DIR)/
 +	$(INSTALL) -o root -m 600 dialin.config $(CONF_EXAMPLES_DIR)/
-+	$(INSTALL) -o root -m 600 faxrunq.config $(CONF_EXAMPLES_DIR)/
++	$(INSTALL) -o root -m 644 faxrunq.config $(CONF_EXAMPLES_DIR)/
  #
  # test for outdated stuff
  #
Index: patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ac,v
retrieving revision 1.3
diff -u -r1.3 patch-ac
--- patches/patch-ac	2002/03/09 17:17:06	1.3
+++ patches/patch-ac	2003/09/20 00:34:15
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.3 2002/03/09 17:17:06 fredb Exp $
+$NetBSD$
 
---- voice/Makefile.orig	Sun Dec 23 09:08:13 2001
+--- voice/Makefile.orig	Fri Sep 19 15:47:24 2003
 +++ voice/Makefile
-@@ -92,11 +92,11 @@
+@@ -92,11 +92,11 @@ vgetty-install: vgetty-all
  	$(INSTALL) -m 644 man/man1/zplay.1 $(MAN1DIR)
  	$(INSTALL) -m 644 man/man1/pvf.1 $(MAN1DIR)
  	$(INSTALL) -m 644 man/man8/vgetty.8 $(MAN8DIR)
Index: patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ad,v
retrieving revision 1.4
diff -u -r1.4 patch-ad
--- patches/patch-ad	2002/03/06 19:19:02	1.4
+++ patches/patch-ad	2003/09/20 00:34:15
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.4 2002/03/06 19:19:02 fredb Exp $
+$NetBSD$
 
---- doc/Makefile.orig	Thu Nov 27 14:33:26 1997
+--- doc/Makefile.orig	Fri Sep 19 15:47:34 2003
 +++ doc/Makefile
 @@ -6,7 +6,7 @@
  NROFF=nroff
@@ -11,7 +11,7 @@
  	  faxspool.1 faxrunq.1 faxq.1 faxrm.1 coverpg.1
  MAN4PAGES=mgettydefs.4
  MAN5PAGES=faxqueue.5
-@@ -26,7 +26,7 @@
+@@ -26,7 +26,7 @@ MAN_FMT_PRG=$(NROFF) -man
  
  all:
  
@@ -20,7 +20,7 @@
  
  manpages: $(MANSRC)
  
-@@ -43,7 +43,7 @@
+@@ -43,7 +43,7 @@ mgetty.html: mgetty.texi
  	-texi2html -verbose mgetty.texi
  
  mgetty.info: mgetty.texi
@@ -29,7 +29,7 @@
  
  mgetty.ps: mgetty.dvi
  	-dvips -o mgetty.ps mgetty.dvi
-@@ -98,7 +98,7 @@
+@@ -98,7 +98,7 @@ doc-tar: ../mgetty0$(VS)doc.tar.gz
  
  # explicit man page dependencies
  
Index: patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ae,v
retrieving revision 1.2
diff -u -r1.2 patch-ae
--- patches/patch-ae	2002/03/09 17:17:06	1.2
+++ patches/patch-ae	2003/09/20 00:34:15
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.2 2002/03/09 17:17:06 fredb Exp $
+$NetBSD$
 
---- doc/mgetty.texi-in.orig	Sun Jan  6 11:40:55 2002
+--- doc/mgetty.texi-in.orig	Fri Sep 19 15:47:44 2003
 +++ doc/mgetty.texi-in
 @@ -7,6 +7,10 @@
  @finalout
@@ -13,7 +13,7 @@
  This is the online documentation for the mgetty + sendfax
  package.
  
-@@ -3718,7 +3722,7 @@
+@@ -3756,7 +3760,7 @@ Mgetty should be run from @file{/etc/tty
  @code{man ttys} (there is no @file{/etc/inittab}).
  
  Open issues:
Index: patches/patch-ag
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ag,v
retrieving revision 1.1
diff -u -r1.1 patch-ag
--- patches/patch-ag	1999/05/07 19:35:27	1.1
+++ patches/patch-ag	2003/09/20 00:34:15
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.1 1999/05/07 19:35:27 tron Exp $
+$NetBSD$
 
---- g3/Makefile.orig	Mon Feb  3 00:45:58 1997
-+++ g3/Makefile	Fri May  7 21:29:43 1999
-@@ -42,5 +42,5 @@
+--- g3/Makefile.orig	Fri Sep 19 15:47:52 2003
++++ g3/Makefile
+@@ -42,5 +42,5 @@ install: all
  #
  # make symlink for "g3topbm" (so third-party fax viewers won't fail)
  #
Index: patches/patch-ai
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ai,v
retrieving revision 1.1
diff -u -r1.1 patch-ai
--- patches/patch-ai	2001/06/21 17:02:24	1.1
+++ patches/patch-ai	2003/09/20 00:34:15
@@ -1,18 +1,18 @@
-$NetBSD: patch-ai,v 1.1 2001/06/21 17:02:24 fredb Exp $
+$NetBSD$
 
---- fax/Makefile.orig	Sat Jul 24 16:27:24 1999
+--- fax/Makefile.orig	Fri Sep 19 15:48:00 2003
 +++ fax/Makefile
-@@ -9,6 +9,9 @@
+@@ -12,6 +12,9 @@ FAX_SCRIPTS=faxspool faxrunq faxq faxrm 
+ zigzag: 
+ 	cd .. ; $(MAKE) subdirs
  
- FAX_SCRIPTS=faxspool faxrunq faxq faxrm 
- 
 +CONFDIR=${MGETTY_CONFDIR}
 +CONF_EXAMPLES_DIR=${PREFIX}/share/examples/mgetty+sendfax
 +
- all: $(FAX_SCRIPTS) faxrunqd faxheader
+ all: $(FAX_SCRIPTS) faxrunqd faxheader faxq-helper
  
  faxspool: faxspool.in ../sedscript
-@@ -53,8 +56,8 @@
+@@ -68,8 +71,8 @@ install: all
  #
  	$(INSTALL) -m 644 cour25.pbm $(LIBDIR)
  	$(INSTALL) -m 644 cour25n.pbm $(LIBDIR)
@@ -23,7 +23,7 @@
  #
  # /etc/magic
  #
-@@ -67,4 +70,4 @@
+@@ -82,4 +85,4 @@ install: all
  #
  # faxspool.rules sample file
  #
Index: patches/patch-aj
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-aj,v
retrieving revision 1.2
diff -u -r1.2 patch-aj
--- patches/patch-aj	2003/02/27 17:13:38	1.2
+++ patches/patch-aj	2003/09/20 00:34:15
@@ -1,10 +1,10 @@
-$NetBSD: patch-aj,v 1.2 2003/02/27 17:13:38 fredb Exp $
+$NetBSD$
 
---- doc/fax.1in.orig	Sun Jan 12 08:52:30 1997
+--- doc/fax.1in.orig	Fri Sep 19 15:48:08 2003
 +++ doc/fax.1in
 @@ -1,7 +1,7 @@
--.TH fax 1 "27 Oct 94" "greenie" "mgetty+sendfax manual"
-+.TH sendfax 1 "27 Oct 94" "greenie" "mgetty+sendfax manual"
+-.TH fax 1 "23 Nov 02" "greenie" "mgetty+sendfax manual"
++.TH sendfax 1 "23 Nov 02" "greenie" "mgetty+sendfax manual"
  .IX fax
  .SH NAME
 -fax \- fax sending and receiving with mgetty+sendfax
Index: patches/patch-ak
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-ak,v
retrieving revision 1.1
diff -u -r1.1 patch-ak
--- patches/patch-ak	2003/02/26 21:45:44	1.1
+++ patches/patch-ak	2003/09/20 00:34:15
@@ -1,6 +1,6 @@
-$NetBSD: patch-ak,v 1.1 2003/02/26 21:45:44 fredb Exp $
+$NetBSD$
 
---- mg_utmp.h.orig	1997-01-12 08:53:42.000000000 -0600
+--- mg_utmp.h.orig	Fri Sep 19 15:48:15 2003
 +++ mg_utmp.h
 @@ -4,6 +4,22 @@
   * highly SysV / BSD dependent
@@ -25,7 +25,7 @@
  #if !defined(sunos4) && !defined(BSD) && !defined(ultrix) /* SysV style */
  
  #ifdef SVR4			/* on SVR4, use extended utmpx file */
-@@ -42,6 +58,7 @@
+@@ -42,6 +58,7 @@ void setutent();
  #define UT_USER		2
  
  #endif						/* SysV vs. BSD */
Index: patches/patch-al
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-al,v
retrieving revision 1.3
diff -u -r1.3 patch-al
--- patches/patch-al	2003/02/27 21:43:36	1.3
+++ patches/patch-al	2003/09/20 00:34:15
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.3 2003/02/27 21:43:36 fredb Exp $
+$NetBSD$
 
---- utmp.c.orig	2001-12-17 16:43:25.000000000 -0600
+--- utmp.c.orig	Fri Sep 19 15:48:22 2003
 +++ utmp.c
 @@ -7,7 +7,7 @@
  
@@ -27,7 +27,7 @@
  #endif
  
  #if defined(_3B1_) || defined(MEIBE) || defined(ISC)
-@@ -42,8 +43,14 @@
+@@ -42,8 +43,14 @@ typedef short pid_t;
  # endif
  #endif
  
@@ -43,7 +43,7 @@
  /* on SunOS (and other BSD-derived systems), the getty process does *
   * not have to care for the utmp entries, login and init do all the work
   * Anyway, we have to _read_ it to get the number of users logged in.
-@@ -109,26 +116,74 @@
+@@ -109,26 +116,74 @@ void make_utmp_wtmp _P4( (line, ut_type,
  {
  struct utmp *utmp;
  pid_t	pid;
@@ -123,7 +123,7 @@
  	    if (ut_host != NULL)
  	    {
  	    	strncpy( utmp->ut_host, ut_host, sizeof( utmp->ut_host ) - 1);
-@@ -138,7 +193,7 @@
+@@ -138,7 +193,7 @@ FILE *	fp;
  	    }
  #endif		/* SVR4 */
  
@@ -132,7 +132,7 @@
  	    if ( pututline(utmp) == NULL )
  	    {
  		lprintf( L_ERROR, "cannot create utmp entry" );
-@@ -151,7 +206,7 @@
+@@ -151,7 +206,7 @@ FILE *	fp;
  	    /* write same record to end of wtmp
  	     * if wtmp file exists
  	     */
Index: patches/patch-am
===================================================================
RCS file: /cvsroot/pkgsrc/comms/mgetty+sendfax/patches/patch-am,v
retrieving revision 1.1
diff -u -r1.1 patch-am
--- patches/patch-am	2003/02/26 21:45:46	1.1
+++ patches/patch-am	2003/09/20 00:34:15
@@ -1,8 +1,8 @@
-$NetBSD: patch-am,v 1.1 2003/02/26 21:45:46 fredb Exp $
+$NetBSD$
 
---- mgetty.c.orig	2002-12-05 05:54:03.000000000 -0600
+--- mgetty.c.orig	Fri Sep 19 15:48:31 2003
 +++ mgetty.c
-@@ -512,7 +512,8 @@
+@@ -512,7 +512,8 @@ int main _P2((argc, argv), int argc, cha
  
      rmlocks();	
  

>Release-Note:
>Audit-Trail:
>Unformatted: