694bbd4154
* New visual style (web2). * Rich text mails. * Email signatures and encryption. * User settings for: - Ticket history ordering. - Timezones. - Date and time format. - Username format. - Default queue. - Size of message text boxes. * Charts of ticket relationships. * Breeze through upgrades with new upgrade tools. * Subscribe to iCalendar feeds of ticket due dates. * Bookmark frequently-used tickets. * Turn off mail from RT when you go on vacation. * Get your mail from RT as a daily or weekly batch. * Delete historical or spam tickets with RT::Shredder (only as a superuser). * Set up more configurable business rules with new Scrip Conditions and Actions. * Forward tickets to third-parties from within RT. * Enable and Disable RT extensions with the new Plugins system. * Automatically log out inactive users with rt-clean-sessions. * Run faster with less memory, thanks to numerous performance improvements and bug fixes. * Fixed a potential HTML injection attck via user's properties. * Better support for installation on Solaris and FreeBSD (non-GNU make). * Updates to documentation and scripts for upgrading from MySQL 4.0 * Updated upgrade documentation for the new Queue Tag and bookmarks features. * Multiple bugs in iCal support fixed. * Backwards compatibility fixes for extensions developed against 3.6 * Added support for external links in tabs and targets. * Addition of a new callback before ticket creation so you can implement custom validation or stop creation for another reason. * Missing documentation to external authentication configuration variable in bin/rt and make it possible to set it via ENV. * Merged method in RT::Ticket.
89 lines
3.4 KiB
Text
89 lines
3.4 KiB
Text
# $NetBSD: Makefile.install,v 1.11 2008/08/23 23:58:29 tonnerre Exp $
|
|
|
|
.include "dirs.mk"
|
|
|
|
BUILD_DEFS+= APACHE_USER APACHE_GROUP
|
|
INSTALLATION_DIRS+= sbin
|
|
|
|
OWN_DIRS+= ${RT_VAR_DIR} ${RT_LOCAL_DIR} ${RT_LOCAL_DIR}/etc
|
|
OWN_DIRS+= ${RT_LOCAL_DIR}/lib ${RT_LOCAL_DIR}/po
|
|
OWN_DIRS+= ${RT_LOCAL_DIR}/html
|
|
REQD_DIRS+= ${RT_HTML_DIR}/Callbacks
|
|
|
|
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data ${APACHE_USER} ${APACHE_GROUP} 0770
|
|
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/cache ${APACHE_USER} ${APACHE_GROUP} 0770
|
|
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/etc ${APACHE_USER} ${APACHE_GROUP} 0770
|
|
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/mason_data/obj ${APACHE_USER} ${APACHE_GROUP} 0770
|
|
OWN_DIRS_PERMS+= ${RT_VAR_DIR}/session_data ${APACHE_USER} ${APACHE_GROUP} 0770
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_FILES.prefix= config.layout
|
|
SUBST_SED.prefix= -e s,@PREFIX@,${PREFIX},
|
|
SUBST_SED.prefix+= -e s,@PKGSYSCONFDIR@,${PKG_SYSCONFDIR},
|
|
SUBST_SED.prefix+= -e s,@RTLIBDIR@,${RT_LIB_DIR},
|
|
SUBST_SED.prefix+= -e s,@RTSHAREDIR@,${RT_SHARE_DIR},
|
|
SUBST_SED.prefix+= -e s,@RTHTMLDIR@,${RT_HTML_DIR},
|
|
SUBST_SED.prefix+= -e s,@RTDOCDIR@,${RT_DOC_DIR},
|
|
SUBST_SED.prefix+= -e s,@RTVARDIR@,${RT_VAR_DIR},
|
|
SUBST_SED.prefix+= -e s,@RTLOCALDIR@,${RT_LOCAL_DIR},
|
|
SUBST_STAGE.prefix= pre-configure
|
|
|
|
SUBST_CLASSES+= etcpath
|
|
SUBST_FILES.etcpath= sbin/rt-setup-database.in
|
|
SUBST_SED.etcpath= -e 's,\$$RT::EtcPath,"${RT_SHARE_DIR}/etc",'
|
|
SUBST_STAGE.etcpath= post-patch
|
|
|
|
RT_CONFIG_FILES= RT_Config.pm RT_SiteConfig.pm
|
|
|
|
.for _file_ in ${RT_CONFIG_FILES}
|
|
CONF_FILES_PERMS+= ${RT_EXAMPLE_DIR}/${_file_} \
|
|
${PKG_SYSCONFDIR}/${_file_} \
|
|
${ROOT_USER} ${RT_GROUP} 0550
|
|
.endfor
|
|
|
|
RT_ETC_FILES= acl.Oracle acl.Pg acl.mysql constraints.mysql \
|
|
drop.Oracle initialdata schema.Oracle schema.Pg \
|
|
schema.SQLite schema.mysql
|
|
RT_UPGRADE_DIRS= 3.3.0 3.3.11 3.5.1 3.7.1 3.7.3 3.7.10 3.7.15 \
|
|
3.7.19 3.7.81 3.7.82 3.7.85 3.7.86 3.7.87
|
|
|
|
MESSAGE_SUBST+= RTVARDIR=${RT_VAR_DIR:Q} RTSHAREDIR=${RT_SHARE_DIR:Q}
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
do-install:
|
|
@${ECHO} "=> Configuration files"
|
|
${INSTALL_DATA_DIR} ${RT_EXAMPLE_DIR}
|
|
.for _file_ in ${RT_CONFIG_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/etc/${_file_} ${RT_EXAMPLE_DIR}
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${RT_SHARE_DIR}/etc
|
|
.for _file_ in ${RT_ETC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/etc/${_file_} ${RT_SHARE_DIR}/etc
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${RT_SHARE_DIR}/etc/upgrade
|
|
.for _dir_ in ${RT_UPGRADE_DIRS}
|
|
${INSTALL_DATA_DIR} ${RT_SHARE_DIR}/etc/upgrade/${_dir_}
|
|
cd ${WRKSRC}/etc/upgrade/${_dir_} && \
|
|
${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
|
|
pax -rw ${RT_SHARE_DIR}/etc/upgrade/${_dir_}
|
|
.endfor
|
|
@${ECHO} "=> Libraries"
|
|
${INSTALL_DATA_DIR} ${RT_LIB_DIR}
|
|
cd ${WRKSRC}/lib && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | pax -rw ${RT_LIB_DIR}
|
|
@${ECHO} "=> Binaries"
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/rt-mailgate ${WRKSRC}/bin/rt-crontool \
|
|
${WRKSRC}/bin/mason_handler.fcgi ${WRKSRC}/bin/mason_handler.scgi \
|
|
${WRKSRC}/bin/standalone_httpd ${WRKSRC}/bin/mason_handler.svc \
|
|
${WRKSRC}/bin/rt ${WRKSRC}/bin/webmux.pl \
|
|
${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sbin/rt-dump-database \
|
|
${WRKSRC}/sbin/rt-setup-database \
|
|
${WRKSRC}/sbin/rt-test-dependencies ${PREFIX}/sbin
|
|
@${ECHO} "=> HTML documents"
|
|
${INSTALL_DATA_DIR} ${RT_HTML_DIR}
|
|
cd ${WRKSRC}/share/html && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | pax -rw ${RT_HTML_DIR}
|
|
@${ECHO} "=> Documentation"
|
|
${INSTALL_DATA_DIR} ${RT_DOC_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${RT_DOC_DIR}
|