forked from ports/contrib
usemod: dropped
This commit is contained in:
parent
71ee30e33a
commit
6b5d1a19d6
@ -1,9 +0,0 @@
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/www/
|
||||
drwxr-xr-x root/root var/www/cgi-bin/
|
||||
-rwxr-xr-x root/root var/www/cgi-bin/wiki.pl
|
||||
drwx------ www/root var/www/usemod/
|
||||
-rw-r----- root/www var/www/usemod/config
|
||||
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.gif
|
@ -1 +0,0 @@
|
||||
45e50d847b5047bd581d25f5ddf246fd usemod-1.0.6.tar.gz
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF35GFJ4PV36DSJSDy62aSUJlB3PSbuPJKMRvrJMBMcVO28es1GQtfUBnj3x5fRTJU/vdfsyuN47U21bVnyNmkZAk=
|
||||
SHA256 (Pkgfile) = 5172ad7c2a96401fe7fd3ba8a01dd2498123926bd8d01c1fb86bed1400d87d51
|
||||
SHA256 (.footprint) = b25b05f83e588571737de6b9dd2354c84486b388bd19cdf8ddd61b98aa2073b8
|
||||
SHA256 (usemod-1.0.6.tar.gz) = efbfa9bb631411d8c327afed8d360ce54c2cd6ad3013a7731804159ff30acbe9
|
@ -1,23 +0,0 @@
|
||||
# Description: Simple, but fast and widely used WikiWiki clone written in Perl
|
||||
# URL: http://www.usemod.com/cgi-bin/wiki.pl
|
||||
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
||||
# Depends on: perl, apache
|
||||
|
||||
name=usemod
|
||||
version=1.0.6
|
||||
release=1
|
||||
source=(http://www.usemod.com/wikicode/$name-$version.tar.gz)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
install -d $PKG/var/www/{cgi-bin,$name/pub}
|
||||
install -d -o www $PKG/var/www/$name
|
||||
chmod 0700 $PKG/var/www/$name
|
||||
install -m 755 wiki.pl $PKG/var/www/cgi-bin
|
||||
install -g www -m 640 config $PKG/var/www/$name
|
||||
cp wiki.{gif,css} $PKG/var/www/$name/pub
|
||||
sed -i '/^\$LogoUrl/s|\"[^;]*\"|\"/pub/wiki.gif\"|' \
|
||||
$PKG/var/www/$name/config
|
||||
sed -i '/^\$DataDir/s|\"[^;]*\"|\"/var/www/usemod\"|' \
|
||||
$PKG/var/www/cgi-bin/wiki.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
README for usemod 1.x
|
||||
|
||||
REQUIREMENTS
|
||||
|
||||
PRE-INSTALL
|
||||
|
||||
POST-INSTALL
|
||||
|
||||
1. Add the following directives to httpd.conf:
|
||||
|
||||
<Directory /var/www/usemod/>
|
||||
Options None
|
||||
AllowOverride None
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Directory>
|
||||
|
||||
Alias /pub /var/www/usemod/pub/
|
||||
|
||||
<Directory /var/www/usemod/pub/>
|
||||
Options None
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
2. If you have mod_perl installed, which gives an huge
|
||||
performance boost, you should add this too:
|
||||
|
||||
LoadModule perl_module lib/apache/mod_perl.so
|
||||
|
||||
Alias /wiki /var/www/cgi-bin/wiki.pl
|
||||
|
||||
<Location /wiki>
|
||||
SetHandler perl-script
|
||||
PerlResponseHandler ModPerl::Registry
|
||||
PerlOptions +ParseHeaders
|
||||
Options ExecCGI
|
||||
</Location>
|
||||
|
||||
3. Point you browser to http://<your_host_name>/wiki
|
||||
(mod_perl) or http://<your_host_name>cgi-bin/wiki.pl
|
||||
and enjoy ;-)
|
||||
|
||||
PRECAUTION
|
||||
|
Loading…
x
Reference in New Issue
Block a user