aboutsummaryrefslogtreecommitdiff
path: root/www/mod_dav_svn
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2014-06-16 13:12:21 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2014-06-16 13:12:21 +0000
commit146867e80269edb296bac45ab890b929f5e44db8 (patch)
tree93f1d8e2e19e6c53166e3aa900148a3db947ae53 /www/mod_dav_svn
parent09107dfdf0e158de744fd7634ef054e505e3da34 (diff)
downloadports-146867e80269edb296bac45ab890b929f5e44db8.tar.gz
ports-146867e80269edb296bac45ab890b929f5e44db8.zip
Notes
Diffstat (limited to 'www/mod_dav_svn')
-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
3 files changed, 45 insertions, 0 deletions
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