Date: Sun, 12 Apr 2009 06:38:24 GMT From: "Philip M. Gollucci" <pgollucci@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ale@FreeBSD.org Subject: ports/133645: [PATCH] www/mod_gzip: apache@ cleanups Message-ID: <200904120638.n3C6cOeZ046403@mail.bluecottontech.com> Resent-Message-ID: <200904120640.n3C6e1Of091171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133645 >Category: ports >Synopsis: [PATCH] www/mod_gzip: 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: Sun Apr 12 06:40: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 - Handle NOPORTEXAMPLES - Use SF macro - Use APACHEMODDIR in pkg-plist Port maintainer (ale@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mod_gzip-1.3.26.1a.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/mod_gzip/Makefile,v retrieving revision 1.14 diff -u -u -r1.14 Makefile --- Makefile 10 Dec 2006 14:33:34 -0000 1.14 +++ Makefile 12 Apr 2009 06:37:33 -0000 @@ -8,14 +8,14 @@ PORTNAME= mod_gzip PORTVERSION= 1.3.26.1a CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= mod-gzip +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/} EXTRACT_SUFX= .tgz MAINTAINER= ale@FreeBSD.org COMMENT= An Internet Content Acceleration module for Apache -USE_APACHE= yes +USE_APACHE= 1.3 MAKE_ENV+= "APXS=${APXS}" ALL_TARGET= build @@ -23,12 +23,16 @@ @${REINPLACE_CMD} 's|-Wc,-Wall,-O3,-fomit-frame-pointer,-pipe||' \ ${WRKSRC}/Makefile +PORTEXAMPLES= ${PORTNAME}.conf.sample + post-install: - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/mod_gzip.conf.sample ${EXAMPLESDIR} +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR}/ + @${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.conf.sample ${EXAMPLESDIR}/ +.endif .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/manual/english/* ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/docs/manual/english/* ${DOCSDIR}/ .endif .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/mod_gzip/pkg-plist,v retrieving revision 1.5 diff -u -u -r1.5 pkg-plist --- pkg-plist 1 Jan 2003 20:28:49 -0000 1.5 +++ pkg-plist 12 Apr 2009 06:37:33 -0000 @@ -1,20 +1,18 @@ -libexec/apache/mod_gzip.so +%%APACHEMODDIR%%/mod_gzip.so @exec %D/sbin/apxs -e -A -n gzip %f @unexec %D/sbin/apxs -e -A -n gzip %f -%%PORTDOCS%%share/doc/mod_gzip/browser.htm -%%PORTDOCS%%share/doc/mod_gzip/cache.htm -%%PORTDOCS%%share/doc/mod_gzip/config.htm -%%PORTDOCS%%share/doc/mod_gzip/encoding.htm -%%PORTDOCS%%share/doc/mod_gzip/enhancements.htm -%%PORTDOCS%%share/doc/mod_gzip/extern.gif -%%PORTDOCS%%share/doc/mod_gzip/firewalls.htm -%%PORTDOCS%%share/doc/mod_gzip/index.htm -%%PORTDOCS%%share/doc/mod_gzip/links.htm -%%PORTDOCS%%share/doc/mod_gzip/mod_gzip_logo.gif -%%PORTDOCS%%share/doc/mod_gzip/status.htm -%%PORTDOCS%%share/doc/mod_gzip/valid-css.png -%%PORTDOCS%%share/doc/mod_gzip/valid-xhtml11.png -%%PORTDOCS%%share/doc/mod_gzip/versions.htm -share/examples/mod_gzip/mod_gzip.conf.sample -@dirrm share/examples/mod_gzip -%%PORTDOCS%%@dirrm share/doc/mod_gzip +%%PORTDOCS%%%%DOCSDIR%%/browser.htm +%%PORTDOCS%%%%DOCSDIR%%/cache.htm +%%PORTDOCS%%%%DOCSDIR%%/config.htm +%%PORTDOCS%%%%DOCSDIR%%/encoding.htm +%%PORTDOCS%%%%DOCSDIR%%/enhancements.htm +%%PORTDOCS%%%%DOCSDIR%%/extern.gif +%%PORTDOCS%%%%DOCSDIR%%/firewalls.htm +%%PORTDOCS%%%%DOCSDIR%%/index.htm +%%PORTDOCS%%%%DOCSDIR%%/links.htm +%%PORTDOCS%%%%DOCSDIR%%/mod_gzip_logo.gif +%%PORTDOCS%%%%DOCSDIR%%/status.htm +%%PORTDOCS%%%%DOCSDIR%%/valid-css.png +%%PORTDOCS%%%%DOCSDIR%%/valid-xhtml11.png +%%PORTDOCS%%%%DOCSDIR%%/versions.htm +%%PORTDOCS%%@dirrm %%DOCSDIR%% --- mod_gzip-1.3.26.1a.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?200904120638.n3C6cOeZ046403>