forked from ports/contrib
usemod: update to 1.0.4
This commit is contained in:
parent
e762e626b7
commit
999a53b591
@ -2,8 +2,8 @@ drwxr-xr-x root/root var/
|
|||||||
drwxr-xr-x root/root var/www/
|
drwxr-xr-x root/root var/www/
|
||||||
drwxr-xr-x root/root var/www/cgi-bin/
|
drwxr-xr-x root/root var/www/cgi-bin/
|
||||||
-rwxr-xr-x root/root var/www/cgi-bin/wiki.pl
|
-rwxr-xr-x root/root var/www/cgi-bin/wiki.pl
|
||||||
drwx------ nobody/root var/www/usemod/
|
drwx------ www/root var/www/usemod/
|
||||||
-rw-r----- root/nobody var/www/usemod/config
|
-rw-r----- root/www var/www/usemod/config
|
||||||
drwxr-xr-x root/root var/www/usemod/pub/
|
drwxr-xr-x root/root var/www/usemod/pub/
|
||||||
-rw-r--r-- root/root var/www/usemod/pub/wiki.css
|
-rw-r--r-- root/root var/www/usemod/pub/wiki.css
|
||||||
-rw-r--r-- root/root var/www/usemod/pub/wiki.gif
|
-rw-r--r-- root/root var/www/usemod/pub/wiki.gif
|
||||||
|
@ -1 +1 @@
|
|||||||
4ee7415117a84fc8fe188edfeeb520eb usemod10.tar.gz
|
ed625e691fdfe07c7cfa6eae6ee0ce65 usemod-1.0.4.tar.gz
|
||||||
|
@ -4,17 +4,17 @@
|
|||||||
# Depends on: perl, apache
|
# Depends on: perl, apache
|
||||||
|
|
||||||
name=usemod
|
name=usemod
|
||||||
version=1.0
|
version=1.0.4
|
||||||
release=2
|
release=1
|
||||||
source=(http://www.usemod.com/wikicode/$name${version/./}.tar.gz)
|
source=(http://www.usemod.com/wikicode/$name-$version.tar.gz)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name${version/./}
|
cd $name-$version
|
||||||
install -d $PKG/var/www/{cgi-bin,$name/pub}
|
install -d $PKG/var/www/{cgi-bin,$name/pub}
|
||||||
install -d -o nobody $PKG/var/www/$name
|
install -d -o www $PKG/var/www/$name
|
||||||
chmod 0700 $PKG/var/www/$name
|
chmod 0700 $PKG/var/www/$name
|
||||||
install -m 755 wiki.pl $PKG/var/www/cgi-bin
|
install -m 755 wiki.pl $PKG/var/www/cgi-bin
|
||||||
install -g nobody -m 640 config $PKG/var/www/$name
|
install -g www -m 640 config $PKG/var/www/$name
|
||||||
cp wiki.{gif,css} $PKG/var/www/$name/pub
|
cp wiki.{gif,css} $PKG/var/www/$name/pub
|
||||||
sed -i '/^\$LogoUrl/s|\"[^;]*\"|\"/pub/wiki.gif\"|' \
|
sed -i '/^\$LogoUrl/s|\"[^;]*\"|\"/pub/wiki.gif\"|' \
|
||||||
$PKG/var/www/$name/config
|
$PKG/var/www/$name/config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user