Bug 98757 - New port: mail/squirrelmail-tmda-plugin tmdatools plugin for SquirrelMail
Summary: New port: mail/squirrelmail-tmda-plugin tmdatools plugin for SquirrelMail
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alejandro Pulver
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 17:20 UTC by Raul
Modified: 2006-10-03 19:20 UTC (History)
1 user (show)

See Also:


Attachments
tmdatools.shar (9.15 KB, text/plain)
2006-06-09 17:20 UTC, Raul
no flags Details
tmdatools.shar (5.08 KB, application/octet-stream)
2006-06-27 11:43 UTC, rauly
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raul 2006-06-09 17:20:13 UTC
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.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-06-26 17:43:41 UTC
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
Comment 2 rauly 2006-06-27 11:43:34 UTC
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 ---
Comment 3 Alejandro Pulver freebsd_committer freebsd_triage 2006-10-01 21:22:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

Take PR.
Comment 4 Alejandro Pulver freebsd_committer freebsd_triage 2006-10-03 19:01:50 UTC
State Changed
From-To: open->closed

New port added with a few modifications, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2006-10-03 19:02:09 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"
Comment 6 dfilter service freebsd_committer freebsd_triage 2006-10-03 19:12:20 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"