Date: Wed, 1 Mar 2006 15:26:42 +0300 (MSK) From: Denis Shaposhnikov <dsh@vlink.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dsh@vlink.ru Subject: ports/93980: Update port: net-im/sulci (latest CVS snapshot) Message-ID: <200603011226.k21CQgmx030734@neva.vlink.ru> Resent-Message-ID: <200603011230.k21CUAVf052161@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93980 >Category: ports >Synopsis: Update port: net-im/sulci (latest CVS snapshot) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 01 12:30:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Denis Shaposhnikov >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD neva.vlink.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sun Feb 19 20:23:43 MSK 2006 dsh@neva.vlink.ru:/var/FreeBSD/obj/var/FreeBSD/src/sys/MYNERIC i386 >Description: Upgrade to the latest snaphot. Diar commiter, could you include it to UPDATING: After upgrading from 0.5.a.20050918 version you have to convert you vocabulary database to sqlite using %%PREFIX%%/libexec/sulci/wtf_convert and change sulci's configuration file in "vocabulary" directive, see %%PREFIX%%/%%EXAMPLESDIR%%/sulci.conf.example >How-To-Repeat: >Fix: diff -Nru sulci.orig/Makefile sulci/Makefile --- sulci.orig/Makefile Wed Mar 1 15:22:44 2006 +++ sulci/Makefile Tue Feb 21 17:17:30 2006 @@ -6,8 +6,7 @@ # PORTNAME= sulci -PORTVERSION= 0.5.a.20050918 -PORTREVISION= 1 +PORTVERSION= 0.5.a.20060221 PORTEPOCH= 1 CATEGORIES= net-im MASTER_SITES= http://www.jabber.ru/files/sulci/ @@ -41,9 +40,17 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} ${PREFIX}/sbin + ${MKDIR} ${PREFIX}/libexec/${PORTNAME} +.for i in lang/langcompile tlds/createtlds utils/wtf/wtf_convert + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${i} ${PREFIX}/libexec/${PORTNAME} +.endfor + ${MKDIR} ${DATADIR}/lang - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/lang/*.htbl ${WRKSRC}/${PORTNAME}/lang/*.ml ${WRKSRC}/${PORTNAME}/lang/*.msg ${DATADIR}/lang - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/tlds.db ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/lang/*.htbl ${WRKSRC}/${PORTNAME}/lang/*.msg ${DATADIR}/lang + +.for i in tlds.db tlds.txt + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/tlds/${i} ${DATADIR} +.endfor ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${PORTNAME}.conf.example ${EXAMPLESDIR} diff -Nru sulci.orig/distinfo sulci/distinfo --- sulci.orig/distinfo Wed Mar 1 15:22:44 2006 +++ sulci/distinfo Tue Feb 21 17:18:50 2006 @@ -1,3 +1,3 @@ -MD5 (sulci-0.5-alpha-20050918.tar.bz2) = cfcb70be47815ebb54e9722469d5403d -SHA256 (sulci-0.5-alpha-20050918.tar.bz2) = 22526d853c1fd24a3d6ccab410d98efb776a2d5331d66113dd93ad33e418425a -SIZE (sulci-0.5-alpha-20050918.tar.bz2) = 351692 +MD5 (sulci-0.5-alpha-20060221.tar.bz2) = f7ee71356e56e37bc5739598f2d058e4 +SHA256 (sulci-0.5-alpha-20060221.tar.bz2) = a089755a8f59073068b0b9ea81122c9c04d24b009985907dc76e5bde6d0c0f94 +SIZE (sulci-0.5-alpha-20060221.tar.bz2) = 580361 diff -Nru sulci.orig/files/patch-doc-sulci-cmdlist.en.txt sulci/files/patch-doc-sulci-cmdlist.en.txt --- sulci.orig/files/patch-doc-sulci-cmdlist.en.txt Wed Mar 1 15:22:44 2006 +++ sulci/files/patch-doc-sulci-cmdlist.en.txt Thu Jan 1 03:00:00 1970 @@ -1,20 +0,0 @@ ---- docs/sulci/cmdlist.en.txt.orig Thu Aug 4 17:10:21 2005 -+++ docs/sulci/cmdlist.en.txt Fri Aug 5 12:17:58 2005 -@@ -157,3 +157,17 @@ - - Show wheater status from http://weather.noaa.gov/ for city by given - 4 symbols code. -+ -+ -+* tr list -+ -+ Show list of language codes for translating. -+ -+* tr lang text -+ -+ Translate text via http://www.translate.ru/ as language code say. -+ -+ -+* vcard nick -+ -+ Show nick's vCard, if any. diff -Nru sulci.orig/files/patch-doc-sulci-cmdlist.ru.txt sulci/files/patch-doc-sulci-cmdlist.ru.txt --- sulci.orig/files/patch-doc-sulci-cmdlist.ru.txt Wed Mar 1 15:22:44 2006 +++ sulci/files/patch-doc-sulci-cmdlist.ru.txt Thu Jan 1 03:00:00 1970 @@ -1,21 +0,0 @@ ---- docs/sulci/cmdlist.ru.txt.orig Thu Aug 4 17:10:22 2005 -+++ docs/sulci/cmdlist.ru.txt Fri Aug 5 12:17:27 2005 -@@ -169,3 +169,18 @@ - - Выводит прогноз погоды с http://weather.noaa.gov/ для города, - обозначенного 4-х буквенным кодом code. -+ -+ -+* tr list -+ -+ Выводит список кодов языков, для перевода. -+ -+* tr lang text -+ -+ Переводит указанный текст через http://www.translate.ru/ в -+ соответствии с кодом языка. -+ -+ -+* vcard nick -+ -+ Выводит vCard указанного ника, если есть. diff -Nru sulci.orig/files/patch-sulci-Makefile sulci/files/patch-sulci-Makefile --- sulci.orig/files/patch-sulci-Makefile Thu Jan 1 03:00:00 1970 +++ sulci/files/patch-sulci-Makefile Sun Feb 5 01:01:03 2006 @@ -0,0 +1,11 @@ +--- sulci/Makefile.orig Fri Feb 3 16:05:51 2006 ++++ sulci/Makefile Sun Feb 5 00:59:08 2006 +@@ -7,7 +7,7 @@ + SOURCES = version.ml config.ml logger.ml common.ml types.ml lang.ml muc.ml \ + find_url.ml muc_log.ml hooks.ml iq.ml http_suck.ml + +-SUBDIRS = lang ++SUBDIRS = lang utils/wtf + + #ifdef MUC_LOG + # SOURCES += muc_log.ml diff -Nru sulci.orig/files/patch-sulci-plugin_cerberus.ml sulci/files/patch-sulci-plugin_cerberus.ml --- sulci.orig/files/patch-sulci-plugin_cerberus.ml Wed Mar 1 15:22:44 2006 +++ sulci/files/patch-sulci-plugin_cerberus.ml Thu Jan 1 03:00:00 1970 @@ -1,20 +0,0 @@ ---- sulci/plugin_cerberus.ml.orig Sun Sep 18 16:10:16 2005 -+++ sulci/plugin_cerberus.ml Tue Sep 20 16:23:52 2005 -@@ -10,7 +10,7 @@ - open Hooks - - let regexp ca = 0x430 | 0x410 | 'a' | 'A' --let regexp cb = 0x431 | 0x411 | '6' -+let regexp cb = 0x431 | 0x411 - let regexp cv = 0x432 | 0x412 | 'B' - let regexp cg = 0x433 | 0x413 - let regexp cd = 0x434 | 0x414 -@@ -45,7 +45,7 @@ - - let regexp cyrillic = [0x410-0x44F 0x451 0x401 '0' '3' 'a''A' 'e' 'E' 'H' - 'o' 'O' 'c' 'C' 'k' 'K' 'T' 'x' 'X' 'y' 'Y' 'p' -- 'P' '6' '0'] | "|/|" | "bl" | "bI" -+ 'P' '0'] | "|/|" | "bl" | "bI" - - let regexp ci_ie_io = ci | cie | cio - let regexp cie_io = cie | cio diff -Nru sulci.orig/files/patch-sulci-sulci.conf.example sulci/files/patch-sulci-sulci.conf.example --- sulci.orig/files/patch-sulci-sulci.conf.example Wed Mar 1 15:22:44 2006 +++ sulci/files/patch-sulci-sulci.conf.example Tue Feb 21 17:32:07 2006 @@ -1,5 +1,5 @@ ---- sulci/sulci.conf.example.orig Sun Sep 18 18:32:13 2005 -+++ sulci/sulci.conf.example Tue Sep 20 16:02:07 2005 +--- sulci/sulci.conf.example.orig Mon Feb 6 23:13:27 2006 ++++ sulci/sulci.conf.example Tue Feb 21 17:29:45 2006 @@ -1,6 +1,6 @@ <sulci> <jabber> @@ -27,7 +27,7 @@ </muc> @@ -40,9 +40,9 @@ - <vocabulary name="vocabulary"/> + <vocabulary db="vocabulary.db"/> - <mueller file="/path/to/Mueller24.koi" hashext=".hash" /> + <mueller file="/usr/local/share/mueller-dic/Mueller7accentGPL.koi" hashext=".h" /> diff -Nru sulci.orig/files/pkg-message.in sulci/files/pkg-message.in --- sulci.orig/files/pkg-message.in Wed Mar 1 15:22:44 2006 +++ sulci/files/pkg-message.in Wed Mar 1 15:22:23 2006 @@ -21,3 +21,13 @@ Note: you have to get the key from Google before using the "google" plug-in. See http://api.google.com/ for how to. + +WARNING!!! After upgrading from 0.5.a.20050918 version you have to +convert you vocabulary database to sqlite using + + %%PREFIX%%/libexec/sulci/wtf_convert + +and change sulci's configuration file in "vocabulary" directive, see + + %%PREFIX%%/%%EXAMPLESDIR%%/sulci.conf.example + diff -Nru sulci.orig/pkg-plist sulci/pkg-plist --- sulci.orig/pkg-plist Wed Mar 1 15:22:44 2006 +++ sulci/pkg-plist Sun Feb 5 01:19:27 2006 @@ -1,16 +1,17 @@ +libexec/sulci/createtlds +libexec/sulci/langcompile +libexec/sulci/wtf_convert sbin/sulci %%DATADIR%%/tlds.db +%%DATADIR%%/tlds.txt %%DATADIR%%/lang/en.htbl %%DATADIR%%/lang/en.msg -%%DATADIR%%/lang/en_time.ml %%DATADIR%%/lang/es.htbl %%DATADIR%%/lang/es.msg -%%DATADIR%%/lang/es_time.ml %%DATADIR%%/lang/nl.htbl %%DATADIR%%/lang/nl.msg %%DATADIR%%/lang/ru.htbl %%DATADIR%%/lang/ru.msg -%%DATADIR%%/lang/ru_time.ml %%EXAMPLESDIR%%/sulci.conf.example %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/cmdlist.en.txt @@ -19,3 +20,4 @@ @dirrm %%DATADIR%%/lang @dirrm %%DATADIR%% @dirrm %%EXAMPLESDIR%% +@dirrm libexec/sulci >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603011226.k21CQgmx030734>