From root@mail.def-defying.com.au  Fri Jun  9 16:13:51 2006
Return-Path: <root@mail.def-defying.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 732F916A596
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2006 16:13:51 +0000 (UTC)
	(envelope-from root@mail.def-defying.com.au)
Received: from mail.def-defying.com.au (218-214-192-173.people.net.au [218.214.192.173])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 73F5443D7B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2006 16:13:47 +0000 (GMT)
	(envelope-from root@mail.def-defying.com.au)
Received: from root by mail.def-defying.com.au with local (Exim 4.62 (FreeBSD))
	(envelope-from <root@mail.def-defying.com.au>)
	id 1Fok2w-0002rD-KM; Sat, 10 Jun 2006 02:41:18 +1000
Message-Id: <E1Fok2w-0002rD-KM@mail.def-defying.com.au>
Date: Sat, 10 Jun 2006 02:41:18 +1000
From: Raul <email-ports@def-defying.com>
Reply-To: Raul <email-ports@def-defying.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Raul <email-ports@def-defying.com>
Subject: New port: mail/squirrelmail-tmda-plugin tmdatools plugin for SquirrelMail
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98757
>Category:       ports
>Synopsis:       New port: mail/squirrelmail-tmda-plugin tmdatools plugin for SquirrelMail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    alepulver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 16:20:13 GMT 2006
>Closed-Date:    Tue Oct 03 18:02:19 GMT 2006
>Last-Modified:  Tue Oct  3 18:20:20 GMT 2006
>Originator:     Raul Pollicino <email-ports@def-defying.com>
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
None
>Environment:
System: FreeBSD freebsd.Dimension.Z 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Plug-in to SquirrelMail for inclusion into the ports collection.

The plug-in allows users of TMDA to control filter lists and tag messages
from within SquirrelMail.

Name chosen to match existing Squirrelmail plugin implmentations.

>How-To-Repeat:
Not applicable.

>Fix:
--- tmdatools.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:
#
#	squirrelmail-tmda-plugin/
#	squirrelmail-tmda-plugin/pkg-descr
#	squirrelmail-tmda-plugin/pkg-message
#	squirrelmail-tmda-plugin/pkg-plist
#	squirrelmail-tmda-plugin/Makefile
#	squirrelmail-tmda-plugin/distinfo
#
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/pkg-message
sed 's/^X//' >squirrelmail-tmda-plugin/pkg-message << 'END-of-squirrelmail-tmda-plugin/pkg-message'
X1. Configure TMDA Tools and set file permissions
X------------------------------------------------
XOpen tmdatools_config.php into a text editor. Read the comments in tmdatools_config.php and make any changes needed on your system.
X
XIn order for TMDA Tools to gain write access to the files specified in $plugin_tmdatools_editfiles you need to set ownership and permissions as shown below, where user=your user name and squirreluser=a group to which the user that SquirrelMail is running as on your system belongs.
X
X    chown user:squirreluser filename
X    chmod 660 filename
X
XCheckpoint Test: Login to SquirrelMail. Go to the TMDA Tools page. Verify that you can edit the files as required.
X
X
X2. Configure TMDA
X-----------------
XTMDA must be configured to a) show the appropriate headers for the TMDA Tools pending list manager; b) to allow mode 640 on ~/.tmda/crypt_key; and c) to override the default mode used when creating messages in your pending folder (so that squirreluser can view pending messages). Open your TMDA configuration file ~/.tmda/config into a text editor. Add the following lines:
X
X    TERSE_SUMMARY_HEADERS = ["from_name", "subject", "date"]
X    ALLOW_MODE_640 = 1
X    os.umask(027)
X
XWhen calling tmda-address, tmda-pending and (if required) sending email via the tmda-sendmail wrapper as called by SquirrelMail, squirreluser will require read access to your ~/.tmda/config and sometimes ~/.tmda/crypt_key files. Go to a shell prompt and and change the ownership and access mode as follows:
X
X    cd ~/.tmda
X    chmod 640 config crypt_key
X    chown user:squirreluser config crypt_key
X
XCheckpoint Test: Login to SquirrelMail. Go to the TMDA Tools page. Verify that you can use the Address Generator.
X
XCheckpoint Test: Send email to yourself from both another account on the same system and an external account. This will verify that you have not broken tmda's incoming email processing by changing these file permissions.
X
X
X3. Set directory and existing file permissions
X----------------------------------------------
XIf you have TMDA configured to log outgoing messages, squirreluser will require write access to your TMDA log directory, and to any outgoing log file that already exists. To manage pending messages, squirreluser will require write access to the pending messages directory and any pending messages currently in that directory. The sticky bit must be set on these directories to ensure that squirreluser is set to be the group owner of new files created in these directories by other processes. If these directories are ~/.tmda/logs/ and ~/.tmda/pending/ respectively, set permissions as follows:
X
X    cd ~/.tmda/
X    chown -R user:squirreluser logs
X    chmod -R 660 logs
X    chmod 2770 logs
X    chown -R user:squirreluser pending
X    chmod -R 660 pending
X    chmod 2770 pending
X
XCheckpoint Test: Send email to yourself from both another account on the same system and an external account. This will verify that you have not broken TMDA's incoming email processing by changing these permissions.
X
X
X4. Configure SquirrelMail to send email via sendmail (if required)
X------------------------------------------------------------------
XNote: This step is only required if you have not already configured SquirrelMail to send email via TMDA through some other mechanism, such as tmda-ofmipd (authenticated SMTP).
X
XOpen your SquirrelMail configuration file config.php into a text editor. Make changes as follows:
X
X    $useSendmail = true;
X
XThe $sendmail_path variable should remain as the system sendmail binary; as this will be overridden with the path to the tmda-sendmail wrapper if the plugin is activated for the logged in user.
X
XCheckpoint Test: Log out of SquirrelMail, and then log back in. You should now be able to send email via TMDA. The default TMDA send mode depends on your TMDA configuration. You can override the default send mode on a per-message basis by selecting a specific TMDA send mode on the compose email form.
X
X
XWWW: http://www.morison.net/squirrelmail-plugins/tmdatools.html
X
END-of-squirrelmail-tmda-plugin/pkg-message
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
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 for final installation instructions."
X	@${ECHO} ""
X
X.include <bsd.port.mk>
END-of-squirrelmail-tmda-plugin/Makefile
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
exit
--- tmdatools.shar ends here ---

