From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 17 11:50:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD2F016A4D1 for ; Sat, 17 Apr 2004 11:50:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4B0643D1D for ; Sat, 17 Apr 2004 11:50:23 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3HIoNbv008570 for ; Sat, 17 Apr 2004 11:50:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3HIoNeC008569; Sat, 17 Apr 2004 11:50:23 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 17 Apr 2004 11:50:23 -0700 (PDT) Resent-Message-Id: <200404171850.i3HIoNeC008569@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Ranner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72AA816A4CE for ; Sat, 17 Apr 2004 11:43:01 -0700 (PDT) Received: from dwarf.jawa.at (83-64-18-244.dynamic.adsl-line.inode.at [83.64.18.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8078643D2F for ; Sat, 17 Apr 2004 11:42:59 -0700 (PDT) (envelope-from mranner@dwarf.jawa.at) Received: from dwarf.jawa.at (localhost.jawa.at [127.0.0.1]) by dwarf.jawa.at (8.12.9p2/8.12.9) with ESMTP id i3HIgIvu030848 for ; Sat, 17 Apr 2004 20:42:18 +0200 (CEST) (envelope-from mranner@dwarf.jawa.at) Received: (from root@localhost) by dwarf.jawa.at (8.12.9p2/8.12.9/Submit) id i3HIgH8B030847; Sat, 17 Apr 2004 20:42:17 +0200 (CEST) (envelope-from mranner) Message-Id: <200404171842.i3HIgH8B030847@dwarf.jawa.at> Date: Sat, 17 Apr 2004 20:42:17 +0200 (CEST) From: Michael Ranner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/65681: [NEW PORT] www/formication: Formular processing tool written in perl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 18:50:23 -0000 >Number: 65681 >Category: ports >Synopsis: [NEW PORT] www/formication: Formular processing tool written in perl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 17 11:50:22 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Ranner >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD dwarf.jawa.at 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #4: Sat Nov 29 11:09:14 CET 2003 >Description: This pr obsoletes ports/62045 (please close it), now it contains SIZE info and summarizes ports/62045 and my followup. Formication is a form processor which can send custom-formatted email, save form data to custom-formatted files, and reply to the user with a custom-formatted response. Formication is also able to require that certain fields be filled in. All configuration is done with simple templates, all of the templates for a given form being within the same file. Author: Andru Luvisi WWW: http://www.villainy.com/developers.html Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- formication-1.0b1.shar begins here --- # 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: # # formication # formication/pkg-descr # formication/Makefile # formication/pkg-plist # formication/distinfo # formication/pkg-message # formication/files # formication/files/patch-sendmail # echo c - formication mkdir -p formication > /dev/null 2>&1 echo x - formication/pkg-descr sed 's/^X//' >formication/pkg-descr << 'END-of-formication/pkg-descr' XFormication is a form processor which can send custom-formatted email, Xsave form data to custom-formatted files, and reply to the user with Xa custom-formatted response. Formication is also able to require that Xcertain fields be filled in. All configuration is done with simple Xtemplates, all of the templates for a given form being within the same Xfile. X XAuthor: Andru Luvisi XWWW: http://www.villainy.com/developers.html END-of-formication/pkg-descr echo x - formication/Makefile sed 's/^X//' >formication/Makefile << 'END-of-formication/Makefile' X# New ports collection makefile for: formication X# Date created: 2004-01-25 X# Whom: Michael Ranner X# X# $FreeBSD$ X# X XPORTNAME= formication XPORTVERSION= 1.0b1 XCATEGORIES= www XMASTER_SITES= http://www.villainy.com/downloads/ \ X http://www.ranner.jawa.at/stuff/ XDISTNAME= ${PORTNAME} X XMAINTAINER= mranner@inode.at XCOMMENT= Formular processing tool written in perl X XCGI_UID?= 100 X XUSE_APACHE= yes XUSE_PERL5_RUN= yes XUSE_REINPLACE= yes XNO_BUILD= yes X Xpost-patch: X @${REINPLACE_CMD} -e "s,^#!/usr/local/bin/perl,#!${PERL},g" \ X -e "s,authorized_uid = 1031;,authorized_uid = ${CGI_UID};,g" \ X ${WRKSRC}/formication.pl X Xdo-install: X @${INSTALL_DATA} ${WRKSRC}/formication.pl ${PREFIX}/www/cgi-bin X.if !defined(NOPORTDOCS) X @${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/BLURB ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/feedback.fcn ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/feedback.html ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/formication.txt ${DOCSDIR} X.endif X Xpost-install: X @${ECHO} X @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ X -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${PKGMESSAGE} X @${ECHO} X X.include X.include END-of-formication/Makefile echo x - formication/pkg-plist sed 's/^X//' >formication/pkg-plist << 'END-of-formication/pkg-plist' Xwww/cgi-bin/formication.pl X%%PORTDOCS%%%%DOCSDIR%%/BLURB X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/feedback.fcn X%%PORTDOCS%%%%DOCSDIR%%/feedback.html X%%PORTDOCS%%%%DOCSDIR%%/formication.txt X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-formication/pkg-plist echo x - formication/distinfo sed 's/^X//' >formication/distinfo << 'END-of-formication/distinfo' XMD5 (formication.tar.gz) = 7fc4a8a8e632c99e5167b1c8088f8483 XSIZE (formication.tar.gz) = 14789 END-of-formication/distinfo echo x - formication/pkg-message sed 's/^X//' >formication/pkg-message << 'END-of-formication/pkg-message' X***************************************************************************** X XYou have installed the formication package. X XEdit %%LOCALBASE%%/etc/apache/httpd.conf and add: X X Action formication /cgi-bin/formication.pl X AddHandler formication .fcn X XRead %%DOCSDIR%%/formication.txt to learn how to use X X***************************************************************************** END-of-formication/pkg-message echo c - formication/files mkdir -p formication/files > /dev/null 2>&1 echo x - formication/files/patch-sendmail sed 's/^X//' >formication/files/patch-sendmail << 'END-of-formication/files/patch-sendmail' X*** formication.pl.orig Fri Jan 30 23:24:27 2004 X--- formication.pl Fri Jan 30 23:24:45 2004 X*************** X*** 234,240 **** X # thereby saving us from having to parse the headers ourselves. X if($child_id == 0) { X # without the if, perl warns that the exit is unlikely to be reached. X! if(1) { exec("/usr/lib/sendmail -t"); } X exit(1); X } X X--- 234,240 ---- X # thereby saving us from having to parse the headers ourselves. X if($child_id == 0) { X # without the if, perl warns that the exit is unlikely to be reached. X! if(1) { exec("/usr/sbin/sendmail -t"); } X exit(1); X } X END-of-formication/files/patch-sendmail exit --- formication-1.0b1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: