ports/130543: squirrelmail-password_forget-plugin update
Neil Darlow
neil at darlow.co.uk
Wed Jan 14 13:20:02 UTC 2009
>Number: 130543
>Category: ports
>Synopsis: squirrelmail-password_forget-plugin update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 14 13:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Neil Darlow
>Release: FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD router.darlow.co.uk 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #0: Thu Jan 8 10:17:55 GMT 2009 root at router.darlow.co.uk:/usr/obj/usr/src/sys/ROUTER i386
>Description:
Update of squirrelmail-password_forget-plugin from 2.1 to 2.2 and implemenation
of bsd.squirrelmail.mk build scheme
>How-To-Repeat:
N/A
>Fix:
Patch follows:
diff -ur squirrelmail-password_forget-plugin.orig/Makefile squirrelmail-password_forget-plugin/Makefile
--- squirrelmail-password_forget-plugin.orig/Makefile 2008-06-07 09:08:48.000000000 +0100
+++ squirrelmail-password_forget-plugin/Makefile 2009-01-14 11:26:17.000000000 +0000
@@ -5,69 +5,19 @@
# $FreeBSD: ports/mail/squirrelmail-password_forget-plugin/Makefile,v 1.5 2008/06/06 13:43:04 edwin Exp $
PORTNAME= password_forget
-PORTVERSION= 2.1
-PORTREVISION= 3
+PORTVERSION= 2.2
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
PKGNAMEPREFIX= squirrelmail-
PKGNAMESUFFIX= -plugin
-DISTNAME= ${SQUIRREL_PLUGIN_NAME}.${PORTVERSION}-1.0.1
+DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.0.1
DIST_SUBDIR= squirrelmail
MAINTAINER= neil at darlow.co.uk
COMMENT= Prevent reuse of login details by browsers at public terminals
-RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
- ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
-
-SQUIRREL_PLUGIN_NAME= ${PORTNAME}
-
-.ifdef SQUIRRELDIR
-PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
-.else
-. ifndef WITHOUT_WWWDIR
-SQUIRRELDIR= ${PREFIX}/www/squirrelmail
-PLIST_SUB+= SQUIRRELDIR=www/squirrelmail
-. else
-SQUIRRELDIR= ${PREFIX}/squirrelmail
-PLIST_SUB+= SQUIRRELDIR=squirrelmail
-. endif
-.endif
-PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
-
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
-USE_PERL5_BUILD= yes
-WANT_PHP_WEB= yes
+RUN_DEPENDS= ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
.include <bsd.port.pre.mk>
-
-pre-everything::
- @${ECHO} ""
-.ifndef WITHOUT_ACTIVATE
- @${ECHO} "Activating plug-in in SquirrelMail after installation."
- @${ECHO} "If you don't want to automatically activate the plug-in set"
- @${ECHO} "WITHOUT_ACTIVATE=yes"
-.else
- @${ECHO} "NOT Activating plug-in in SquirrelMail after installation."
- @${ECHO} "If you want to automatically activate the plug-in unset"
- @${ECHO} "WITHOUT_ACTIVATE"
-.endif
- @${ECHO} ""
-
-do-install:
- ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
-
-post-install:
-.ifndef WITHOUT_ACTIVATE
-.if exists( ${SQUIRRELDIR}/config/config.php )
- @${ECHO} "Activating plug-in in SquirrelMail"
- ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
-.endif
-.else
- @${ECHO} "To activate the plug-in in SquirrelMail use"
- @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
-.endif
-
+.include "../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk>
diff -ur squirrelmail-password_forget-plugin.orig/distinfo squirrelmail-password_forget-plugin/distinfo
--- squirrelmail-password_forget-plugin.orig/distinfo 2006-12-04 21:56:46.000000000 +0000
+++ squirrelmail-password_forget-plugin/distinfo 2009-01-14 11:26:25.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (squirrelmail/password_forget.2.1-1.0.1.tar.gz) = 33ffd387d5190b690d53358cb3b4e691
-SHA256 (squirrelmail/password_forget.2.1-1.0.1.tar.gz) = c9297692550a29dfb9b1760fe4837a2fb8c451d472dd5493d51f3631772e2ed1
-SIZE (squirrelmail/password_forget.2.1-1.0.1.tar.gz) = 8971
+MD5 (squirrelmail/password_forget-2.2-1.0.1.tar.gz) = 96568816f6ef310a5413d562befb7007
+SHA256 (squirrelmail/password_forget-2.2-1.0.1.tar.gz) = 88c65779d8f8dd3259240f228f90f844d3b88735c2fd357897787844a2b0ba08
+SIZE (squirrelmail/password_forget-2.2-1.0.1.tar.gz) = 12157
diff -ur squirrelmail-password_forget-plugin.orig/pkg-plist squirrelmail-password_forget-plugin/pkg-plist
--- squirrelmail-password_forget-plugin.orig/pkg-plist 2007-04-27 07:00:55.000000000 +0100
+++ squirrelmail-password_forget-plugin/pkg-plist 2009-01-14 11:37:59.000000000 +0000
@@ -2,9 +2,11 @@
%%SQUIRRELDIR%%/plugins/password_forget/COPYING
%%SQUIRRELDIR%%/plugins/password_forget/INSTALL
%%SQUIRRELDIR%%/plugins/password_forget/README
-%%SQUIRRELDIR%%/plugins/password_forget/config.php.sample
+%%SQUIRRELDIR%%/plugins/password_forget/config_default.php
+%%SQUIRRELDIR%%/plugins/password_forget/config_example.php
%%SQUIRRELDIR%%/plugins/password_forget/functions.php
%%SQUIRRELDIR%%/plugins/password_forget/index.php
+%%SQUIRRELDIR%%/plugins/password_forget/make_release.sh
%%SQUIRRELDIR%%/plugins/password_forget/setup.php
%%SQUIRRELDIR%%/plugins/password_forget/version
@dirrmtry %%SQUIRRELDIR%%/plugins/password_forget
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list