FreeBSD Bugzilla – Attachment 75550 Details for
Bug 109095
[New Port] security/jeta - Jeta is the Horde wrapper around various Java SSH applets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 7.43 KB, created by
Beech Rintoul
on 2007-02-12 17:00:10 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Beech Rintoul
Created:
2007-02-12 17:00:10 UTC
Size:
7.43 KB
patch
obsolete
># This is a shell archive >echo x jeta >mkdir -p jeta > /dev/null 2>&1 >echo x jeta/files >mkdir -p jeta/files > /dev/null 2>&1 >echo x jeta/pkg-descr >sed 's/^X//' > jeta/pkg-descr << 'SHAR_END' >XJeta is the Horde wrapper around various Java SSH applets. It allows users >Xto login via a terminal window to the server on which the Horde application is >Xrunning. >X >XWWW: http://www.horde.org/jeta/ >SHAR_END >echo x jeta/Makefile >sed 's/^X//' > jeta/Makefile << 'SHAR_END' >X# Ports collection makefile for: jeta3 >X# Date created: Sat Feb 10, 2007 >X# Whom: Beech Rintoul (<beech@alaskaparadise.com>) >X# >X# $FreeBSD$ >X# >X >XPORTNAME= jeta >XPORTVERSION= 1.0 >XCATEGORIES= security www >XMASTER_SITES= ftp://ftp.horde.org/pub/jeta/ \ >X ftp://ftp.planetmirror.com/pub/horde/jeta/ \ >X ftp://ftp.au.horde.org/pub/horde/jeta/ \ >X ftp://ftp.be.horde.org/jeta/ \ >X ftp://ftp.es.horde.org/pub/jeta/ \ >X http://ftp.horde.org/pub/jeta/ >XDISTNAME= ${PORTNAME}-h3-${PORTVERSION} >X >XMAINTAINER= beech@alaskaparadise.com >XCOMMENT= Jeta is a Horde wrapper around various Java SSH applets >X >XRUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde >X >XNO_BUILD= yes >XUSE_APACHE= 1.3+ # needed to test APACHE_VERSION >XUSE_GETTEXT= yes >XREINPLACE_ARGS= -i.beforeJETA >X >XDOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ >X docs/RELEASE_NOTES >XCONFFILE= prefs.php conf.xml .htaccess conf.xml.beforeJETA >XSUB_DIRS= config jar lib locale po templates themes >X >XLHORDEDIR?= www/horde >XLJETADIR= ${LHORDEDIR}/jeta >XPEARDIR?= ${LOCALBASE}/share/pear >X >XPLIST_SUB= JETADIR=${LJETADIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} >XPKGMESSAGE= ${WRKDIR}/pkg-message >XPKGDEINSTALL= ${WRKDIR}/pkg-deinstall >XSUB_FILES= pkg-message pkg-install pkg-deinstall >XSUB_LIST= JETADIR=${JETADIR} PORTSDIR=${PORTSDIR} CONFDIR=${CONFDIR} >X >XJETADIR= ${PREFIX}/${LJETADIR} >XCONFDIR= ${JETADIR}/config >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 >Xpre-configure: >X @${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:" ${WRKSRC}/config/conf.xml >X >Xdo-install: >X @${MKDIR} ${JETADIR} >X.for REP in ${SUB_DIRS} >X @${CP} -Rp ${WRKSRC}/${REP} ${JETADIR} >X.endfor >X @${CP} -p ${WRKSRC}/*.php ${JETADIR} >X >X @${INSTALL_DATA} ${WRKSRC}/config/conf.xml ${CONFDIR} >X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${JETADIR} >X @${CHMOD} -R o-rwx ${CONFDIR} >X >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 @${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 jeta/distinfo >sed 's/^X//' > jeta/distinfo << 'SHAR_END' >XMD5 (jeta-h3-1.0.tar.gz) = 674449d79e603db2fa88c6de8882ccd4 >XSHA256 (jeta-h3-1.0.tar.gz) = 6abf801d70452f1186af1cd6415cde582dcb41b81fe30a1ef09db575cc46bd70 >XSIZE (jeta-h3-1.0.tar.gz) = 3213231 >SHAR_END >echo x jeta/pkg-plist >sed 's/^X//' > jeta/pkg-plist << 'SHAR_END' >X%%PORTDOCS%%%%DOCSDIR%%/CHANGES >X%%PORTDOCS%%%%DOCSDIR%%/CREDITS >X%%PORTDOCS%%%%DOCSDIR%%/INSTALL >X%%PORTDOCS%%%%DOCSDIR%%/README >X%%PORTDOCS%%%%DOCSDIR%%/COPYING >X%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES >X%%JETADIR%%/config/.htaccess >X%%JETADIR%%/config/conf.xml >X%%JETADIR%%/config/prefs.php.dist >X%%JETADIR%%/config/conf.xml.beforeJETA >X%%JETADIR%%/index.php >X%%JETADIR%%/jar/jta.conf >X%%JETADIR%%/jar/jta26.jar >X%%JETADIR%%/jar/SSHTermApplet-signed.jar >X%%JETADIR%%/jar/SSHTermApplet-jdk1.3.1-dependencies-signed.jar >X%%JETADIR%%/jar/SSHTermApplet-jdkbug-workaround-signed.jar >X%%JETADIR%%/lib/base.php >X%%JETADIR%%/lib/Applet.php >X%%JETADIR%%/lib/.htaccess >X%%JETADIR%%/lib/Applet/jta.php >X%%JETADIR%%/lib/Applet/sshtools.php >X%%JETADIR%%/lib/version.php >X%%JETADIR%%/locale/cs_CZ/LC_MESSAGES/jeta.mo >X%%JETADIR%%/locale/de_DE/LC_MESSAGES/jeta.mo >X%%JETADIR%%/locale/en_US/help.xml >X%%JETADIR%%/locale/es_ES/LC_MESSAGES/jeta.mo >X%%JETADIR%%/locale/fi_FI/LC_MESSAGES/jeta.mo >X%%JETADIR%%/locale/ro_RO/LC_MESSAGES/jeta.mo >X%%JETADIR%%/locale/zh_TW/LC_MESSAGES/jeta.mo >X%%JETADIR%%/main.php >X%%JETADIR%%/po/README >X%%JETADIR%%/po/jeta.pot >X%%JETADIR%%/po/cs_CZ.po >X%%JETADIR%%/po/de_DE.po >X%%JETADIR%%/po/es_ES.po >X%%JETADIR%%/po/fi_FI.po >X%%JETADIR%%/po/ro_RO.po >X%%JETADIR%%/po/zh_TW.po >X%%JETADIR%%/templates/common-header.inc >X%%JETADIR%%/templates/main.html >X%%JETADIR%%/test.php >X%%JETADIR%%/themes/graphics/favicon.ico >X%%JETADIR%%/themes/graphics/jeta.png >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >X@dirrm %%JETADIR%%/themes/graphics >X@dirrm %%JETADIR%%/themes >X@dirrm %%JETADIR%%/templates >X@dirrm %%JETADIR%%/po >X@dirrm %%JETADIR%%/locale/zh_TW/LC_MESSAGES >X@dirrm %%JETADIR%%/locale/zh_TW >X@dirrm %%JETADIR%%/locale/ro_RO/LC_MESSAGES >X@dirrm %%JETADIR%%/locale/ro_RO >X@dirrm %%JETADIR%%/locale/fi_FI/LC_MESSAGES >X@dirrm %%JETADIR%%/locale/fi_FI >X@dirrm %%JETADIR%%/locale/es_ES/LC_MESSAGES >X@dirrm %%JETADIR%%/locale/es_ES >X@dirrm %%JETADIR%%/locale/en_US >X@dirrm %%JETADIR%%/locale/de_DE/LC_MESSAGES >X@dirrm %%JETADIR%%/locale/de_DE >X@dirrm %%JETADIR%%/locale/cs_CZ/LC_MESSAGES >X@dirrm %%JETADIR%%/locale/cs_CZ >X@dirrm %%JETADIR%%/locale >X@dirrm %%JETADIR%%/lib/Applet >X@dirrm %%JETADIR%%/lib >X@dirrmtry %%JETADIR%%/config >X@dirrmtry %%JETADIR%%/jar >X@dirrmtry %%JETADIR%% >SHAR_END >echo x jeta/files/pkg-message.in >sed 's/^X//' > jeta/files/pkg-message.in << 'SHAR_END' >X************************************************************************ >XJeta has been installed in %%JETADIR%% with your blank >Xconfiguration files. >X >XHorde must be configured and the tables created; if not, see >X`pkg_info -D -x horde'. >X >XThen, you might have to tune the configuration files located in >X%%CONFDIR%%/. >X >XThen, you must login to Horde as a Horde Administrator to finish the >Xconfiguration. Please read %%DOCSDIR%%/INSTALL. >X >XTo protect your configuration files, you have to restart your webserver. >X >XTo secure your installation, it is at least recommended that you change >Xthe default database password used by horde. >XThen, you might change the 'session.save_path' setting in php.ini to a >Xdirectory only readable and writeable by your webserver. >X************************************************************************ >SHAR_END >echo x jeta/files/pkg-deinstall.in >sed 's/^X//' > jeta/files/pkg-deinstall.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD: >X# >X >Xif [ x$2 != xDEINSTALL ]; then >X exit >Xfi >X >Xif [ -z "${PACKAGE_BUILDING}" ]; then >X for cf in `ls %%JETADIR%%/config/*php %%JETADIR%%/config/*txt`; 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 jeta/files/pkg-install.in >sed 's/^X//' > jeta/files/pkg-install.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD: >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 %%JETADIR%%/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 >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 109095
: 75550