Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 18:02:28 -0400 (EDT)
From:      Thomas Abthorpe <thomas@goodking.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/99563: [NEW PORT] mail/squirrelmail-pupdate-plugin: Checks for plugin updates by parsing the SM site
Message-ID:  <200606272202.k5RM2S2D026029@stjames.stthomasanglican.org>
Resent-Message-ID: <200606272210.k5RMAJIp019576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99563
>Category:       ports
>Synopsis:       [NEW PORT] mail/squirrelmail-pupdate-plugin: Checks for plugin updates by parsing the SM site
>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:   Tue Jun 27 22:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD stjames.stthomasanglican.org 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #27: Sat Jun 24 23:38:22 EDT 2006
>Description:
Checks for updates to your currently running plugins by parsing the
SM site, and gives a description of any recent changes that have
been made to the plugin.

Also displays the current stable version of SM and lets you know
what version of SM you are running.

WWW:    http://www.squirrelmail.org/plugin_view.php?id=68

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- squirrelmail-pupdate-plugin-0.7.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-pupdate-plugin
#	squirrelmail-pupdate-plugin/pkg-descr
#	squirrelmail-pupdate-plugin/Makefile
#	squirrelmail-pupdate-plugin/pkg-plist
#	squirrelmail-pupdate-plugin/files
#	squirrelmail-pupdate-plugin/files/pkg-message.in
#	squirrelmail-pupdate-plugin/distinfo
#
echo c - squirrelmail-pupdate-plugin
mkdir -p squirrelmail-pupdate-plugin > /dev/null 2>&1
echo x - squirrelmail-pupdate-plugin/pkg-descr
sed 's/^X//' >squirrelmail-pupdate-plugin/pkg-descr << 'END-of-squirrelmail-pupdate-plugin/pkg-descr'
XChecks for updates to your currently running plugins by parsing the
XSM site, and gives a description of any recent changes that have
Xbeen made to the plugin.
X
XAlso displays the current stable version of SM and lets you know
Xwhat version of SM you are running.
X
XWWW:    http://www.squirrelmail.org/plugin_view.php?id=68
END-of-squirrelmail-pupdate-plugin/pkg-descr
echo x - squirrelmail-pupdate-plugin/Makefile
sed 's/^X//' >squirrelmail-pupdate-plugin/Makefile << 'END-of-squirrelmail-pupdate-plugin/Makefile'
X# New ports collection makefile for:	squirrelmail-pupdate-plugin
X# Date created:		2006-06-27
X# Whom:			Thomas Abthorpe <thomas@goodking.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
XPORTVERSION=	0.7
XCATEGORIES=	mail www
XMASTER_SITES=	http://www.squirrelmail.org/plugins/
XDISTNAME=	${SQUIRREL_PLUGIN_NAME}.${PORTVERSION}-1.4.2
XDIST_SUBDIR=	squirrelmail
X
XMAINTAINER=	thomas@goodking.ca
XCOMMENT=	Checks for plugin updates by parsing the SM site
X
XRUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
X		${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
X
XSQUIRREL_PLUGIN_NAME=	pupdate
X
X.ifdef SQUIRRELDIR
XPLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
XSUB_LIST+=	"SQUIRRELDIR=${SQUIRRELDIR}"
X.else
X.ifndef WITHOUT_WWWDIR
XSQUIRRELDIR=	${PREFIX}/www/squirrelmail
XPLIST_SUB+=	SQUIRRELDIR=www/squirrelmail
XSUB_LIST+=	"SQUIRRELDIR=www/squirrelmail"
X.else
XSQUIRRELDIR=	${PREFIX}/squirrelmail
XPLIST_SUB+=	SQUIRRELDIR=squirrelmail
XSUB_LIST+=	"SQUIRRELDIR=squirrelmail"
X.endif
X.endif
X
XSUB_FILES=	pkg-message
X
XNO_BUILD=		yes
XNO_WRKSUBDIR=		yes
XUSE_PERL5_BUILD=	yes
XUSE_PHP=		yes
XWANT_PHP_WEB=		yes
X
Xpre-everything::
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"
X	@${ECHO} "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"
X	@${ECHO} "WITHOUT_ACTIVATE"
X.endif
X	@${ECHO} ""
X
Xdo-install:
X	${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
X	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
X
Xpost-install:
X.ifndef WITHOUT_ACTIVATE
X.if exists( ${SQUIRRELDIR}/config/config.php )
X	@${ECHO} "Activating plug-in in SquirrelMail"
X	${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
X.endif
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	@${ECHO} ""
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-squirrelmail-pupdate-plugin/Makefile
echo x - squirrelmail-pupdate-plugin/pkg-plist
sed 's/^X//' >squirrelmail-pupdate-plugin/pkg-plist << 'END-of-squirrelmail-pupdate-plugin/pkg-plist'
X@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin pupdate; fi
X%%SQUIRRELDIR%%/plugins/pupdate/docs/index.php
X%%SQUIRRELDIR%%/plugins/pupdate/docs/INSTALL
X%%SQUIRRELDIR%%/plugins/pupdate/docs/README
X%%SQUIRRELDIR%%/plugins/pupdate/udata/core.dat
X%%SQUIRRELDIR%%/plugins/pupdate/udata/defaultdirs.dat
X%%SQUIRRELDIR%%/plugins/pupdate/udata/pluginlist.dat
X%%SQUIRRELDIR%%/plugins/pupdate/udata/index.php
X%%SQUIRRELDIR%%/plugins/pupdate/udata/pluginlist2.dat
X%%SQUIRRELDIR%%/plugins/pupdate/udata/defaultdirs2.dat
X%%SQUIRRELDIR%%/plugins/pupdate/update.php
X%%SQUIRRELDIR%%/plugins/pupdate/version
X%%SQUIRRELDIR%%/plugins/pupdate/optblock.php
X%%SQUIRRELDIR%%/plugins/pupdate/index.php
X%%SQUIRRELDIR%%/plugins/pupdate/config.php.sample
X%%SQUIRRELDIR%%/plugins/pupdate/setup.php
X@dirrm %%SQUIRRELDIR%%/plugins/pupdate/docs
X@dirrm %%SQUIRRELDIR%%/plugins/pupdate/udata
X@dirrm %%SQUIRRELDIR%%/plugins/pupdate
X@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin pupdate; fi
END-of-squirrelmail-pupdate-plugin/pkg-plist
echo c - squirrelmail-pupdate-plugin/files
mkdir -p squirrelmail-pupdate-plugin/files > /dev/null 2>&1
echo x - squirrelmail-pupdate-plugin/files/pkg-message.in
sed 's/^X//' >squirrelmail-pupdate-plugin/files/pkg-message.in << 'END-of-squirrelmail-pupdate-plugin/files/pkg-message.in'
XFor the port to work properly you must copy the file
X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/pupdate/config.php.sample
Xto
X%%PREFIX%%/%%SQUIRRELDIR%%/plugins/pupdate/config.php
Xand edit the configuration to meet your needs.
END-of-squirrelmail-pupdate-plugin/files/pkg-message.in
echo x - squirrelmail-pupdate-plugin/distinfo
sed 's/^X//' >squirrelmail-pupdate-plugin/distinfo << 'END-of-squirrelmail-pupdate-plugin/distinfo'
XMD5 (squirrelmail/pupdate.0.7-1.4.2.tar.gz) = c5b8015e040929b97b2ec6e840f0fb1b
XSHA256 (squirrelmail/pupdate.0.7-1.4.2.tar.gz) = acd0de8f96b14cc300ea674118dbf415beb0053577facd15b5cdef49e0e54158
XSIZE (squirrelmail/pupdate.0.7-1.4.2.tar.gz) = 12337
END-of-squirrelmail-pupdate-plugin/distinfo
exit
--- squirrelmail-pupdate-plugin-0.7.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606272202.k5RM2S2D026029>