Date: Tue, 27 Jun 2006 10:50:26 GMT From: "Raul" <rauly@people.net.au> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/98757: New port: mail/squirrelmail-tmda-plugin tmdatools plugin for SquirrelMail Message-ID: <200606271050.k5RAoQua056514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/98757; it has been noted by GNATS. From: "Raul" <rauly@people.net.au> To: <bug-followup@FreeBSD.org>, <email-ports@def-defying.com> Cc: Subject: Re: ports/98757: New port: mail/squirrelmail-tmda-plugin tmdatools plugin for SquirrelMail Date: Tue, 27 Jun 2006 20:43:34 +1000 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C69A2A.5EE44540 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Good point about the size of pkg-message. The current pkg-message is rougly the contents of the INSTALL and README files that are installed with the package. As pkg-message is optional, I have removed it altogether and updated the post-install target to include a reference to the both INSTALL & README. As the person using the package will typically be required to make some modifications in this location, I believe this will not complicate the install greatly. I have attached a new shar archive with the Makefile output change and removal of pkg-message. Not being too sure how to respond to a send-pr request, I have also tried to include it inline as a Fix. >Fix: # 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: # # squirrelmail-tmda-plugin/ # squirrelmail-tmda-plugin/pkg-descr # squirrelmail-tmda-plugin/distinfo # squirrelmail-tmda-plugin/Makefile # squirrelmail-tmda-plugin/pkg-plist # echo c - squirrelmail-tmda-plugin/ mkdir -p squirrelmail-tmda-plugin/ > /dev/null 2>&1 echo x - squirrelmail-tmda-plugin/pkg-descr sed 's/^X//' >squirrelmail-tmda-plugin/pkg-descr << 'END-of-squirrelmail-tmda-plugin/pkg-descr' XThis is a port of tmdatools plugin for Squirrelmail. X XThis plugin allows a TMDA enabled account to be managed from within the XSquirrelMail interface, including the ability to edit list files, add Xcontrol headers to outgoing email, manage pending messages and create Xtagged addresses for use outside SquirrelMail. X XWWW: http://www.morison.net/squirrelmail-plugins/tmdatools.html END-of-squirrelmail-tmda-plugin/pkg-descr echo x - squirrelmail-tmda-plugin/distinfo sed 's/^X//' >squirrelmail-tmda-plugin/distinfo << 'END-of-squirrelmail-tmda-plugin/distinfo' XMD5 (tmdatools.1.0.2-1.4.2.tar.gz) = d1d5ef4a89d5490caf7c5b67e4c1f6ee XSHA256 (tmdatools.1.0.2-1.4.2.tar.gz) = 2722e783ca579fa963843419793fd06deb3029ec6ba31878cca1729f67d9980d XSIZE (tmdatools.1.0.2-1.4.2.tar.gz) = 17347 END-of-squirrelmail-tmda-plugin/distinfo echo x - squirrelmail-tmda-plugin/Makefile sed 's/^X//' >squirrelmail-tmda-plugin/Makefile << 'END-of-squirrelmail-tmda-plugin/Makefile' X# New ports collection makefile for: squirrelmail-tmda-plugin X# Date created: 2006-06-10 X# Whom: Raul Pollicino <email-freebsd@def-defying.com> X# X# $FreeBSD$ X# X XPORTNAME= squirrelmail-tmda-plugin XPORTVERSION= 1.0.2 XCATEGORIES= mail XMASTER_SITES= http://www.squirrelmail.org/plugins/ XDISTNAME= tmdatools 1.0.2 1.4.2 \(stable\) XDISTFILES= tmdatools.1.0.2-1.4.2.tar.gz X XMAINTAINER= email-ports@def-defying.com XCOMMENT= Adds TMDA support to SquirrelMail X XRUN_DEPENDS= tmda-filter:${PORTSDIR}/mail/squirrelmail:${PORTSDIR}/mail/tmda X XNO_BUILD= yes X XSQUIRREL_PLUGIN_NAME= tmdatools XWRKSRC= ${WRKDIR}/tmdatools X X.ifndef WITHOUT_WWWDIR XSQUIRRELDIR?= ${PREFIX}/www/squirrelmail XPLIST_SUB+= SQUIRRELDIR=www/squirrelmail X.else XSQUIRRELDIR?= ${PREFIX}/squirrelmail XPLIST_SUB+= SQUIRRELDIR=squirrelmail X.endif XTMDATOOLDIR?= ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} XPLIST_SUB+= TMDATOOLDIR=plugins/${SQUIRREL_PLUGIN_NAME} X Xpre-everything:: X @${ECHO} "The plugin expects SquirrelMail install in ${SQUIRRELDIR}" X @${ECHO} "To use the old location ${PREFIX}/squirrelmail define WITHOUT_WWWDIR=yes" X @${ECHO} "" X.ifndef WITHOUT_ACTIVATE X @${ECHO} "Activating plug-in in SquirrelMail after installation." X @${ECHO} "If you don't want to automatically activate the plug-in set WITHOUT_ACTIVATE=yes" X.else X @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." X @${ECHO} "If you want to automatically activate the plug-in unset WITHOUT_ACTIVATE" X.endif X @${ECHO} "" X Xpost-patch: X @${REINPLACE_CMD} \ X -e 's|"/usr/local/tmda-1.0.2/"|${TMDATOOLDIR}|g' \ X ${WRKSRC}/tmdatools_config.php.sample X @${RM} ${WRKSRC}/tmdatools_config.php.sample.bak X Xdo-install: X @${MKDIR} ${TMDATOOLDIR} X @${CP} -Rp ${WRKSRC}/ ${TMDATOOLDIR} X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TMDATOOLDIR} X @${RM} -f ${WRKSRC}/tmdatools_config.php.sample.bak X.ifndef WITHOUT_ACTIVATE X @${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} X.else X @${ECHO} "To activate the plug-in in SquirrelMail use" X @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" X.endif X Xpost-install: X @${ECHO} "" X @${ECHO} "Refer to ${TMDATOOLDIR}/INSTALL and README for final installation/configuration instructions." X @${ECHO} "" X X.include <bsd.port.mk> END-of-squirrelmail-tmda-plugin/Makefile echo x - squirrelmail-tmda-plugin/pkg-plist sed 's/^X//' >squirrelmail-tmda-plugin/pkg-plist << 'END-of-squirrelmail-tmda-plugin/pkg-plist' X@unexec %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin tmdatools X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/COPYING X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/INSTALL X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/README X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/address.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/editfile.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/index.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/paginator.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/pending.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/setup.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools_config.php.sample X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools_findhome.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tools.php X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/version X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/viewer.php X@dirrm %%SQUIRRELDIR%%/%%TMDATOOLDIR%% END-of-squirrelmail-tmda-plugin/pkg-plist exit --- tmdatools.shar ends here --- ------=_NextPart_000_0009_01C69A2A.5EE44540 Content-Type: application/octet-stream; name="tmdatools.shar" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tmdatools.shar" # This is a shell archive. Save it in a file, remove anything before=0A= # this line, and then unpack it by entering "sh file". Note, it may=0A= # create directories; files and directories will be owned by you and=0A= # have default permissions.=0A= #=0A= # This archive contains:=0A= #=0A= # squirrelmail-tmda-plugin/=0A= # squirrelmail-tmda-plugin/pkg-descr=0A= # squirrelmail-tmda-plugin/distinfo=0A= # squirrelmail-tmda-plugin/Makefile=0A= # squirrelmail-tmda-plugin/pkg-plist=0A= #=0A= echo c - squirrelmail-tmda-plugin/=0A= mkdir -p squirrelmail-tmda-plugin/ > /dev/null 2>&1=0A= echo x - squirrelmail-tmda-plugin/pkg-descr=0A= sed 's/^X//' >squirrelmail-tmda-plugin/pkg-descr << = 'END-of-squirrelmail-tmda-plugin/pkg-descr'=0A= XThis is a port of tmdatools plugin for Squirrelmail.=0A= X=0A= XThis plugin allows a TMDA enabled account to be managed from within the=0A= XSquirrelMail interface, including the ability to edit list files, add=0A= Xcontrol headers to outgoing email, manage pending messages and create=0A= Xtagged addresses for use outside SquirrelMail.=0A= X=0A= XWWW: http://www.morison.net/squirrelmail-plugins/tmdatools.html=0A= END-of-squirrelmail-tmda-plugin/pkg-descr=0A= echo x - squirrelmail-tmda-plugin/distinfo=0A= sed 's/^X//' >squirrelmail-tmda-plugin/distinfo << = 'END-of-squirrelmail-tmda-plugin/distinfo'=0A= XMD5 (tmdatools.1.0.2-1.4.2.tar.gz) =3D d1d5ef4a89d5490caf7c5b67e4c1f6ee=0A= XSHA256 (tmdatools.1.0.2-1.4.2.tar.gz) =3D = 2722e783ca579fa963843419793fd06deb3029ec6ba31878cca1729f67d9980d=0A= XSIZE (tmdatools.1.0.2-1.4.2.tar.gz) =3D 17347=0A= END-of-squirrelmail-tmda-plugin/distinfo=0A= echo x - squirrelmail-tmda-plugin/Makefile=0A= sed 's/^X//' >squirrelmail-tmda-plugin/Makefile << = 'END-of-squirrelmail-tmda-plugin/Makefile'=0A= X# New ports collection makefile for: squirrelmail-tmda-plugin=0A= X# Date created: 2006-06-10=0A= X# Whom: Raul Pollicino = <email-freebsd@def-defying.com>=0A= X#=0A= X# $FreeBSD$=0A= X#=0A= X=0A= XPORTNAME=3D squirrelmail-tmda-plugin=0A= XPORTVERSION=3D 1.0.2=0A= XCATEGORIES=3D mail=0A= XMASTER_SITES=3D http://www.squirrelmail.org/plugins/=0A= XDISTNAME=3D tmdatools 1.0.2 1.4.2 \(stable\)=0A= XDISTFILES=3D tmdatools.1.0.2-1.4.2.tar.gz=0A= X=0A= XMAINTAINER=3D email-ports@def-defying.com=0A= XCOMMENT=3D Adds TMDA support to SquirrelMail=0A= X=0A= XRUN_DEPENDS=3D = tmda-filter:${PORTSDIR}/mail/squirrelmail:${PORTSDIR}/mail/tmda=0A= X=0A= XNO_BUILD=3D yes=0A= X=0A= XSQUIRREL_PLUGIN_NAME=3D tmdatools=0A= XWRKSRC=3D ${WRKDIR}/tmdatools=0A= X=0A= X.ifndef WITHOUT_WWWDIR=0A= XSQUIRRELDIR?=3D ${PREFIX}/www/squirrelmail=0A= XPLIST_SUB+=3D SQUIRRELDIR=3Dwww/squirrelmail=0A= X.else=0A= XSQUIRRELDIR?=3D ${PREFIX}/squirrelmail=0A= XPLIST_SUB+=3D SQUIRRELDIR=3Dsquirrelmail=0A= X.endif=0A= XTMDATOOLDIR?=3D ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}=0A= XPLIST_SUB+=3D TMDATOOLDIR=3Dplugins/${SQUIRREL_PLUGIN_NAME}=0A= X=0A= Xpre-everything::=0A= X @${ECHO} "The plugin expects SquirrelMail install in ${SQUIRRELDIR}"=0A= X @${ECHO} "To use the old location ${PREFIX}/squirrelmail define = WITHOUT_WWWDIR=3Dyes"=0A= X @${ECHO} ""=0A= X.ifndef WITHOUT_ACTIVATE=0A= X @${ECHO} "Activating plug-in in SquirrelMail after installation."=0A= X @${ECHO} "If you don't want to automatically activate the plug-in set = WITHOUT_ACTIVATE=3Dyes"=0A= X.else=0A= X @${ECHO} "NOT Activating plug-in in SquirrelMail after installation."=0A= X @${ECHO} "If you want to automatically activate the plug-in unset = WITHOUT_ACTIVATE"=0A= X.endif=0A= X @${ECHO} ""=0A= X=0A= Xpost-patch:=0A= X @${REINPLACE_CMD} \=0A= X -e 's|"/usr/local/tmda-1.0.2/"|${TMDATOOLDIR}|g' \=0A= X ${WRKSRC}/tmdatools_config.php.sample=0A= X @${RM} ${WRKSRC}/tmdatools_config.php.sample.bak=0A= X=0A= Xdo-install:=0A= X @${MKDIR} ${TMDATOOLDIR}=0A= X @${CP} -Rp ${WRKSRC}/ ${TMDATOOLDIR}=0A= X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TMDATOOLDIR}=0A= X @${RM} -f ${WRKSRC}/tmdatools_config.php.sample.bak=0A= X.ifndef WITHOUT_ACTIVATE=0A= X @${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}=0A= X.else=0A= X @${ECHO} "To activate the plug-in in SquirrelMail use"=0A= X @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin = ${SQUIRREL_PLUGIN_NAME}"=0A= X.endif=0A= X=0A= Xpost-install:=0A= X @${ECHO} ""=0A= X @${ECHO} "Refer to ${TMDATOOLDIR}/INSTALL and README for final = installation/configuration instructions."=0A= X @${ECHO} ""=0A= X=0A= X.include <bsd.port.mk>=0A= END-of-squirrelmail-tmda-plugin/Makefile=0A= echo x - squirrelmail-tmda-plugin/pkg-plist=0A= sed 's/^X//' >squirrelmail-tmda-plugin/pkg-plist << = 'END-of-squirrelmail-tmda-plugin/pkg-plist'=0A= X@unexec %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin tmdatools=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/COPYING=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/INSTALL=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/README=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/address.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/editfile.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/index.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/paginator.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/pending.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/setup.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools_config.php.sample=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools_findhome.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tools.php=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/version=0A= X%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/viewer.php=0A= X@dirrm %%SQUIRRELDIR%%/%%TMDATOOLDIR%%=0A= END-of-squirrelmail-tmda-plugin/pkg-plist=0A= exit=0A= =0A= ------=_NextPart_000_0009_01C69A2A.5EE44540--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606271050.k5RAoQua056514>