Date: Thu, 13 May 2004 19:54:50 -0600 (MDT) From: Phil Oleson <oz@nixil.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/66625: New Port: reply-o-matic Message-ID: <200405140154.i4E1soxx094394@nixil.net> Resent-Message-ID: <200405140200.i4E20gZc021637@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66625 >Category: ports >Synopsis: New Port: reply-o-matic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu May 13 19:00:42 PDT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405140154.i4E1soxx094394>