aboutsummaryrefslogtreecommitdiff
path: root/www/aswiki
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2007-04-29 13:14:01 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2007-04-29 13:14:01 +0000
commitdd41871c8741a4c74e65add25e0625a9a09f7c36 (patch)
tree564f1e0dd9d01653e7cf1cd015bc1d291c58c51f /www/aswiki
parentda2dad1f80e0bd09fe0821d074133e262bbfbd35 (diff)
downloadports-dd41871c8741a4c74e65add25e0625a9a09f7c36.tar.gz
ports-dd41871c8741a4c74e65add25e0625a9a09f7c36.zip
Notes
Diffstat (limited to 'www/aswiki')
-rw-r--r--www/aswiki/Makefile2
-rw-r--r--www/aswiki/files/patch-2chbbs.rb11
2 files changed, 11 insertions, 2 deletions
diff --git a/www/aswiki/Makefile b/www/aswiki/Makefile
index 1f983c2df3aa..2a7fd4e70ceb 100644
--- a/www/aswiki/Makefile
+++ b/www/aswiki/Makefile
@@ -7,7 +7,7 @@
PORTNAME= aswiki
PORTVERSION= 1.0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/www/aswiki/files/patch-2chbbs.rb b/www/aswiki/files/patch-2chbbs.rb
index 259a0d966a36..7c3ff4f07ba9 100644
--- a/www/aswiki/files/patch-2chbbs.rb
+++ b/www/aswiki/files/patch-2chbbs.rb
@@ -1,5 +1,14 @@
--- plugin/2chbbs.rb.dist Wed Jan 8 11:01:21 2003
-+++ plugin/2chbbs.rb Sat Apr 28 13:41:24 2007
++++ plugin/2chbbs.rb Sun Apr 29 22:05:37 2007
+@@ -24,7 +24,7 @@
+ t = Time.now
+ time = t.strftime("%Y/%m/%d (#{weekstr[t.wday]}) %R")
+ data = "\n#{number}: #{from}: #{name} #{date}: #{time} \n\n" +
+- session['textdata'] + "\n"
++ session['textdata'].to_s + "\n"
+ file = @repository.load(pname)
+ file[session['begin'].to_i-1, 0 ] = data
+ file[session['begin'].to_i] = "#2chbbs #{number}\n"
@@ -40,7 +40,7 @@
session['number'] = av[1].to_i
@data = {