Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 22:42:46 GMT
From:      Steve Wills <swills@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        douglas@douglasthrift.net
Subject:   ports/186749: [PATCH] www/ap22-mod_wsgi3: Fix packaging
Message-ID:  <201402132242.s1DMgkiY045947@meatwad.mouf.net>
Resent-Message-ID: <201402132250.s1DMo01I097562@freefall.freebsd.org>

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

>Number:         186749
>Category:       ports
>Synopsis:       [PATCH] www/ap22-mod_wsgi3: Fix packaging
>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:   Thu Feb 13 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r260369M: Sat Jan 18 14:51:04 UTC
>Description:
- Fix packaging

When packaging with poudriere, poudriere complains:

====>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
usr/local/etc/apache22/httpd.conf: 
	size (16915, 16974)

because apxs modifies the apache config. This is done in the pkg-plist @exec as
well, so there's no need to call it when packaging. So the attached patch takes
care of the issue.

Port maintainer (douglas@douglasthrift.net) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- ap22-mod_wsgi3-3.4_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 344153)
+++ Makefile	(working copy)
@@ -35,6 +35,8 @@
 	@${ECHO_MSG} "========================================================="
 
 post-install:
+.if !defined(PACKAGE_BUILDING)
 	@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
+.endif
 
 .include <bsd.port.mk>
--- ap22-mod_wsgi3-3.4_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?201402132242.s1DMgkiY045947>