Index: mgetty+sendfax//Makefile
===================================================================
RCS file: /cvs/ports/comms/mgetty+sendfax/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- mgetty+sendfax//Makefile	15 Oct 2006 16:07:07 -0000	1.31
+++ mgetty+sendfax//Makefile	16 Oct 2006 11:53:10 -0000
@@ -5,7 +5,7 @@
 VERSION=	1.1.35
 RELEASE=	Feb22
 DISTNAME=	mgetty${VERSION}-${RELEASE}
-PKGNAME=	mgetty+sendfax-${VERSION}p0
+PKGNAME=	mgetty+sendfax-${VERSION}p1
 CATEGORIES=	comms
 
 HOMEPAGE=	http://mgetty.greenie.net/
Index: mgetty+sendfax//files/setup
===================================================================
RCS file: /cvs/ports/comms/mgetty+sendfax/files/setup,v
retrieving revision 1.2
diff -u -r1.2 setup
--- mgetty+sendfax//files/setup	25 Sep 2005 18:18:23 -0000	1.2
+++ mgetty+sendfax//files/setup	16 Oct 2006 11:53:10 -0000
@@ -83,7 +83,7 @@
     foreach $port (split) {
 	if ($tty =~ /^\s*$port/) {
 	    print STDERR "replacing line $tty";
-	    $tty = "$port\t\"@prefix@/sbin/mgetty\"\tunknown\ton\n";
+	    $tty = "$port\t\"@prefix@/libexec/mgetty\"\tunknown\ton\n";
 	    $replaced{$port} = 1;
 	}
     }
@@ -92,7 +92,7 @@
 foreach $port (split) {
     if (!$replaced{$port}) {
 	print STDERR "adding port $port\n";
-	push (@ttys, "$port\t\"@prefix@/sbin/mgetty\"\tunknown\ton\n");
+	push (@ttys, "$port\t\"@prefix@/libexec/mgetty\"\tunknown\ton\n");
     }
 }
 system ("mv -f /etc/ttys /etc/ttys.old");
Index: mgetty+sendfax//patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/comms/mgetty+sendfax/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -r1.2 patch-Makefile
--- mgetty+sendfax//patches/patch-Makefile	14 Jan 2006 11:59:39 -0000	1.2
+++ mgetty+sendfax//patches/patch-Makefile	16 Oct 2006 11:53:11 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-Makefile,v 1.2 2006/01/14 11:59:39 steven Exp $
---- Makefile.orig	Sun Nov 27 09:16:49 2005
-+++ Makefile	Sat Jan 14 12:04:26 2006
+--- Makefile.orig	Wed Feb 22 14:58:33 2006
++++ Makefile	Mon Oct 16 13:36:38 2006
 @@ -4,7 +4,7 @@
  #
  # this is the C compiler to use (on SunOS, the standard "cc" does not
@@ -96,7 +96,7 @@
  
  # a few C files need extra compiler arguments
  
-@@ -576,7 +576,7 @@ bindist: all doc-all sedscript
+@@ -578,7 +578,7 @@ bindist: all doc-all sedscript
  	cd bindist; gtar cvvfz mgetty$(MR).$(SR)-bin.tgz *
  
  
@@ -105,7 +105,7 @@
  
  install.bin: mgetty sendfax newslock \
  		login.config mgetty.config sendfax.config 
-@@ -584,30 +584,31 @@ install.bin: mgetty sendfax newslock \
+@@ -586,30 +586,31 @@ install.bin: mgetty sendfax newslock \
  # binaries
  #
  	-test -d $(BINDIR)  || ( ./mkidirs $(BINDIR)  ; chmod 755 $(BINDIR)  )
@@ -119,7 +119,7 @@
 -	$(INSTALL) -s -m 755 sendfax $(SBINDIR)
 +#	-mv -f $(SBINDIR)/mgetty $(SBINDIR)/mgetty.old
 +#	-mv -f $(SBINDIR)/sendfax $(SBINDIR)/sendfax.old
-+	$(BSD_INSTALL_PROGRAM) -m 700 mgetty $(SBINDIR)
++	$(BSD_INSTALL_PROGRAM) -m 700 mgetty $(prefix)/libexec
 +	$(BSD_INSTALL_PROGRAM) sendfax $(SBINDIR)
 +	$(BSD_INSTALL_PROGRAM) callback/callback $(SBINDIR)
  #
@@ -154,7 +154,7 @@
  #
  # test for outdated stuff
  #
