From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 16 17:10:06 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48B1716A41F for ; Fri, 16 Dec 2005 17:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9D5F43D53 for ; Fri, 16 Dec 2005 17:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBGHA4BK074363 for ; Fri, 16 Dec 2005 17:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBGHA4ve074362; Fri, 16 Dec 2005 17:10:04 GMT (envelope-from gnats) Resent-Date: Fri, 16 Dec 2005 17:10:04 GMT Resent-Message-Id: <200512161710.jBGHA4ve074362@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ion-Mihai "IOnut" Tetcu" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5284916A41F for ; Fri, 16 Dec 2005 17:03:48 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id A269D43D75 for ; Fri, 16 Dec 2005 17:03:27 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 22230 invoked from network); 16 Dec 2005 17:03:18 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 16 Dec 2005 17:03:18 -0000 Received: (qmail 12753 invoked by uid 89); 16 Dec 2005 17:03:18 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 16 Dec 2005 17:03:18 -0000 Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 70EDEB841 for ; Fri, 16 Dec 2005 19:03:17 +0200 (EET) Message-Id: <1134752597.0@it.buh.tecnik93.com> Date: Fri, 16 Dec 2005 19:03:17 +0200 From: "Ion-Mihai "IOnut" Tetcu" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/90507: [NEW PORT] www/kdedict: Web based DB app. to administer standard translations of a translation team X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 17:10:06 -0000 >Number: 90507 >Category: ports >Synopsis: [NEW PORT] www/kdedict: Web based DB app. to administer standard translations of a translation team >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 16 17:10:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ion-Mihai "IOnut" Tetcu >Release: FreeBSD 6.0-STABLE i386 >Organization: Tecnik'93 >Environment: System: FreeBSD 6.0-STABLE #5: Thu Dec 1 02:08:55 EET 2005 >Description: KDE Dictionary is used by a few KDE i18n teams; kdedict is written by Matthias Kiefer from German team and i18n.kde.org's instalaltion is currently administered by Claudiu Costin from Romaninan Team. kdedict is a web based database to administer the standard translations of a translation team. You can search the database for different criterias and the found entries are shown in a table. kdedict does not use a full blown database but stores the information in a plain text file. This way, everybody can easily run kdedict offline (using a local web server) without having to install and admin a big database. To enable users to update their locale database easily, kdedict offers a download option. But if you have basic knowledge of Perl, it should be no problem to adapt kdedict for using a real database. The database consists of the fields: original text, description, translation, description, category of the word (i.e. GUI, Network), date of last update and flag, if the translation is accepted by the team. This flag allows you to include translations, that your team is not in agreement about, into the database. kdedict is able to manage user logins, so you can easily maintain your database over the web. When logged in, it is easy to edit, insert or delete entries. kdedict can also manage multiple languages, by creating one table for each user. WWW: http://i18n.kde.org/tools/kdedict/ >How-To-Repeat: >Fix: --- kdedict.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # kdedict # kdedict/Makefile # kdedict/distinfo # kdedict/pkg-descr # kdedict/pkg-plist # kdedict/files # kdedict/files/pkg-message.in # echo c - kdedict mkdir -p kdedict > /dev/null 2>&1 echo x - kdedict/Makefile sed 's/^X//' >kdedict/Makefile << 'END-of-kdedict/Makefile' X# New ports collection makefile for: www/kdedict X# Date created: 2005-12-16 X# Whom: Ion-Mihai "IOnut" Tetcu X# X# $FreeBSD$ X# $Tecnik: ports/www/kdedict/Makefile,v 1.1 2005/12/16 16:44:16 itetcu Exp $ X# X XPORTNAME= kdedict XPORTVERSION= 20030925 XCATEGORIES= www XMASTER_SITES= ftp://ftp.i18n.kde.org/tools/${PORTNAME}/ \ X http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/ X XMAINTAINER= itetcu@people.tecnik93.com XCOMMENT= Web based db to administer standard translations of a translation team X XWRKSRC= ${WRKDIR}/${PORTNAME} X XNO_BUILD= yes XUSE_PERL_RUN= yes XUSE_APACE= yes XRUNDEPENDS+= p5-Date-Manip>0:${PORTSDIR}/devel/p5-Date-Manip \ X p5-DBD-File>0:${PORTSDIR}/databases/p5-DBD-File \ X p5-SQL-Statement>0:${PORTSDIR}/databases/p5-SQL-Statement \ X p5-Text-CSV_XS>0:${PORTSDIR}/textproc/p5-Text-CSV_XS X XCGI_DIR?= ${PREFIX}/www/cgi-bin XSUB_FILES= pkg-message XSUB_LIST+= PORTNAME=${PORTNAME} CGI_DIR=${CGI_DIR} X Xpre-everything:: X @${ECHO_CMD} "Define to suit your needs:" X @${ECHO_CMD} "CGI_DIR (default: ${PREFIX}/www/cgi-bin)" X Xpost-patch: X @${PERL} -pi -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/${PORTNAME}.cgi X Xdo-install: X @${MKDIR} ${CGI_DIR}/kdedictionary X @${CHOWN} ${WWWOWN}:${WWWGRP} ${CGI_DIR}/kdedictionary X cd ${WRKSRC} && \ X ${INSTALL_SCRIPT} -o ${WWWOWN} -g ${WWWGRP} ${PORTNAME}.cgi ${CGI_DIR} && \ X ${INSTALL} -o ${WWWOWN} -g ${WWWGRP} -m 0644 kdedictionary/* ${CGI_DIR}/kdedictionary X X @${CAT} ${PKGMESSAGE} X X.include END-of-kdedict/Makefile echo x - kdedict/distinfo sed 's/^X//' >kdedict/distinfo << 'END-of-kdedict/distinfo' XMD5 (kdedict-20030925.tar.gz) = 6a41747aa7add3f33533bd6861d70981 XSHA256 (kdedict-20030925.tar.gz) = 0c7778ae97571e1b1b355008211fc914924f7fcdb8cf5edc23655905d544efff XSIZE (kdedict-20030925.tar.gz) = 248362 END-of-kdedict/distinfo echo x - kdedict/pkg-descr sed 's/^X//' >kdedict/pkg-descr << 'END-of-kdedict/pkg-descr' XKDE Dictionary is used by a few KDE i18n teams. XKdedict is written by Matthias Kiefer from German team Xand i18n.kde.org's instalaltion is currently administered by Claudiu Costin Xfrom Romaninan Team. XKdedict is a web based database to administer the standard translations of a Xtranslation team. You can search the database for different criterias and the Xfound entries are shown in a table. XKdedict does not use a full blown database but stores the information in a Xplain text file. This way, everybody can easily run kdedict offline (using a Xlocal web server) without having to install and admin a big database. To enable Xusers to update their locale database easily, kdedict offers a download option. XBut if you have basic knowledge of Perl, it should be no problem to adapt Xdedict for using a real database. XThe database consists of the fields: original text, description, translation, Xdescription, category of the word (i.e. GUI, Network), date of last update and Xflag, if the translation is accepted by the team. This flag allows you to Xinclude translations, that your team is not in agreement about, into the Xdatabase. XKdedict is able to manage user logins, so you can easily maintain your database Xover the web. When logged in, it is easy to edit, insert or delete entries. XKdedict can also manage multiple languages, by creating one table for each Xuser. X XWWW: http://i18n.kde.org/tools/kdedict/ END-of-kdedict/pkg-descr echo x - kdedict/pkg-plist sed 's/^X//' >kdedict/pkg-plist << 'END-of-kdedict/pkg-plist' Xwww/cgi-bin/kdedict.cgi Xwww/cgi-bin/kdedictionary/accounts Xwww/cgi-bin/kdedictionary/errorlogs Xwww/cgi-bin/kdedictionary/kdedictionary_de Xwww/cgi-bin/kdedictionary/kdedictionary_es Xwww/cgi-bin/kdedictionary/kdedictionary_fr Xwww/cgi-bin/kdedictionary/kdedictionary_hu Xwww/cgi-bin/kdedictionary/kdedictionary_pl Xwww/cgi-bin/kdedictionary/kdedictionary_pt_BR Xwww/cgi-bin/kdedictionary/kdedictionary_ro Xwww/cgi-bin/kdedictionary/kdedictionary_sl Xwww/cgi-bin/kdedictionary/kdedictionary_tr Xwww/cgi-bin/kdedictionary/languages Xwww/cgi-bin/kdedictionary/messages Xwww/cgi-bin/kdedictionary/messages_de Xwww/cgi-bin/kdedictionary/sessiondb Xwww/cgi-bin/kdedictionary/userdb Xwww/cgi-bin/kdedictionary/users X@dirrm www/cgi-bin/kdedictionary X@unexec rmdir %D/www/cgi-bin 2>/dev/null || true END-of-kdedict/pkg-plist echo c - kdedict/files mkdir -p kdedict/files > /dev/null 2>&1 echo x - kdedict/files/pkg-message.in sed 's/^X//' >kdedict/files/pkg-message.in << 'END-of-kdedict/files/pkg-message.in' X******************************************************************* X Edit %%CGI_DIR%%/%%PORTNAME%%.cgi to configure your instalation. X******************************************************************* END-of-kdedict/files/pkg-message.in exit --- kdedict.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: