From oz@nixil.net  Thu May 13 18:54:52 2004
Return-Path: <oz@nixil.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5B83716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 May 2004 18:54:52 -0700 (PDT)
Received: from nixil.net (nixil.org [161.58.222.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1523743D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 May 2004 18:54:51 -0700 (PDT)
	(envelope-from oz@nixil.net)
Received: from nixil.net (localhost [127.0.0.1])
	by nixil.net (8.12.11/8.12.6) with ESMTP id i4E1sook094395
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 May 2004 19:54:50 -0600 (MDT)
	(envelope-from oz@nixil.net)
Received: (from oz@localhost)
	by nixil.net (8.12.11/8.12.6/Submit) id i4E1soxx094394;
	Thu, 13 May 2004 19:54:50 -0600 (MDT)
	(envelope-from oz)
Message-Id: <200405140154.i4E1soxx094394@nixil.net>
Date: Thu, 13 May 2004 19:54:50 -0600 (MDT)
From: Phil Oleson <oz@nixil.net>
Reply-To: Phil Oleson <oz@nixil.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New Port: reply-o-matic
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66625
>Category:       ports
>Synopsis:       New Port: reply-o-matic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 13 19:00:42 PDT 2004
>Closed-Date:    Sat Jul 24 19:38:10 GMT 2004
>Last-Modified:  Sat Jul 24 19:38:10 GMT 2004
>Originator:     Phil Oleson
>Release:        FreeBSD 4.7-RELEASE-p22 i386
>Organization:
N/A
>Environment:
System: FreeBSD nixil.net 4.7-RELEASE-p22 FreeBSD 4.7-RELEASE-p22 #29: Tue Mar 2 15:58:41 MST 2004 root@fc2:/usr/src/sys/compile/VKERN i386

>Description:
	program to generate autoreplies via any MTA, with rate limiting. etc
>How-To-Repeat:
	N/A
>Fix:

	Patch included

--- patch-rom begins here ---
diff -ruN reply-o-matic.orig/Makefile reply-o-matic/Makefile
--- reply-o-matic.orig/Makefile	Wed Dec 31 17:00:00 1969
+++ reply-o-matic/Makefile	Thu May 13 19:49:31 2004
@@ -0,0 +1,27 @@
+# New ports collection makefile for:   qdvdauthor
+# Date created:        05/13/04
+# Whom:                oz@nixil.net
+#
+# $FreeBSD$
+#
+
+PORTNAME=	reply-o-matic
+PORTVERSION=	1.2.0
+CATEGORIES=	mail
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	oz@nixil.net
+COMMENT=	a highly configureble, secure, auto reply software.
+
+USE_REINPLACE=  yes
+
+MAN1=		rom.1
+
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|/etc/rom|${PREFIX}/etc/rom|g'       \
+		-e 's|/usr/sbin/rom|${PREFIX}/sbin/rom|g' \
+		${WRKSRC}/rom.h ${WRKSRC}/rom.1
+
+.include <bsd.port.mk>
diff -ruN reply-o-matic.orig/distinfo reply-o-matic/distinfo
--- reply-o-matic.orig/distinfo	Wed Dec 31 17:00:00 1969
+++ reply-o-matic/distinfo	Thu May 13 14:32:53 2004
@@ -0,0 +1,2 @@
+MD5 (reply-o-matic-1.2.0.tar.gz) = 770eee68bed7da27fed35afc95f1e205
+SIZE (reply-o-matic-1.2.0.tar.gz) = 26483
diff -ruN reply-o-matic.orig/files/patch-Makefile reply-o-matic/files/patch-Makefile
--- reply-o-matic.orig/files/patch-Makefile	Wed Dec 31 17:00:00 1969
+++ reply-o-matic/files/patch-Makefile	Thu May 13 19:39:50 2004
@@ -0,0 +1,25 @@
+--- Makefile.orig	Tue Nov 25 18:41:39 2003
++++ Makefile	Thu May 13 19:34:50 2004
+@@ -1,7 +1,5 @@
+-INSTALL_PREFIX=
+-MAN1=/usr/share/man/man1/
+-
+-CFLAGS=-g -O2
++INSTALL_PREFIX=${PREFIX}
++MAN1=/man/man1/
+ 
+ all: main.o base64.o
+ 	$(CC) $(CFLAGS) -o rom main.o base64.o
+@@ -9,10 +7,10 @@
+ clean:
+ 	@rm -f rom *.o core
+ install:
+-	install -d -m 755 $(INSTALL_PREFIX)/usr/sbin
++	install -d -m 755 $(INSTALL_PREFIX)/sbin
+ 	install -d -m 755 $(INSTALL_PREFIX)/etc/rom
+ 	install -d -m 1755 $(INSTALL_PREFIX)/etc/rom/.rates
+-	install -m 755 rom $(INSTALL_PREFIX)/usr/sbin/
++	install -m 755 rom $(INSTALL_PREFIX)/sbin
+ 	install -d -m 755 $(INSTALL_PREFIX)$(MAN1)
+ 	install -m 755 rom.1 $(INSTALL_PREFIX)$(MAN1)
+ 
diff -ruN reply-o-matic.orig/files/patch-main.c reply-o-matic/files/patch-main.c
--- reply-o-matic.orig/files/patch-main.c	Wed Dec 31 17:00:00 1969
+++ reply-o-matic/files/patch-main.c	Thu May 13 18:44:57 2004
@@ -0,0 +1,20 @@
+--- main.c.orig	Thu May 13 18:44:13 2004
++++ main.c	Thu May 13 18:44:46 2004
+@@ -929,7 +929,7 @@
+ 		case -1: 
+ 			 diedie(2);
+ 			 break;
+-		default:
++/*		default: */
+ 	}
+ 	if ( forwardto[0] != 0 ) {
+ 		pipe(dfd);
+@@ -966,7 +966,7 @@
+ 			case -1: 
+ 				 diedie(2);
+ 				 break;
+-			default:
++/*			default: */
+ 		}
+ 	}
+ 
diff -ruN reply-o-matic.orig/pkg-descr reply-o-matic/pkg-descr
--- reply-o-matic.orig/pkg-descr	Wed Dec 31 17:00:00 1969
+++ reply-o-matic/pkg-descr	Thu May 13 14:30:24 2004
@@ -0,0 +1,5 @@
+Reply-o-Matic is a highly configureble, secure, auto reply software, to be
+used in conjunction with any Mail Delivery/Transfer Agent or local delivery
+agent. It provides an easy, uniformed way, to provide autoreplies to e-mails.
+
+WWW: http://reply-o-matic.sourceforge.net/
diff -ruN reply-o-matic.orig/pkg-plist reply-o-matic/pkg-plist
--- reply-o-matic.orig/pkg-plist	Wed Dec 31 17:00:00 1969
+++ reply-o-matic/pkg-plist	Thu May 13 19:33:28 2004
@@ -0,0 +1,3 @@
+sbin/rom
+@dirrm etc/rom/.rates
+@dirrm etc/rom
--- patch-rom ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback  
State-Changed-By: krion 
State-Changed-When: Tue May 25 02:40:48 PDT 2004 
State-Changed-Why:  
Please use shar(1) to submit new ports. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66625 

