mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- use dedicated apache module file for subversion modules
Approved by: lev@ (implicit)
This commit is contained in:
parent
f9fa49ffc9
commit
4e92215097
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382869
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user