From ohauer@FreeBSD.org  Sun Feb 13 23:55:32 2011
Return-Path: <ohauer@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7F91C106564A;
	Sun, 13 Feb 2011 23:55:32 +0000 (UTC)
	(envelope-from ohauer@FreeBSD.org)
Received: from u18-124.dslaccess.de (unknown [194.231.39.124])
	by mx1.freebsd.org (Postfix) with ESMTP id 34E118FC1C;
	Sun, 13 Feb 2011 23:55:32 +0000 (UTC)
Message-Id: <20110213235532.7F91C106564A@hub.freebsd.org>
Date: Mon, 14 Feb 2011 00:55:26 +0100 (CET)
From: olli hauer <ohauer@FreeBSD.org>
Reply-To: olli hauer <ohauer@FreeBSD.org>
To: <FreeBSD-gnats-submit@freebsd.org>
Cc: <ohauer@FreeBSD.org>
Subject: [patch] port www/mod_uid mark BROKEN if APACHE_VERSION > 13
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         154760
>Category:       ports
>Synopsis:       [patch] port www/mod_uid mark BROKEN if APACHE_VERSION > 13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 14 00:00:16 UTC 2011
>Closed-Date:    Wed Mar 30 13:02:00 UTC 2011
>Last-Modified:  Wed Mar 30 13:02:00 UTC 2011
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:


>Description:
Make BROKEN if build against apache > 13

Build against apache13 is fine, but against 20 / 22 the port does not build.

Apache 13 and 20 are sceduled for deletion, maybe set also a DEPRECATED flag.

>How-To-Repeat:
Build the port against apache 20 / 22

Reference: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/ap22-mod_uid-1.1.0.log

>Fix:

--- mod_uid.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_uid/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	21 May 2009 20:45:34 -0000	1.3
+++ Makefile	13 Feb 2011 23:46:48 -0000
@@ -17,11 +17,14 @@
 
 USE_APACHE=	1.3+
 
+.include <bsd.port.pre.mk>
+
 PORTDOCS=	README.html
 
-.if !defined(APACHE_PORT) || ${APACHE_PORT} == "www/apache13"
+.if !defined(APACHE_PORT) || ${APACHE_PORT} == "www/apache13" || ${APACHE_VERSION} == "13"
 MODULENAME=	mod_uid
 .else
+BROKEN=		does only build with apache13
 MODULENAME=	mod_uid2
 .endif
 
@@ -36,4 +39,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/mod_uid/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	24 Jan 2006 03:13:31 -0000	1.3
+++ distinfo	13 Feb 2011 23:46:48 -0000
@@ -1,3 +1,2 @@
-MD5 (mod_uid-1.1.0.tar.gz) = 50abf184879a6928f76b5975f6074aff
 SHA256 (mod_uid-1.1.0.tar.gz) = 07edf4f68bede96cb0d90611d08b9ea946a6ea5bdcd174fe47459472682c1b44
 SIZE (mod_uid-1.1.0.tar.gz) = 14821
--- mod_uid.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 14 00:00:29 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154760 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154760: commit references a PR
Date: Wed, 30 Mar 2011 12:59:43 +0000 (UTC)

 ohauer      2011-03-30 12:59:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/mod_uid          Makefile 
   Log:
    - mark port broken if apache > 13 (maintainer timeout)
   
   PR:             ports/154760
   Submitted by:   ohauer
   
   Revision  Changes    Path
   1.4       +8 -5      ports/www/mod_uid/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ohauer 
State-Changed-When: Wed Mar 30 13:01:31 UTC 2011 
State-Changed-Why:  
Committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154760 
>Unformatted:
