From owner-freebsd-ports Fri Jun 8 6:50:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 45DCC37B407 for ; Fri, 8 Jun 2001 06:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f58Do1c33459; Fri, 8 Jun 2001 06:50:01 -0700 (PDT) (envelope-from gnats) Received: from electron.databits.net (electron.databits.net [207.29.204.16]) by hub.freebsd.org (Postfix) with ESMTP id 9389137B401 for ; Fri, 8 Jun 2001 06:47:43 -0700 (PDT) (envelope-from petef@electron.databits.net) Received: (from petef@localhost) by electron.databits.net (8.11.3/8.11.3) id f58Dl4n50978; Fri, 8 Jun 2001 09:47:04 -0400 (EDT) (envelope-from petef) Message-Id: <200106081347.f58Dl4n50978@electron.databits.net> Date: Fri, 8 Jun 2001 09:47:04 -0400 (EDT) From: petef@databits.net Reply-To: petef@databits.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/27963: Update port www/mod_layout to 2.10.6 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27963 >Category: ports >Synopsis: Update port www/mod_layout to 2.10.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 08 06:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pete Fritchman >Release: FreeBSD 4.3-STABLE i386 >Organization: Databits Network Services, Inc. >Environment: System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #5: Sat Jun 2 18:08:29 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386 >Description: - update to 2.10.6 (it's the stable branch) - take over as maintainer (current maintainer, mi@, is ok with this) - don't override do-{build,install} targets -- the distributed Makefile can handle these on it's own now - use NOPORTDOCS - add pkg-message - shorten pkg-comment to please portlint >How-To-Repeat: N/A >Fix: (I've included pkg-message at the end) Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_layout/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 2000/12/19 12:45:30 1.1 +++ Makefile 2001/06/08 00:54:29 @@ -6,32 +6,24 @@ # PORTNAME= mod_layout -PORTVERSION= 2.8.2 +PORTVERSION= 2.10.6 CATEGORIES= www MASTER_SITES= ftp://ftp.tangent.org/pub/apache/ \ http://www.tangent.org/mod_layout/ -MAINTAINER= mi@aldan.algebra.com +MAINTAINER= petef@databits.net BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 -do-build: - cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c *.c +post-patch: + @${PERL} -pi -e 's!-i -a -n!-i -A -n!' ${WRKSRC}/Makefile -do-install: - cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so - -.if !defined(NOPORTDOCS) -PLIST_SUB+= DOC='' - post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/*.html \ - ${PREFIX}/share/doc/${PORTNAME} - -.else -PLIST_SUB+= DOC='@comment ' + ${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/${PORTNAME} .endif + @${CAT} ${PKGMESSAGE} .include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/mod_layout/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 2000/12/19 12:45:30 1.1 +++ distinfo 2001/06/08 00:28:51 @@ -1 +1 @@ -MD5 (mod_layout-2.8.2.tar.gz) = f786c566c7107e1da63201162489d774 +MD5 (mod_layout-2.10.6.tar.gz) = 2221e35e31388354132bbd20bec44d35 Index: pkg-comment =================================================================== RCS file: /home/ncvs/ports/www/mod_layout/pkg-comment,v retrieving revision 1.1 diff -u -r1.1 pkg-comment --- pkg-comment 2000/12/19 12:45:30 1.1 +++ pkg-comment 2001/06/08 00:53:50 @@ -1 +1 @@ -An Apache module that provides for prepending/appending HTML pages served +Apache module that provides for prepending/appending served HTML pages Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/www/mod_layout/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 2000/12/19 12:45:30 1.1 +++ pkg-descr 2001/06/08 00:41:39 @@ -13,3 +13,6 @@ possibilities. WWW: http://www.tangent.org/mod_layout/ + +- Pete +petef@databits.net Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/mod_layout/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 2000/12/19 12:45:30 1.1 +++ pkg-plist 2001/06/08 00:48:13 @@ -1,5 +1,5 @@ libexec/apache/mod_layout.so -%%DOC%%share/doc/mod_layout/faq.html -%%DOC%%@dirrm share/doc/mod_layout -@exec ${PKG_PREFIX}/sbin/apxs -e -A -n layout mod_layout.so; echo " enable the mod_layout in Apache's config manually" -@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n layout mod_layout.so || echo " remove the mod_layout from Apache's config manually" +%%PORTDOCS%%share/doc/mod_layout/faq.html +@exec %D/sbin/apxs -e -A -n layout mod_layout.so +%%PORTDOCS%%@dirrm share/doc/mod_layout +@unexec %D/sbin/apxs -e -A -n layout mod_layout.so || echo " disable mod_layout in Apache's config manually" And pkg-message: ----------------------------------------------------------------- You have installed mod_layout, a module that can automatically prepend/append HTML pages served. To enable this module, edit ${PREFIX}/etc/apache/httpd.conf and look for the line: #LoadModule layout_module libexec/apache/mod_layout.so Remove the hash mark from the beginning of the line and run ${PREFIX}/sbin/apachectl restart to enable this module. Please see ${PREFIX}/share/doc/mod_layout for more details. ----------------------------------------------------------------- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message