Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 21:39:45 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29254: Update www/mod_layout to 3.0
Message-ID:  <200107270139.f6R1djw78367@electron.databits.net>

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

>Number:         29254
>Category:       ports
>Synopsis:       Update www/mod_layout to 3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 26 18:40: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 #0: Fri Jul 13 09:58:28 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

- update to version 3.0
- clean up installation (enable httpd.conf stuff by default)
- install better documentation, use DOCSDIR
- update pkg-{comment,descr,message}

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	2001/06/27 05:45:22	1.3
+++ Makefile	2001/07/27 00:34:05
@@ -6,27 +6,28 @@
 #
 
 PORTNAME=	mod_layout
-PORTVERSION=	2.10.6
-PORTREVISION=	1
+PORTVERSION=	3.0
 CATEGORIES=	www
 MASTER_SITES=	ftp://ftp.tangent.org/pub/apache/ \
-		http://www.tangent.org/mod_layout/
+		http://software.tangent.org/download/
 
 MAINTAINER=	petef@databits.net
 
 BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+RUN_DEPENDS=	${BUILD_DEPENDS}
 
 MAKE_ENV=	APXS=${LOCALBASE}/sbin/apxs
 
 post-patch:
-	@${PERL} -pi -e 's!-i -a -n!-i -A -n!; s!APXS=apxs!APXS?=apxs!' \
+	@${PERL} -pi -e 's!APXS=apxs!APXS?=apxs!' \
 		${WRKSRC}/Makefile
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/${PORTNAME}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/faq.html ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}/directives
+	${INSTALL_DATA} ${WRKSRC}/directives/* ${DOCSDIR}/directives
 .endif
 	@${CAT} ${PKGMESSAGE}
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2001/06/17 18:36:35	1.2
+++ distinfo	2001/07/27 00:00:56
@@ -1 +1 @@
-MD5 (mod_layout-2.10.6.tar.gz) = 2221e35e31388354132bbd20bec44d35
+MD5 (mod_layout-3.0.tar.gz) = 4a3ff812549636d2411f8f31abd78426
Index: pkg-comment
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/pkg-comment,v
retrieving revision 1.2
diff -u -r1.2 pkg-comment
--- pkg-comment	2001/06/17 18:36:35	1.2
+++ pkg-comment	2001/07/27 00:08:40
@@ -1 +1 @@
-Apache module that provides for prepending/appending served HTML pages
+Apache module to wrap served pages with a header and/or footer
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	2001/06/17 18:36:35	1.2
+++ pkg-descr	2001/07/27 01:39:19
@@ -1,18 +1,12 @@
-From the software's FAQ list:
-	So what is Mod Layout?
+mod_layout is a utility to wrap served webpages.  This means it can add a
+footer ot header to a document.  This allows you to create a standard look
+and feel throughout a website without using SSI.  Some example uses are
+adding standard disclaimers to the bottom of all pages, banner ads to the
+top of all pages, or even a menu at the beginning of a page.  There are
+many other per-document settings you can modify with mod_layout; see the
+file 'faq.html' for more information.
 
-	Mod layout wraps a page, by saying this I mean that it can place
-	information at both the beginning and the end of a document. This
-	allows you do create a single look and feel throughout a website
-	without using server side includes to "automagically" add content
-	in either of these two locations. You can use it to add standard
-	disclaimers to all of the pages on a server or to place banner
-	adds on the top of all pages (I know, banner adds, ick...). I've
-	even seen people use the header and footer to place the entire
-	contents of a given server inside of tables. There are many
-	possibilities.
-
-WWW: http://www.tangent.org/mod_layout/
+WWW: http://software.tangent.org/projects.pl?view=mod_layout
 
 - Pete
 petef@databits.net
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
--- pkg-message	2001/07/22 03:10:13	1.1
+++ pkg-message	2001/07/27 00:27:24
@@ -1,12 +1,7 @@
-
 -----------------------------------------------------------------
 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
+add a footer or header to pages served.
 
-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.
+Please see ${PREFIX}/share/doc/mod_layout/faq.html
+for details on using this module.
 -----------------------------------------------------------------
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/mod_layout/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	2001/06/17 18:36:35	1.2
+++ pkg-plist	2001/07/27 00:38:31
@@ -1,5 +1,39 @@
 libexec/apache/mod_layout.so
+@exec %D/sbin/apxs -e -a -n layout %D/%f
+@unexec echo "===>  If you do not plan on reinstalling mod_layout, you must manually remove"; echo "===>  references to it in httpd.conf."
 %%PORTDOCS%%share/doc/mod_layout/faq.html
-@exec %D/sbin/apxs -e -A -n layout mod_layout.so
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutCache.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutCacheNeeded.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutComment.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutDefaultHandlers.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutDisplayOriginal.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooter.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooterFile.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooterOff.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutFooterTXT.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPHeader.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPHeaderOff.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPOverrideHandler.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHTTPOverrideURI.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHandler.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHandlerGlob.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeader.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeaderFile.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeaderOff.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutHeaderTXT.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreFooterURI.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreHeaderURI.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreTag.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreTagFooter.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreTagHeader.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutIgnoreURI.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMerge.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMergeBeginTag.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMergeEndTag.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutMergeErrorIgnore.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutPostAsync.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutProxy.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutReplaceTags.html
+%%PORTDOCS%%share/doc/mod_layout/directives/LayoutTimeFormat.html
+%%PORTDOCS%%@dirrm share/doc/mod_layout/directives
 %%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"
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107270139.f6R1djw78367>