Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2011 00:04:03 +0100 (CET)
From:      olli hauer <ohauer@FreeBSD.org>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        ohauer@FreeBSD.org
Subject:   ports/154758: [patch] port textproc/htdig fix leftover during package building
Message-ID:  <20110213230408.52098106566B@hub.freebsd.org>
Resent-Message-ID: <201102132310.p1DNABFp066875@freefall.freebsd.org>

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

>Number:         154758
>Category:       ports
>Synopsis:       [patch] port textproc/htdig fix leftover during package building
>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 Feb 13 23:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:


>Description:
If APACHE_VERSION > 13, then the following directories are left over.
- www/cgi-bin
- www/data
- www/icons

>How-To-Repeat:
Build the port against apache22

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

>Fix:

--- htdig.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/htdig/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile	22 Aug 2009 00:36:58 -0000	1.40
+++ Makefile	13 Feb 2011 22:59:15 -0000
@@ -7,9 +7,10 @@
 
 PORTNAME=	htdig
 PORTVERSION=	3.2.0.b6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc www
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/3.2.0b6
+MASTER_SITES=	SF
+MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/3.2.0b6
 DISTNAME=	htdig-3.2.0b6
 
 MAINTAINER=	DougB@FreeBSD.org
@@ -40,6 +41,10 @@
 .if !defined(WITHOUT_APACHE)
 USE_APACHE=	1.3+
 CONFIGURE_ARGS+=	--with-apache=${LOCALBASE}/sbin
+.include "${PORTSDIR}/Mk/bsd.apache.mk"
+.  if ${APACHE_VERSION} > 13
+PLIST_DIRSTRY+=	www/cgi-bin www/data www/icons
+.  endif
 .endif
 
 post-patch:
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/textproc/htdig/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo	24 Nov 2005 00:08:50 -0000	1.10
+++ distinfo	13 Feb 2011 22:59:15 -0000
@@ -1,3 +1,2 @@
-MD5 (htdig-3.2.0b6.tar.gz) = 8a6952f5b97e305dbb7489045bad220f
 SHA256 (htdig-3.2.0b6.tar.gz) = 6da9e0ee8627d5302f5685a1b3e5de5f1e6e8df4c0a92c0ca00796bca9e546c8
 SIZE (htdig-3.2.0b6.tar.gz) = 3104936
--- htdig.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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