debian/0000775000000000000000000000000012230501040007153 5ustar debian/usemod-wiki.maintscript0000664000000000000000000000014112163364573013712 0ustar mv_conffile /etc/apache2/conf.d/usemod-wiki /etc/apache2/conf-available/usemod-wiki.conf 1.0.5-1 debian/NEWS0000664000000000000000000000157511521327143007676 0ustar usemod-wiki (1.0-10) unstable; urgency=low usemod-wiki no longer creates symlink /var/www/usemod-wiki -> /usr/share/usemod-wiki/images but instead puts an apache2 config directive into /etc/apache2/conf.d/usemod-wiki. If you are using a different webserver, you need to adjust your config accordingly to serve the images. -- Christoph Berg Sat, 21 Nov 2009 21:36:12 +0100 usemod-wiki (1.0-7) unstable; urgency=low * This version enables the NewFS option in the default config. This changes the binary format of the wiki files on disk, please run the conversion with ?action=convert. Log in as wiki admin (set AdminPass) and visit http://localhost/cgi-bin/wiki.pl?action=convert to update the files. After that, remove /var/lib/usemod-wiki/noedit to enable editing again. -- Christoph Berg Thu, 6 Oct 2005 23:16:16 +0200 debian/postrm0000664000000000000000000000170611521327143010442 0ustar #! /bin/sh # postrm script for usemod-wiki # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge) rm -Rf /var/lib/usemod-wiki/ ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/usemod-wiki.conf0000664000000000000000000000006312163365415012301 0ustar Alias /usemod-wiki/ /usr/share/usemod-wiki/images/ debian/README.Debian0000664000000000000000000000360611521327143011235 0ustar = Debian README for the usemod-wiki package = == Using multiple wiki instances == This package includes a wrapper script [1] that can be used to run multiple usemod wiki instances in parallel without the need to edit the main wiki.pl script. [1] /usr/share/doc/usemod-wiki/examples/wiki-wrapper.pl == UseModWiki and mod_perl == UseModWiki is currently not mod_perl clean. Using the provided wiki.pl as a perl module and running multiple wiki instances will break as the configs interfere. In the same line, the wiki-wrapper.pl script will break (at least) the RSS feed with mod_perl. It is probably possible to convert wiki.pl to a UseModWiki.pm that can run a single wiki instance, but this package does not attempt to. Use Apache's cgi-script handler. == Charset and Language == Up to version 0.92, this package did not specify a charset for the wiki pages, which resulted in a us-ascii (depending on the client, latin1) default. The config file in /etc/usemod-wiki/ now specifies utf-8. The charset conversion script skeleton [2] can be used to convert legacy pages. [2] /usr/share/doc/usemod-wiki/examples/convert-charset.sh As of version 1.0-7, the NewFS setting has been activated to enable non-ascii utf-8 characters. Please run ?action=convert when upgrading from an older version. The umtrans.pl script [3] can be used to translate the wiki messages to other languages. [3] /usr/share/usemod-wiki/umtrans.pl == Patches == === BodyOnly === If you set $BodyOnly = 1, the program will only output the HTML that is inside the tag in normal use. This can be used with SSI statements like the following to embed the wiki in a custom layout template: === Unresolvable IP addresses === Using the special "unknown" token in the banned list will block all edits from unresolvable IP addresses. -- Christoph Berg Thu, 6 Oct 2005 22:52:04 +0200 debian/compat0000664000000000000000000000000212163364421010370 0ustar 9 debian/convert-charset.sh0000664000000000000000000000203111521327143012626 0ustar #!/bin/sh # (c) 2004 Christoph Berg , GNU GPL. # This script is loosely based on a suggestion by Peter Gervai. # cb 2004-05-29: first version. # Use this script to convert the .db files in your wiki if you are switching to # a different charset. # # Note: the usemod wiki data format uses \263 as internal separator. If this # character appears on your pages, it will not be converted. SEP=263 # octal 179 (three superior in latin1) TMPSEP=001 OLDENC=iso-8859-1 NEWENC=utf-8 # Use this script at you own risk! The remaining part is commented out to # prevent accidental data loss. # use this section to convert a single page #[ -f "$1" ] || exit 1 #tr "\\$SEP" "\\$TMPSEP" < "$1" | \ # iconv -f $OLDENC -t $NEWENC | \ # tr "\\$TMPSEP" "\\$SEP" > "$1.new" # use the next section to convert all pages #[ "$1" ] && cd "$1" #[ -d page ] || exit 1 # make sure this is a wiki root #find page keep -name "*.db" \ # -exec sh -c "cat {} | tr '\\$SEP' '\\$TMPSEP' | \ # iconv -f $OLDENC -t $NEWENC | \ # tr '\\$TMPSEP' '\\$SEP' > {}.new" \; debian/source/0000775000000000000000000000000012163365651010500 5ustar debian/source/format0000664000000000000000000000001411521327143011675 0ustar 3.0 (quilt) debian/source/include-binaries0000664000000000000000000000002011521327143013617 0ustar debian-logo.png debian/rules0000775000000000000000000000160412163367075010263 0ustar #!/usr/bin/make -f VERSION=$(shell dpkg-parsechangelog 2>&1|egrep ^Version|cut -d " " -f 2) D=$(CURDIR)/debian/usemod-wiki override_dh_auto_clean: rm -f debian/wiki.pl override_dh_install: dh_install sed -e 's/\(Debian version \).* debian/wiki.pl install -m 755 -o www-data -g www-data -D debian/wiki.pl $D/usr/lib/cgi-bin/wiki.pl install -m 644 -o www-data -g www-data -D wiki.gif $D/usr/share/usemod-wiki/images/wiki.gif install -m 644 -o www-data -g www-data -D debian-logo.png $D/usr/share/usemod-wiki/images/debian-logo.png install -m 644 -D config $D/etc/usemod-wiki/config install -m 644 -D intermap $D/etc/usemod-wiki/intermap install -m 644 debian/HomePage.db $D/usr/share/usemod-wiki install -m 755 misc/umtrans.pl $D/usr/share/usemod-wiki override_dh_fixperms: dh_fixperms chown www-data.www-data $D/var/lib/usemod-wiki %: dh $@ --with apache2 debian/examples0000664000000000000000000000006112152425014010722 0ustar debian/convert-charset.sh debian/wiki-wrapper.pl debian/postinst0000664000000000000000000000450412152425014010775 0ustar #! /bin/sh # postinst script for usemod-wiki # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see /usr/share/doc/packaging-manual/ # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) # Fixup the var/usr thing # Version number has to be adjusted correctly: if test -n "$2" && dpkg --compare-versions "$2" "<<" "0.92-1.1" ; then if [ -d /var/lib/usemod-wiki/page/ ] ; then echo "You already have a usemod-wiki at /var/lib/usemod-wiki" echo "I will not touch that" exit 1 fi if [ -d /usr/share/usemod-wiki ] ; then mv /usr/share/usemod-wiki/* /var/lib/usemod-wiki/ rmdir /usr/share/usemod-wiki echo "Moved database to /var/lib/usemod-wiki/"; fi fi if test -n "$2" && dpkg --compare-versions "$2" "<<" "0.92-2.1" ; then chown -R www-data:www-data /var/lib/usemod-wiki fi if test -n "$2" && dpkg --compare-versions "$2" le-nl "1.0-3" ; then if test -d /var/www/usemod-wiki ; then rmdir /var/www/usemod-wiki ln -s /usr/share/usemod-wiki/images /var/www/usemod-wiki echo "Linked /var/www/usemod-wiki to /usr/share/usemod-wiki/images" fi fi if test ! -f /var/lib/usemod-wiki/page/H/HomePage.db ; then mkdir -p /var/lib/usemod-wiki/page/H cp /usr/share/usemod-wiki/HomePage.db /var/lib/usemod-wiki/page/H chown -R www-data:www-data /var/lib/usemod-wiki fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000664000000000000000000000171712163365633010611 0ustar Source: usemod-wiki Section: web Priority: optional Maintainer: Christoph Berg Build-Depends: debhelper (>> 9), dh-apache2 Standards-Version: 3.9.4 Vcs-Svn: http://svn.df7cb.de/debian/usemod-wiki/trunk/ Package: usemod-wiki Architecture: all Depends: apache2 | httpd, perl, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Recommends: ${misc:Recommends} Suggests: default-mta | mail-transport-agent Description: Perl-based Wiki clone UseMod is a reimplementation/clone of the original Wiki concept created by Ward Cunningham. A "wiki" is a website that is collaboratively edited by its users, including the ability to alter text written by other users. . UseMod provides common wiki features as well as unique features: recent changes, conflict resolution, difference links, subpages, interwiki links, full text searching, free links (for free-form wiki names), administrative features. Homepage: http://www.usemod.com/cgi-bin/wiki.pl?UseModWiki debian/copyright0000664000000000000000000000273111521327143011125 0ustar This package is maintained by Christoph Berg . This package was debianized by Benjamin Drieu on Thu, 18 Apr 2002 15:36:06 +0200. It was downloaded from http://www.usemod.com/wikicode/ Upstream Author: Clifford A. Adams Copyright: Copyright (C) 2000-2003 Clifford A. Adams Copyright (C) 2002-2003 Sunir Shah This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Based on the GPLed AtisWiki 0.3 (C) 1998 Markus Denker ...which was based on the LGPLed CVWiki CVS-patches (C) 1997 Peter Merel and The Original WikiWikiWeb (C) Ward Cunningham (code reused with permission) Email and ThinLine options by Jim Mahoney debian/patches/0000775000000000000000000000000012230500443010610 5ustar debian/patches/spelling0000664000000000000000000000167511521331431012362 0ustar --- a/wiki.pl +++ b/wiki.pl @@ -2611,7 +2611,7 @@ sub ExpireKeepFile { return; } return if (!$anyExpire); # No sections expired - open (OUT, ">$fname") or die (Ts('cant write %s', $fname) . ": $!"); + open (OUT, ">$fname") or die (Ts('can\'t write %s', $fname) . ": $!"); foreach (@kplist) { %tempSection = split(/$FS2/, $_, -1); $sectName = $tempSection{'name'}; @@ -2906,7 +2906,7 @@ sub ReadFileOrDie { sub WriteStringToFile { my ($file, $string) = @_; - open (OUT, ">$file") or die(Ts('cant write %s', $file) . ": $!"); + open (OUT, ">$file") or die(Ts('can\'t write %s', $file) . ": $!"); print OUT $string; close(OUT); } @@ -2914,7 +2914,7 @@ sub WriteStringToFile { sub AppendStringToFile { my ($file, $string) = @_; - open (OUT, ">>$file") or die(Ts('cant write %s', $file) . ": $!"); + open (OUT, ">>$file") or die(Ts('can\'t write %s', $file) . ": $!"); print OUT $string; close(OUT); } debian/patches/bodyonly0000664000000000000000000000523111521331442012376 0ustar --- a/wiki.pl +++ b/wiki.pl @@ -9,6 +9,7 @@ # and The Original WikiWikiWeb (C) Ward Cunningham # (code reused with permission) # Email and ThinLine options by Jim Mahoney +# BodyOnly option by Christoph Berg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -53,7 +54,7 @@ use vars qw(@RcDays @HtmlPairs @HtmlSing @IsbnNames @IsbnPre @IsbnPost $EmailFile $FavIcon $RssDays $UserHeader $UserBody $StartUID $ParseParas $AuthorFooter $UseUpload $AllUpload $UploadDir $UploadUrl $LimitFileUrl $MaintTrimRc $SearchButton - $EditNameLink $UseMetaWiki @ImageSites $BracketImg ); + $EditNameLink $UseMetaWiki @ImageSites $BracketImg $BodyOnly ); # Note: $NotifyDefault is kept because it was a config variable in 0.90 # Other global variables: use vars qw(%Page %Section %Text %InterSite %SaveUrl %SaveNumUrl @@ -175,6 +176,7 @@ $SearchButton = 0; # 1 = search but $EditNameLink = 0; # 1 = edit links use name (CSS), 0 = '?' links $UseMetaWiki = 0; # 1 = add MetaWiki search links, 0 = no MW links $BracketImg = 1; # 1 = [url url.gif] becomes image link, 0 = no img +$BodyOnly = 0; # 1 = output body for template 0 = full HTML output # Names of sites. (The first entry is used for the number link.) @IsbnNames = ('bn.com', 'amazon.com', 'search'); @@ -1338,6 +1340,8 @@ sub GetHttpHeader { my ($type) = @_; my $cookie; + return "" if $BodyOnly; + $type = 'text/html' if ($type eq ''); if (defined($SetCookie{'id'})) { $cookie = "$CookieName=" @@ -1361,6 +1365,8 @@ sub GetHtmlHeader { my ($title, $id) = @_; my ($dtd, $html, $bodyExtra, $stylesheet); + return "" if $BodyOnly; # omit header + $html = ''; $dtd = '-//IETF//DTD HTML//EN'; $html = qq(\n); @@ -1483,11 +1489,13 @@ sub GetCommonFooter { if ($FooterNote ne '') { $html .= T($FooterNote); } - $html .= '' . $q->end_html; + $html .= ''; + $html .= $q->end_html unless $BodyOnly; return $html; } sub GetMinimumFooter { + return "" if $BodyOnly; return $q->end_html; } --- a/config +++ b/config @@ -63,6 +63,7 @@ $ReplaceFile = 'ReplaceFile'; # 0 = di $TableSyntax = 1; # 1 = wiki syntax tables, 0 = no table syntax $NewFS = 0; # 1 = new multibyte $FS, 0 = old $FS $UseUpload = 0; # 1 = allow uploads, 0 = no uploads +$BodyOnly = 0; # 1 = output body for template 0 = full HTML output # Minor options: $LogoLeft = 0; # 1 = logo on left, 0 = logo on right debian/patches/cookie-expiration0000664000000000000000000000071312230500443014165 0ustar --- a/wiki.pl +++ b/wiki.pl @@ -1348,7 +1348,7 @@ sub GetHttpHeader { . "rev&" . $SetCookie{'rev'} . "&id&" . $SetCookie{'id'} . "&randkey&" . $SetCookie{'randkey'}; - $cookie .= ";expires=Fri, 08-Sep-2013 19:48:23 GMT"; + $cookie .= ";expires=Fri, 08-Sep-2025 19:48:23 GMT"; if ($HttpCharset ne '') { return $q->header(-cookie=>$cookie, -type=>"$type; charset=$HttpCharset"); debian/patches/series0000664000000000000000000000022612230500351012023 0ustar # fixes perl-warnings spelling # features bodyonly unknown_hostname # Debianization config debian_version # other files intermap cookie-expiration debian/patches/debian_version0000664000000000000000000000041011521333030013513 0ustar --- a/wiki.pl +++ b/wiki.pl @@ -4968,6 +4968,7 @@ sub RenamePage { sub DoShowVersion { print &GetHeader('', T('Displaying Wiki Version'), ''); print "

UseModWiki version 1.0.5

\n"; + print "

Debian version

\n"; print &GetCommonFooter(); } debian/patches/perl-warnings0000664000000000000000000000163111521331265013332 0ustar --- a/wiki.pl +++ b/wiki.pl @@ -1068,7 +1068,7 @@ sub GetHistoryLine { $minor = '' . T('(edit)') . ' ' if ($revtext{'minor'}); $expirets = $Now - ($KeepDays * 24 * 60 * 60); if ($UseDiff) { - my ($c1, $c2); + my ($c1, $c2) = ("", ""); $c1 = 'checked="checked"' if 1 == $row; $c2 = 'checked="checked"' if 0 == $row; $html .= " tags, 0 = classic wiki
$BracketText = 1; # 1 = allow [URL text], 0 = no link descriptions -$UseAmPm = 1; # 1 = use am/pm in times, 0 = use 24-hour times +$UseAmPm = 0; # 1 = use am/pm in times, 0 = use 24-hour times $UseIndex = 0; # 1 = use index file, 0 = slow/reliable method $UseHeadings = 1; # 1 = allow = h1 text =, 0 = no header formatting $NetworkFile = 1; # 1 = allow remote file:, 0 = no file:// links -$BracketWiki = 0; # 1 = [WikiLnk txt] link, 0 = no local descriptions +$BracketWiki = 1; # 1 = [WikiLnk txt] link, 0 = no local descriptions $UseLookup = 1; # 1 = lookup host names, 0 = skip lookup (IP only) $FreeUpper = 1; # 1 = force upper case, 0 = do not force case $FastGlob = 1; # 1 = new faster code, 0 = old compatible code @@ -135,7 +136,7 @@ $UserDir = "$DataDir/user"; # St $KeepDir = "$DataDir/keep"; # Stores kept (old) page data $TempDir = "$DataDir/temp"; # Temporary files and locks $LockDir = "$TempDir/lock"; # DB is locked if this exists -$InterFile = "$DataDir/intermap"; # Interwiki site->url map +$InterFile = "/etc/usemod-wiki/intermap"; # Interwiki site->url map $RcFile = "$DataDir/rclog"; # New RecentChanges logfile $RcOldFile = "$DataDir/oldrclog"; # Old RecentChanges logfile $IndexFile = "$DataDir/pageidx"; # List of all pages debian/patches/unknown_hostname0000664000000000000000000000223211521367106014140 0ustar --- a/wiki.pl +++ b/wiki.pl @@ -2771,6 +2771,11 @@ sub UserIsBanned { $host = &GetRemoteHost(0); foreach (split(/\n/, $data)) { next if ((/^\s*$/) || (/^#/)); # Skip empty, spaces, or comments + if ($_ eq "unknown") { return 1 if ($host =~ /^[\d.]+$/); next; } # Ban unknown hosts + if ($_ eq "unknown+unregistered") { # Check whether the user is registered + return 1 if ($host =~ /^[\d.]+$/ and &GetParam('username','') eq ''); + next; + } return 1 if ($ip =~ /$_/i); return 1 if ($host =~ /$_/i); } @@ -4530,7 +4535,10 @@ sub DoEditBanned { "# blocks exact IP address
", "^123\\.21\\.3\\.9\$
", "# blocks whole 123.21.3.* IP network
", - "^123\\.21\\.3\\.\\d+\$

"; + "^123\\.21\\.3\\.\\d+\$
", + "# the special token 'unknown' blocks all unresolvable addresses
", + "# using 'unknown+unregistered' blocks unregistered users only
", + "unknown

"; print &GetTextArea('banlist', $banList, 12, 50); print "
", $q->submit(-name=>'Save'), "\n"; print $q->endform; debian/patches/intermap0000664000000000000000000000473311521327143012367 0ustar --- usemod-wiki-1.0.orig/intermap +++ usemod-wiki-1.0/intermap @@ -1,10 +1,51 @@ +AcadWiki http://xarch.tu-graz.ac.at/autocad/wiki/ Acronym http://www.acronymfinder.com/af-query.asp?String=exact&Acronym= +Advogato http://www.advogato.org/ +AndStuff http://andstuff.org/wiki.php? +BenefitsWiki http://www.benefitslink.com/cgi-bin/wiki.cgi? +BridgesWiki http://c2.com/w2/bridges/ +C2find http://c2.com/cgi/wiki?FindPage&value= +CLiki http://www.telent.net/cliki/ Cache http://www.google.com/search?q=cache: +CmWiki http://www.ourpla.net/cgi-bin/wiki.pl? +CreationMatters http://www.ourpla.net/cgi-bin/wiki.pl? +DejaNews http://www.deja.com/=dnc/getdoc.xp?AN= Dictionary http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query= +Dictionary http://www.dictionary.com/cgi-bin/dict.pl?term= +DolphinWiki http://www.object-arts.com/wiki/html/Dolphin/ +EfnetCppWiki http://purl.net/wiki/cpp/ +EfnetPythonWiki http://purl.net/wiki/python/ +EfnetXmlWiki http://purl.net/wiki/xml/ +FoxWiki http://fox.wikis.com/wc.dll?Wiki~ Google http://www.google.com/search?q= GoogleGroups http://groups.google.com/groups?q= +HammondWiki http://www.dairiki.org/HammondWiki/index.php3? IMDB http://us.imdb.com/Title? JargonFile http://sunir.org/apps/meta.pl?wiki=JargonFile&redirect= +JiniWiki http://www.cdegroot.com/cgi-bin/jini? +LegoWiki http://www.object-arts.com/wiki/html/Lego-Robotics/ +MbTest http://www.usemod.com/cgi-bin/mbtest.pl? +MeatBall http://www.usemod.com/cgi-bin/mb.pl? +MetaWiki http://sunir.org/apps/meta.pl? +MoinMoin http://purl.net/wiki/moin/ +MuttWiki http://wiki.mutt.org/index.cgi? +MuWeb http://www.dunstable.com/scripts/MuWebWeb? +OrgPatterns http://www.bell-labs.com/cgi-user/OrgPatterns/OrgPatterns? +PPR http://c2.com/cgi/wiki? +PhpWiki http://phpwiki.sourceforge.net/phpwiki/index.php3? +PolitizenWiki http://www.politizen.com/wiki.asp? +PyWiki http://www.voght.com/cgi-bin/pywiki? +PythonInfo http://www.python.org/cgi-bin/moinmoin/ +SeattleWireless http://seattlewireless.net/? +SenseisLibrary http://senseis.xmp.net/? +SourceForge http://sourceforge.net/ +Squeak http://minnow.cc.gatech.edu/squeak/ +StrikiWiki http://ch.twi.tudelft.nl/~mostert/striki/teststriki.pl? +TWiki http://twiki.sourceforge.net/cgi-bin/view/ +Tavi http://tavi.sourceforge.net/index.php? UseMod http://www.usemod.com/cgi-bin/wiki.pl? +VisualWorks http://wiki.cs.uiuc.edu/VisualWorks/ +Why http://clublet.com/c/c/why? Wiki http://c2.com/cgi/wiki? WikiPedia http://www.wikipedia.org/wiki/ +ZWiki http://www.zwiki.org/ debian/docs0000664000000000000000000000001711521327143010040 0ustar README UPGRADE debian/wiki-wrapper.pl0000664000000000000000000000201611521327143012144 0ustar #!/usr/bin/perl # (c) 2004 Christoph Berg # This script is free software covered by the GNU GPL. # cb 2004-05-29: initial version. # cb 2004-07-10: added umask. # Wrapper to call usemod wiki. If you want to use more than one wiki instance, # you can copy (and rename) this script and adjust $ConfigFile below. # NOTE: Do not use this wrapper with mod_perl! It will throw lots of warnings # and probably break. # Load usemod wiki. local $_ = "nocgi"; do "/usr/lib/cgi-bin/wiki.pl"; # If the config file is in the same directory as this file, you can just give # the file name here, as Apache chdirs here while serving the request. local $UseModWiki::ConfigFile; $UseModWiki::ConfigFile = "config"; # If your config file does not include $DataDir, define it here. #local $UseModWiki::DataDir; #$UseModWiki::DataDir = "/var/lib/usemod-wiki"; # Make created files and directories group-writable. Useful if your webserver # runs under a different uid than your files. umask 0002; # Call wiki. UseModWiki::DoWikiRequest(); debian/watch0000664000000000000000000000017211521327275010226 0ustar version=3 http://www.usemod.com/cgi-bin/wiki.pl?UseModWiki/Download \ http://www.usemod.com/wikicode/usemod-(.*).tar.gz debian/usemod-wiki.apache20000664000000000000000000000003512163365534012660 0ustar conf debian/usemod-wiki.conf debian/dirs0000664000000000000000000000014412163366052010057 0ustar usr/lib/cgi-bin usr/share/doc/usemod-wiki/examples usr/share/usemod-wiki/images var/lib/usemod-wiki debian/changelog0000664000000000000000000001054512230501033011034 0ustar usemod-wiki (1.0.5-3) unstable; urgency=low * Update hardcoded cookie expiration date from 2013 to 2025. Thanks to Andrew Bezella for the patch. (Closes: #726762) -- Christoph Berg Sat, 19 Oct 2013 14:59:05 +0200 usemod-wiki (1.0.5-2) unstable; urgency=low * Move HomePage.db from /usr/share/doc/usemod-wiki/examples/ to /usr/share/usemod-wiki/ (Closes: #710663). * Convert to use dh-apache2 to support apache 2.4 (Closes: #669770). -- Christoph Berg Fri, 28 Jun 2013 22:14:12 +0200 usemod-wiki (1.0.5-1) unstable; urgency=low * New upstream version, including patches CAN-2004-1397 and 355876-rss-charset. * Suggests: default-mta instead of exim4. * Update watch file. -- Christoph Berg Sun, 30 Jan 2011 19:32:46 +0100 usemod-wiki (1.0-10) unstable; urgency=low * Convert to 3.0 (quilt). * Do not install a symlink into /var/www, but use an apache2/conf.d snippet. Document in NEWS.Debian. (Closes: #553556). * Refresh HomePage template, missed in the charset update. -- Christoph Berg Sat, 21 Nov 2009 22:13:30 +0100 usemod-wiki (1.0-9) unstable; urgency=low * Add missing targets in debian/rules (Closes: #395646). -- Christoph Berg Sat, 28 Oct 2006 13:23:21 +0200 usemod-wiki (1.0-8) unstable; urgency=low * Thanks to Teemu Hukkanen for the following patches: + Use HttpCharset also for RSS feed (Closes: #355876). + Fix some typos (Closes: #355879). -- Christoph Berg Wed, 8 Mar 2006 22:11:13 +0100 usemod-wiki (1.0-7) unstable; urgency=low * Enable $NewFS = 1 (Closes: #326009). * Bump Standards-Version. * Update FSF address. -- Christoph Berg Thu, 6 Oct 2005 23:17:43 +0200 usemod-wiki (1.0-6) unstable; urgency=high * Sanitize output, we are vulnerable to XSS in CAN-2004-1397 (Closes: #295515). -- Christoph Berg Wed, 16 Feb 2005 16:36:43 +0100 usemod-wiki (1.0-5) unstable; urgency=low * Yet another fix for unresolvable hostnames, thanks to Hugo Mills for the patch (Closes: #281258). * Allow to block only unregistered users from unresolvable hosts, also due to Hugo Mills (Closes: #281095). * Watch file. -- Christoph Berg Sun, 14 Nov 2004 23:38:27 +0100 usemod-wiki (1.0-4) unstable; urgency=low * Move images to /usr/share/usemod-wiki/images (Closes: #227928). * Improve test for unresolvable hostnames. * Update HomePage.db. * Update README.Debian. * Move prerm to postrm. -- Christoph Berg Tue, 12 Oct 2004 16:13:57 +0200 usemod-wiki (1.0-3) unstable; urgency=low * Added patch to enable blocking of unresolvable hostnames. -- Christoph Berg Mon, 20 Sep 2004 15:48:43 +0200 usemod-wiki (1.0-2) unstable; urgency=low * Added BodyOnly feature for usage inside templates. * Include Debian version in action=version output. * umask 0002 in misc/wiki-wrapper.pl. * Added README.Debian. * Upgraded to debhelper 4. * Bumped standards version. -- Christoph Berg Wed, 28 Jul 2004 02:07:04 +0200 usemod-wiki (1.0-1) unstable; urgency=low * New maintainer. (Closes: #223781) * New upstream release. (Closes: #211445) * Bumped standards version. * Removed unused /usr/share/usemod-wiki. * Removed some perl warnings, still to many left to run with perl -w. * Added $DataDir to default config file. * Changed default charset from undefined to utf-8. * Merged intermap from 0.92 and added MuttWiki. * Provide wrapper for running multiple instances. (Needs more testing before #235917 can be closed.) -- Christoph Berg Sat, 29 May 2004 12:10:00 +0200 usemod-wiki (0.92-3) unstable; urgency=low * Fix wrong path in postinst (Closes: #153100) -- Benjamin Drieu Tue, 30 Jul 2002 16:10:28 +0200 usemod-wiki (0.92-2) unstable; urgency=low * Remove debian-logo.png on clean * Define new variable $ConfigFile to hold the location of config file * Spelling error in homepage * Migrate writable files from /usr to /var/lib/usemod-wiki (Closes: #149475) * Many thanks to David Schmitt for his patches -- Benjamin Drieu Tue, 21 May 2002 19:01:35 +0200 usemod-wiki (0.92-1) unstable; urgency=low * Initial Release. (Closes: #142264) -- Benjamin Drieu Thu, 18 Apr 2002 15:36:06 +0200 debian/HomePage.db0000664000000000000000000000500611521327143011164 0ustar ts112588378481version131cache_oldmajor101cache_oldauthor101cache_diff_default_author111revision111tscreate112588378481text_default1ip2127.0.0.12ts212588378482version212name2text_default2data2summary3New HomePage3text3= Welcome to your new wiki in the cyberspace! = This UseModWiki, a very functional wiki implementation. Changes made for the Debian version: * The config files are located in /etc/usemod-wiki. * HTML is disabled by default. * The UseMod logo has been replaced with the Debian logo. * "unknown" in the banned list blocks unresolvable hostnames. Have fun! == How to start? == Click on the Edit text of this page link below, then you can add content to this page and add wiki links. Alternatively, you can click on the following link (question mark) to create a SandBox page and play with it. == More information == * See Wiki:NewUserPages for more information on the wiki concept. * See UseMod:UseModWiki for more information on usemod. * See UseMod:UseModWiki/Install for more information on how to configure your wiki. * See UseMod:TextFormattingRules for more information on how to write content. 3newauthor313minor302username22host2localhost2revision212tscreate212588378482id21111cache_diff_default_major111cache_diff_default_minor11c1,25 < Describe the new page here. --- > = Welcome to your new wiki in the cyberspace! = > > This UseModWiki, a very functional wiki implementation. > > Changes made for the Debian version: > * The config files are located in /etc/usemod-wiki. > * HTML is disabled by default. > * The UseMod logo has been replaced with the Debian logo. > * "unknown" in the banned list blocks unresolvable hostnames. > > Have fun! > > == How to start? == > > Click on the Edit text of this page link below, then you can > add content to this page and add wiki links. Alternatively, you can > click on the following link (question mark) to create a SandBox page > and play with it. > > == More information == > > * See Wiki:NewUserPages for more information on the wiki concept. > * See UseMod:UseModWiki for more information on usemod. > * See UseMod:UseModWiki/Install for more information on how to configure your wiki. > * See UseMod:TextFormattingRules for more information on how to write content. debian-logo.png0000664000000000000000000000245411521327143010640 0ustar PNG  IHDRK\CcPLTE6@@@Cꟳ@h 揧 Op```0\`ߏpppPuPPP333YbKGDH pHYs  ~tIMEwOIDATxۢ*1 T(Q ՐJic7(MACjAFb1DK"}f̊ZEi8e, cX , zRժT~8HJ;\!sCX*'OK^M,霴_Ķu0 GoaZu6,z陸bT}r|~f@tm"Pp` { 7mڴФZ!I# 9:yO8Je,o"k"޻4Jߔ:kQ! vn?Xڑ[hڞegyA)v˻ >6^~T%leg}Z_U% {3M1>XLy/Y bXnj͂rn{'^'M#V_ɕUkYx^'F50A%~Y09CHသk#7Od]$dtV]r6p}.dSqřY^cXuES|Zh dʌωenm >>}zHPw`a G: ezc` # Ѯ o =6X͔5eYЙ\g%:\zI ,fAu7ύn1?6nF&_ʰ= tDPxj撡UO]UĪH)t ~",`K՗#F<E aErM>0 U' ?>.uUkIENDB`