Index: head/www/aswiki/Makefile =================================================================== --- head/www/aswiki/Makefile (revision 191115) +++ head/www/aswiki/Makefile (revision 191116) @@ -1,54 +1,54 @@ # New ports collection makefile for: ruby-aswiki # Date created: 13 June 2003 # Whom: Makoto Matsushita # # $FreeBSD$ # PORTNAME= aswiki PORTVERSION= 1.0.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= matusita@FreeBSD.org COMMENT= WikiWikiWeb clone written in Ruby RUN_DEPENDS= ${RUBY_SITELIBDIR}/amrita/xml.rb:${PORTSDIR}/textproc/ruby-amrita \ ${RUBY_SITELIBDIR}/algorithm/diff.rb:${PORTSDIR}/textproc/ruby-diff \ ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb NO_BUILD= YES USE_RUBY= YES RUBY_SHEBANG_FILES= aswiki.cgi USE_RUBY_FEATURES= strscan post-extract: ${CP} ${FILESDIR}/setup.sh ${WRKSRC} post-patch: ${REINPLACE_CMD} -e "s|__DATADIR__|${DATADIR}|" ${WRKSRC}/setup.sh ${ECHO} "\$$DIR_TEMPLATE = '__DATADIR__/template'" \ >> ${WRKSRC}/aswiki.conf ${ECHO} "\$$DIR_PLUGIN = '__DATADIR__/plugin'" \ >> ${WRKSRC}/aswiki.conf ${REINPLACE_CMD} -e "s|^# \\$$|\\$$|" -e "s|__DATADIR__|${DATADIR}|" \ -e "s|\\A(\?:|\\A(|" ${WRKSRC}/aswiki.conf ${FIND} ${PATCH_WRKSRC} -name '*.orig' -delete do-install: # Ruby libraries ${CP} -R ${WRKSRC}/aswiki ${RUBY_SITELIBDIR}/${PORTNAME} # Data files ${MKDIR} ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/aswiki.cgi ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/aswiki.conf ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/default.css ${DATADIR} ${CP} -R ${WRKSRC}/plugin ${DATADIR} ${CP} -R ${WRKSRC}/template ${DATADIR} # Setup script ${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${DATADIR} .include Property changes on: head/www/aswiki/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property Index: head/www/aswiki/files/patch-2chbbs.rb =================================================================== --- head/www/aswiki/files/patch-2chbbs.rb (revision 191115) +++ head/www/aswiki/files/patch-2chbbs.rb (revision 191116) @@ -1,11 +1,20 @@ --- 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 = { :_session_id => session.session_id, - :md5sum => Digest::MD5::new(@repository.load(@name).to_s).to_s, + :md5sum => Digest::MD5::new.update(@repository.load(@name).to_s).to_s, :msg_2chbbs_from => msg_2chbbs_from, :msg_2chbbs_write => msg_2chbbs_write, } Property changes on: head/www/aswiki/files/patch-2chbbs.rb ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property