ports/133686: [PATCH] www/mod_tsunami: apache@ cleanups
Philip M. Gollucci
pgollucci at FreeBSD.org
Mon Apr 13 04:10:02 UTC 2009
>Number: 133686
>Category: ports
>Synopsis: [PATCH] www/mod_tsunami: apache@ cleanups
>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: Mon Apr 13 04:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD mail.bluecottontech.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 22:10:18 UTC 2009
>Description:
- USE_APACHE=yes is deprecated
- Use PORTDOCS
- Convert to AP_FAST_BUILD/AP_GENPLIST
Removed file(s):
- pkg-plist
Port maintainer (ale at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- mod_tsunami-3.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_tsunami/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile 21 Oct 2004 21:58:55 -0000 1.8
+++ Makefile 13 Apr 2009 04:03:03 -0000
@@ -13,23 +13,20 @@
MAINTAINER= ale at FreeBSD.org
COMMENT= Apache module which dynamically limits a site's slot usage
-USE_APACHE= yes
-DOCS= AUTHORS Changelog
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-do-build:
- @cd ${WRKSRC} && ${APXS} -c mod_tsunami.c
+PORTDOCS= AUTHORS Changelog docs
-do-install:
- ${APXS} -i -A -n tsunami ${WRKSRC}/mod_tsunami.so
+post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
- @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
-
-post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 21 Oct 2004 21:58:55 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-libexec/apache/mod_tsunami.so
- at exec %D/sbin/apxs -e -A -n tsunami %D/%F
- at unexec %D/sbin/apxs -e -A -n tsunami %D/%F
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/Changelog
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/index.gif
-%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/home.gif
-%%PORTDOCS%%%%DOCSDIR%%/mod_tsunami_files/sub.gif
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/mod_tsunami_files
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- mod_tsunami-3.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list