Index: head/www/aswiki/Makefile =================================================================== --- head/www/aswiki/Makefile (revision 191048) +++ head/www/aswiki/Makefile (revision 191049) @@ -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= 1 +PORTREVISION= 2 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.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/www/aswiki/files/patch-2chbbs.rb =================================================================== --- head/www/aswiki/files/patch-2chbbs.rb (nonexistent) +++ head/www/aswiki/files/patch-2chbbs.rb (revision 191049) @@ -0,0 +1,11 @@ +--- plugin/2chbbs.rb.dist Wed Jan 8 11:01:21 2003 ++++ plugin/2chbbs.rb Sat Apr 28 13:41:24 2007 +@@ -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 ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/www/aswiki/files/patch-demo.rb =================================================================== --- head/www/aswiki/files/patch-demo.rb (nonexistent) +++ head/www/aswiki/files/patch-demo.rb (revision 191049) @@ -0,0 +1,11 @@ +--- plugin/demo.rb.dist Wed Jan 8 11:01:21 2003 ++++ plugin/demo.rb Sat Apr 28 13:41:46 2007 +@@ -48,7 +48,7 @@ + # session.close + @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_list_item => msg_list_item, + :msg_list_add => msg_list_add, + } Property changes on: head/www/aswiki/files/patch-demo.rb ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property