From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 30 20:20:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 771ECEC0 for ; Fri, 30 May 2014 20:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57B282C5E for ; Fri, 30 May 2014 20:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4UKK0ho007262 for ; Fri, 30 May 2014 20:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4UKK0wH007261; Fri, 30 May 2014 20:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 30 May 2014 20:20:00 GMT Resent-Message-Id: <201405302020.s4UKK0wH007261@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vivek Khera Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F51AE45 for ; Fri, 30 May 2014 20:14:29 +0000 (UTC) Received: from lorax.kcilink.com (lorax.kcilink.com [199.83.96.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6718F2C2E for ; Fri, 30 May 2014 20:14:29 +0000 (UTC) Received: by lorax.kcilink.com (Postfix, from userid 120) id E3D7B17200C; Fri, 30 May 2014 16:06:21 -0400 (EDT) Message-Id: <20140530200621.E3D7B17200C@lorax.kcilink.com> Date: Fri, 30 May 2014 16:06:21 -0400 (EDT) From: Vivek Khera Reply-To: Vivek Khera To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/190431: new port to install mod_dav_svn from subversion X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2014 20:20:00 -0000 >Number: 190431 >Category: ports >Synopsis: new port to install mod_dav_svn from subversion >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 30 20:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 9.2-RELEASE-p6 amd64 >Organization: >Environment: System: FreeBSD lorax.kcilink.com 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #7 r266012M: Thu May 15 09:39:51 EDT 2014 vivek@lorax.kcilink.com:/usr/obj/u/lorax1/usr9/src/sys/KCI64 amd64 >Description: The devel/subversion port default configuraiton does not install the mod_dav_svn module needed to run subversion as a server via apache. In an effort to use only pre-built binary packages, I submit this port which will install the mod_dav_svn and mod_authz_svn modules. This makes it possible to use the base subversion package on all machines as it provides the client part, and this new port, www/mod_dav_svn, only on the server machine as an add-on to subversion. It is my belief that devel/subversion should lose the option to install mod_dav_svn itself, or if such an option is selected, to conflict with www/mod_dav_svn. I did not implement these. Having this "server" variant split out also allows other ports that depend on mod_dav_svn to have packages built, such as www/mod_authnz_crowd, which needs it. Currently this port cannot be built into a package. Once mod_dav_svn is accepted into ports, I will submit the patch I have for the crowd module to depend on it. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' X# Created by: vivek@khera.org X# $FreeBSD: $ X XPORTNAME= mod_dav_svn XPORTVERSION= 1.8.9 XDISTNAME= subversion-${DISTVERSION} X XMAINTAINER= vivek@khera.org XCOMMENT= Install mod_dav_svn for use with subversion and apache X XCATEGORIES+= www XMASTER_SITES= ${MASTER_SITE_APACHE} XDIST_SUBDIR= subversion18 XMASTER_SITE_SUBDIR= subversion X XUSE_APACHE= 22+ XGNU_CONFIGURE= yes XUSES+= tar:bzip2 pkgconfig libtool X XLICENSE= APACHE20 X XLIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion X X# these match subversion XCONFIGURE_ARGS+= --without-swig \ X --with-sqlite=${LOCALBASE} \ X --with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat \ X --with-apxs=${APXS} --with-apache-libexecdir X XALL_TARGET= apache-mod XINSTALL_TARGET= install-mods-shared X X.include b67911656ef5d18c4ae36cb6741b7965 echo x - distinfo sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f' XSHA256 (subversion18/subversion-1.8.9.tar.bz2) = 45d708a5c3ffbef4b2a1044c4716a053e680763743d1f7ba99d0369f6da49e33 XSIZE (subversion18/subversion-1.8.9.tar.bz2) = 6828921 57677d168a5ec21bdf22c9501f075a8f echo x - pkg-descr sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' XInstalls the mod_dav_svn and mod_authz_svn apache modules for use with Xsubversion when serving the repository from Apache. X XWWW: http://subversion.apache.org/ 7f9555c3c1089940396b503dd37f3979 echo x - pkg-plist sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742' X@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dav_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf X%%APACHEMODDIR%%/mod_dav_svn.so X@exec %D/sbin/apxs -e -a -n dav_svn %D/%F X@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+authz_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf X%%APACHEMODDIR%%/mod_authz_svn.so X@exec %D/sbin/apxs -e -a -n authz_svn %D/%F 842cde48cf18b70a11b15515ca566742 exit >Release-Note: >Audit-Trail: >Unformatted: