Date: Wed, 12 Jun 2002 22:35:26 +0200 (CEST) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/39204: New port: deskutils/mnemo, a web-based notes and memos application. Message-ID: <20020612203526.17F797511@graf.pompo.net>
next in thread | raw e-mail | index | archive | help
>Number: 39204 >Category: ports >Synopsis: New port: deskutils/mnemo, a web-based notes and memos application. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 12 14:00:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Sat May 4 07:26:38 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: Mnemo is the Horde notes and memos application. It lets users keep free-text notes and other bits of information which doesn't fit as a contact, a todo item, an event, etc. It is very similar in functionality to the Palm Memo application. >How-To-Repeat: N/A. >Fix: Pre-requisite: PR ports/39173 (mail/imp3) must be committed. Then, execute the following shar file: # 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: # # /usr/ports/deskutils/mnemo # /usr/ports/deskutils/mnemo/files # /usr/ports/deskutils/mnemo/files/httpd.conf.mnemo # /usr/ports/deskutils/mnemo/files/patch-config_conf.php.dist # /usr/ports/deskutils/mnemo/Makefile # /usr/ports/deskutils/mnemo/pkg-comment # /usr/ports/deskutils/mnemo/pkg-descr # /usr/ports/deskutils/mnemo/pkg-message # /usr/ports/deskutils/mnemo/pkg-plist # /usr/ports/deskutils/mnemo/distinfo # echo c - /usr/ports/deskutils/mnemo mkdir -p /usr/ports/deskutils/mnemo > /dev/null 2>&1 echo c - /usr/ports/deskutils/mnemo/files mkdir -p /usr/ports/deskutils/mnemo/files > /dev/null 2>&1 echo x - /usr/ports/deskutils/mnemo/files/httpd.conf.mnemo sed 's/^X//' >/usr/ports/deskutils/mnemo/files/httpd.conf.mnemo << 'END-of-/usr/ports/deskutils/mnemo/files/httpd.conf.mnemo' X# This is included in Apache's httpd.conf for Mnemo X# X# For security, don't serve pages from the Mnemo configuration and X# library directories. X# X<Directory "/home/httpd/html/horde/mnemo/config"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/mnemo/lib"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/mnemo/locale"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/mnemo/po"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/mnemo/scripts"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/mnemo/templates"> X order deny,allow X deny from all X</Directory> X# End of Mnemo configuration ================ X END-of-/usr/ports/deskutils/mnemo/files/httpd.conf.mnemo echo x - /usr/ports/deskutils/mnemo/files/patch-config_conf.php.dist sed 's/^X//' >/usr/ports/deskutils/mnemo/files/patch-config_conf.php.dist << 'END-of-/usr/ports/deskutils/mnemo/files/patch-config_conf.php.dist' X--- config/conf.php.dist.orig Mon Apr 22 20:39:23 2002 X+++ config/conf.php.dist Sun May 19 11:10:29 2002 X@@ -42,12 +42,12 @@ X // Below is an example configuration for an sql driver, in this case X // MySQL. X $conf['storage']['params'] = array(); X-// $conf['storage']['params']['phptype'] = 'mysql'; X-// $conf['storage']['params']['hostspec'] = 'localhost'; X-// $conf['storage']['params']['username'] = 'horde'; X-// $conf['storage']['params']['password'] = '*****'; X-// $conf['storage']['params']['database'] = 'horde'; X-// $conf['storage']['params']['table'] = 'mnemo_memos'; X+$conf['storage']['params']['phptype'] = 'mysql'; X+$conf['storage']['params']['hostspec'] = 'localhost'; X+$conf['storage']['params']['username'] = 'hordemgr'; X+$conf['storage']['params']['password'] = 'hordemgr'; X+$conf['storage']['params']['database'] = 'horde'; X+$conf['storage']['params']['table'] = 'mnemo_memos'; X X X /** END-of-/usr/ports/deskutils/mnemo/files/patch-config_conf.php.dist echo x - /usr/ports/deskutils/mnemo/Makefile sed 's/^X//' >/usr/ports/deskutils/mnemo/Makefile << 'END-of-/usr/ports/deskutils/mnemo/Makefile' X# Ports collection makefile for: Mnemo X# Date created: Sun May 19, 2002 X# Whom: Thierry Thomas (<thierry@pompo.net>) X# X# $FreeBSD$ X# X XPORTNAME= mnemo XPORTVERSION= 1.0 XCATEGORIES= deskutils www XMASTER_SITES= ftp://ftp.horde.org/pub/mnemo/tarballs/%SUBDIR%/ XMASTER_SITE_SUBDIR= . old X XMAINTAINER= thierry@pompo.net X XRUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3 X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XNO_BUILD= yes XPLIST_SUB= HORDEDIR=${LHORDEDIR} MNEMODIR=${LMNEMODIR} X XDOCS= LICENSE README docs/CHANGES docs/CREDITS docs/INSTALL XCONFFILE= conf.php html.php menu.php prefs.php XSUB_DIRS= config graphics lib locale po scripts templates X XLHORDEDIR?= www/horde XLMNEMODIR?= ${LHORDEDIR}/mnemo X XHORDEDIR= ${PREFIX}/${LHORDEDIR} XMNEMODIR= ${PREFIX}/${LMNEMODIR} XCONFDIR= ${MNEMODIR}/config X XHORDE_INC= ${LOCALBASE}/etc/horde X Xdo-install: X @${MKDIR} ${MNEMODIR} X.for REP in ${SUB_DIRS} X @${CP} -Rp ${WRKSRC}/${REP} ${MNEMODIR} X.endfor X @${CP} -p ${WRKSRC}/*.php ${MNEMODIR} X.for FILE in ${CONFFILE} X @if [ ! -f ${CONFDIR}/${FILE} ]; then \ X ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ X fi X.endfor X @${CHOWN} -R www:www ${MNEMODIR} X @${CHMOD} -R o-rwx ${CONFDIR} X @${CP} -p ${FILESDIR}/httpd.conf.mnemo ${HORDE_INC} X @${PERL} -pi -e "s:/home/httpd/html/horde/mnemo:${MNEMODIR}:g" \ X ${HORDE_INC}/httpd.conf.mnemo X @${CP} -p ${HORDEDIR}/config/registry.php \ X ${HORDEDIR}/config/registry.php.beforeMnemo X @${PERL} -pi -e "s://UNCOMMENTWHENINSTMNEMO::" ${HORDEDIR}/config/registry.php X @${CP} -p ${HORDEDIR}/config/registry.php \ X ${HORDEDIR}/config/registry.php.afterMnemo X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for FILE in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X.endif X Xpost-install: X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} | \ X ${SED} -e "s:%%MNEMODIR%%:${MNEMODIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%HORDEDIR%%:${HORDEDIR}:" X @${ECHO_MSG} X X.include <bsd.port.mk> END-of-/usr/ports/deskutils/mnemo/Makefile echo x - /usr/ports/deskutils/mnemo/pkg-comment sed 's/^X//' >/usr/ports/deskutils/mnemo/pkg-comment << 'END-of-/usr/ports/deskutils/mnemo/pkg-comment' XMnemo is the Horde notes and memos application END-of-/usr/ports/deskutils/mnemo/pkg-comment echo x - /usr/ports/deskutils/mnemo/pkg-descr sed 's/^X//' >/usr/ports/deskutils/mnemo/pkg-descr << 'END-of-/usr/ports/deskutils/mnemo/pkg-descr' XMnemo is the Horde notes and memos application. It lets users keep Xfree-text notes and other bits of information which doesn't fit as a Xcontact, a todo item, an event, etc. It is very similar in Xfunctionality to the Palm Memo application. X XWWW: http://horde.org/ END-of-/usr/ports/deskutils/mnemo/pkg-descr echo x - /usr/ports/deskutils/mnemo/pkg-message sed 's/^X//' >/usr/ports/deskutils/mnemo/pkg-message << 'END-of-/usr/ports/deskutils/mnemo/pkg-message' X************************************************************************ XMnemo has been installed in %%MNEMODIR%% with your blank Xconfiguration files. X XHorde and IMP must be configured; if not, see: X- %%PORTSDIR%%/www/horde2/pkg-message X- %%PORTSDIR%%/mail/imp3/pkg-message X XThen, you have to create the table mnemo_memos, from the SQL script X%%MNEMODIR%%/scripts/drivers/mnemo_memos.sql. XFor example, if your database is MySQL, you may run Xmysql --user=hordemgr --password=yourpass horde < mnemo_memos.sql X(If you run another database server, see X %%HORDEDIR%%/scripts/db/README X for more explanations.) X XFinally, you may have to tune the configuration files located in X%%CONFDIR%%/, specially the files conf.php. X XTo protect your configuration files, you have to restart Apache. X************************************************************************ END-of-/usr/ports/deskutils/mnemo/pkg-message echo x - /usr/ports/deskutils/mnemo/pkg-plist sed 's/^X//' >/usr/ports/deskutils/mnemo/pkg-plist << 'END-of-/usr/ports/deskutils/mnemo/pkg-plist' X%%PORTDOCS%%share/doc/mnemo/LICENSE X%%PORTDOCS%%share/doc/mnemo/README X%%PORTDOCS%%share/doc/mnemo/CHANGES X%%PORTDOCS%%share/doc/mnemo/CREDITS X%%PORTDOCS%%share/doc/mnemo/INSTALL X%%MNEMODIR%%/config/conf.php X%%MNEMODIR%%/config/conf.php.dist X%%MNEMODIR%%/config/conf.php.dist.orig X%%MNEMODIR%%/config/html.php X%%MNEMODIR%%/config/html.php.dist X%%MNEMODIR%%/config/menu.php X%%MNEMODIR%%/config/menu.php.dist X%%MNEMODIR%%/config/prefs.php X%%MNEMODIR%%/config/prefs.php.dist X%%MNEMODIR%%/graphics/add.gif X%%MNEMODIR%%/graphics/checkbox.gif X%%MNEMODIR%%/graphics/down.gif X%%MNEMODIR%%/graphics/list.gif X%%MNEMODIR%%/graphics/mnemo.gif X%%MNEMODIR%%/graphics/refresh.gif X%%MNEMODIR%%/graphics/search.gif X%%MNEMODIR%%/graphics/up.gif X%%MNEMODIR%%/index.php X%%MNEMODIR%%/lib/Driver.php X%%MNEMODIR%%/lib/Driver/sql.php X%%MNEMODIR%%/lib/Mnemo.php X%%MNEMODIR%%/lib/api.php X%%MNEMODIR%%/lib/base.php X%%MNEMODIR%%/lib/constants.php X%%MNEMODIR%%/lib/version.php X%%MNEMODIR%%/list.php X%%MNEMODIR%%/locale/cs_CZ/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/de_DE/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/en_US/help.xml X%%MNEMODIR%%/locale/es_ES/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/fi_FI/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/fi_FI/help.xml X%%MNEMODIR%%/locale/fr_FR/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/hu_HU/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/nl_NL/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/nn_NO/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/pt_BR/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/pt_PT/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/sv_SE/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/zh_CN/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/locale/zh_TW/LC_MESSAGES/mnemo.mo X%%MNEMODIR%%/memo.php X%%MNEMODIR%%/menu.php X%%MNEMODIR%%/po/Makefile X%%MNEMODIR%%/po/README X%%MNEMODIR%%/po/cs_CZ.po X%%MNEMODIR%%/po/de_DE.po X%%MNEMODIR%%/po/es_ES.po X%%MNEMODIR%%/po/fi_FI.po X%%MNEMODIR%%/po/fr_FR.po X%%MNEMODIR%%/po/hu_HU.po X%%MNEMODIR%%/po/nl_NL.po X%%MNEMODIR%%/po/nn_NO.po X%%MNEMODIR%%/po/pt_BR.po X%%MNEMODIR%%/po/pt_PT.po X%%MNEMODIR%%/po/sv_SE.po X%%MNEMODIR%%/po/zh_CN.po X%%MNEMODIR%%/po/zh_TW.po X%%MNEMODIR%%/po/extract.pl X%%MNEMODIR%%/po/shtool X%%MNEMODIR%%/po/xgettext.sh X%%MNEMODIR%%/prefs.php X%%MNEMODIR%%/scripts/drivers/mnemo_memos.sql X%%MNEMODIR%%/search.php X%%MNEMODIR%%/templates/common-footer.inc X%%MNEMODIR%%/templates/common-header.inc X%%MNEMODIR%%/templates/index/css.inc X%%MNEMODIR%%/templates/index/notconfigured.inc X%%MNEMODIR%%/templates/list/actions.inc X%%MNEMODIR%%/templates/list/empty.inc X%%MNEMODIR%%/templates/list/footer.inc X%%MNEMODIR%%/templates/list/header.inc X%%MNEMODIR%%/templates/list/javascript.inc X%%MNEMODIR%%/templates/list/memo_footers.inc X%%MNEMODIR%%/templates/list/memo_headers.inc X%%MNEMODIR%%/templates/list/memo_summaries.inc X%%MNEMODIR%%/templates/memo/begin.inc X%%MNEMODIR%%/templates/memo/end.inc X%%MNEMODIR%%/templates/memo/memo.inc X%%MNEMODIR%%/templates/menu/menu.inc X%%MNEMODIR%%/templates/search/begin.inc X%%MNEMODIR%%/templates/search/end.inc X%%MNEMODIR%%/templates/search/search.inc X%%MNEMODIR%%/templates/view/description.inc X%%MNEMODIR%%/templates/view/headers.inc X%%MNEMODIR%%/templates/view/navbar.inc X%%MNEMODIR%%/templates/view/no-memo.inc X%%MNEMODIR%%/view.php X@dirrm %%MNEMODIR%%/config X@dirrm %%MNEMODIR%%/graphics X@dirrm %%MNEMODIR%%/lib/Driver X@dirrm %%MNEMODIR%%/lib X@dirrm %%MNEMODIR%%/locale/cs_CZ/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/cs_CZ X@dirrm %%MNEMODIR%%/locale/de_DE/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/de_DE X@dirrm %%MNEMODIR%%/locale/en_US X@dirrm %%MNEMODIR%%/locale/es_ES/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/es_ES X@dirrm %%MNEMODIR%%/locale/fi_FI/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/fi_FI X@dirrm %%MNEMODIR%%/locale/fr_FR/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/fr_FR X@dirrm %%MNEMODIR%%/locale/hu_HU/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/hu_HU X@dirrm %%MNEMODIR%%/locale/nl_NL/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/nl_NL X@dirrm %%MNEMODIR%%/locale/nn_NO/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/nn_NO X@dirrm %%MNEMODIR%%/locale/pt_BR/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/pt_BR X@dirrm %%MNEMODIR%%/locale/pt_PT/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/pt_PT X@dirrm %%MNEMODIR%%/locale/sv_SE/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/sv_SE X@dirrm %%MNEMODIR%%/locale/zh_CN/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/zh_CN X@dirrm %%MNEMODIR%%/locale/zh_TW/LC_MESSAGES X@dirrm %%MNEMODIR%%/locale/zh_TW X@dirrm %%MNEMODIR%%/locale X@dirrm %%MNEMODIR%%/po X@dirrm %%MNEMODIR%%/scripts/drivers X@dirrm %%MNEMODIR%%/scripts X@dirrm %%MNEMODIR%%/templates/index X@dirrm %%MNEMODIR%%/templates/list X@dirrm %%MNEMODIR%%/templates/memo X@dirrm %%MNEMODIR%%/templates/menu X@dirrm %%MNEMODIR%%/templates/search X@dirrm %%MNEMODIR%%/templates/view X@dirrm %%MNEMODIR%%/templates X@dirrm %%MNEMODIR%% Xetc/horde/httpd.conf.mnemo X%%PORTDOCS%%@dirrm share/doc/mnemo X@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterMnemo; then rm -f %D/www/horde/config/registry.php.afterMnemo; mv %D/www/horde/config/registry.php.beforeMnemo %D/www/horde/config/registry.php; fi END-of-/usr/ports/deskutils/mnemo/pkg-plist echo x - /usr/ports/deskutils/mnemo/distinfo sed 's/^X//' >/usr/ports/deskutils/mnemo/distinfo << 'END-of-/usr/ports/deskutils/mnemo/distinfo' XMD5 (mnemo-1.0.tar.gz) = 4fb4be095eea041fa7503b14dd03e435 END-of-/usr/ports/deskutils/mnemo/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020612203526.17F797511>