title: wiki-patch-debian wiliki-lwp-version: 1.0 mtime: 1178177085
Moved to darcs
diff -urN wiliki-0.5/debian/changelog wiliki-0.5-debian/debian/changelog
--- wiliki-0.5/debian/changelog 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/changelog 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,71 @@
+wiliki (0.4-2) unstable; urgency=low
+
+ * src/wiliki/db.scm: Use srfi-1. closes: #234287.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Tue, 24 Feb 2004 19:55:01 +0900
+
+wiliki (0.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Thu, 9 Oct 2003 03:52:03 +0900
+
+wiliki (0.3+030913-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Sat, 13 Sep 2003 02:32:09 +0900
+
+wiliki (0.3+030824-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Sun, 24 Aug 2003 21:37:00 +0900
+
+wiliki (0.3+030815-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 15 Aug 2003 06:32:57 +0900
+
+wiliki (0.3+030405-1) unstable; urgency=low
+
+ * New upstream release.
+ * src/wiliki.cgi: Set the default title to "Debian WiLiKi". Commented
+ out style-sheet argument.
+ * debian/TODO.Debian: Renamed.
+ * debian/rules: Specify DH_OPTIONS=-Pdebian/tmp.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Sun, 6 Apr 2003 03:33:09 +0900
+
+wiliki (0.3+030328-2) unstable; urgency=low
+
+ * debian/TODO: Memos on possible improvements of packaging.
+ * First upload, closes: #186512.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 28 Mar 2003 22:57:41 +0900
+
+wiliki (0.3+030328-1) unstable; urgency=low
+
+ * New upstream version (pulled from CVS).
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 28 Mar 2003 03:09:01 +0900
+
+wiliki (0.3-2) unstable; urgency=low
+
+ * src/wiliki.scm: Support ftp/http/https links.
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Wed, 5 Mar 2003 00:21:27 +0900
+
+wiliki (0.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- YAEGASHI Takeshi <yaegashi@debian.org> Tue, 4 Mar 2003 01:03:14 +0900
+
+wiliki (0.2-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- YAEGASHI Takeshi <t@keshi.org> Fri, 20 Dec 2002 18:30:05 +0900
+
diff -urN wiliki-0.5/debian/control wiliki-0.5-debian/debian/control
--- wiliki-0.5/debian/control 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/control 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,16 @@
+Source: wiliki
+Section: web
+Priority: optional
+Maintainer: YAEGASHI Takeshi <yaegashi@debian.org>
+Build-Depends-Indep: debhelper (>> 3.0.0), gauche (>= 0.7.1), autoconf
+Standards-Version: 3.6.1.0
+
+Package: wiliki
+Architecture: all
+Depends: gauche (>= 0.7.1)
+Conflicts: wiliki-experimental
+Description: Yet another Wiki clone written in Scheme
+ WiLiKi is yet another Wiki-clone suitable for intra-net collaborative
+ work in multilingual environment. The features include multiple
+ back-end databases, permission and version control, and easy access
+ from other programs.
diff -urN wiliki-0.5/debian/copyright wiliki-0.5-debian/debian/copyright
--- wiliki-0.5/debian/copyright 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/copyright 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,30 @@
+This package was debianized by YAEGASHI Takeshi <t@keshi.org> on
+Fri, 20 Dec 2002 18:30:05 +0900.
+
+It was downloaded from http://sourceforge.net/projects/wiliki
+
+Upstream Author:
+Shiro Kawai <shiro@acm.org>
+
+Copyright:
+ Copyright (c) 2000-2003 Shiro Kawai, All rights reserved.
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify,
+ merge, publish, distribute, sublicense, and/or sell copies of
+ the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
diff -urN wiliki-0.5/debian/dirs wiliki-0.5-debian/debian/dirs
--- wiliki-0.5/debian/dirs 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/dirs 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,2 @@
+usr/lib/cgi-bin
+var/lib/wiliki
diff -urN wiliki-0.5/debian/postinst wiliki-0.5-debian/debian/postinst
--- wiliki-0.5/debian/postinst 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/postinst 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,50 @@
+#! /bin/sh
+# postinst script for wiliki
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# 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'.
+
+USER=www-data
+
+case "$1" in
+ configure)
+ chown $USER:$USER /var/lib/wiliki
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst 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
+
+
diff -urN wiliki-0.5/debian/postrm wiliki-0.5-debian/debian/postrm
--- wiliki-0.5/debian/postrm 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/postrm 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,40 @@
+#! /bin/sh
+# postrm script for wiliki
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge)
+ rm -rf /var/lib/wiliki
+ ;;
+
+ 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
diff -urN wiliki-0.5/debian/README.Debian wiliki-0.5-debian/debian/README.Debian
--- wiliki-0.5/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/README.Debian 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,16 @@
+WiLiKi for Debian
+-----------------
+
+The documentation can be found at:
+http://www.shiro.dreamhost.com/scheme/wiliki/wiliki.cgi
+
+After installation you can find a sample WiLiKi site working at
+/cgi-bin/wiliki.cgi on your web server. /var/lib/wiliki is
+prepared for www-data to store WiLiKi database files such as
+wikidata.dbm.
+
+You can copy and customize /usr/lib/cgi-bin/wiliki.cgi
+(optionally with wiliki-sample.css in the example directory) to
+set up another WiLiKi site.
+
+ -- YAEGASHI Takeshi <t@keshi.org>, Fri, 20 Dec 2002 18:30:05 +0900
diff -urN wiliki-0.5/debian/rules wiliki-0.5-debian/debian/rules
--- wiliki-0.5/debian/rules 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/rules 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,73 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+#
+export DH_OPTIONS = -Pdebian/tmp
+PKGDIR = $(CURDIR)/debian/tmp
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ if test -x ./DIST; then ./DIST gen; fi
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ dh_clean
+ -$(MAKE) clean
+ rm -f configure
+ rm -f build-stamp
+
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(PKGDIR)
+ install -m 0755 src/wiliki.cgi $(PKGDIR)/usr/lib/cgi-bin
+
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+# dh_installdebconf
+ dh_installdocs -i
+ dh_installexamples -i src/wiliki-sample.css
+ dh_installmenu -i
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+ dh_installcron -i
+ dh_installman -i
+ dh_installinfo -i
+# dh_undocumented -i
+ dh_installchangelogs -i ChangeLog
+ dh_link -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+# dh_perl -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: control build clean binary-indep binary-arch binary install
diff -urN wiliki-0.5/debian/TODO.Debian wiliki-0.5-debian/debian/TODO.Debian
--- wiliki-0.5/debian/TODO.Debian 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/debian/TODO.Debian 2004-09-12 16:39:35.000000000 +0200
@@ -0,0 +1,2 @@
+Package EmacsClient.
+New WiLiKi site setup scripts.
diff -urN wiliki-0.5/src/Makefile wiliki-0.5-debian/src/Makefile
--- wiliki-0.5/src/Makefile 2004-05-24 01:03:53.000000000 +0200
+++ wiliki-0.5-debian/src/Makefile 2004-09-13 16:18:20.000000000 +0200
@@ -38,6 +38,9 @@
if test ! -d $(SCM_INSTALL_DIR)/wiliki; then \
$(INSTALL) -d $(SCM_INSTALL_DIR)/wiliki; \
fi
+ if test ! -d $(SCM_INSTALL_DIR)/dbm; then \
+ $(INSTALL) -d $(SCM_INSTALL_DIR)/dbm; \
+ fi
for f in $(TARGET); do \
$(INSTALL) -m 444 $$f $(SCM_INSTALL_DIR)/$$f; \
done
diff -urN wiliki-0.5/src/wiliki.cgi wiliki-0.5-debian/src/wiliki.cgi
--- wiliki-0.5/src/wiliki.cgi 2004-01-11 12:13:57.000000000 +0100
+++ wiliki-0.5-debian/src/wiliki.cgi 2004-09-12 16:42:25.000000000 +0200
@@ -48,17 +48,21 @@
;; it encounters an error during processing (including macro
;; expansion error). Useful while debugging, but should be
;; turned off for the sites open to public.
+;;
+;; :log-file - Path for editing history log.
+;; Relative to the diretory where the database resides.
(define (main args)
(wiliki-main
(make <wiliki>
- :db-path "/home/shiro/data/wikidata.dbm"
+ :db-path "/var/lib/wiliki/wikidata.dbm"
+ :log-file "wikidata.log"
:top-page "WiLiKi"
- :title "MyWiliki"
- :description "Shiro's Wiliki Site"
- :style-sheet "wiliki.css"
- :language 'jp
- :charsets '((jp . euc-jp) (en . euc-jp))
+ :title "Debian WiLiKi"
+ :description "Debian's Default WiLiKi Site"
+;;; :style-sheet "wiliki-sample.css"
+ :language 'en
+ :charsets '((jp . euc-jp) (en . utf-8))
:image-urls '((#/^http:\/\/sourceforge.net\/sflogo/ allow))
:debug-level 0
)))
diff -urN wiliki-0.5/src/wiliki-sample.css wiliki-0.5-debian/src/wiliki-sample.css
--- wiliki-0.5/src/wiliki-sample.css 1970-01-01 01:00:00.000000000 +0100
+++ wiliki-0.5-debian/src/wiliki-sample.css 2004-09-13 16:23:33.000000000 +0200
@@ -0,0 +1,52 @@
+/* sample style sheet for wiliki */
+
+body {
+ font-family: verdana, arial, helvetica, sans-serif;
+ color: black;
+ background-color: #eeeedd;
+ margin-left: 2em;
+ margin-right: 2em;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ text-align: left;
+ color: #006655;
+ background: transparent;
+}
+h1 { font-size: 190% }
+h2 { font-size: 160% }
+h3 { font-size: 130% }
+h4 { font-size: 110% }
+h5 { font-size: 100% }
+h6 { font-size: 100%; font-style: italic }
+
+pre {
+ margin-left: 2em;
+ margin-right: 2em;
+ font-family: monospace;
+ background-color: #ddeeee;
+ border: solid thin #aacccc;
+}
+
+pre.macroerror {
+ background-color: #ee5555;
+}
+
+blockquote {
+ border-left: solid thick #ddbbaa;
+}
+
+blockquote > blockquote {
+ border-left: solid thick #bb9988;
+}
+
+blockquote > blockquote > blockquote {
+ border-left: solid thick #997766;
+}
+
+dt { font-weight: bold }
+
+td.inbody { background: #dddddd } /* used in formatted body */
+td.preview { background: #eeddaa } /* used in preview page */
+
+