ports/110161: squirrelmail-vlogin-plugin version update

Neil Darlow neil at darlow.co.uk
Sat Mar 10 16:10:07 UTC 2007


>Number:         110161
>Category:       ports
>Synopsis:       squirrelmail-vlogin-plugin version 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:   Sat Mar 10 16:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Neil Darlow
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD router.darlow.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 15 19:14:27 GMT 2007 root at router.darlow.co.uk:/usr/obj/usr/src/sys/ROUTER i386
>Description:
squirrelmail-vlogin-plugin-3.9.2 version update
This update introduces 3 port layout changes:
1) Use of PKGNAMEPREFIX/PORTNAME/PKGNAMESUFFIX to identify the port (new standard)
2) Substitution of SQUIRREL_PLUGIN_NAME into pkg-plist to prevent future cut-and-paste errors
3) Use of bsd.port.pre.mk and bsd.port.post.mk to fix automatic plugin registration
>How-To-Repeat:
N/A
>Fix:
Patch follows.
diff -ur squirrelmail-vlogin-plugin.orig/Makefile squirrelmail-vlogin-plugin/Makefile
--- squirrelmail-vlogin-plugin.orig/Makefile    Thu Jan 25 22:58:52 2007
+++ squirrelmail-vlogin-plugin/Makefile Sat Mar 10 14:19:10 2007
@@ -4,13 +4,13 @@
 #
 # $FreeBSD: ports/mail/squirrelmail-vlogin-plugin/Makefile,v 1.10 2007/01/25 22:58:52 miwi Exp $

-PORTNAME=              squirrelmail
-PORTVERSION=           3.9.1
-PORTREVISION=          1
+PORTNAME=              vlogin
+PORTVERSION=           3.9.2
 CATEGORIES=            mail www
 MASTER_SITES=          http://www.squirrelmail.org/plugins/
-PKGNAMESUFFIX=         -${SQUIRREL_PLUGIN_NAME}-plugin
-DISTNAME=              ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.2.7
+PKGNAMEPREFIX=         squirrelmail-
+PKGNAMESUFFIX=         -plugin
+DISTNAME=              ${PORTNAME}-${PORTVERSION}-1.2.7
 DIST_SUBDIR=           squirrelmail

 MAINTAINER=            neil at darlow.co.uk
@@ -19,7 +19,7 @@
 RUN_DEPENDS=           ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
                        squirrelmail-compatibility-plugin>=2.0.5:${PORTSDIR}/mail/squirrelmail-compatibility-plugin

-SQUIRREL_PLUGIN_NAME=  vlogin
+SQUIRREL_PLUGIN_NAME=  ${PORTNAME}

 .ifdef SQUIRRELDIR
 PLIST_SUB+=            SQUIRRELDIR=${SQUIRRELDIR}
@@ -32,12 +32,15 @@
 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

+.include <bsd.port.pre.mk>
+
 pre-everything::
        @${ECHO} ""
 .ifndef WITHOUT_ACTIVATE
@@ -66,4 +69,4 @@
        @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
 .endif

-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ur squirrelmail-vlogin-plugin.orig/distinfo squirrelmail-vlogin-plugin/distinfo
--- squirrelmail-vlogin-plugin.orig/distinfo    Tue Jan 23 16:16:23 2007
+++ squirrelmail-vlogin-plugin/distinfo Sat Mar 10 14:09:24 2007
@@ -1,3 +1,3 @@
-MD5 (squirrelmail/vlogin-3.9.1-1.2.7.tar.gz) = 3d3f7981c1d372c6a0aa6951be78e61c
-SHA256 (squirrelmail/vlogin-3.9.1-1.2.7.tar.gz) = 41ac7ac5e3c9010e639ab6a3345de2ee8638f24fe325aea2792a9be2d4f3f601
-SIZE (squirrelmail/vlogin-3.9.1-1.2.7.tar.gz) = 55077
+MD5 (squirrelmail/vlogin-3.9.2-1.2.7.tar.gz) = 2903bfc71c935adce42c959d622928e2
+SHA256 (squirrelmail/vlogin-3.9.2-1.2.7.tar.gz) = b0881ee623f9aa2b205b6b9ed1e15a52fb76257c902c83aacdefba235fb5da10
+SIZE (squirrelmail/vlogin-3.9.2-1.2.7.tar.gz) = 57003
diff -ur squirrelmail-vlogin-plugin.orig/pkg-plist squirrelmail-vlogin-plugin/pkg-plist
--- squirrelmail-vlogin-plugin.orig/pkg-plist   Tue Nov 21 19:43:22 2006
+++ squirrelmail-vlogin-plugin/pkg-plist        Sat Mar 10 14:04:00 2007
@@ -1,4 +1,4 @@
- at unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin vlogin; fi
+ at unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
 %%SQUIRRELDIR%%/plugins/vlogin/data/service_levels/.htaccess
 %%SQUIRRELDIR%%/plugins/vlogin/data/service_levels/index.php
 %%SQUIRRELDIR%%/plugins/vlogin/data/service_levels/premium.sample.php
@@ -32,4 +32,4 @@
 @dirrmtry %%SQUIRRELDIR%%/plugins/vlogin/data/domains
 @dirrmtry %%SQUIRRELDIR%%/plugins/vlogin/data
 @dirrmtry %%SQUIRRELDIR%%/plugins/vlogin
- at exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin vlogin; fi
+ at exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi

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



More information about the freebsd-ports-bugs mailing list