From dm@home.dinoex.sub.org  Sat Mar  4 23:18:26 2000
Return-Path: <dm@home.dinoex.sub.org>
Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14])
	by hub.freebsd.org (Postfix) with ESMTP id 53CC937B8C2
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  4 Mar 2000 23:18:25 -0800 (PST)
	(envelope-from dm@home.dinoex.sub.org)
Received: (from uucp@localhost)
	by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id IAA17952
	for FreeBSD-gnats-submit@freebsd.org; Sun, 5 Mar 2000 08:18:25 +0100 (CET)
Received: (from uucp@localhost)
	by net2.dinoex.sub.org (8.9.3/8.9.3) with UUCP id HAA07497
	for FreeBSD-gnats-submit@freebsd.org; Sun, 5 Mar 2000 07:32:45 +0100 (CET)
Received: (from dm@localhost)
	by home.dinoex.sub.org (8.9.3/8.9.3) id HAA92986;
	Sun, 5 Mar 2000 07:02:31 +0100 (CET)
Message-Id: <200003050602.HAA92986@home.dinoex.sub.org>
Date: Sun, 5 Mar 2000 07:02:31 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Sender: dm@home.dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: news/fidogate update
X-Send-Pr-Version: 3.2

>Number:         17201
>Category:       ports
>Synopsis:       news/fidogate fix for 2.2.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar  4 23:20:01 PST 2000
>Closed-Date:    Wed Mar 8 08:45:00 PST 2000
>Last-Modified:  Wed Mar  8 08:47:25 PST 2000
>Originator:     Dirk Meyer
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
privat
>Environment:

	ifmail, fidogate

>Description:

	Make fidogate compile under FreeBSD 2.2.x
	fix a wrong default directory

>How-To-Repeat:
>Fix:

	apply this patches

diff fidogate/Makefile fidogate-4.4.0/Makefile
--- fidogate/Makefile	Sat Feb 26 12:21:57 2000
+++ fidogate-4.4.0/Makefile	Sun Mar  5 07:01:06 2000
@@ -26,6 +26,12 @@
 USE_GMAKE=	yes
 USE_PERL5=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 300000
+EXTRA_PATCHES+=	${FILESDIR}/patch-perl
+.endif
+
 pre-configure:
 	@${MV} ${WRKSRC}/config.make ${WRKSRC}/config.make.sed
 	@${SED} -e 's/\$${PREFIX}/${PREFIX:S/\//\\\//g}/g' \
@@ -63,4 +69,4 @@
 		(cd ${PREFIX}/share/examples/fidogate; tar xf -)
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff fidogate/files/patch-perl fidogate-4.4.0/files/patch-perl
--- fidogate/files/patch-perl	Thu Jan  1 01:00:00 1970
+++ fidogate-4.4.0/files/patch-perl	Fri Jul 30 23:31:05 1999
@@ -0,0 +1,11 @@
+--- config.make.orig	Fri Jul 30 23:29:26 1999
++++ config.make	Fri Jul 30 23:30:56 1999
+@@ -141,7 +141,7 @@
+ 
+ 
+ # The perl interpreter used by subst.pl
+-PERL			= /usr/bin/perl
++PERL			= /usr/local/bin/perl
+ 
+ # Directories for installing documentation, not used by subst.pl
+ INFODIR			= /usr/local/share/doc/fidogate/info
diff fidogate/patches/patch-aa fidogate-4.4.0/patches/patch-aa
--- fidogate/patches/patch-aa	Sat Feb 26 12:21:58 2000
+++ fidogate-4.4.0/patches/patch-aa	Wed Feb 23 06:25:42 2000
@@ -15,7 +15,7 @@
 +DEFAULT_V_LOCKDIR	= /var/spool/fidogate/lock
  DEFAULT_V_SPOOLDIR	= /var/spool/fidogate
 -DEFAULT_V_BTBASEDIR	= /var/spool/bt
-+DEFAULT_V_BTBASEDIR	= /var/spool/fidogate/out
++DEFAULT_V_BTBASEDIR	= /var/spool/fidogate/bt
  DEFAULT_V_INBOUND	= $(DEFAULT_V_BTBASEDIR)/in
  DEFAULT_V_PINBOUND	= $(DEFAULT_V_BTBASEDIR)/pin
  DEFAULT_V_UUINBOUND	= $(DEFAULT_V_BTBASEDIR)/uuin

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jedgar 
State-Changed-When: Wed Mar 8 08:45:00 PST 2000 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
