From: Joey Hess <joey@kitenet.net>
Date: Thu, 20 Mar 2008 03:00:21 +0000 (-0400)
Subject: Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
X-Git-Tag: 2.41~66
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/b86c40e220ed5f095f5149fd7d74a65eb570edd1?hp=8471c5135512586dd4944cd4f7ca3de75063a197

Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
---

diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm
index 2ffc51c55..a0b1327b4 100644
--- a/IkiWiki/UserInfo.pm
+++ b/IkiWiki/UserInfo.pm
@@ -17,7 +17,7 @@ sub userinfo_store ($) { #{{{
 	
 	my $newfile="$config{wikistatedir}/userdb.new";
 	my $oldmask=umask(077);
-	my $ret=Storable::lock_store($userinfo, $newfile);
+	my $ret=Storable::lock_nstore($userinfo, $newfile);
 	umask($oldmask);
 	if (defined $ret && $ret) {
 		if (! rename($newfile, "$config{wikistatedir}/userdb")) {
diff --git a/Makefile.PL b/Makefile.PL
index dad0fedca..e85b33a8f 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -101,7 +101,6 @@ WriteMakefile(
 		'HTML::Template'	=> 0,
 		'HTML::Scrubber'	=> 0,
 		'CGI::FormBuilder'	=> 3.02.02,
-		'Time::Duration'	=> 0,
 		'CGI::Session'		=> 0,
 		'Mail::Sendmail'	=> 0,
 		'HTML::Parser'		=> 0,
diff --git a/debian/changelog b/debian/changelog
index 8f505782e..5909f237e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +51,9 @@ ikiwiki (2.41) UNRELEASED; urgency=low
     things that need to know the page source or type can query it from there.
     Fixes previewing of tables when creating a new page.
   * German translation update. Closes: #471540
+  * Time::Duration is no longer used, remove from docs and recommends.
+  * Store userinfo in network byte order for easy portability.
+    (Old files will be automatically converted.)
 
  -- martin f. krafft <madduck@debian.org>  Sun, 02 Mar 2008 17:46:38 +0100
 
diff --git a/debian/control b/debian/control
index 886456c0f..0bc2cbfde 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Vcs-Browser: http://git.ikiwiki.info/?p=ikiwiki
 Package: ikiwiki
 Architecture: all
 Depends: ${perl:Depends}, markdown, libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl, liburi-perl
-Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion | git-core | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38), libxml-simple-perl, libnet-openid-consumer-perl, liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl (>= 3.05), libtime-duration-perl, libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl
+Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion | git-core | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38), libxml-simple-perl, libnet-openid-consumer-perl, liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl (>= 3.05), libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl
 Suggests: viewvc | gitweb | viewcvs, hyperestraier, librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz
 Conflicts: ikiwiki-plugin-table
 Replaces: ikiwiki-plugin-table
diff --git a/doc/install.mdwn b/doc/install.mdwn
index 5e3720c5e..170a1d93a 100644
--- a/doc/install.mdwn
+++ b/doc/install.mdwn
@@ -11,9 +11,9 @@ perl modules be installed.
 
 It also uses the following perl modules if available: [[cpan
 CGI::Session]], [[cpan CGI::FormBuilder]] (version 3.05 or newer), [[cpan
-Mail::Sendmail]], [[cpan Time::Duration]], [[cpan TimeDate]], [[cpan
-RPC::XML]], [[cpan XML::Simple]], [[cpan XML::Feed]], [[cpan
-File::MimeInfo]], [[cpan Locale::gettext]] (version 1.04 or newer).
+Mail::Sendmail]], [[cpan TimeDate]], [[cpan RPC::XML]],
+[[cpan XML::Simple]], [[cpan XML::Feed]], [[cpan File::MimeInfo]],
+[[cpan Locale::gettext]] (version 1.04 or newer).
 
 It's recommended you have a C compiler, as ikiwiki uses one to build
 wrappers.
diff --git a/doc/tips/SharedHosting.mdwn b/doc/tips/SharedHosting.mdwn
index aa8ea21a4..5af894d16 100644
--- a/doc/tips/SharedHosting.mdwn
+++ b/doc/tips/SharedHosting.mdwn
@@ -109,7 +109,7 @@ Install the modules required for Ikiwiki.  I install all of the ones required *a
 
     install Text::Markdown URI HTML::Parser HTML::Template
     install CGI CGI::Session CGI::FormBuilder
-    install Mail::Sendmail Time::Duration HTML::Scrubber
+    install Mail::Sendmail HTML::Scrubber
     install RPC::XML XML::Simple XML::Feed File::MimeInfo Locale::gettext
 
 # Changes to Ikiwiki's build/install process