ports/154752: [patch] port www/websh fix leftover during package building
olli hauer
ohauer at FreeBSD.org
Sun Feb 13 21:20:09 UTC 2011
>Number: 154752
>Category: ports
>Synopsis: [patch] port www/websh fix leftover during package building
>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: Sun Feb 13 21:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Olli Hauer
>Release:
>Organization:
>Environment:
>Description:
Fix lefetover during package building
During deinstall apxs -e -A ... is executed, this will normally
remove the LoadModule $modulename line if there is any, else a
line with an '#' in front of LoadModule $modulename is added.
Since apxs is not executed during port install the commented line
will be added during deinstall into httpd.conf and this leads to a
build failed with leftover in tinderbox and pointyhat.FreeBSD.org
>How-To-Repeat:
Build the module with apache22 and inspect httpd.conf after install
and deinstall of the port
Reference:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/ap22-mod_log_sql-1.101.log
>Fix:
--- websh.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/websh/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 4 Dec 2010 07:34:01 -0000 1.15
+++ Makefile 13 Feb 2011 20:13:24 -0000
@@ -7,7 +7,7 @@
PORTNAME= websh
PORTVERSION= 3.6.0b5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www tcl
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=tcl/${PORTNAME}/source
@@ -82,6 +82,7 @@
.endif
post-install:
+ @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/mod_${MODULENAME}.so"
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/websh/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 25 Feb 2010 03:38:57 -0000 1.2
+++ distinfo 13 Feb 2011 20:13:24 -0000
@@ -1,3 +1,2 @@
-MD5 (websh-3.6.0b5-src.tar.gz) = 01d8772c8c2f76df9a096d404bc6783e
SHA256 (websh-3.6.0b5-src.tar.gz) = 5d1cd89e1e2259453f5b82d29a516f12b2b33f7a6cf9b075719639684d4047f8
SIZE (websh-3.6.0b5-src.tar.gz) = 269549
--- websh.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list