From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 15 03:50:02 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22C9916A402 for ; Thu, 15 Mar 2007 03:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id EE96B13C4AD for ; Thu, 15 Mar 2007 03:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2F3o1Kc064847 for ; Thu, 15 Mar 2007 03:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2F3o16n064846; Thu, 15 Mar 2007 03:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 15 Mar 2007 03:50:01 GMT Resent-Message-Id: <200703150350.l2F3o16n064846@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Abthorpe Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34D8616A402 for ; Thu, 15 Mar 2007 03:45:22 +0000 (UTC) (envelope-from tabthorpe@goodking.goodking.ca) Received: from tbaytel.net (front3-i.tbaytel.net [216.211.26.178]) by mx1.freebsd.org (Postfix) with ESMTP id D8FE613C489 for ; Thu, 15 Mar 2007 03:45:21 +0000 (UTC) (envelope-from tabthorpe@goodking.goodking.ca) Received: from stjames.stthomasanglican.org ([216.211.52.234] verified) by front3.tbaytel.net (CommuniGate Pro SMTP 5.0.8) with ESMTPS id 45956759 for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Mar 2007 23:45:20 -0400 Received: from goodking.goodking.ca (goodking-stjames-tun.goodking.ca [172.31.17.10]) by stjames.stthomasanglican.org (8.14.0/8.14.0) with ESMTP id l2F2khga053822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 14 Mar 2007 22:47:21 -0400 (EDT) (envelope-from tabthorpe@goodking.goodking.ca) Received: from goodking.goodking.ca (localhost [127.0.0.1]) by goodking.goodking.ca (8.14.0/8.14.0) with ESMTP id l2F2k0as094221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Mar 2007 22:46:20 -0400 (EDT) (envelope-from tabthorpe@goodking.goodking.ca) Received: (from root@localhost) by goodking.goodking.ca (8.14.0/8.14.0/Submit) id l2F2NGfs009472; Wed, 14 Mar 2007 22:23:16 -0400 (EDT) (envelope-from tabthorpe) Message-Id: <200703150223.l2F2NGfs009472@goodking.goodking.ca> Date: Wed, 14 Mar 2007 22:23:16 -0400 (EDT) From: Thomas Abthorpe To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: thomas@goodking.ca Subject: ports/110310: [MAINTAINER] mail/squirrelmail-pupdate-plugin: fix automatic activation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 03:50:02 -0000 >Number: 110310 >Category: ports >Synopsis: [MAINTAINER] mail/squirrelmail-pupdate-plugin: fix automatic activation >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: Thu Mar 15 03:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Thomas Abthorpe >Release: FreeBSD 6.2-RELEASE-p1 i386 >Organization: GoodKing.Ca >Environment: System: FreeBSD goodking.goodking.ca 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #2: Thu Feb 15 14:49:58 EST 2007 >Description: - fix automatic activation - move toward new SM plugin configuration standard - compat plugin not required, remove reference - bump PORTREVISION Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- squirrelmail-pupdate-plugin-0.7_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/squirrelmail-pupdate-plugin/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 4 Jul 2006 23:04:48 -0000 1.1 +++ Makefile 15 Mar 2007 02:18:21 -0000 @@ -5,20 +5,22 @@ # $FreeBSD: ports/mail/squirrelmail-pupdate-plugin/Makefile,v 1.1 2006/07/04 23:04:48 garga Exp $ # -PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin +PORTNAME= pupdate PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= mail www MASTER_SITES= http://www.squirrelmail.org/plugins/ -DISTNAME= ${SQUIRREL_PLUGIN_NAME}.${PORTVERSION}-1.4.2 +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin +DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.2 DIST_SUBDIR= squirrelmail MAINTAINER= thomas@goodking.ca COMMENT= Checks for plugin updates by parsing the SM site -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin +RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail -SQUIRREL_PLUGIN_NAME= pupdate +SQUIRREL_PLUGIN_NAME= ${PORTNAME} .ifdef SQUIRRELDIR PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} @@ -34,6 +36,7 @@ SUB_LIST+= "SQUIRRELDIR=squirrelmail" .endif .endif +PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME} SUB_FILES= pkg-message @@ -43,6 +46,8 @@ USE_PHP= yes WANT_PHP_WEB= yes +.include + pre-everything:: @${ECHO} "" .ifndef WITHOUT_ACTIVATE @@ -73,4 +78,4 @@ @${ECHO} "" @${CAT} ${PKGMESSAGE} -.include +.include Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/squirrelmail-pupdate-plugin/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 4 Jul 2006 23:04:48 -0000 1.1 +++ pkg-plist 15 Mar 2007 02:18:21 -0000 @@ -1,4 +1,4 @@ -@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin pupdate; fi +@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi %%SQUIRRELDIR%%/plugins/pupdate/docs/index.php %%SQUIRRELDIR%%/plugins/pupdate/docs/INSTALL %%SQUIRRELDIR%%/plugins/pupdate/docs/README @@ -17,4 +17,4 @@ @dirrm %%SQUIRRELDIR%%/plugins/pupdate/docs @dirrm %%SQUIRRELDIR%%/plugins/pupdate/udata @dirrm %%SQUIRRELDIR%%/plugins/pupdate -@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin pupdate; fi +@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi --- squirrelmail-pupdate-plugin-0.7_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: