Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 16:15:42 -0400 (EDT)
From:      Thomas Abthorpe <thomas@goodking.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        alexander@wittig.name, thomas@goodking.ca, miwi@FreeBSD.org
Subject:   ports/114482: [PATCH] mail/squirrelmail-compatibility-plugin: take maintainership
Message-ID:  <200707102015.l6AKFgWE041371@goodking.goodking.ca>
Resent-Message-ID: <200707102020.l6AKK4LY035683@freefall.freebsd.org>

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

>Number:         114482
>Category:       ports
>Synopsis:       [PATCH] mail/squirrelmail-compatibility-plugin: take maintainership
>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 Jul 10 20:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD goodking.goodking.ca 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Sun Jun 10 14:58:15 EDT 2007
>Description:
- Take maintainership, pre-arranged with current maintainer
- rework Makefile for easier readibility
- reformat pkg-desc
- bump PORTREVISION, for plist change

Port maintainer (alexander@wittig.name) is cc'd.

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

--- squirrelmail-compatibility-plugin-1.3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-compatibility-plugin1/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	12 Feb 2007 16:36:51 -0000	1.7
+++ Makefile	10 Jul 2007 20:12:54 -0000
@@ -4,34 +4,40 @@
 #
 # $FreeBSD: ports/mail/squirrelmail-compatibility-plugin1/Makefile,v 1.7 2007/02/12 16:36:51 rafan Exp $
 
-PORTNAME=	squirrelmail
+PORTNAME=	compatibility
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	mail www
 MASTER_SITES=	http://www.squirrelmail.org/plugins/
-PKGNAMESUFFIX=	-${SQUIRREL_PLUGIN_NAME}-plugin
-DISTNAME=	${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}
+PKGNAMEPREFIX=	squirrelmail-
+PKGNAMESUFFIX=	-plugin
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	squirrelmail
 
-MAINTAINER=	alexander@wittig.name
+MAINTAINER=	thomas@goodking.ca
 COMMENT=	Required by many plugins for compatibility with SquirrelMail
 
 RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
 
 CONFLICTS=	squirrelmail-compatibility-plugin-2.*
 
-SQUIRREL_PLUGIN_NAME=	compatibility
+SQUIRREL_PLUGIN_NAME=	${PORTNAME}
 
 .ifdef SQUIRRELDIR
 PLIST_SUB+=	SQUIRRELDIR=${SQUIRRELDIR}
+SUB_LIST+=	"SQUIRRELDIR=${SQUIRRELDIR}"
 .else
-.	ifndef WITHOUT_WWWDIR
+.ifndef WITHOUT_WWWDIR
 SQUIRRELDIR=	${PREFIX}/www/squirrelmail
 PLIST_SUB+=	SQUIRRELDIR=www/squirrelmail
-.	else
+SUB_LIST+=	"SQUIRRELDIR=www/squirrelmail"
+.else
 SQUIRRELDIR=	${PREFIX}/squirrelmail
 PLIST_SUB+=	SQUIRRELDIR=squirrelmail
-.	endif
+SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
+.endif
 .endif
+PLIST_SUB+=	SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
@@ -55,6 +61,7 @@
 
 do-install:
 	${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
 
 post-install:
 .ifndef WITHOUT_ACTIVATE
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-compatibility-plugin1/pkg-descr,v
retrieving revision 1.3
diff -u -r1.3 pkg-descr
--- pkg-descr	12 Feb 2007 13:17:29 -0000	1.3
+++ pkg-descr	10 Jul 2007 20:12:54 -0000
@@ -1,10 +1,7 @@
-SquirrelMail Plug-in that provides a standard API for plugin authors who need
-certain functionalities that may not be available in older versions of
-SquirrelMail. SquirrelMail administrators only need to download this plugin if
-any of the plugins they have require it.
+SquirrelMail Plug-in that provides a standard API for plugin authors
+who need certain functionalities that may not be available in older
+versions of SquirrelMail. SquirrelMail administrators only need to
+download this plugin if any of the plugins they have require it.
 This plugin has no functionality in and of itself.
 
 WWW: http://www.squirrelmail.org
-
-- Alexander Wittig
-alexander@wittig.name
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-compatibility-plugin1/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- pkg-plist	12 Feb 2007 16:36:51 -0000	1.7
+++ pkg-plist	10 Jul 2007 20:12:54 -0000
@@ -1,4 +1,4 @@
-@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin compatibility; fi
+@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
 %%SQUIRRELDIR%%/plugins/compatibility/functions.php
 %%SQUIRRELDIR%%/plugins/compatibility/index.php
 %%SQUIRRELDIR%%/plugins/compatibility/INSTALL
@@ -6,4 +6,4 @@
 %%SQUIRRELDIR%%/plugins/compatibility/setup.php
 %%SQUIRRELDIR%%/plugins/compatibility/version
 @dirrm %%SQUIRRELDIR%%/plugins/compatibility
-@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin compatibility; fi
+@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
--- squirrelmail-compatibility-plugin-1.3_1.patch ends here ---

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



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