From: Phil Oleson <oz@nixil.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/66625: New Port: reply-o-matic
Date: Wed, 26 May 2004 14:50:57 -0600

 This is a multi-part message in MIME format.
 --------------060905060806090500010004
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 no problem, shar attached..
 
     Phil.
 
 --------------060905060806090500010004
 Content-Type: text/plain;
  name="rom.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="rom.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	reply-o-matic
 #	reply-o-matic/files
 #	reply-o-matic/files/patch-Makefile
 #	reply-o-matic/files/patch-main.c
 #	reply-o-matic/Makefile
 #	reply-o-matic/distinfo
 #	reply-o-matic/pkg-descr
 #	reply-o-matic/pkg-plist
 #
 echo c - reply-o-matic
 mkdir -p reply-o-matic > /dev/null 2>&1
 echo c - reply-o-matic/files
 mkdir -p reply-o-matic/files > /dev/null 2>&1
 echo x - reply-o-matic/files/patch-Makefile
 sed 's/^X//' >reply-o-matic/files/patch-Makefile << 'END-of-reply-o-matic/files/patch-Makefile'
 X--- Makefile.orig	Tue Nov 25 18:41:39 2003
 X+++ Makefile	Thu May 13 19:34:50 2004
 X@@ -1,7 +1,5 @@
 X-INSTALL_PREFIX=
 X-MAN1=/usr/share/man/man1/
 X-
 X-CFLAGS=-g -O2
 X+INSTALL_PREFIX=${PREFIX}
 X+MAN1=/man/man1/
 X 
 X all: main.o base64.o
 X 	$(CC) $(CFLAGS) -o rom main.o base64.o
 X@@ -9,10 +7,10 @@
 X clean:
 X 	@rm -f rom *.o core
 X install:
 X-	install -d -m 755 $(INSTALL_PREFIX)/usr/sbin
 X+	install -d -m 755 $(INSTALL_PREFIX)/sbin
 X 	install -d -m 755 $(INSTALL_PREFIX)/etc/rom
 X 	install -d -m 1755 $(INSTALL_PREFIX)/etc/rom/.rates
 X-	install -m 755 rom $(INSTALL_PREFIX)/usr/sbin/
 X+	install -m 755 rom $(INSTALL_PREFIX)/sbin
 X 	install -d -m 755 $(INSTALL_PREFIX)$(MAN1)
 X 	install -m 755 rom.1 $(INSTALL_PREFIX)$(MAN1)
 X 
 END-of-reply-o-matic/files/patch-Makefile
 echo x - reply-o-matic/files/patch-main.c
 sed 's/^X//' >reply-o-matic/files/patch-main.c << 'END-of-reply-o-matic/files/patch-main.c'
 X--- main.c.orig	Thu May 13 18:44:13 2004
 X+++ main.c	Thu May 13 18:44:46 2004
 X@@ -929,7 +929,7 @@
 X 		case -1: 
 X 			 diedie(2);
 X 			 break;
 X-		default:
 X+/*		default: */
 X 	}
 X 	if ( forwardto[0] != 0 ) {
 X 		pipe(dfd);
 X@@ -966,7 +966,7 @@
 X 			case -1: 
 X 				 diedie(2);
 X 				 break;
 X-			default:
 X+/*			default: */
 X 		}
 X 	}
 X 
 END-of-reply-o-matic/files/patch-main.c
 echo x - reply-o-matic/Makefile
 sed 's/^X//' >reply-o-matic/Makefile << 'END-of-reply-o-matic/Makefile'
 X# New ports collection makefile for:   qdvdauthor
 X# Date created:        05/13/04
 X# Whom:                oz@nixil.net
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	reply-o-matic
 XPORTVERSION=	1.2.0
 XCATEGORIES=	mail
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 XMASTER_SITE_SUBDIR=	${PORTNAME}
 X
 XMAINTAINER=	oz@nixil.net
 XCOMMENT=	a highly configureble, secure, auto reply software.
 X
 XUSE_REINPLACE=  yes
 X
 XMAN1=		rom.1
 X
 Xpost-patch:
 X	@${REINPLACE_CMD} \
 X		-e 's|/etc/rom|${PREFIX}/etc/rom|g'       \
 X		-e 's|/usr/sbin/rom|${PREFIX}/sbin/rom|g' \
 X		${WRKSRC}/rom.h ${WRKSRC}/rom.1
 X
 X.include <bsd.port.mk>
 END-of-reply-o-matic/Makefile
 echo x - reply-o-matic/distinfo
 sed 's/^X//' >reply-o-matic/distinfo << 'END-of-reply-o-matic/distinfo'
 XMD5 (reply-o-matic-1.2.0.tar.gz) = 770eee68bed7da27fed35afc95f1e205
 XSIZE (reply-o-matic-1.2.0.tar.gz) = 26483
 END-of-reply-o-matic/distinfo
 echo x - reply-o-matic/pkg-descr
 sed 's/^X//' >reply-o-matic/pkg-descr << 'END-of-reply-o-matic/pkg-descr'
 XReply-o-Matic is a highly configureble, secure, auto reply software, to be
 Xused in conjunction with any Mail Delivery/Transfer Agent or local delivery
 Xagent. It provides an easy, uniformed way, to provide autoreplies to e-mails.
 X
 XWWW: http://reply-o-matic.sourceforge.net/
 END-of-reply-o-matic/pkg-descr
 echo x - reply-o-matic/pkg-plist
 sed 's/^X//' >reply-o-matic/pkg-plist << 'END-of-reply-o-matic/pkg-plist'
 Xsbin/rom
 X@dirrm etc/rom/.rates
 X@dirrm etc/rom
 END-of-reply-o-matic/pkg-plist
 exit
 
 
 --------------060905060806090500010004--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 24 22:46:39 GMT 2004 
State-Changed-Why:  
Feedback received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66625 
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: sem 
Responsible-Changed-When: Sat Jul 24 19:37:46 GMT 2004 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66625 
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sat Jul 24 19:38:00 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66625 
>Unformatted:
