pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wiki software part of pkgsrc?



On Thu, 6 Sep 2007, Georg Schwarz wrote:

> Does pkgsrc (or WIP) contain any software geared towards running one's own
> Wiki system (e.g. in an intranet)?

I have used ikiwiki for over 8 months. I have used it for a site with over 
40 contributors, over one hundred pages and around 1000 commits.

Here is an update for pkgsrc.
http://reedmedia.net/~reed/tmp-klxycoiq234/pkgsrc-www-ikiwiki.tgz
(3149 bytes)

A quick way to get started:

- install ikiwiki

- then:

mkdir -p ~/tmp
cd ~/tmp
mkdir ikiwiki-test-source
mkdir ikiwiki-test
cp /usr/pkg/share/doc/ikiwiki/ikiwiki.setup .
vi ikiwiki.setup # to put the paths above and URLs and to uncomment the 
                 # CGI parts -- see my diff attached

ikiwiki --setup ikiwiki.setup

- install mini_httpd and then:

mini_httpd -c "**.cgi" -d ~/tmp/ikiwiki-test -p 8080

- And test in browser on port 8080




  Jeremy C. Reed

p.s. I bcc'd this to the maintainer. Is it okay if I become the maintainer 
for this?
--- /usr/pkg/share/doc/ikiwiki/ikiwiki.setup    2007-09-06 14:37:25.000000000 
-0500
+++ ikiwiki.setup       2007-09-06 12:42:03.000000000 -0500
@@ -11,11 +11,11 @@
        adminemail => 'me%example.org@localhost',
 
        # Be sure to customise these..
-       srcdir => "/path/to/source",
-       destdir => "/var/www/wiki",
+       srcdir => "/opt/home/reed/tmp/itest-source",
+       destdir => "/opt/home/reed/tmp/itest",
 
-       url => "http://example.org/wiki";,
-       cgiurl => "http://example.org/ikiwiki.cgi";,
+       url => "http://glacier:8080";,
+       cgiurl => "http://glacier:8080/ikiwiki.cgi";,
        #templatedir => "/usr/share/ikiwiki/templates",
        #underlaydir => "/usr/share/ikiwiki/basewiki",
 
@@ -59,12 +59,12 @@
        #mtnmergerc => "path/to/mergerc",
 
        wrappers => [
-               #{
-               #       # The cgi wrapper.
-               #       cgi => 1,
-               #       wrapper => "/var/www/wiki/ikiwiki.cgi",
-               #       wrappermode => "06755",
-               #},
+               {
+                       # The cgi wrapper.
+                       cgi => 1,
+                       wrapper => "/opt/home/reed/tmp/itest/ikiwiki.cgi",
+                       wrappermode => "0755",
+               },
                #{
                #       # The svn post-commit wrapper.
                #       # Note that this will overwrite any existing


Home | Main Index | Thread Index | Old Index