Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 19:55:26 -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/114488: [PATCH] mail/squirrelmail-change_ldappass-plugin: take maintainership
Message-ID:  <200707102355.l6ANtQe7060640@goodking.goodking.ca>
Resent-Message-ID: <200707110000.l6B00DPQ064461@freefall.freebsd.org>

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

>Number:         114488
>Category:       ports
>Synopsis:       [PATCH] mail/squirrelmail-change_ldappass-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:   Wed Jul 11 00:00:13 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, prearranged with current maintainer
- update Makefile for better readibility
- bump PORTREVISION for plist change
- reformat pkg-descr

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

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

--- squirrelmail-change_ldappass-plugin-2.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-change_ldappass-plugin/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	23 Jan 2007 19:17:43 -0000	1.4
+++ Makefile	10 Jul 2007 23:53:33 -0000
@@ -4,44 +4,49 @@
 #
 # $FreeBSD: ports/mail/squirrelmail-change_ldappass-plugin/Makefile,v 1.4 2007/01/23 19:17:43 miwi Exp $
 
-PORTNAME=	squirrelmail
+PORTNAME=	change_ldappass
 PORTVERSION=	2.1
+PORTREVISION=	1
 CATEGORIES=	mail www
 MASTER_SITES=	http://www.squirrelmail.org/plugins/
-PKGNAMESUFFIX=	-${SQUIRREL_PLUGIN_NAME}-plugin
-DISTNAME=	${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
+PKGNAMEPREFIX=	squirrelmail-
+PKGNAMESUFFIX=	-plugin
+DISTNAME=	${PORTNAME}-${PORTVERSION}-1.4.0
 DIST_SUBDIR=	squirrelmail
 
-MAINTAINER=	alexander@wittig.name
+MAINTAINER=	thomas@goodking.ca
 COMMENT=	Allows users to change their passwords stored in LDAP Tree
 
 RUN_DEPENDS=	${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
 
-SQUIRREL_PLUGIN_NAME=	change_ldappass
+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
 SUB_LIST+=	"SQUIRRELDIR=www/squirrelmail"
-.	else
+.else
 SQUIRRELDIR=	${PREFIX}/squirrelmail
 PLIST_SUB+=	SQUIRRELDIR=squirrelmail
 SUB_LIST+=	"SQUIRRELDIR=squirrelmail"
-.	endif
 .endif
+.endif
+PLIST_SUB+=	SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
 
 SUB_FILES=	pkg-message
 
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
-USE_PERL5_BUILD=yes
-USE_PHP=	ldap
-WANT_PHP_WEB=	yes
-USE_GETTEXT=	yes
+NO_BUILD=		yes
+NO_WRKSUBDIR=		yes
+USE_PERL5_BUILD=	yes
+USE_PHP=		ldap
+WANT_PHP_WEB=		yes
+USE_GETTEXT=		yes
+
+.include <bsd.port.pre.mk>
 
 pre-everything::
 	@${ECHO} ""
@@ -58,6 +63,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
@@ -72,4 +78,4 @@
 	@${ECHO} ""
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-change_ldappass-plugin/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	21 Nov 2005 15:03:20 -0000	1.1
+++ pkg-descr	10 Jul 2007 23:53:33 -0000
@@ -1,7 +1,5 @@
-SquirrelMail (mail/suirrelmail) Plug-In to allow users to change their user
-passwords stored in an LDAP directory from within SquirrelMail.
+SquirrelMail (mail/suirrelmail) Plug-In to allow users to change
+their user passwords stored in an LDAP directory from within
+SquirrelMail.
 
 WWW: http://www.squirrelmail.org
-
-- Alexander Wittig
-alexander@wittig.name
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-change_ldappass-plugin/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	31 Oct 2006 13:28:34 -0000	1.3
+++ pkg-plist	10 Jul 2007 23:53:33 -0000
@@ -1,4 +1,4 @@
-@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin change_ldappass; fi
+@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
 %%SQUIRRELDIR%%/plugins/change_ldappass/locale/fr_FR/LC_MESSAGES/change_ldappass.mo
 %%SQUIRRELDIR%%/plugins/change_ldappass/locale/fr_FR/LC_MESSAGES/change_ldappass.po
 %%SQUIRRELDIR%%/plugins/change_ldappass/locale/pl_PL/LC_MESSAGES/change_ldappass.mo
@@ -57,4 +57,4 @@
 @dirrm %%SQUIRRELDIR%%/plugins/change_ldappass/locale/sv_SE
 @dirrm %%SQUIRRELDIR%%/plugins/change_ldappass/locale
 @dirrm %%SQUIRRELDIR%%/plugins/change_ldappass/
-@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin change_ldappass; fi
+@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
--- squirrelmail-change_ldappass-plugin-2.1_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?200707102355.l6ANtQe7060640>