update for www/mod_layout2 (4.0.2a -> 4.1)

Guy Antony Halse G.halse at ru.ac.za
Tue May 15 19:48:29 UTC 2007


Hi

www/mod_layout2 is out of date.  Here's a patch that brings it up-to-date:

diff -ruN mod_layout2/Makefile mod_layout2.old/Makefile
--- mod_layout2/Makefile	Tue May 15 20:11:14 2007
+++ mod_layout2.old/Makefile	Wed May 25 03:33:25 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mod_layout
-PORTVERSION=	4.1
+PORTVERSION=	4.0.2a
 CATEGORIES=	www
 MASTER_SITES=	http://download.tangent.org/
 
diff -ruN mod_layout2/README.html mod_layout2.old/README.html
--- mod_layout2/README.html	Sun Jan 11 04:38:15 2004
+++ mod_layout2.old/README.html	Thu Jan  1 02:00:00 1970
@@ -1,43 +0,0 @@
-<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
-
-<html>
-  <head>
-    <title>The FreeBSD Ports Collection (www/mod_layout2)</title>
-  </head>
-
-  <body>
-    <h1>The FreeBSD Ports Collection (www/mod_layout2)</h1>
-    <hr>
-
-    <p>You are now in the directory for the port "www/mod_layout2".</p>
-
-    <p>The package name of this port is "mod_layout-4.0.2a".</p>
-
-    <p>This is the one-line description for this port:</p>
-    <hr>
-
-    <p>
-Apache2 module to wrap served pages with a header and/or footer
-    </p>
-    <hr>
-
-    <p>Please read the "<a href="pkg-descr">description file</a>" for a
-    longer description and/or visit the <a href="http://software.tangent.org/projects.pl?view=mod_layout">web site</a> for futher informations.</p>
-
-    <p>If needed, you may contact the <a href=
-    "mailto:sheepkiller at cultdeadsheep.org">maintainer</a> of this port or the port <a href=
-    "mailto:ports at FreeBSD.org">mailing-list</a>.</p>
-
-    <p>This port requires package(s) "apache-2.0.48_1 expat-1.95.6_1 perl-5.6.1_15" to build.</p>
-
-    <p>This port requires package(s) "apache-2.0.48_1 expat-1.95.6_1 perl-5.6.1_15" to run.</p>
-
-    <p>Go to the <a href="../../README.html">top of the ports tree</a> for
-    a summary on how to use the ports collection.</p>
-    <hr>
-
-    <p><a href="../README.html">Go up one level</a> | <a href=
-    "../../README.html">Go to top of ports tree</a></p>
-  </body>
-</html>
-
diff -ruN mod_layout2/distinfo mod_layout2.old/distinfo
--- mod_layout2/distinfo	Tue May 15 20:13:58 2007
+++ mod_layout2.old/distinfo	Wed Jan 25 03:34:25 2006
@@ -1,3 +1,3 @@
-MD5 (mod_layout-4.1.tar.gz) = e4af84f22851b95c9303ccdcc0a35e31
-SHA256 (mod_layout-4.1.tar.gz) = 1d3a72637731e83e22b86f77e94e0cf09d0c7ccc6b2bce934fafd3607e438ed2
-SIZE (mod_layout-4.1.tar.gz) = 22693
+MD5 (mod_layout-4.0.2a.tar.gz) = 123cbefc6e137f22e134025801eed47f
+SHA256 (mod_layout-4.0.2a.tar.gz) = 0af42d12460b01ad2f6c19e5dfd5e93f8a39df8e593b3767185779da574cf3fd
+SIZE (mod_layout-4.0.2a.tar.gz) = 13663
diff -ruN mod_layout2/files/patch-Makefile mod_layout2.old/files/patch-Makefile
--- mod_layout2/files/patch-Makefile	Tue May 15 20:23:22 2007
+++ mod_layout2.old/files/patch-Makefile	Fri Sep 26 19:25:14 2003
@@ -1,10 +1,13 @@
---- Makefile.orig	Wed Feb 21 23:29:07 2007
-+++ Makefile	Tue May 15 20:23:08 2007
-@@ -1,14 +1,17 @@
+--- Makefile.orig	Wed Sep 24 17:56:08 2003
++++ Makefile	Wed Sep 24 17:56:33 2003
+@@ -1,13 +1,13 @@
  ##
  ##  Makefile -- Build procedure for mod_layout Apache module
  ##
 -builddir=$(shell pwd)
+-top_srcdir=/usr/local/apache2
+-top_builddir=/usr/local/apache2
+-include /usr/local/apache2/build/special.mk
 +#builddir=$(shell pwd)
 +top_srcdir=${LOCALBASE}/share/apache2
 +top_builddir=${LOCALBASE}/share/apache2
@@ -12,17 +15,11 @@
  
  #   the used tools
 -APXS=apxs
--APACHECTL=apachectl
 +APXS=${LOCALBASE}/sbin/apxs
-+APACHECTL=${LOCALBASE}/sbin/apachectl
+ APACHECTL=apachectl
  CC=`$(APXS) -q CC`
  INC=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS`  #-DLAYOUT_FILEOWNER_NAME
--LD_SHLIB=`apxs -q LDFLAGS_SHLIB`
-+LD_SHLIB=`$(APXS) -q LDFLAGS_SHLIB`
- VERSION = 4.1
- DISTNAME = mod_layout
- DISTVNAME = $(DISTNAME)-$(VERSION)
-@@ -58,12 +61,7 @@
+@@ -61,12 +61,7 @@
  	$(APXS) -c header.c
  #   install the shared object file into Apache 
  install: 




- Guy
-- 
Systems Manager, IT Division, Rhodes University, Grahamstown, South Africa
Email: G.Halse at ru.ac.za   Web: http://mombe.org/  IRC: rm-rf at irc.zanet.net
*** ANSI Standard Disclaimer ***                                   J.A.P.H



More information about the freebsd-apache mailing list