FreeBSD Bugzilla – Attachment 42088 Details for
Bug 65681
[NEW PORT] www/formication: Formular processing tool written in perl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
formication-1.0b1.shar
formication-1.0b1.shar (text/plain), 4.42 KB, created by
Michael Ranner
on 2004-04-17 19:50:22 UTC
(
hide
)
Description:
formication-1.0b1.shar
Filename:
MIME Type:
Creator:
Michael Ranner
Created:
2004-04-17 19:50:22 UTC
Size:
4.42 KB
patch
obsolete
># 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 <luvisi@villainy.com> >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 <mranner@inode.at> >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 <bsd.port.pre.mk> >X.include <bsd.port.post.mk> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 65681
: 42088