Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 17:26:09 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485946 - in head/www/mod_rpaf2: . files
Message-ID:  <201811261726.wAQHQ9Y8012685@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Mon Nov 26 17:26:08 2018
New Revision: 485946
URL: https://svnweb.freebsd.org/changeset/ports/485946

Log:
  www/mod_rpaf: The mod_rpaf configuration sample contains an error which makes it non functional as installed.
  
  While here fixed an error in PLIST_FILES and a portling warning.
  
  PR:		233444
  Reported by:	madpilot
  Approved by:	brnrd (apache)
  With hat:	apache
  Differential Revision:	https://reviews.freebsd.org/D17573

Modified:
  head/www/mod_rpaf2/Makefile
  head/www/mod_rpaf2/files/200_mod_rpaf.conf.sample.in

Modified: head/www/mod_rpaf2/Makefile
==============================================================================
--- head/www/mod_rpaf2/Makefile	Mon Nov 26 16:37:45 2018	(r485945)
+++ head/www/mod_rpaf2/Makefile	Mon Nov 26 17:26:08 2018	(r485946)
@@ -4,6 +4,7 @@
 PORTNAME=	mod_rpaf
 PORTVERSION=	0.8.4
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	www
 PKGNAMESUFFIX=	2
 
@@ -12,12 +13,11 @@ COMMENT=	Make proxied requests appear with client IP
 
 LICENSE=	APACHE20
 
+USES=		apache:2.2+
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	gnif
 
-DOCS=	README.md
-
-USES=		apache:2.2+
 AP_FAST_BUILD=	yes
 SHORTMODNAME=	rpaf
 
@@ -25,8 +25,8 @@ SRC_FILE=	mod_rpaf.c
 
 APMOD_FILE=	200_mod_rpaf.conf.sample
 PLIST_SUB+=	APMOD_FILE=${APMOD_FILE}
-PLIST_FILES=	@sample\ %%APACHEETCDIR%%/modules.d/200_${PORTNAME}.conf.sample \
-		%%APACHEMODDIR%%/${PORTNAME}.so
+PLIST_FILES=	@sample\ ${APACHEETCDIR}/modules.d/200_${PORTNAME}.conf.sample \
+		${APACHEMODDIR}/${PORTNAME}.so
 SUB_FILES=	${APMOD_FILE}
 
 PORTDOCS=	README.md

Modified: head/www/mod_rpaf2/files/200_mod_rpaf.conf.sample.in
==============================================================================
--- head/www/mod_rpaf2/files/200_mod_rpaf.conf.sample.in	Mon Nov 26 16:37:45 2018	(r485945)
+++ head/www/mod_rpaf2/files/200_mod_rpaf.conf.sample.in	Mon Nov 26 17:26:08 2018	(r485946)
@@ -1,5 +1,5 @@
 LoadModule rpaf_module	%%APACHEMODDIR%%/mod_rpaf.so
-<IfModule mod_rpaf>
+<IfModule rpaf_module>
   # Enable reverse proxy add forward
   #RPAF_Enable On
 



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