summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPDATING30
-rw-r--r--devel/p5-subversion/Makefile11
-rw-r--r--devel/p5-subversion/pkg-descr2
-rw-r--r--devel/py-subversion/Makefile9
-rw-r--r--devel/py-subversion/pkg-descr2
-rw-r--r--devel/ruby-subversion/Makefile11
-rw-r--r--devel/ruby-subversion/pkg-descr2
-rw-r--r--devel/subversion-static/Makefile3
-rw-r--r--devel/subversion/Makefile59
-rw-r--r--devel/subversion/Makefile.common45
-rw-r--r--devel/subversion/files/build-outputs.mk10
-rw-r--r--devel/subversion/files/extra-patch-Makefile.in23
-rw-r--r--devel/subversion/files/extra-patch-build.conf11
-rw-r--r--devel/subversion/files/patch-build-outputs.mk6
-rw-r--r--devel/subversion/files/pkg-install.in17
-rw-r--r--devel/subversion/pkg-plist21
-rw-r--r--java/java-subversion/Makefile22
-rw-r--r--java/java-subversion/pkg-descr2
-rw-r--r--security/Makefile2
-rw-r--r--security/subversion-gnome-keyring/Makefile25
-rw-r--r--security/subversion-gnome-keyring/pkg-descr6
-rw-r--r--security/subversion-gnome-keyring/pkg-plist4
-rw-r--r--security/subversion-kwallet/Makefile25
-rw-r--r--security/subversion-kwallet/pkg-descr6
-rw-r--r--security/subversion-kwallet/pkg-plist4
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_dav_svn/Makefile31
-rw-r--r--www/mod_dav_svn/pkg-descr4
-rw-r--r--www/mod_dav_svn/pkg-plist10
29 files changed, 253 insertions, 151 deletions
diff --git a/UPDATING b/UPDATING
index 549b08761ee1..67d296a59450 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,36 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20140616:
+ AFFECTS: users of devel/subversion
+ AUTHOR: lev@FreeBSD.org
+
+ subversion port has been overhauled. Some optional parts was extracted
+ to separate ports. These ports are:
+
+ www/mod_dav_svn
+ instead of option MOD_DAV_SVN.
+ security/subversion-gnome-keyring
+ instead of option GNOME_KEYRING.
+ security/subversion-kwallet
+ instead of option KDE_KWALLET.
+
+ If you used devel/subversion with one (or more) of these non-standard
+ options, you should install appropriate port after subversion upgrade.
+
+ "mod_dontdothat" is installed unconditionally by www/mod_dav_svn
+ port (it has been depended on TOOLS option), but is not activated by
+ default, you may need to edit apache's configuration file.
+
+ devel/subversion port now installs svndiff, svndiff3 and svndiff4
+ commands if TOOLS option is enabled. They was skipped before.
+ Official names "diff", "diff3" and "diff4" are prefixed with "svn" to
+ avoid conflicts with base and other diff versions.
+
+ All libraries and binaries are now stripped if MAINTAINER_DEBUG
+ option is not selected (including all sub-ports, like bindings
+ and mod_dav_svn).
+
20140611:
AFFECTS: users of devel/icu
AUTHOR: bapt@FreeBSD.org
diff --git a/devel/p5-subversion/Makefile b/devel/p5-subversion/Makefile
index 351900664c45..6d94070eab72 100644
--- a/devel/p5-subversion/Makefile
+++ b/devel/p5-subversion/Makefile
@@ -18,20 +18,17 @@ PKGDIR= ${.CURDIR}
USES= perl5
USE_PERL5= build run fixpacklist
-SVN_BUILD_BINDINGS=yes
+SVN_BUILD_BINDINGS= yes
+SVN_BUILD_ADDONS= yes
.include "${MASTERDIR}/Makefile.common"
CATEGORIES+= perl5
-do-build:
- ${MAKE} -C ${WRKSRC} swig-pl-lib ${MAKE_ARGS}
- ${MAKE} -C ${WRKSRC} swig-pl ${MAKE_ARGS}
+ALL_TARGET= swig-pl-lib swig-pl
+INSTALL_TARGET= install-swig-pl
pre-install:
${REINPLACE_CMD} '/SWIG_PL_DIR/s, install$$, all pure_install,g' ${WRKSRC}/Makefile
-do-install:
- ${MAKE} -C ${WRKSRC} install-swig-pl ${MAKE_ARGS}
-
.include <bsd.port.post.mk>
diff --git a/devel/p5-subversion/pkg-descr b/devel/p5-subversion/pkg-descr
index 4ca897a83618..9d1148434cf7 100644
--- a/devel/p5-subversion/pkg-descr
+++ b/devel/p5-subversion/pkg-descr
@@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1).
This port adds Perl bindings to Subversion.
-WWW: http://subversion.tigris.org/
+WWW: http://subversion.apache.org/
diff --git a/devel/py-subversion/Makefile b/devel/py-subversion/Makefile
index beb8452000d7..1fa426ff5974 100644
--- a/devel/py-subversion/Makefile
+++ b/devel/py-subversion/Makefile
@@ -18,16 +18,13 @@ PKGDIR= ${.CURDIR}
USE_PYTHON= yes
SVN_BUILD_BINDINGS= yes
+SVN_BUILD_ADDONS= yes
.include "${MASTERDIR}/Makefile.common"
CATEGORIES+= python
-do-build:
- ${MAKE} -C ${WRKSRC} swig-py-lib ${MAKE_ARGS}
- ${MAKE} -C ${WRKSRC} swig-py ${MAKE_ARGS}
-
-do-install:
- ${MAKE} -C ${WRKSRC} install-swig-py ${MAKE_ARGS}
+ALL_TARGET= swig-py-lib swig-py
+INSTALL_TARGET= install-swig-py
.include <bsd.port.post.mk>
diff --git a/devel/py-subversion/pkg-descr b/devel/py-subversion/pkg-descr
index c34d9f89e286..ae36d2ab9c8a 100644
--- a/devel/py-subversion/pkg-descr
+++ b/devel/py-subversion/pkg-descr
@@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1).
This slave port adds Python bindings to Subversion.
-WWW: http://subversion.tigris.org/
+WWW: http://subversion.apache.org/
diff --git a/devel/ruby-subversion/Makefile b/devel/ruby-subversion/Makefile
index d5da32f7c9f3..3f0b1c234821 100644
--- a/devel/ruby-subversion/Makefile
+++ b/devel/ruby-subversion/Makefile
@@ -18,17 +18,14 @@ PKGDIR= ${.CURDIR}
USE_RUBY= yes
-SVN_BUILD_BINDINGS=yes
+SVN_BUILD_BINDINGS= yes
+SVN_BUILD_ADDONS= yes
.include "${MASTERDIR}/Makefile.common"
CATEGORIES+= ruby
-do-build:
- ${MAKE} -C ${WRKSRC} swig-rb-lib ${MAKE_ARGS}
- ${MAKE} -C ${WRKSRC} swig-rb ${MAKE_ARGS}
-
-do-install:
- ${MAKE} -C ${WRKSRC} install-swig-rb ${MAKE_ARGS}
+ALL_TARGET= swig-rb-lib swig-rb
+INSTALL_TARGET= install-swig-rb
.include <bsd.port.post.mk>
diff --git a/devel/ruby-subversion/pkg-descr b/devel/ruby-subversion/pkg-descr
index 85e9d12d5831..edb266b51cfd 100644
--- a/devel/ruby-subversion/pkg-descr
+++ b/devel/ruby-subversion/pkg-descr
@@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1).
This slave port adds Ruby bindings to Subversion.
-WWW: http://subversion.tigris.org/
+WWW: http://subversion.apache.org/
diff --git a/devel/subversion-static/Makefile b/devel/subversion-static/Makefile
index dffe252ff54b..9250f442f307 100644
--- a/devel/subversion-static/Makefile
+++ b/devel/subversion-static/Makefile
@@ -14,10 +14,7 @@ PKGMESSAGE= ${.CURDIR}/pkg-message
# Set these by hands, as options are undefined
PLIST_SUB+= TOOLS="@comment " \
SVNSERVE_WRAPPER="@comment " \
- GNOME_KEYRING="@comment " \
- KDE_KWALLET="@comment " \
BDB="@comment " \
- MOD_DAV_SVN="@comment " \
NLS="@comment "
.include "${MASTERDIR}/Makefile"
diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index bfb66e137131..7b6332f0c5b9 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/Makefile
@@ -15,10 +15,7 @@ OPTIONS_DEFINE= \
BDB \
DOCS \
FREEBSD_TEMPLATE\
- GNOME_KEYRING \
- KDE_KWALLET \
MAINTAINER_DEBUG\
- MOD_DAV_SVN \
NLS \
P4_STYLE_MARKERS\
SASL \
@@ -30,19 +27,16 @@ OPTIONS_DEFINE= \
OPTIONS_DEFAULT=P4_STYLE_MARKERS \
FREEBSD_TEMPLATE \
- SERF
+ SERF TOOLS
FREEBSD_TEMPLATE_DESC= FreeBSD Project log template
-GNOME_KEYRING_DESC= Build with GNOME Keyring auth support
-KDE_KWALLET_DESC= Build with KDE KWallet auth support
MAINTAINER_DEBUG_DESC= Build debug version
-MOD_DAV_SVN_DESC= mod_dav_svn module for Apache 2.X
P4_STYLE_MARKERS_DESC= Perforce-style conflict markers
SERF_DESC= WebDAV/Delta-V (HTTP/HTTPS) repo access module
STATIC_DESC= Build static version (no shared libs)
SVNSERVE_WRAPPER_DESC= Enable svnserve wrapper (umask setter)
TEST_DESC= Run subversion test suite
-TOOLS_DESC= Install several tools (svnauthz-validate and mod_dontdothat are among them)
+TOOLS_DESC= Install several tools
# Patches required for use with the FreeBSD Project repository only
P4_STYLE_MARKERS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-3way-conflict-markers
@@ -53,12 +47,12 @@ SVNSERVE_WRAPPER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-svnserve-wrapper
SVNREPOS?= /home/svn/repos
SVNFSTYPE?= fsfs
+SVNGROUP?= svn
+SVNUSER?= svn
-SUB_FILES= pkg-install
-
-.if !${PORT_OPTIONS:MMAINTAINER_DEBUG}
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in
-.endif
+CONFIGURE_ARGS+= --without-gnome-keyring \
+ --without-kwallet \
+ --with-apxs=no
.if ${PORT_OPTIONS:MSVNSERVE_WRAPPER}
SUB_LIST+= SVNSERVE_BIN_EXT=".bin"
@@ -68,17 +62,6 @@ SUB_LIST+= SVNSERVE_BIN_EXT=""
PLIST_SUB+= NO_SVNSERVE_WRAPPER=""
.endif
-.if ${PORT_OPTIONS:MMOD_DAV_SVN}
-SUB_LIST+= MOD_DAV_SVN_INSTALL="YES"
-PLIST_SUB+= SED=${SED}
-SVNGROUP?= www
-SVNUSER?= www
-.else
-SUB_LIST+= MOD_DAV_SVN_INSTALL="NO"
-SVNGROUP?= svn
-SVNUSER?= svn
-.endif
-
.if ${PORT_OPTIONS:MTEST}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
.endif
@@ -89,7 +72,6 @@ USES+= gettext:build
. endif
. if ${PORT_OPTIONS:MBDB}
BDB_BUILD_DEPENDS= yes
-.else
. endif
OLD_LIB_DEPENDS:= ${LIB_DEPENDS:S!^!${LOCALBASE}/lib/!:C!(\.so|\.[0-9]+)?:!.a:!}
BUILD_DEPENDS+= ${OLD_LIB_DEPENDS}
@@ -135,24 +117,6 @@ pre-everything::
@${ECHO_MSG} ""
.if ${PORT_OPTIONS:MSTATIC}
-. if ${PORT_OPTIONS:MMOD_DAV_SVN}
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${ECHO_MSG} "!!! mod_dav_svn and static build are not compatible !!!"
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${FALSE}
-. endif
-. if ${PORT_OPTIONS:MGNOME_KEYRING}
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${ECHO_MSG} "!!! Gnome Keyring and static build are not compatible !!!"
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${FALSE}
-. endif
-. if ${PORT_OPTIONS:MKDE_WALLET}
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${ECHO_MSG} "!!! KDE Wallet and static build are not compatible !!!"
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${FALSE}
-. endif
@${ECHO_MSG} "Static binaries will be built."
.endif # STATIC
@${ECHO_MSG} "Many useful scripts will be installed into ${DATADIR}"
@@ -212,9 +176,6 @@ post-install: ${MKREPOS_TARGET}
repository: _mkrepos
_SVNGRPFILES= db locks locks/db.lock locks/db-logs.lock
-.if ${PORT_OPTIONS:MMOD_DAV_SVN}
-_SVNGRPFILES+= dav
-.endif
SVNGRPFILES= ${_SVNGRPFILES:S,^,${SVNREPOS}/,}
_mkrepos: .USE
@@ -248,9 +209,6 @@ _mkrepos: .USE
@${MKDIR} ${SVNREPOS}
@${PREFIX}/bin/svnadmin create --fs-type ${SVNFSTYPE} ${SVNREPOS}
.if ${PORT_OPTIONS:MSVNSERVE_WRAPPER}
-.if ${PORT_OPTIONS:MMOD_DAV_SVN}
- @${MKDIR} ${SVNREPOS}/dav
-.endif
@${CHOWN} ${SVNUSER}:${SVNGROUP} ${SVNGRPFILES}
@${CHMOD} g+w ${SVNGRPFILES}
@for i in ${SVNREPOS}/db/* ; do \
@@ -266,7 +224,8 @@ _mkrepos: .USE
.endif
svn-build-outputs-hack:
+ cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} -p0 < ${PATCHDIR}/extra-patch-build.conf
cd ${WRKSRC} && python2 gen-make.py --release --installed-libs libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_ra,libsvn_repos,libsvn_subr,libsvn_wc
- ${MV} ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk
+ ${MV} ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk.addons
.include <bsd.port.post.mk>
diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common
index a7bbf48457f1..90ad69920d4d 100644
--- a/devel/subversion/Makefile.common
+++ b/devel/subversion/Makefile.common
@@ -1,15 +1,14 @@
# Created by: rooneg@electricjellyfish.net
# $FreeBSD$
-PORTNAME= subversion
+PORTNAME?= subversion
PORTVERSION= 1.8.9
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES+= devel
MASTER_SITES= ${MASTER_SITE_APACHE}
DIST_SUBDIR= subversion18
MASTER_SITE_SUBDIR= subversion
-USE_KDE4= # Used below if KWallet support is enabled
GNU_CONFIGURE= yes
USES+= tar:bzip2 pkgconfig libtool
@@ -25,10 +24,10 @@ CONFIGURE_ARGS+= --without-swig \
--with-sqlite=${LOCALBASE} \
--with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat
-.if defined(SVN_BUILD_BINDINGS)
+.if defined(SVN_BUILD_ADDONS)
CONFLICTS_BUILD+= ${PORTNAME}-1.[^8].[0-9]*
LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion
-OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options
+OPTIONSFILE= ${PORT_DBDIR}/subversion/options
OPTIONS_NAME= devel_subversion
.endif
@@ -38,21 +37,9 @@ OPTIONS_SUB= yes
BDB_CONFIGURE_OFF= --without-berkeley-db
BDB_USE= BDB=42+
-GNOME_KEYRING_CONFIGURE_OFF= --without-gnome-keyring
-GNOME_KEYRING_CONFIGURE_ON= --with-gnome-keyring
-GNOME_KEYRING_LIB_DEPENDS= libgcr.so:${PORTSDIR}/security/gnome-keyring
-
-KDE_KWALLET_CONFIGURE_OFF= --without-kwallet
-KDE_KWALLET_CONFIGURE_ON= --with-kwallet=${KDE4_PREFIX}
-KDE_KWALLET_USE= KDE4=kdelibs,runtime
-
MAINTAINER_DEBUG_CFLAGS= -g
MAINTAINER_DEBUG_CONFIGURE_ON= --enable-maintainer-mode --enable-debug
-MOD_DAV_SVN_CONFIGURE_OFF= --with-apxs=no
-MOD_DAV_SVN_CONFIGURE_ON= --with-apxs=${APXS} --with-apache-libexecdir
-MOD_DAV_SVN_USE= APACHE=22+
-
NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
@@ -69,10 +56,6 @@ STATIC_CONFIGURE_ON= --enable-all-static
# ===============================================================
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MMOD_DONTDOTHAT} && !${PORT_OPTIONS:MMOD_DAV_SVN}
-IGNORE= to build mod_dontdothat OPTION mod_dav_svn is required
-.endif
-
APR_CONFIG= ${LOCALBASE}/bin/apr-1-config
APU_CONFIG= ${LOCALBASE}/bin/apu-1-config
@@ -82,18 +65,22 @@ CONFIGURE_ARGS+=--with-apr=${APR_CONFIG} --with-apr-util=${APU_CONFIG}
CFLAGS+= -fpic -DPIC
.endif
-.if ${PORT_OPTIONS:MFREEBSD_TEMPLATE} && defined(ORGANIZATION)
+.if (${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE}) && defined(ORGANIZATION)
CFLAGS+= -DHAS_ORGANIZATION_NAME
.endif
+.if !${PORT_OPTIONS:MMAINTAINER_DEBUG} && !${OPTIONS_FILE_SET:MMAINTAINER_DEBUG}
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in
+.endif
+
.include <bsd.port.pre.mk>
pre-everything::
-.if defined(SVN_BUILD_BINDINGS)
-.if ${PORT_OPTIONS:MSTATIC}
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- @${ECHO_MSG} "!!! bindings and static build are not compatible !!!"
- @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+.if defined(SVN_BUILD_ADDONS)
+.if ${PORT_OPTIONS:MSTATIC} || ${OPTIONS_FILE_SET:MSTATIC}
+ @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @${ECHO_MSG} "!!! addons (bindings, mod_dav_svn, etc). and static build are not compatible !!!"
+ @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@${FALSE}
.endif
.endif
@@ -105,10 +92,10 @@ post-patch:
.endif
@${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in
-.if defined(SVN_BUILD_BINDINGS)
+.if defined(SVN_BUILD_ADDONS)
@${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}
.endif
-.if ${PORT_OPTIONS:MFREEBSD_TEMPLATE} && defined(ORGANIZATION)
+.if (${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE}) && defined(ORGANIZATION)
@${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h
.endif
# shebangfix
diff --git a/devel/subversion/files/build-outputs.mk b/devel/subversion/files/build-outputs.mk
index cd517fbd17f1..a1c1b6d724ec 100644
--- a/devel/subversion/files/build-outputs.mk
+++ b/devel/subversion/files/build-outputs.mk
@@ -909,7 +909,7 @@ subversion/tests/libsvn_delta/window-test$(EXEEXT): $(window_test_DEPS)
# Section 6: Install-Group build targets
########################################
-apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la
+apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la
bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
@@ -965,16 +965,17 @@ test: subversion/tests/cmdline/atomic-ra-revprop-change$(EXEEXT) subversion/test
tests: subversion/bindings/cxxhl/cxxhl-tests$(EXEEXT)
-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
+tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
########################################
# Section 7: Install-Group install targets
########################################
-install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_authz_svn/mod_authz_svn.la
+install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_authz_svn/mod_authz_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la
if $(INSTALL_APACHE_MODS) ; then cd subversion/mod_dav_svn ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dav_svn mod_dav_svn.la ; fi
if $(INSTALL_APACHE_MODS) ; then cd subversion/mod_authz_svn ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n authz_svn mod_authz_svn.la ; fi
+ if $(INSTALL_APACHE_MODS) ; then cd tools/server-side/mod_dontdothat ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dontdothat mod_dontdothat.la ; fi
install-bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la
$(MKDIR) $(DESTDIR)$(bdb_libdir)
@@ -1134,7 +1135,7 @@ install-tests: subversion/bindings/cxxhl/cxxhl-tests$(EXEEXT)
$(MKDIR) $(DESTDIR)$(testsdir)
cd subversion/bindings/cxxhl ; $(INSTALL_TESTS) cxxhl-tests$(EXEEXT) $(DESTDIR)$(testsdir)/cxxhl-tests$(EXEEXT)
-install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
+install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT)
$(MKDIR) $(DESTDIR)$(toolsdir)
cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT)
cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT)
@@ -1142,7 +1143,6 @@ install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/dif
cd tools/dev ; $(INSTALL_TOOLS) fsfs-access-map$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-access-map$(EXEEXT)
cd tools/dev ; $(INSTALL_TOOLS) fsfs-reorg$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-reorg$(EXEEXT)
cd tools/server-side ; $(INSTALL_TOOLS) fsfs-stats$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-stats$(EXEEXT)
- if $(INSTALL_APACHE_MODS) ; then cd tools/server-side/mod_dontdothat ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dontdothat mod_dontdothat.la ; fi
cd tools/client-side/svn-bench ; $(INSTALL_TOOLS) svn-bench$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-bench$(EXEEXT)
cd tools/server-side ; $(INSTALL_TOOLS) svn-populate-node-origins-index$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-populate-node-origins-index$(EXEEXT)
cd tools/server-side ; $(INSTALL_TOOLS) svn-rep-sharing-stats$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-rep-sharing-stats$(EXEEXT)
diff --git a/devel/subversion/files/extra-patch-Makefile.in b/devel/subversion/files/extra-patch-Makefile.in
index e1c8065c4f2e..61531b992d38 100644
--- a/devel/subversion/files/extra-patch-Makefile.in
+++ b/devel/subversion/files/extra-patch-Makefile.in
@@ -1,11 +1,24 @@
---- Makefile.in.orig 2013-06-20 01:29:45.000000000 +0400
-+++ Makefile.in 2013-06-20 01:29:45.000000000 +0400
-@@ -247,7 +247,7 @@
+--- Makefile.in.orig 2014-02-10 08:04:51.000000000 +0400
++++ Makefile.in 2014-06-16 15:40:47.000000000 +0400
+@@ -253,7 +253,7 @@
+ LINK_JAVAHL_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) $(LT_CXX_LIBADD) -rpath $(libdir)
+
+ INSTALL = @INSTALL@
+-INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL)
++INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -s
+ INSTALL_FSMOD_LIB = $(INSTALL_LIB)
+ INSTALL_RAMOD_LIB = $(INSTALL_LIB)
+ INSTALL_APR_MEMCACHE_LIB = $(INSTALL_LIB)
+@@ -262,9 +262,9 @@
INSTALL_GNOME_KEYRING_LIB = $(INSTALL_LIB)
INSTALL_KWALLET_LIB = $(INSTALL_LIB)
INSTALL_SERF_LIB = $(INSTALL_LIB)
-INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL)
+-INSTALL_CONTRIB = $(LIBTOOL) --mode=install $(INSTALL)
+-INSTALL_TOOLS = $(LIBTOOL) --mode=install $(INSTALL)
+INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -s
- INSTALL_CONTRIB = $(LIBTOOL) --mode=install $(INSTALL)
- INSTALL_TOOLS = $(LIBTOOL) --mode=install $(INSTALL)
++INSTALL_CONTRIB = $(LIBTOOL) --mode=install $(INSTALL) -s
++INSTALL_TOOLS = $(LIBTOOL) --mode=install $(INSTALL) -s
INSTALL_INCLUDE = $(INSTALL) -m 644
+ INSTALL_MOD_SHARED = @APXS@ -i -S LIBEXECDIR="$(APACHE_LIBEXECDIR)" @MOD_ACTIVATION@
+ INSTALL_DATA = $(INSTALL) -m 644
diff --git a/devel/subversion/files/extra-patch-build.conf b/devel/subversion/files/extra-patch-build.conf
new file mode 100644
index 000000000000..e08242400ff4
--- /dev/null
+++ b/devel/subversion/files/extra-patch-build.conf
@@ -0,0 +1,11 @@
+--- build.conf.orig 2014-02-10 08:04:51.000000000 +0400
++++ build.conf 2014-06-15 19:45:52.000000000 +0400
+@@ -381,7 +381,7 @@
+ path = tools/server-side/mod_dontdothat
+ nonlibs = mod_dav_svn apr aprutil
+ libs = libsvn_subr xml
+-install = tools
++install = apache-mod
+ msvc-libs = libhttpd.lib
+
+ # ----------------------------------------------------------------------------
diff --git a/devel/subversion/files/patch-build-outputs.mk b/devel/subversion/files/patch-build-outputs.mk
index 2628e09678ea..782703b118e0 100644
--- a/devel/subversion/files/patch-build-outputs.mk
+++ b/devel/subversion/files/patch-build-outputs.mk
@@ -7,9 +7,9 @@
- cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT)
- cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT)
- cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/diff4$(EXEEXT)
-+# cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT)
-+# cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT)
-+# cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/diff4$(EXEEXT)
++ cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff$(EXEEXT)
++ cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff3$(EXEEXT)
++ cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff4$(EXEEXT)
cd tools/dev ; $(INSTALL_TOOLS) fsfs-access-map$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-access-map$(EXEEXT)
cd tools/dev ; $(INSTALL_TOOLS) fsfs-reorg$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-reorg$(EXEEXT)
cd tools/server-side ; $(INSTALL_TOOLS) fsfs-stats$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-stats$(EXEEXT)
diff --git a/devel/subversion/files/pkg-install.in b/devel/subversion/files/pkg-install.in
index 6a5bea9a69f6..a4b9c5d4c10f 100644
--- a/devel/subversion/files/pkg-install.in
+++ b/devel/subversion/files/pkg-install.in
@@ -10,14 +10,17 @@
# $FreeBSD$
#
-if [ "%%MOD_DAV_SVN_INSTALL%%" != "YES" ] ; then
- exit 0
-fi
-
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
+echo ""
+echo " Please check that your repository contains 'dav' subdirectory and"
+echo " that all files in repositroy is accessible by apache user (typically www)"
+echo ""
+
+exit 0
+
APXSCMD=${PKG_PREFIX}/sbin/apxs
if [ ! -x ${APXSCMD} ]; then
@@ -54,4 +57,10 @@ else
echo "dav_module already active in ${SYSCONFDIR}/${CONFFILE}"
fi
+echo ""
+echo " Please check that your repository contains 'dav' subdirectory and"
+echo " that all files in repositroy is accessible by apache user (typically www)"
+echo ""
+
+
exit 0
diff --git a/devel/subversion/pkg-plist b/devel/subversion/pkg-plist
index e70be72022e4..2e1eed75617f 100644
--- a/devel/subversion/pkg-plist
+++ b/devel/subversion/pkg-plist
@@ -8,6 +8,9 @@ bin/svn
bin/svnadmin
%%TOOLS%%bin/svnauthz
%%TOOLS%%bin/svnauthz-validate
+%%TOOLS%%bin/svndiff
+%%TOOLS%%bin/svndiff3
+%%TOOLS%%bin/svndiff4
bin/svndumpfilter
bin/svnlook
bin/svnmucc
@@ -64,14 +67,6 @@ include/subversion-1/svn_utf.h
include/subversion-1/svn_version.h
include/subversion-1/svn_wc.h
include/subversion-1/svn_xml.h
-%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.a
-%%DYNAMIC_ENABLED%%%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.so
-%%DYNAMIC_ENABLED%%%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.so.0
-%%DYNAMIC_ENABLED%%%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.so.0.0.0
-%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.a
-%%DYNAMIC_ENABLED%%%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.so
-%%DYNAMIC_ENABLED%%%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.so.0
-%%DYNAMIC_ENABLED%%%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.so.0.0.0
lib/libsvn_client-1.a
%%DYNAMIC_ENABLED%%lib/libsvn_client-1.so
%%DYNAMIC_ENABLED%%lib/libsvn_client-1.so.0
@@ -128,16 +123,6 @@ lib/libsvn_wc-1.a
%%DYNAMIC_ENABLED%%lib/libsvn_wc-1.so
%%DYNAMIC_ENABLED%%lib/libsvn_wc-1.so.0
%%DYNAMIC_ENABLED%%lib/libsvn_wc-1.so.0.0.0
-@comment enable / disable modules in this order: dav_svn, authz_svn, dontdothat
-%%MOD_DAV_SVN%%@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dav_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%MOD_DAV_SVN%%%%APACHEMODDIR%%/mod_dav_svn.so
-%%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -a -n dav_svn %D/%F
-%%MOD_DAV_SVN%%@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+authz_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%MOD_DAV_SVN%%%%APACHEMODDIR%%/mod_authz_svn.so
-%%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -a -n authz_svn %D/%F
-%%MOD_DAV_SVN%%%%TOOLS%%@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dontdothat_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%MOD_DAV_SVN%%%%TOOLS%%%%APACHEMODDIR%%/mod_dontdothat.so
-%%MOD_DAV_SVN%%%%TOOLS%%@exec %D/sbin/apxs -e -a -n dontdothat %D/%F
man/man1/svn.1.gz
man/man1/svnadmin.1.gz
man/man1/svndumpfilter.1.gz
diff --git a/java/java-subversion/Makefile b/java/java-subversion/Makefile
index a8eedeb1997c..728b16755271 100644
--- a/java/java-subversion/Makefile
+++ b/java/java-subversion/Makefile
@@ -1,4 +1,4 @@
-# Created by: Lev Serebryako <lev@FreeBSD.org>
+# Created by: Lev Serebryakov <lev@FreeBSD.org>
# $FreeBSD$
PKGNAMEPREFIX= java-
@@ -24,11 +24,19 @@ JAVA_OS= native
JAVA_BUILD= yes
JAVA_RUN= yes
-SVN_BUILD_BINDINGS=yes
+SVN_BUILD_BINDINGS= yes
+SVN_BUILD_ADDONS= yes
.include "${MASTERDIR}/Makefile.common"
-CONFIGURE_ARGS+= --enable-javahl --with-jdk=${JAVA_HOME} --with-jikes=no
+CONFIGURE_ARGS+= --enable-javahl \
+ --with-jdk=${JAVA_HOME} \
+ --with-jikes=no
+
+MAKE_JOBS_UNSAFE= yes
+
+ALL_TARGET= javahl
+INSTALL_TARGET= install-javahl
post-configure:
.if ${COMPILER_TYPE} == clang
@@ -37,13 +45,7 @@ post-configure:
@${DO_NADA}
.endif
-do-build:
+pre-build:
@${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes
- cd ${WRKSRC} ; \
- ${MAKE} javahl ${MAKE_ARGS}
-
-do-install:
- cd ${WRKSRC} ; \
- ${MAKE} install-javahl ${MAKE_ARGS}
.include <bsd.port.post.mk>
diff --git a/java/java-subversion/pkg-descr b/java/java-subversion/pkg-descr
index 54c587c4e1ac..1bb3035676ac 100644
--- a/java/java-subversion/pkg-descr
+++ b/java/java-subversion/pkg-descr
@@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1).
This port adds Java bindings to Subversion.
-WWW: http://subversion.tigris.org/
+WWW: http://subversion.apache.org/
diff --git a/security/Makefile b/security/Makefile
index a31281840584..e2a97e6a9644 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -962,6 +962,8 @@
SUBDIR += strobe
SUBDIR += strongswan
SUBDIR += stunnel
+ SUBDIR += subversion-gnome-keyring
+ SUBDIR += subversion-kwallet
SUBDIR += subweb
SUBDIR += sud
SUBDIR += sudo
diff --git a/security/subversion-gnome-keyring/Makefile b/security/subversion-gnome-keyring/Makefile
new file mode 100644
index 000000000000..9cf65f5fd68f
--- /dev/null
+++ b/security/subversion-gnome-keyring/Makefile
@@ -0,0 +1,25 @@
+# Created by: Autrijus Tang <autrijus@autrijus.org>
+# $FreeBSD$
+
+PKGNAMESUFFIX= -gnome-keyring
+
+MAINTAINER= lev@FreeBSD.org
+COMMENT= Gnome KWyring integration for Version control system
+
+MASTERDIR= ${.CURDIR}/../../devel/subversion
+PKGDIR= ${.CURDIR}
+
+SVN_BUILD_ADDONS= yes
+
+.include "${MASTERDIR}/Makefile.common"
+
+LIB_DEPENDS+= libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
+
+CONFIGURE_ARGS+= --with-gnome-keyring
+
+CATEGORIES+= gnome security
+
+ALL_TARGET= gnome-keyring-lib
+INSTALL_TARGET= install-gnome-keyring-lib
+
+.include <bsd.port.post.mk>
diff --git a/security/subversion-gnome-keyring/pkg-descr b/security/subversion-gnome-keyring/pkg-descr
new file mode 100644
index 000000000000..396062d2c91e
--- /dev/null
+++ b/security/subversion-gnome-keyring/pkg-descr
@@ -0,0 +1,6 @@
+Subversion is a version control system designed to be as similar to cvs(1)
+as possible, while fixing many outstanding problems with cvs(1).
+
+This port adds Gnome Keyring support to Subversion.
+
+WWW: http://subversion.apache.org/
diff --git a/security/subversion-gnome-keyring/pkg-plist b/security/subversion-gnome-keyring/pkg-plist
new file mode 100644
index 000000000000..07f9e5a45d0c
--- /dev/null
+++ b/security/subversion-gnome-keyring/pkg-plist
@@ -0,0 +1,4 @@
+lib/libsvn_auth_gnome_keyring-1.a
+lib/libsvn_auth_gnome_keyring-1.so
+lib/libsvn_auth_gnome_keyring-1.so.0
+lib/libsvn_auth_gnome_keyring-1.so.0.0.0
diff --git a/security/subversion-kwallet/Makefile b/security/subversion-kwallet/Makefile
new file mode 100644
index 000000000000..f044c3363af7
--- /dev/null
+++ b/security/subversion-kwallet/Makefile
@@ -0,0 +1,25 @@
+# Created by: Autrijus Tang <autrijus@autrijus.org>
+# $FreeBSD$
+
+PKGNAMESUFFIX= -kwallet
+
+MAINTAINER= lev@FreeBSD.org
+COMMENT= KDE KWallet integration for Version control system
+
+MASTERDIR= ${.CURDIR}/../../devel/subversion
+PKGDIR= ${.CURDIR}
+
+SVN_BUILD_ADDONS= yes
+
+USE_KDE4= kdelibs runtime
+
+.include "${MASTERDIR}/Makefile.common"
+
+CONFIGURE_ARGS+= --with-kwallet=${KDE4_PREFIX}
+
+CATEGORIES+= kde security
+
+ALL_TARGET= kwallet-lib
+INSTALL_TARGET= install-kwallet-lib
+
+.include <bsd.port.post.mk>
diff --git a/security/subversion-kwallet/pkg-descr b/security/subversion-kwallet/pkg-descr
new file mode 100644
index 000000000000..b3fc023e11d8
--- /dev/null
+++ b/security/subversion-kwallet/pkg-descr
@@ -0,0 +1,6 @@
+Subversion is a version control system designed to be as similar to cvs(1)
+as possible, while fixing many outstanding problems with cvs(1).
+
+This port adds KDE KWallet support to Subversion.
+
+WWW: http://subversion.apache.org/
diff --git a/security/subversion-kwallet/pkg-plist b/security/subversion-kwallet/pkg-plist
new file mode 100644
index 000000000000..b730901fc331
--- /dev/null
+++ b/security/subversion-kwallet/pkg-plist
@@ -0,0 +1,4 @@
+lib/libsvn_auth_kwallet-1.a
+lib/libsvn_auth_kwallet-1.so
+lib/libsvn_auth_kwallet-1.so.0
+lib/libsvn_auth_kwallet-1.so.0.0.0
diff --git a/www/Makefile b/www/Makefile
index 4537b1f5e31b..df9b9516dbf7 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -473,6 +473,7 @@
SUBDIR += mod_cloudflare
SUBDIR += mod_cplusplus
SUBDIR += mod_cvs2
+ SUBDIR += mod_dav_svn
SUBDIR += mod_dnssd
SUBDIR += mod_domaintree
SUBDIR += mod_encoding
diff --git a/www/mod_dav_svn/Makefile b/www/mod_dav_svn/Makefile
new file mode 100644
index 000000000000..949d64c59694
--- /dev/null
+++ b/www/mod_dav_svn/Makefile
@@ -0,0 +1,31 @@
+# Created by: lev@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= mod_dav_svn
+DISTNAME= subversion-${PORTVERSION}
+
+MAINTAINER= lev@FreeBSD.org
+COMMENT= Apache module for subversion serving.
+
+MASTERDIR= ${.CURDIR}/../../devel/subversion
+PKGDIR= ${.CURDIR}
+
+SVN_BUILD_ADDONS= yes
+
+.include "${MASTERDIR}/Makefile.common"
+
+CATEGORIES+= www
+
+USE_APACHE= 22+
+
+CONFIGURE_ARGS+= --with-apxs=${APXS} \
+ --with-apache-libexecdir
+
+SUB_FILES= pkg-install
+
+PLIST_SUB+= SED=${SED}
+
+ALL_TARGET= apache-mod
+INSTALL_TARGET= install-mods-shared
+
+.include <bsd.port.post.mk>
diff --git a/www/mod_dav_svn/pkg-descr b/www/mod_dav_svn/pkg-descr
new file mode 100644
index 000000000000..1d92ed1f61bb
--- /dev/null
+++ b/www/mod_dav_svn/pkg-descr
@@ -0,0 +1,4 @@
+Installs the mod_dav_svn and mod_authz_svn apache modules for use with
+subversion when serving the repository from Apache.
+
+WWW: http://subversion.apache.org/
diff --git a/www/mod_dav_svn/pkg-plist b/www/mod_dav_svn/pkg-plist
new file mode 100644
index 000000000000..7b96153412d5
--- /dev/null
+++ b/www/mod_dav_svn/pkg-plist
@@ -0,0 +1,10 @@
+@comment enable / disable modules in this order: dav_svn, authz_svn, dontdothat
+@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dav_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+%%APACHEMODDIR%%/mod_dav_svn.so
+@exec %D/sbin/apxs -e -a -n dav_svn %D/%F
+@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+authz_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+%%APACHEMODDIR%%/mod_authz_svn.so
+@exec %D/sbin/apxs -e -a -n authz_svn %D/%F
+@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dontdothat_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+%%APACHEMODDIR%%/mod_dontdothat.so
+@exec %D/sbin/apxs -e -A -n dontdothat %D/%F