diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2015-04-01 05:17:40 +0800 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2015-04-01 05:17:40 +0800 |
commit | 4e92215097a3a9c9c8ac3138d27a964996cc36cf (patch) | |
tree | 8d78d829c63d80cc44a55f4382e5756204a7666a | |
parent | f9fa49ffc9e8ee53f54b7ea93a7acbac33b36eaa (diff) | |
download | freebsd-ports-gnome-4e92215097a3a9c9c8ac3138d27a964996cc36cf.tar.gz freebsd-ports-gnome-4e92215097a3a9c9c8ac3138d27a964996cc36cf.tar.zst freebsd-ports-gnome-4e92215097a3a9c9c8ac3138d27a964996cc36cf.zip |
- use dedicated apache module file for subversion modules
Approved by: lev@ (implicit)
-rw-r--r-- | www/mod_dav_svn/Makefile | 7 | ||||
-rw-r--r-- | www/mod_dav_svn/pkg-plist | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/www/mod_dav_svn/Makefile b/www/mod_dav_svn/Makefile index 52c6f456a3b9..c7e6a46f4786 100644 --- a/www/mod_dav_svn/Makefile +++ b/www/mod_dav_svn/Makefile @@ -22,12 +22,15 @@ CONFIGURE_ARGS+= --with-apxs=${APXS} \ --with-apache-libexecdir \ --without-gnome-keyring \ --without-kwallet - -SUB_FILES= pkg-install +SUB_FILES+= 220_subversion.conf.sample PLIST_SUB+= SED=${SED} ALL_TARGET= apache-mod INSTALL_TARGET= install-mods-shared +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d + ${CP} ${WRKDIR}/220_subversion.conf.sample ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d + .include <bsd.port.post.mk> diff --git a/www/mod_dav_svn/pkg-plist b/www/mod_dav_svn/pkg-plist index 7b96153412d5..1b7aec2a3e2d 100644 --- a/www/mod_dav_svn/pkg-plist +++ b/www/mod_dav_svn/pkg-plist @@ -1,10 +1,4 @@ -@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 +@sample %%APACHEETCDIR%%/modules.d/220_subversion.conf.sample %%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 |