mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- Change the MOINSCRIPT to wikiserver.py when defined
MOINTYPE=STANDALONE, the old wiki.py is deprecated. - Change the hint when making instances, add configuration for static contents. PR: 125210 Submitted by: Zhen REN <bg1tpt@gmail.com> (maintainer)
This commit is contained in:
parent
0a64548c94
commit
52058bdb16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216462
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= moinmoin
|
||||
PORTVERSION= 1.7.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= http://static.moinmo.in/files/
|
||||
DISTNAME= moin-${PORTVERSION}
|
||||
@ -31,7 +32,7 @@ MOINTYPE?= CGI
|
||||
PKGDEINSTALL= ${PKGINSTALL}
|
||||
|
||||
.if ${MOINTYPE} == "STANDALONE"
|
||||
MOINSCRIPT= ${MOINDIR}/server/moin.py
|
||||
MOINSCRIPT= ${MOINDIR}/server/wikiserver.py
|
||||
.elif ${MOINTYPE} == "FCGI"
|
||||
MOINSCRIPT= ${MOINDIR}/server/moin.fcg
|
||||
.elif ${MOINTYPE} == "MOD_PYTHON"
|
||||
|
@ -17,6 +17,11 @@ case "x$2" in
|
||||
echo "add something like that to your Apache configuration."
|
||||
echo ""
|
||||
echo ",-----"
|
||||
echo " Alias /moin_static170/ \"$sharedir/htdocs/\""
|
||||
echo " <Directory \"$sharedir/htdocs/\">"
|
||||
echo " Order deny,allow"
|
||||
echo " Allow from all"
|
||||
echo " </Directory>"
|
||||
echo " Alias /mywiki $destdir"
|
||||
echo " <Location \"/mywiki\">"
|
||||
echo " SetHandler python-program"
|
||||
@ -37,7 +42,11 @@ case "x$2" in
|
||||
echo ""
|
||||
|
||||
echo ",-----"
|
||||
echo " Alias /wiki/ \"$sharedir/htdocs/\""
|
||||
echo " Alias /moin_static170/ \"$sharedir/htdocs/\""
|
||||
echo " <Directory \"$sharedir/htdocs/\">"
|
||||
echo " Order deny,allow"
|
||||
echo " Allow from all"
|
||||
echo " </Directory>"
|
||||
echo " ScriptAlias /mywiki \"$destdir/moin.cgi\""
|
||||
echo " <Directory \"$sharedir/htdocs/\">"
|
||||
echo " Allow from all"
|
||||
|
Loading…
Reference in New Issue
Block a user