summaryrefslogtreecommitdiff
path: root/www/aswiki/files/patch-handler.rb
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-15 12:44:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-15 12:44:10 +0000
commitc3ce1ddc75fb38dffc019d42295a987ba1620c77 (patch)
treeda17db1f48b35781b37fb35a622c7f764319a3f5 /www/aswiki/files/patch-handler.rb
parentDrop support for ruby-lua4 (diff)
2013-10-15 www/rubygem-staticmatic: No longer maintained upstream
2013-10-10 www/ruby-nora: Does not work with Ruby 1.9 www/aswiki 2013-10-10 textproc/ruby-amrita: Does not work with Ruby 1.9 2013-10-15 security/flowtag: Does not work with Ruby 1.9 2013-10-10 lang/ruby-lua4: Does not work with Ruby 1.9 2013-10-15 dns/dnsdoctor: Does not work with Ruby 1.9
Notes
Notes: svn path=/head/; revision=330396
Diffstat (limited to 'www/aswiki/files/patch-handler.rb')
-rw-r--r--www/aswiki/files/patch-handler.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/www/aswiki/files/patch-handler.rb b/www/aswiki/files/patch-handler.rb
deleted file mode 100644
index 10b40fdff936..000000000000
--- a/www/aswiki/files/patch-handler.rb
+++ /dev/null
@@ -1,29 +0,0 @@
---- aswiki/handler.rb.dist Wed Jun 23 10:54:16 2004
-+++ aswiki/handler.rb Fri Apr 27 13:09:17 2007
-@@ -138,7 +138,7 @@
- begin
- c = @repository.load(name)
- orig = c.dup
-- if cgi.value('md5sum')[0] != Digest::MD5::new(c.to_s).to_s
-+ if cgi.value('md5sum')[0] != Digest::MD5::new.update(c.to_s).to_s
- bl = body.map{|l| l.sub("\r\n", "\n")}
- bol = (cgi.value('ebol')[0] or 1).to_i
- eol = (cgi.value('eeol')[0] or c.size).to_i
-@@ -164,7 +164,7 @@
- super
- session = CGI::Session.new(cgi ,{'tmpdir' => $DIR_SESSION}) # XXX
- if cgi['md5sum'][0] !=
-- Digest::MD5::new(@repository.load(session['pname']).to_s).to_s
-+ Digest::MD5::new.update(@repository.load(session['pname']).to_s).to_s
- raise AsWiki::TimestampMismatch
- end
- cgi.params.each{|key, value| session[key] = value}
-@@ -226,7 +226,7 @@
- c = [true]
- end
- pd = AsWiki::PageData.new(pname)
-- pd.md5sum = Digest::MD5::new(c.to_s).to_s
-+ pd.md5sum = Digest::MD5::new.update(c.to_s).to_s
- pd.title = title
- if body.nil?
- bol = (cgi.value('ebol')[0] or 1).to_i