>Release-Note:
>Audit-Trail:

From: Pav Lucistnik <pav@FreeBSD.org>
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: Mon, 26 Jun 2006 18:43:41 +0200

 Do you think you could trim down the pkg-message to one screenfull?
 It's not very useful if user can't read it all.
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 EMACS: Eight Megabytes And Continually Swapping

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--
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->alepulver 
Responsible-Changed-By: alepulver 
Responsible-Changed-When: Sun Oct 1 20:22:41 UTC 2006 
Responsible-Changed-Why:  
Take PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98757 
State-Changed-From-To: open->closed 
State-Changed-By: alepulver 
State-Changed-When: Tue Oct 3 18:01:50 UTC 2006 
State-Changed-Why:  
New port added with a few modifications, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/98757: commit references a PR
Date: Tue,  3 Oct 2006 18:02:09 +0000 (UTC)

 alepulver    2006-10-03 18:02:02 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail                 Makefile 
   Added files:
     mail/squirrelmail-tmda-plugin Makefile distinfo pkg-descr 
                                   pkg-plist 
   Log:
   This is a port of tmdatools plugin for Squirrelmail.
   
   This plugin allows a TMDA enabled account to be managed from within the
   SquirrelMail interface, including the ability to edit list files, add
   control headers to outgoing email, manage pending messages and create
   tagged addresses for use outside SquirrelMail.
   
   WWW: http://www.morison.net/squirrelmail-plugins/tmdatools.html
   
   PR:             ports/98757
   Submitted by:   Raul Pollicino <email-freebsd at def-defying.com>
   
   Revision  Changes    Path
   1.796     +1 -0      ports/mail/Makefile
   1.1       +59 -0     ports/mail/squirrelmail-tmda-plugin/Makefile (new)
   1.1       +3 -0      ports/mail/squirrelmail-tmda-plugin/distinfo (new)
   1.1       +8 -0      ports/mail/squirrelmail-tmda-plugin/pkg-descr (new)
   1.1       +18 -0     ports/mail/squirrelmail-tmda-plugin/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/98757: commit references a PR
Date: Tue,  3 Oct 2006 18:12:20 +0000 (UTC)

 alepulver    2006-10-03 18:12:13 UTC
 
   FreeBSD doc repository (ports committer)
 
   Modified files:
     en_US.ISO8859-1/articles/contributors contrib.additional.sgml 
   Log:
   Add Raul Pollicino for mail/squirrelmail-tmda-plugin.
   
   PR:             ports/98757
   Submitted by:   Raul Pollicino <email-ports@def-defying.com>
   
   Revision  Changes    Path
   1.613     +5 -0      doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