-@@ -621,28 +622,28 @@ install.bin: mgetty sendfax newslock \
+@@ -623,28 +624,28 @@ install.bin: mgetty sendfax newslock \
  #
  # fax spool directories
  #
@@ -197,7 +197,7 @@
  				FAX_OUT_USER=$(FAX_OUT_USER) \
  				BINDIR=$(BINDIR) SBINDIR=$(SBINDIR) \
  				LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
-@@ -652,14 +653,14 @@ install.bin: mgetty sendfax newslock \
+@@ -654,14 +655,14 @@ install.bin: mgetty sendfax newslock \
  	if [ ! -z "$(INSTALL_MECHO)" ] ; then \
  	    cd compat ; \
  	    $(CC) $(CFLAGS) -o mg.echo mg.echo.c && \
@@ -214,7 +214,7 @@
  				MAN1DIR=$(MAN1DIR) \
  				MAN4DIR=$(MAN4DIR) \
  				MAN5DIR=$(MAN5DIR) \
-@@ -670,7 +671,7 @@ install.doc:
+@@ -672,7 +673,7 @@ install.doc:
  # WWW frontend stuff
  #
  install.www:
@@ -223,3 +223,12 @@
  				BINDIR=$(BINDIR) \
  				LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
  #
+@@ -690,7 +691,7 @@ vgetty:
+ 
+ vgetty-install: sedscript
+ 	cd voice; $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" LDFLAGS="$(LDFLAGS)" \
+-	BINDIR="$(BINDIR)" SBINDIR="$(SBINDIR)" LIBDIR="$(LIBDIR)" \
++	BINDIR="$(BINDIR)" SBINDIR="$(prefix)/libexec" LIBDIR="$(LIBDIR)" \
+ 	CONFDIR="$(CONFDIR)" MAN1DIR="$(MAN1DIR)" MAN8DIR="$(MAN8DIR)" INSTALL="$(INSTALL)" \
+ 	PHONE_GROUP="$(PHONE_GROUP)" PHONE_PERMS="$(PHONE_PERMS)" \
+ 	LN="$(LN)" MV="$(MV)" RM="$(RM)" \
Index: mgetty+sendfax//patches/patch-policy_h_dist
===================================================================
RCS file: /cvs/ports/comms/mgetty+sendfax/patches/patch-policy_h_dist,v
retrieving revision 1.2
diff -u -r1.2 patch-policy_h_dist
--- mgetty+sendfax//patches/patch-policy_h_dist	14 Jan 2006 11:59:39 -0000	1.2
+++ mgetty+sendfax//patches/patch-policy_h_dist	16 Oct 2006 11:53:11 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-policy_h_dist,v 1.2 2006/01/14 11:59:39 steven Exp $
---- policy.h-dist.orig	Wed Nov 30 09:47:42 2005
-+++ policy.h-dist	Sat Jan 14 12:04:26 2006
+--- policy.h-dist.orig	Wed Feb 22 14:56:31 2006
++++ policy.h-dist	Mon Oct 16 13:28:34 2006
 @@ -48,7 +48,7 @@
   * Normally, this is "/bin/login", just a few systems put "login"
   * elsewhere (e.g. Free/NetBSD in "/usr/bin/login").
@@ -28,7 +28,7 @@
  #  define LOCK "/var/spool/lock/LCK..%s"
  # endif 
  #endif
-@@ -576,7 +576,7 @@
+@@ -564,7 +564,7 @@
  #endif
  
  #ifndef MAILER
Index: mgetty+sendfax//pkg/PLIST
===================================================================
RCS file: /cvs/ports/comms/mgetty+sendfax/pkg/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- mgetty+sendfax//pkg/PLIST	15 Oct 2006 16:07:07 -0000	1.12
+++ mgetty+sendfax//pkg/PLIST	16 Oct 2006 11:53:11 -0000
@@ -39,6 +39,8 @@
 lib/mgetty+sendfax/cour25n.pbm
 lib/mgetty+sendfax/faxq-helper
 lib/mgetty+sendfax/setup
+libexec/mgetty
+libexec/vgetty
 @man man/man1/coverpg.1
 @man man/man1/faxq.1
 @man man/man1/faxrunq.1
@@ -61,9 +63,7 @@
 @man man/man8/vgetty.8
 sbin/callback
 sbin/faxrunqd
-sbin/mgetty
 sbin/sendfax
-sbin/vgetty
 share/doc/mgetty+sendfax/
 share/doc/mgetty+sendfax/faq/
 share/doc/mgetty+sendfax/faq/FAQ.sgml
