Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 15:29:29 +0200 (CEST)
From:      Krzysztof Stryjek <ports@bsdserwis.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/190264: update staging for mail/phplist
Message-ID:  <20140526132929.5C6172CA2AF5@mx1.bsdserwis.com>
Resent-Message-ID: <201405261330.s4QDU0dE095057@freefall.freebsd.org>

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

>Number:         190264
>Category:       ports
>Synopsis:       update staging for mail/phplist
>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:   Mon May 26 13:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
private
>Environment:
System: FreeBSD cmd.wtp3.local 9.1-STABLE FreeBSD 9.1-STABLE #0: Mon May 20 11:38:42 CEST 2013 toor@cmd.wtp3.local:/usr/obj/usr/src/sys/PP amd64

>Description:
	To make staging pass all tests, there is small change to mail/phplist.

>How-To-Repeat:

>Fix:

---------------------------------------- snip ----------------------------------------
diff -ruN phplist/Makefile phplist.new/Makefile
--- phplist/Makefile	2014-02-14 16:14:58.000000000 +0100
+++ phplist.new/Makefile	2014-05-26 15:24:09.000000000 +0200
@@ -3,7 +3,7 @@
 
 PORTNAME=	phplist
 PORTVERSION=	3.0.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail www
 MASTER_SITES=	SF
 EXTRACT_SUFX=	.tgz
@@ -15,6 +15,8 @@
 
 USE_PHP=	hash iconv imap mysql pcre session xml zlib
 NO_BUILD=	yes
+NO_ARCH=	yes
+
 PEARDIR?=	${LOCALBASE}/share/pear
 
 PORTDOCS=	BUGS INSTALL NEWS PEOPLE README README.batches \
@@ -23,12 +25,12 @@
 		README.usertables README.utf8 TODO UPGRADE VERSION \
 		phplist.sql
 
-SUB_FILES=	phplist pkg-message
+SUB_FILES=	phplist
 
 .include <bsd.port.options.mk>
 
 post-extract:
-	@${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php-dist
+	@${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php.sample
 
 do-install:
 	@cd ${WRKSRC}/public_html/&&${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
@@ -37,6 +39,5 @@
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN phplist/pkg-plist phplist.new/pkg-plist
--- phplist/pkg-plist	2014-01-22 16:16:56.000000000 +0100
+++ phplist.new/pkg-plist	2014-05-26 15:24:09.000000000 +0200
@@ -2868,7 +2868,7 @@
 %%WWWDIR%%/lists/admin/viewtemplate.php
 %%WWWDIR%%/lists/admin/vote.php
 %%WWWDIR%%/lists/config/.htaccess
-%%WWWDIR%%/lists/config/config.php-dist
+@sample %%WWWDIR%%/lists/config/config.php.sample
 %%WWWDIR%%/lists/config/config_extended.php
 %%WWWDIR%%/lists/dl.php
 %%WWWDIR%%/lists/images/bg-button.gif
---------------------------------------- snip ----------------------------------------

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



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