ports/124419: Add SASL support to devel/subversion-devel

Andrew Tulloch andrew.tulloch at complinet.com
Mon Jun 9 13:20:02 UTC 2008


>Number:         124419
>Category:       ports
>Synopsis:       Add SASL support to devel/subversion-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 13:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Tulloch
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD xxxxxxxxx 7.0-STABLE FreeBSD 7.0-STABLE #1: Wed May 14 14:43:26 BST 2008     root at xxxxxxxxx:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Add Cyrus SASL support for use with svnserve in subversion 1.5.
>How-To-Repeat:
N/A
>Fix:
Attached patch to Makefile to add SASL option and dependency.

Patch attached with submission follows:

*** Makefile.orig	2008-06-09 14:07:19.000000000 +0100
--- Makefile	2008-06-09 14:08:06.000000000 +0100
***************
*** 49,55 ****
  		MOD_DAV_SVN	"mod_dav_svn module for Apache 2.X" off \
  		APACHE2_APR	"Use APR from Apache 2.X" off \
  		SVNSERVE_WRAPPER	"Enable svnserve wrapper" off \
! 		MAINTAINER_DEBUG	"Build debug version" off
  
  .include <bsd.port.pre.mk>
  
--- 49,56 ----
  		MOD_DAV_SVN	"mod_dav_svn module for Apache 2.X" off \
  		APACHE2_APR	"Use APR from Apache 2.X" off \
  		SVNSERVE_WRAPPER	"Enable svnserve wrapper" off \
! 		MAINTAINER_DEBUG	"Build debug version" off \
! 		SASL			"Build with SASL support" off
  
  .include <bsd.port.pre.mk>
  
***************
*** 225,230 ****
--- 226,239 ----
  PLIST_SUB+=	ASVN="@comment "
  .endif
  
+ .if defined(WITH_SASL)
+ LIB_DEPENDS+=		sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+ CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
+ PLIST_SUB+=		SASL=""
+ .else
+ PLIST_SUB+=		SASL="@comment "
+ .endif
+ 
  SCRIPTS=
  
  SCRIPTS_DATA=


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



More information about the freebsd-ports-bugs mailing list