FreeBSD Bugzilla – Attachment 76608 Details for
Bug 110400
[NEW PORT] devel/horde-trean - Bookmark manager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 11.42 KB, created by
Beech Rintoul
on 2007-03-16 16:40:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Beech Rintoul
Created:
2007-03-16 16:40:01 UTC
Size:
11.42 KB
patch
obsolete
># This is a shell archive >echo x horde-trean >mkdir -p horde-trean > /dev/null 2>&1 >echo x horde-trean/files >mkdir -p horde-trean/files > /dev/null 2>&1 >echo x horde-trean/Makefile >sed 's/^X//' > horde-trean/Makefile << 'SHAR_END' >X# Ports collection makefile for:trean3 >X# Date created: Fri Mar 16, 2007 >X# Whom: Beech Rintoul <beech@alaskaparadise.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= trean >XPORTVERSION= 0.9 >XCATEGORIES= devel www >XMASTER_SITES= http://freebsd.alaskaparadise.com/source/ >XPKGNAMEPREFIX= horde- >X >XMAINTAINER= beech@alaskaparadise.com >XCOMMENT= Bookmark manager >X >XRUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde-base >X >XNO_BUILD= yes >XUSE_APACHE= 1.3+ # needed to test APACHE_VERSION >XUSE_GETTEXT= yes >XREINPLACE_ARGS= -i "" >X >XPORTDOCS= CHANGES CREDITS INSTALL TODO >XCONFFILE= conf.xml .htaccess >XSUB_DIRS= config js lib locale po scripts templates themes >X >XLHORDEDIR?= www/horde >XLTREANDIR= ${LHORDEDIR}/trean >XPEARDIR?= ${LOCALBASE}/share/pear >X >XPLIST_SUB= TREANDIR=${LTREANDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} >XPKGMESSAGE= ${WRKDIR}/pkg-message >XPKGDEINSTALL= ${WRKDIR}/pkg-deinstall >XSUB_FILES= pkg-message pkg-install pkg-deinstall >XSUB_LIST= TREANDIR=${TREANDIR} PORTSDIR=${PORTSDIR} CONFDIR=${CONFDIR} >X >XTREANDIR= ${PREFIX}/${LTREANDIR} >XCONFDIR= ${TREANDIR}/config >X >XHOSTNAME?= `/bin/hostname` >XSERVOS?= ${OPSYS}-${OSREL} >X >XPORTREV_H?= ${LOCALBASE}/include/c-client/portrevision.h >X >X.include <bsd.port.pre.mk> >X >X.if ${APACHE_VERSION} >= 20 >XHORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes/ >X.else >XHORDE_INC= ${LOCALBASE}/etc/horde/ >X.endif >X >Xpost-extract: >X @${MV} ${WRKSRC}/README ${WRKSRC}/docs/ >X >Xpre-configure: >X @${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:" ${WRKSRC}/config/conf.xml >X @${SED} -e "s:/home/httpd/html/horde/trean:${TREANDIR}:" \ >X ${FILESDIR}/httpd.conf.trean > ${WRKDIR}/httpd-trean.conf >X >Xdo-install: >X @${INSTALL} -d ${TREANDIR}/ >X @${CP} -Rp ${SUB_DIRS:S|^|${WRKSRC}/|} ${TREANDIR}/ >X @${CP} -p ${WRKSRC}/*.php ${TREANDIR}/ >X @${INSTALL_DATA} ${WRKSRC}/config/conf.xml ${CONFDIR}/ >X @${INSTALL_DATA} ${WRKDIR}/httpd-trean.conf ${HORDE_INC}/ >X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TREANDIR}/ >X @${CHMOD} -R o-rwx ${CONFDIR}/ >X.if !defined(NOPORTDOCS) >X @${INSTALL} -d ${DOCSDIR}/ >X @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}/ >X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." >X.endif >X >Xpost-install: >X @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL >X @${ECHO_MSG} >X @${CAT} ${PKGMESSAGE} >X @${ECHO_MSG} >X >X.include <bsd.port.post.mk> >SHAR_END >echo x horde-trean/pkg-descr >sed 's/^X//' > horde-trean/pkg-descr << 'SHAR_END' >XThe Trean (Bookmarks) application allows you to store, organize and manage, and >Xmost importantly access your web browser bookmarks on-line and in one central >Xplace accessible from any web browser. >X >XBy storing your bookmarks here, you can access them from any browser on any >Xmachine that can access the Horde applications. This means you can easily access >Xyour bookmarks from multiple browsers, multiple machines, remote locations, etc. >XAnd if you upgrade, switch, or test out browsers, you don't have to worry about >Xwhat happens to your bookmarks or how to import them into the new browser. >X >XWWW: http://horde.org/trean/ >SHAR_END >echo x horde-trean/distinfo >sed 's/^X//' > horde-trean/distinfo << 'SHAR_END' >XMD5 (trean-0.9.tar.gz) = 51fe26dfbd9717b369f89b4699ccc864 >XSHA256 (trean-0.9.tar.gz) = 6b3ed68f6a944e174d80ccb8190918b030f5f6f94640ce4ad023f257d34ee179 >XSIZE (trean-0.9.tar.gz) = 554291 >SHAR_END >echo x horde-trean/pkg-plist >sed 's/^X//' > horde-trean/pkg-plist << 'SHAR_END' >X%%TREANDIR%%/add.php >X%%TREANDIR%%/bookmark.php >X%%TREANDIR%%/browse.php >X%%TREANDIR%%/config/.cvsignore >X%%TREANDIR%%/config/.htaccess >X%%TREANDIR%%/config/conf.xml >X%%TREANDIR%%/config/prefs.php.dist >X%%TREANDIR%%/data.php >X%%TREANDIR%%/edit.php >X%%TREANDIR%%/favicon.php >X%%TREANDIR%%/index.php >X%%TREANDIR%%/js/src/star_rating.js >X%%TREANDIR%%/js/star_rating.js >X%%TREANDIR%%/lib/Block/bookmarks.php >X%%TREANDIR%%/lib/Block/highestrated.php >X%%TREANDIR%%/lib/Block/mostclicked.php >X%%TREANDIR%%/lib/Block/tree_menu.php >X%%TREANDIR%%/lib/Bookmarks.php >X%%TREANDIR%%/lib/Forms/Search.php >X%%TREANDIR%%/lib/Trean.php >X%%TREANDIR%%/lib/Views/BookmarkList.php >X%%TREANDIR%%/lib/api.php >X%%TREANDIR%%/lib/base.php >X%%TREANDIR%%/lib/version.php >X%%TREANDIR%%/locale/de_DE/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/en_US/help.xml >X%%TREANDIR%%/locale/es_ES/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/fi_FI/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/fi_FI/help.xml >X%%TREANDIR%%/locale/fr_FR/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/it_IT/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/nb_NO/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/nl_NL/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/sl_SI/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/sv_SE/LC_MESSAGES/trean.mo >X%%TREANDIR%%/locale/zh_TW/LC_MESSAGES/trean.mo >X%%TREANDIR%%/perms.php >X%%TREANDIR%%/po/de_DE.po >X%%TREANDIR%%/po/es_ES.po >X%%TREANDIR%%/po/fi_FI.po >X%%TREANDIR%%/po/fr_FR.po >X%%TREANDIR%%/po/it_IT.po >X%%TREANDIR%%/po/nb_NO.po >X%%TREANDIR%%/po/nl_NL.po >X%%TREANDIR%%/po/sl_SI.po >X%%TREANDIR%%/po/sv_SE.po >X%%TREANDIR%%/po/trean.pot >X%%TREANDIR%%/po/zh_TW.po >X%%TREANDIR%%/redirect.php >X%%TREANDIR%%/reports.php >X%%TREANDIR%%/rss.php >X%%TREANDIR%%/scripts/check_links.php >X%%TREANDIR%%/scripts/sql/trean.sql >X%%TREANDIR%%/scripts/upgrades/2006-12-29_cleanup.php >X%%TREANDIR%%/scripts/upgrades/2006-12-29_sql_bookmarks.php >X%%TREANDIR%%/search.php >X%%TREANDIR%%/templates/add/add.inc >X%%TREANDIR%%/templates/block/1line.inc >X%%TREANDIR%%/templates/block/2line.inc >X%%TREANDIR%%/templates/block/standard.inc >X%%TREANDIR%%/templates/browse.php >X%%TREANDIR%%/templates/common-header.inc >X%%TREANDIR%%/templates/data/export.inc >X%%TREANDIR%%/templates/data/import.inc >X%%TREANDIR%%/templates/edit/bookmark.inc >X%%TREANDIR%%/templates/edit/folder.inc >X%%TREANDIR%%/templates/edit/footer.inc >X%%TREANDIR%%/templates/edit/header.inc >X%%TREANDIR%%/templates/menu.inc >X%%TREANDIR%%/templates/reports.php >X%%TREANDIR%%/templates/search.php >X%%TREANDIR%%/templates/star_rating_helper.php >X%%TREANDIR%%/templates/views/BookmarkList.php >X%%TREANDIR%%/test.php >X%%TREANDIR%%/themes/graphics/add.png >X%%TREANDIR%%/themes/graphics/az.png >X%%TREANDIR%%/themes/graphics/delete.png >X%%TREANDIR%%/themes/graphics/edit.png >X%%TREANDIR%%/themes/graphics/favicon.ico >X%%TREANDIR%%/themes/graphics/folders/folder_create.png >X%%TREANDIR%%/themes/graphics/folders/folder_delete.png >X%%TREANDIR%%/themes/graphics/folders/folder_edit.png >X%%TREANDIR%%/themes/graphics/http/1xx.png >X%%TREANDIR%%/themes/graphics/http/2xx.png >X%%TREANDIR%%/themes/graphics/http/3xx.png >X%%TREANDIR%%/themes/graphics/http/4xx.png >X%%TREANDIR%%/themes/graphics/http/5xx.png >X%%TREANDIR%%/themes/graphics/http/error.png >X%%TREANDIR%%/themes/graphics/minus.png >X%%TREANDIR%%/themes/graphics/plus.png >X%%TREANDIR%%/themes/graphics/protocol/ftp.png >X%%TREANDIR%%/themes/graphics/protocol/http.png >X%%TREANDIR%%/themes/graphics/protocol/https.png >X%%TREANDIR%%/themes/graphics/rating-star.gif >X%%TREANDIR%%/themes/graphics/reports.png >X%%TREANDIR%%/themes/graphics/trean.png >X%%TREANDIR%%/themes/graphics/za.png >X%%TREANDIR%%/themes/screen.css >X%%HORDE_INC%%httpd-trean.conf >X@dirrm %%TREANDIR%%/themes/graphics/protocol >X@dirrm %%TREANDIR%%/themes/graphics/http >X@dirrm %%TREANDIR%%/themes/graphics/folders >X@dirrm %%TREANDIR%%/themes/graphics >X@dirrm %%TREANDIR%%/themes >X@dirrm %%TREANDIR%%/templates/views >X@dirrm %%TREANDIR%%/templates/edit >X@dirrm %%TREANDIR%%/templates/data >X@dirrm %%TREANDIR%%/templates/block >X@dirrm %%TREANDIR%%/templates/add >X@dirrm %%TREANDIR%%/templates >X@dirrm %%TREANDIR%%/scripts/upgrades >X@dirrm %%TREANDIR%%/scripts/sql >X@dirrm %%TREANDIR%%/scripts >X@dirrm %%TREANDIR%%/po >X@dirrm %%TREANDIR%%/locale/zh_TW/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/zh_TW >X@dirrm %%TREANDIR%%/locale/sv_SE/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/sv_SE >X@dirrm %%TREANDIR%%/locale/sl_SI/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/sl_SI >X@dirrm %%TREANDIR%%/locale/nl_NL/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/nl_NL >X@dirrm %%TREANDIR%%/locale/nb_NO/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/nb_NO >X@dirrm %%TREANDIR%%/locale/it_IT/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/it_IT >X@dirrm %%TREANDIR%%/locale/fr_FR/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/fr_FR >X@dirrm %%TREANDIR%%/locale/fi_FI/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/fi_FI >X@dirrm %%TREANDIR%%/locale/es_ES/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/es_ES >X@dirrm %%TREANDIR%%/locale/en_US >X@dirrm %%TREANDIR%%/locale/de_DE/LC_MESSAGES >X@dirrm %%TREANDIR%%/locale/de_DE >X@dirrm %%TREANDIR%%/locale >X@dirrm %%TREANDIR%%/lib/Views >X@dirrm %%TREANDIR%%/lib/Forms >X@dirrm %%TREANDIR%%/lib/Block >X@dirrm %%TREANDIR%%/lib >X@dirrm %%TREANDIR%%/js/src >X@dirrm %%TREANDIR%%/js >X@dirrm %%TREANDIR%%/config >X@dirrm %%TREANDIR%% >SHAR_END >echo x horde-trean/files/pkg-message.in >sed 's/^X//' > horde-trean/files/pkg-message.in << 'SHAR_END' >X************************************************************************ >XTREAN has been installed in %%TREANDIR%% with your blank >Xconfiguration files. >X >XTrean must be configured; if not, see `pkg_info -D -x horde'. >X >XFinally, you must login to Horde as a Horde Administrator to finish the >Xconfiguration. >X >XTo protect your configuration files, you have to restart Apache. >X************************************************************************ >SHAR_END >echo x horde-trean/files/pkg-deinstall.in >sed 's/^X//' > horde-trean/files/pkg-deinstall.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# Backup trean config files, if needed. >X >Xif [ x$2 != xDEINSTALL ]; then >X exit >Xfi >X >Xif [ -z "${PACKAGE_BUILDING}" ]; then >X for cf in `ls %%TREANDIR%%/config/*php`; do >X diff -bBqw $cf $cf.dist >/dev/null 2>&1 >X case $? in >X 0) # original config file, delete it >X rm -f $cf >X ;; >X 1) # config file has been updated, leave it alone >X ;; >X *) # not found? >X ;; >X esac >X done >Xfi >SHAR_END >echo x horde-trean/files/pkg-install.in >sed 's/^X//' > horde-trean/files/pkg-install.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# >X >XPATH=/usr/sbin:/usr/bin:/bin ; export PATH >X >Xcase $2 in >X PRE-INSTALL) >X ;; >X >X POST-INSTALL) >X if [ -z "${PACKAGE_BUILDING}" ]; then >X # Copy over sample config files unless they already exist >X >X for cf in `ls %%TREANDIR%%/config/*.dist | sed -e 's/\.dist//g'`; do >X if [ ! -f $cf ]; then >X cp -p $cf.dist $cf >X fi >X done >X fi >X ;; >Xesac >SHAR_END >echo x horde-trean/files/httpd.conf.trean >sed 's/^X//' > horde-trean/files/httpd.conf.trean << 'SHAR_END' >X# This is included in Apache's httpd.conf for trean >X# >X# For security, don't serve pages from the trean configuration and >X# library directories. >X# >X<Directory "/home/httpd/html/horde/trean/config"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/trean/lib"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/trean/locale"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/trean/po"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/trean/scripts"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/trean/templates"> >X order deny,allow >X deny from all >X</Directory> >X# End of trean configuration ================ >X >SHAR_END >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 110400
: 76608