svn commit: r399662 - in head/devel/subversion18: . files

Lev A. Serebryakov lev at FreeBSD.org
Mon Oct 19 12:50:34 UTC 2015


Author: lev
Date: Mon Oct 19 12:50:32 2015
New Revision: 399662
URL: https://svnweb.freebsd.org/changeset/ports/399662

Log:
   (1) Fix slave ports
   (2) Improve apache configuration sample
  
  PR:		203838
  Submitted by:	Olli Hauer <ohauer at FreeBSD.org>

Modified:
  head/devel/subversion18/Makefile
  head/devel/subversion18/Makefile.common
  head/devel/subversion18/files/220_subversion.conf.sample.in

Modified: head/devel/subversion18/Makefile
==============================================================================
--- head/devel/subversion18/Makefile	Mon Oct 19 12:35:56 2015	(r399661)
+++ head/devel/subversion18/Makefile	Mon Oct 19 12:50:32 2015	(r399662)
@@ -1,7 +1,7 @@
 # Created by: rooneg at electricjellyfish.net
 # $FreeBSD$
 
-PORTREVISION=	2
+PORTREVISION=	3
 
 MAINTAINER=	lev at FreeBSD.org
 COMMENT=	Version control system
@@ -169,9 +169,9 @@ post-install:	${MKREPOS_TARGET}
 	(cd ${WRKSRC}/tools.examples && ${TAR} --exclude '*.in' -cf - * | ${TAR} -C ${STAGEDIR}${DATADIR} -xof - )
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.if ${PORT_OPTIONS:MSVNSERVE_WRAPPER}
+
+post-install-SVNSERVE_WRAPPER-on:
 	@${INSTALL_SCRIPT} ${FILESDIR}/svnserve.wrapper ${STAGEDIR}${PREFIX}/bin/svnserve.sample
-.endif
 
 # ===============================================================================
 repository:	_mkrepos

Modified: head/devel/subversion18/Makefile.common
==============================================================================
--- head/devel/subversion18/Makefile.common	Mon Oct 19 12:35:56 2015	(r399661)
+++ head/devel/subversion18/Makefile.common	Mon Oct 19 12:50:32 2015	(r399662)
@@ -31,8 +31,8 @@ CONFIGURE_ARGS+=	--without-swig \
 
 .if defined(SVN_BUILD_ADDONS)
 CONFLICTS_BUILD+=	${PORTNAME}-1.[^8].[0-9]*
-LIB_DEPENDS+=		libsvn_client-1.so:${PORTSDIR}/devel/subversion
-OPTIONS_NAME=		devel_subversion
+LIB_DEPENDS+=		libsvn_client-1.so:${PORTSDIR}/devel/subversion18
+OPTIONS_NAME=		devel_subversion18
 .endif
 
 # ===============================================================

Modified: head/devel/subversion18/files/220_subversion.conf.sample.in
==============================================================================
--- head/devel/subversion18/files/220_subversion.conf.sample.in	Mon Oct 19 12:35:56 2015	(r399661)
+++ head/devel/subversion18/files/220_subversion.conf.sample.in	Mon Oct 19 12:50:32 2015	(r399662)
@@ -39,6 +39,15 @@
 ##	KeepAlive on
 ##	MaxKeepAliveRequests 1000
 ##
+##	# http://subversion.apache.org/docs/release-notes/1.7.html#server-performance-tuning
+##	# Calculate your own values!
+##	# For mod_dav_svn, a 1GB cache configuration with maximum data coverage looks like this 
+##	<IfModule dav_svn_module>
+##	    SVNInMemoryCacheSize 1048576
+##	    SVNCacheFullTexts on
+##	    SVNCacheTextDeltas on
+##	</IfModule>
+##
 ## Multiple Repos with Digest auth:
 ## - AuthName is an arbitrary name that you choose for the authentication
 ##   domain. Most browsers display this name in the dialog box when prompting
@@ -46,9 +55,14 @@
 ## - AuthType specifies the type of authentication to use.
 ## - AuthUserFile specifies the location of the password file to use.
 ##
-##<IfModule dav_module>
+##<IfModule dav_svn_module>
 ##<Location /svn/>
-##	# Enable Subversion
+##	<ifModule mime_module>
+##		RemoveEncoding  .gz .tgz .Z
+##		RemoveType      .gz .tgz .Z
+##	</ifModule>
+##
+####	# Enable Subversion
 ##	DAV svn
 ##
 ##	# Directory containing all repository for this path


More information about the svn-ports-head mailing list