1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

add RT 4.0.2

PR:		ports/160901
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
This commit is contained in:
Florian Smeets 2011-10-07 13:02:36 +00:00
parent f1857b943b
commit 1ebbfb0d3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283118
13 changed files with 1496 additions and 1603 deletions

View File

@ -5,51 +5,68 @@
# $FreeBSD$
# TODO:
# o etc/rt38 files permissions
# o GRANTS
# o Schema
# - Vhost Config
# o install a sample into etc/apache22/Includes
PORTNAME= rt
PORTVERSION= 3.8.10
PORTREVISION= 3
PORTVERSION= 4.0.2
CATEGORIES= www
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ \
ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/release/
MAINTAINER= flo@FreeBSD.org
MAINTAINER= m.seaman@infracaninophile.co.uk
COMMENT= RT is an industrial-grade ticketing system written in Perl
.if defined(NOPORTDOCS)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-noportdocs-Makefile.in
.endif
CONFLICTS= rt-2* rt-3.0* rt-3.2* rt-3.4* rt-3.6*
LATEST_LINK= rt38
CONFLICTS= rt-3.6* rt-3.8*
LATEST_LINK= rt40
OPTIONS= MYSQL "Enable MySQL backend" on \
APACHE "Enable ${APACHE_PORT} server" on \
MODPERL "Enable mod_perl support" on \
POSTGRESQL "Enable Postgresql backend" off \
ORACLE "Enable Oracle backend" off \
SQLITE "Enable SQLite backend" off \
DEV "Configure for Developers" off \
STANDALONE "Enable standalone server" off \
FASTCGI "Enable FastCGI support" off \
GRAPHVIZ "Enable GraphViz charts" on
# See doc/web_deployment.pod for info on the choices of webserver /
# webapp combinations. Note: apache-1.3.x is unsupported and untested
# upstream; apache-2.0+ is strongly recommended. For deployment with
# nginx, use the SPAWN_FCGI method. A standalone PSGI based webserver
# is always available, but this is really only suitable for
# development usage.
#
# See doc/full_text_indexing.pod if you need to set up full text
# indexes on your ticket database. PostgreSQL or Oracle are
# recommended in this case: the MYSQL / SphinxSearch combination
# mentioned in the docs is currently unsupported in the ports, but see
# http://www.infracaninophile.co.uk/articles/sphinxse.html
OPTIONS= AP_MODPERL "Deploy with ${APACHE_PORT} and mod_perl" on \
AP_MODFASTCGI "Deploy with ${APACHE_PORT} and mod_fastcgi" off \
LIGHTTPD "Deploy with lighttpd and mod_fastcgi" off \
SPAWN_FCGI "Deploy with spawn_fcgi" off \
MYSQL "Enable MySQL backend" on \
POSTGRESQL "Enable PosgreSQL backend" off \
ORACLE "Enable Oracle backend" off \
SQLITE "Enable SQLite backend (dev only)" off \
DEV "Configure for Developers" off \
GPG "Enable GnuPG support" on \
GRAPHVIZ "Enable GraphViz charts" off \
GD "Enable GD Graphs and Charts" on
GROUPS?= rt
BUILD_DEPENDS+= ${LOCALBASE}/bin/jsmin:${PORTSDIR}/devel/jsmin
.include "${.CURDIR}/Makefile.cpan"
BUILD_DEPENDS+= ${CORE_DEPS} \
${CLI_DEPS} \
${DASHBOARD_DEPS} \
${GD_DEPS} \
${GPG_DEPS} \
${ICAL_DEPS} \
${MAILGATE_DEPS} \
${MASON_DEPS} \
${SMTP_DEPS}
BUILD_DEPENDS+= ${CORE_DEPS} \
${MASON_DEPS} \
${PSGI_DEPS} \
${MAILGATE_DEPS} \
${CLI_DEPS} \
${ICAL_DEPS} \
${SMTP_DEPS} \
${DASHBOARDS_DEPS} \
${USERLOGO_DEPS}
RUN_DEPENDS+= ${BUILD_DEPENDS}
@ -57,96 +74,143 @@ USE_PERL5= 5.8.3+
USE_AUTOTOOLS= autoconf
.include <bsd.port.pre.mk>
.if defined(WITH_AP_MODPERL) || defined(WITH_AP_MODFASTCGI)
USE_APACHE= 1.3+
.endif
.if defined(WITH_AP_MODPERL)
.if defined(WITH_AP_MODFASTCGI) || defined(WITH_LIGHTTPD) || \
defined(WITH_SPAWN_FCGI)
IGNORE= please select at most one of AP_MODPERL, AP_MODFASTCGI, LIGHTTPD or SPAWN_FCGI
.endif
WITH_APACHE= yes
.include "${PORTSDIR}/Mk/bsd.apache.mk"
.if ${APACHE_VERSION} == 13
BUILD_DEPENDS+= ${MODPERL1_DEPS}
RUN_DEPENDS+= ${MODPERL1_DEPS}
.else
BUILD_DEPENDS+= ${MODPERL2_DEPS}
RUN_DEPENDS+= ${MODPERL2_DEPS}
.endif
.elif defined(WITH_AP_MODFASTCGI)
.if defined(WITH_LIGHTTPD) || defined(WITH_SPAWN_FCGI)
IGNORE= please select at most one of AP_MODPERL, AP_MODFASTCGI, LIGHTTPD or SPAWN_FCGI
.endif
WITH_APACHE= yes
BUILD_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
RUN_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
${FASTCGI_DEPS}
.elif defined(WITH_LIGHTTPD)
.if defined(WITH_SPAWN_FCGI)
IGNORE= please select at most one of AP_MODPERL, AP_MODFASTCGI, LIGHTTPD or SPAWN_FCGI
.endif
BUILD_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
RUN_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
.elif defined(WITH_SPAWN_FCGI)
BUILD_DEPENDS+= ${LOCALBASE}/bin/spawn-fcgi:${PORTSDIR}/www/spawn-fcgi
RUN_DEPENDS+= ${LOCALBASE}/bin/spawn-fcgi:${PORTSDIR}/www/spawn-fcgi
.endif
.if defined(WITH_MYSQL)
.if defined(WITH_POSTGRESQL) || defined(WITH_ORACLE) || \
defined(WITH_SQLITE)
IGNORE= please select only one of MYSQL, POSTGRESQL, ORACLE or SQLITE
.endif
DB_TYPE= mysql
USE_MYSQL= yes
BUILD_DEPENDS+= ${MYSQL_DEPS}
RUN_DEPENDS+= ${MYSQL_DEPS}
.elif defined(WITH_POSTGRESQL)
.if defined(WITH_ORACLE) || defined(WITH_SQLITE)
IGNORE= please select only one of MYSQL, POSTGRESQL, ORACLE or SQLITE
.endif
DB_TYPE= Pg
USE_PGSQL= yes
BUILD_DEPENDS+= ${POSTGRESQL_DEPS}
RUN_DEPENDS+= ${POSTGRESQL_DEPS}
.elif defined(WITH_ORACLE)
.if defined(WITH_SQLITE)
IGNORE= please select only one of MYSQL, POSTGRESQL, ORACLE or SQLITE
.endif
DB_TYPE= Oracle
BUILD_DEPENDS+= ${ORACLE_DEPS}
RUN_DEPENDS+= ${ORACLE_DEPS}
.elif defined(WITH_SQLITE)
DB_TYPE= SQLite
USE_SQLITE= yes
BUILD_DEPENDS+= ${SQLITE_DEPS}
RUN_DEPENDS+= ${SQLITE_DEPS}
.else
IGNORE= please select one of MYSQL, POSTGRESQL, ORACLE or SQLITE
.endif
.if defined(WITH_DEV)
BUILD_DEPENDS+= ${DEV_DEPS}
RUN_DEPENDS+= ${DEV_DEPS}
.endif
.if defined(WITH_STANDALONE)
BUILD_DEPENDS+= ${STANDALONE_DEPS}
RUN_DEPENDS+= ${STANDALONE_DEPS}
.endif
.if defined(WITH_APACHE) || defined(WITH_FASTCGI) || defined(WITH_MODPERL)
USE_APACHE= 13+
.endif
.if defined(WITH_FASTCGI)
BUILD_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
RUN_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FCGI
CONFIGURE_ARGS+= "--enable-developer-mode"
.endif
.if defined(WITH_GRAPHVIZ)
BUILD_DEPENDS+= ${GRAPHVIZ_DEPS}
RUN_DEPENDS+= ${GRAPHVIZ_DEPS}
CONFIGURE_ARGS+= "--enable-graphviz"
.endif
.if defined(WITH_MODPERL)
WITH_APACHE= yes
.include "${.CURDIR}/../../Mk/bsd.apache.mk"
. if ${APACHE_VERSION} == 13
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp1
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp1
. else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2 \
${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp2
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2 \
${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI-mp2
. endif
.if defined(WITH_GPG)
BUILD_DEPENDS+= ${GPG_DEPS}
RUN_DEPENDS+= ${GPG_DEPS}
CONFIGURE_ARGS+= "--enable-gpg"
.endif
.if !defined(WITHOUT_MYSQL)
DB_TYPE= mysql
USE_MYSQL= yes
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.elif defined(WITH_POSTGRESQL)
DB_TYPE= Pg
USE_PGSQL= yes
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.elif defined (WITH_SQLITE)
DB_TYPE= SQLite
USE_SQLITE= yes
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite
.elif defined (WITH_ORACLE)
DB_TYPE= Oracle
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle
.else
IGNORE= you must choose a database backend
.if defined(WITH_GD)
BUILD_DEPENDS+= ${GD_DEPS}
RUN_DEPENDS+= ${GD_DEPS}
configure_args+= "--enable-gd"
.endif
### Only 1 Backend
#.if (defined(WITH_MYSQL) && (defined(WITH_POSTGRESQL) || defined(WITH_SQLITE) || defined(WITH_ORACLE))) ||
# (defined(WITH_POSTGRESQL) && (defined(WITH_MYSQL) || defined(WITH_SQLITE) || defined(WITH_ORACLE))) ||
# (defined(WITH_SQLITE) && (defined(WITH_MYSQL) || defined(WITH_POSTGRELSQL) || defined(WITH_ORACLE))) ||
# (defined(WITH_ORACLE) && (defined(WITH_MYSQL) || defined(WITH_POSTGRELSQL) || defined(WITH_SQLITE)))
#IGNORE= Select exactly one of WITH_MYSQL, WITH_POSTGRESQL, WITH_SQLITE, WITH_ORACLE
#.endif
RT_ETC_PATH?= ${PREFIX}/etc/${PORTNAME}38
RT_ETC_PATH?= ${PREFIX}/etc/${PORTNAME}40
RT_LAYOUT= FreeBSD
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}38
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}40
DB_DBA_USER?= root
DB_DBA_PASSWORD?=
DB_USER?= rt_user
DB_PASSWORD?= rt_pass
DB_HOST?= localhost
DB_DATABASE?= rt3
DB_DATABASE?= rt4
WEB_USER?= ${WWWOWN}
WEB_GROUP?= ${WWWGRP}
LIBS_GROUP?= wheel
LATEST_LINK= rt38
HAS_CONFIGURE= yes
NO_BUILD= yes
@ -166,14 +230,14 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
SUB_LIST= RT_ETC_PATH=${RT_ETC_PATH}
run-autotools:: run-autotools-autoconf
run-autotools: run-autotools-autoconf
pre-fetch:
@${ECHO} ""
@${ECHO} " DB_TYPE=type mysql, Oracle, Pg or SQLite (mysql)"
@${ECHO} " DB_HOST=hostname The database host (localhost)"
@${ECHO} " DB_PORT=port The database port"
@${ECHO} " DB_DATABASE=dbname The database name (rt3)"
@${ECHO} " DB_DATABASE=dbname The database name (rt4)"
@${ECHO} ""
@${ECHO} " DB_DBA_USER=username Name of database administrator (root)"
@${ECHO} " DB_DBA_PASSWORD=password Password of database administrator"
@ -189,13 +253,11 @@ post-patch:
@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/config.layout
@${REINPLACE_CMD} -e 's!%%SITE_PERL%%!${SITE_PERL}!g' ${WRKSRC}/config.layout
@${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm
@${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/bin/webmux.pl.in
@${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/lib/RT/Interface/CLI.pm && \
${RM} ${WRKSRC}/lib/RT/Interface/CLI.pm.bak
pre-install:
@${RM} -f ${WRKSRC}/lib/RT.pm.in
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
@[ -f ${RT_ETC_PATH}/RT_SiteConfig.pm ] || \

View File

@ -1,101 +1,133 @@
##########################################################################################################
###############################################################################
### File::Find 1.10 core
### File::Glob 1.05 core
### File::Spec 3.12 0.08 core
### Pod::Usage 1.33 core
### Scalar::Util 1.18 core
### Text::ParseWords 3.24 core
### Term::ReadLine core
### Term::ReadKey core
### Term::ReadLine core
###
### Digest::base core
### Time::HiRes core
### Errno core
### CGI core
### CGI::Cookie core
### Storable core
### Getopt::Long core
### Pod::Usage core
### File::Find core
### Net::SMTP core
### Digest::MD5 2.39 core
### Digest::SHA 5.47 core
### File::Temp 0.22 core
### Sys::Syslog 0.27 core
CLI_DEPS= p5-Term-ReadKey>=2.30:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-Getopt-Long>=2.24:${PORTSDIR}/devel/p5-Getopt-Long \
p5-libwww>=5.823:${PORTSDIR}/www/p5-libwww \
p5-ReadLine-Perl>=1.0302:${PORTSDIR}/devel/p5-ReadLine-Perl \
p5-Net-SSLeay>=1.35:${PORTSDIR}/security/p5-Net-SSLeay
CORE_DEPS= p5-CSS-Squish>=0.06:${PORTSDIR}/textproc/p5-CSS-Squish \
p5-Cache-Simple-TimedExpiry>0:${PORTSDIR}/devel/p5-Cache-Simple-TimedExpiry \
p5-Class-Accessor>=0.34:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Class-ReturnValue>=0.40:${PORTSDIR}/devel/p5-Class-ReturnValue \
p5-DBI>=1.37:${PORTSDIR}/databases/p5-DBI \
p5-DBIx-SearchBuilder>=1.59:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
p5-DateTime-Locale>=0.40:${PORTSDIR}/devel/p5-DateTime-Locale \
p5-DateTime>=0.44:${PORTSDIR}/devel/p5-DateTime \
p5-Devel-GlobalDestruction>0:${PORTSDIR}/devel/p5-Devel-GlobalDestruction \
p5-Devel-StackTrace>=1.19:${PORTSDIR}/devel/p5-Devel-StackTrace \
p5-Email-Address>0:${PORTSDIR}/mail/p5-Email-Address \
p5-Encode>=2.39:${PORTSDIR}/converters/p5-Encode \
p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \
p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser \
p5-HTML-Quoted>0:${PORTSDIR}/textproc/p5-HTML-Quoted \
p5-HTML-Scrubber>=0.08:${PORTSDIR}/www/p5-HTML-Scrubber \
p5-List-MoreUtils>0:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Locale-Maketext-Fuzzy>0:${PORTSDIR}/devel/p5-Locale-Maketext-Fuzzy \
p5-Locale-Maketext-Lexicon>=0.32:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
p5-Locale-Maketext>=1.06:${PORTSDIR}/devel/p5-Locale-Maketext \
p5-Log-Dispatch>=2.23:${PORTSDIR}/devel/p5-Log-Dispatch \
p5-MIME-Tools>=5.425,2:${PORTSDIR}/mail/p5-MIME-Tools \
p5-Mail-Tools>=1.57:${PORTSDIR}/mail/p5-Mail-Tools \
p5-Module-Versions-Report>=1.05:${PORTSDIR}/devel/p5-Module-Versions-Report \
p5-Net-CIDR>0:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
p5-Regexp-Common-net-CIDR>0:${PORTSDIR}/textproc/p5-Regexp-Common-net-CIDR \
p5-Regexp-Common>0:${PORTSDIR}/textproc/p5-Regexp-Common \
p5-Regexp-IPv6>0:${PORTSDIR}/textproc/p5-Regexp-IPv6 \
p5-Text-Password-Pronounceable>0:${PORTSDIR}/security/p5-Text-Password-Pronounceable \
p5-Text-Quoted>=2.02:${PORTSDIR}/textproc/p5-Text-Quoted \
p5-Text-Template>=1.44:${PORTSDIR}/textproc/p5-Text-Template \
p5-Text-Wrapper>0:${PORTSDIR}/textproc/p5-Text-Wrapper \
p5-Time-modules>0:${PORTSDIR}/devel/p5-Time-modules \
p5-Tree-Simple>=1.04:${PORTSDIR}/devel/p5-Tree-Simple \
p5-UNIVERSAL-require>0:${PORTSDIR}/devel/p5-UNIVERSAL-require
CORE_DEPS= p5-Encode>=2.21:${PORTSDIR}/converters/p5-Encode \
p5-Class-ReturnValue>=0.55:${PORTSDIR}/devel/p5-Class-ReturnValue \
p5-Text-Quoted>=2.05:${PORTSDIR}/textproc/p5-Text-Quoted \
p5-CSS-Squish>=0.07:${PORTSDIR}/textproc/p5-CSS-Squish \
p5-Module-Versions-Report>=1.05:${PORTSDIR}/devel/p5-Module-Versions-Report \
p5-Devel-StackTrace>=1.19:${PORTSDIR}/devel/p5-Devel-StackTrace \
p5-Digest-MD5>=2.27:${PORTSDIR}/security/p5-Digest-MD5 \
p5-File-Temp>=0.18:${PORTSDIR}/devel/p5-File-Temp \
p5-Tree-Simple>=1.04:${PORTSDIR}/devel/p5-Tree-Simple \
p5-HTML-Scrubber>=0.08:${PORTSDIR}/www/p5-HTML-Scrubber \
p5-DBIx-SearchBuilder>=1.54:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
p5-Mail-Tools>=1.57:${PORTSDIR}/mail/p5-Mail-Tools \
p5-File-ShareDir>=1.00:${PORTSDIR}/devel/p5-File-ShareDir \
p5-Cache-Simple-TimedExpiry>=0.27:${PORTSDIR}/devel/p5-Cache-Simple-TimedExpiry \
p5-Text-Template>=1.44:${PORTSDIR}/textproc/p5-Text-Template \
p5-Log-Dispatch>=2.0:${PORTSDIR}/devel/p5-Log-Dispatch \
p5-Locale-Maketext>=1.06:${PORTSDIR}/devel/p5-Locale-Maketext \
p5-Locale-Maketext-Lexicon>=0.32:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
p5-MIME-Tools>=5.425:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/Email/Address.pm:${PORTSDIR}/mail/p5-Email-Address \
${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules \
${SITE_PERL}/Calendar/Simple.pm:${PORTSDIR}/devel/p5-Calendar-Simple \
${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \
${SITE_PERL}/Locale/Maketext/Fuzzy.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Fuzzy \
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require \
${SITE_PERL}/Test/Warn.pm:${PORTSDIR}/devel/p5-Test-Warn \
p5-Parse-BooleanLogic>=0.09:${PORTSDIR}/textproc/p5-Parse-BooleanLogic
MASON_DEPS= p5-Apache-Session>=1.53:${PORTSDIR}/www/p5-Apache-Session \
p5-HTML-Mason>=1.43:${PORTSDIR}/www/p5-HTML-Mason \
p5-IPC-Run3>0:${PORTSDIR}/devel/p5-IPC-Run3 \
p5-JSON>0:${PORTSDIR}/converters/p5-JSON \
p5-Text-WikiFormat>=0.76:${PORTSDIR}/textproc/p5-Text-WikiFormat \
p5-XML-RSS>=1.05:${PORTSDIR}/textproc/p5-XML-RSS
DASHBOARD_DEPS= p5-MIME-Types>=1.25:${PORTSDIR}/mail/p5-MIME-Types \
p5-HTML-RewriteAttributes>=0.02:${PORTSDIR}/textproc/p5-HTML-RewriteAttributes
PSGI_DEPS= p5-CGI-Emulate-PSGI>0:${PORTSDIR}/www/p5-CGI-Emulate-PSGI \
p5-CGI-PSGI>=0.12:${PORTSDIR}/www/p5-CGI-PSGI \
p5-HTML-Mason-PSGIHandler>=0.52:${PORTSDIR}/www/p5-HTML-Mason-PSGIHandler \
p5-Plack>=0.9971:${PORTSDIR}/www/p5-Plack \
p5-Starlet>0:${PORTSDIR}/www/p5-Starlet
DEV_DEPS= ${SITE_PERL}/Log/Dispatch/Perl.pm:${PORTSDIR}/devel/p5-Log-Dispatch-Perl \
${SITE_PERL}/Test/Deep.pm:${PORTSDIR}/devel/p5-Test-Deep \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Module/Refresh>=0.03:${PORTSDIR}/devel/p5-Module-Refresh \
${SITE_PERL}/String/ShellQuote.pm:${PORTSDIR}/devel/p5-String-ShellQuote \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize \
${SITE_PERL}/IPC/Run3.pm:${PORTSDIR}/devel/p5-IPC-Run3 \
${SITE_PERL}/${PERL_ARCH}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
${SITE_PERL}/Test/Expect.pm>=0.31:${PORTSDIR}/devel/p5-Test-Expect \
${SITE_PERL}/Test/WWW/Mechanize.pm>=1.04:${PORTSDIR}/devel/p5-Test-WWW-Mechanize \
${SITE_PERL}/Test/HTTP/Server/Simple.pm>=0.09:${PORTSDIR}/www/p5-Test-HTTP-Server-Simple \
${SITE_PERL}/Test/Simple.pm>=0.77:${PORTSDIR}/devel/p5-Test-Simple \
${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/Test/Warn.pm:${PORTSDIR}/devel/p5-Test-Warn \
${SITE_PERL}/Test/MockTime.pm:${PORTSDIR}/devel/p5-Test-MockTime \
${SITE_PERL}/HTTP/Server/Simple/Mason.pm:${PORTSDIR}/www/p5-HTTP-Server-Simple-Mason
MAILGATE_DEPS= p5-HTML-Format>0:${PORTSDIR}/textproc/p5-HTML-Format \
p5-HTML-Tree>0:${PORTSDIR}/www/p5-HTML-Tree \
p5-libwww>0:${PORTSDIR}/www/p5-libwww
CLI_DEPS= p5-HTTP-Message>0:${PORTSDIR}/www/p5-HTTP-Message \
p5-libwww>0:${PORTSDIR}/www/p5-libwww \
p5-Term-ReadKey>0:${PORTSDIR}/devel/p5-Term-ReadKey
GD_DEPS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil \
${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph
# ports to add:
# Test::Email
# Test::Builder >= 0.90
# Plack::Middleware::Test::StashWarnings
DEV_DEPS= p5-Email-Abstract>0:${PORTSDIR}/mail/p5-Email-Abstract \
p5-HTML-Form>0:${PORTSDIR}/www/p5-HTML-Form \
p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser \
p5-Log-Dispatch-Perl>0:${PORTSDIR}/devel/p5-Log-Dispatch-Perl \
p5-Module-Refresh>=0.03:${PORTSDIR}/devel/p5-Module-Refresh \
p5-String-ShellQuote>0:${PORTSDIR}/textproc/p5-String-ShellQuote \
p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Expect>=0.31:${PORTSDIR}/devel/p5-Test-Expect \
p5-Test-LongString>0:${PORTSDIR}/devel/p5-Test-LongString \
p5-Test-MockTime>0:${PORTSDIR}/devel/p5-Test-MockTime \
p5-Test-WWW-Mechanize-PSGI>0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-PSGI \
p5-Test-WWW-Mechanize>=1.30:${PORTSDIR}/devel/p5-Test-WWW-Mechanize \
p5-Test-Warn>0:${PORTSDIR}devel/p5-Test-Warn \
p5-WWW-Mechanize>=1.52:${PORTSDIR}/www/p5-WWW-Mechanize \
p5-XML-Simple>0:${PORTSDIR}/textproc/p5-XML-Simple
GPG_DEPS= ${SITE_PERL}/${PERL_ARCH}/PerlIO/eol.pm:${PORTSDIR}/devel/p5-PerlIO-eol \
${SITE_PERL}/GnuPG/Interface.pm:${PORTSDIR}/security/p5-GnuPG-Interface
FASTCGI_DEPS= p5-FCGI-ProcManager>0:${PORTSDIR}/www/p5-FCGI-ProcManager \
p5-FCGI>0:${PORTSDIR}/www/p5-FCGI
GRAPHVIZ_DEPS= ${SITE_PERL}/IPC/Run.pm:${PORTSDIR}/devel/p5-IPC-Run \
${SITE_PERL}/IPC/Run/SafeHandles.pm:${PORTSDIR}/devel/p5-IPC-Run-SafeHandles \
${SITE_PERL}/GraphViz.pm:${PORTSDIR}/graphics/p5-GraphViz
MODPERL2_DEPS= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2 \
p5-Apache-DBI-mp2>0:${PORTSDIR}/www/p5-Apache-DBI-mp2
ICAL_DEPS= ${SITE_PERL}/Data/ICal.pm:${PORTSDIR}/deskutils/p5-Data-ICal
MYSQL_DEPS= p5-DBD-mysql>=2.1018:${PORTSDIR}/databases/p5-DBD-mysql
MAILGATE_DEPS= ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
${SITE_PERL}/HTML/FormatText.pm:${PORTSDIR}/textproc/p5-HTML-Format \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
ORACLE_DEPS= p5-DBD-Oracle>0:${PORTSDIR}/databases/p5-DBD-Oracle
MASON_DEPS= p5-Storable>=2.08:${PORTSDIR}/devel/p5-Storable \
p5-CSS-Squish>=0.07:${PORTSDIR}/textproc/p5-CSS-Squish \
p5-Text-WikiFormat>=0.79:${PORTSDIR}/textproc/p5-Text-WikiFormat \
p5-Digest-MD5>=2.27:${PORTSDIR}/security/p5-Digest-MD5 \
p5-Errno>=1.10:${PORTSDIR}/devel/p5-Errno \
p5-Apache-Session>=1.53:${PORTSDIR}/www/p5-Apache-Session \
p5-Devel-StackTrace>=1.19:${PORTSDIR}/devel/p5-Devel-StackTrace \
p5-CGI.pm>=1.20:${PORTSDIR}/www/p5-CGI.pm \
p5-XML-RSS>=1.05:${PORTSDIR}/textproc/p5-XML-RSS \
p5-HTML-Mason>=1.36:${PORTSDIR}/www/p5-HTML-Mason
POSTGRESQL_DEPS= p5-DBD-Pg>=1.43:${PORTSDIR}/databases/p5-DBD-Pg
SMTP_DEPS= p5-Net>=1.22:${PORTSDIR}/net/p5-Net
SQLITE_DEPS= p5-DBD-SQLite>=1.00:${PORTSDIR}/databases/p5-DBD-SQLite
STANDALONE_DEPS= p5-Net-Server>=0.97:${PORTSDIR}/net/p5-Net-Server \
p5-HTTP-Server-Simple>=0.34:${PORTSDIR}/www/p5-HTTP-Server-Simple \
p5-HTTP-Server-Simple-Mason>=0.09:${PORTSDIR}/www/p5-HTTP-Server-Simple-Mason
GPG_DEPS= p5-GnuPG-Interface>0:${PORTSDIR}/security/p5-GnuPG-Interface \
p5-PerlIO-eol>0:${PORTSDIR}/devel/p5-PerlIO-eol
ICAL_DEPS= p5-Data-ICal>0:${PORTSDIR}/deskutils/p5-Data-ICal
SMTP_DEPS= ## -- only needs perl core modules
DASHBOARDS_DEPS= p5-HTML-RewriteAttributes>=0.04:${PORTSDIR}/textproc/p5-HTML-RewriteAttributes \
p5-MIME-Types>0:${PORTSDIR}/mail/p5-MIME-Types
GRAPHVIZ_DEPS= p5-GraphViz>0:${PORTSDIR}/graphics/p5-GraphViz \
p5-IPC-Run>0:${PORTSDIR}/devel/p5-IPC-Run
GD_DEPS= p5-GD>0:${PORTSDIR}/graphics/p5-GD \
p5-GD-Graph>0:${PORTSDIR}/graphics/p5-GD-Graph \
p5-GD-TextUtil>0:${PORTSDIR}/graphics/p5-GD-TextUtil
USERLOGO_DEPS= p5-Convert-Color>0:${PORTSDIR}/graphics/p5-Convert-Color

View File

@ -1,2 +1,2 @@
SHA256 (rt-3.8.10.tar.gz) = d121ec6463ce919cef74c3ce3ab7e7213cb235726d05abd26c717a7eab6c1448
SIZE (rt-3.8.10.tar.gz) = 5642566
SHA256 (rt-4.0.2.tar.gz) = b0e7fcd1064ad2c5a6934a10aa65fbf6e77df0581d579660121934e15b346713
SIZE (rt-4.0.2.tar.gz) = 5939320

View File

@ -1,14 +1,20 @@
--- Makefile.in 2008-12-27 01:07:12.000000000 -0500
+++ /home/pgollucci/Makefile.in 2008-12-27 01:06:35.000000000 -0500
@@ -419,10 +419,7 @@
--- Makefile.in.orig 2011-10-07 09:19:16.000000000 +0200
+++ Makefile.in 2011-10-07 09:18:51.000000000 +0200
@@ -404,16 +404,7 @@
# {{{ doc-install
doc-install:
-@COMMENT_INPLACE_LAYOUT@ # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir
-@COMMENT_INPLACE_LAYOUT@ -[ -f $(DESTDIR)$(RT_DOC_PATH) ] && rm $(DESTDIR)$(RT_DOC_PATH)
-@COMMENT_INPLACE_LAYOUT@ [ -d $(DESTDIR)$(RT_DOC_PATH) ] || $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_DOC_PATH)
-@COMMENT_INPLACE_LAYOUT@ -( cd docs && find . -type d -print ) | while read dir ; do \
-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d "$(DESTDIR)$(RT_DOC_PATH)/$$dir" ; \
-@COMMENT_INPLACE_LAYOUT@ done
-@COMMENT_INPLACE_LAYOUT@ -( cd docs && find . -type f -print ) | while read file ; do \
-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "docs/$$file" "$(DESTDIR)$(RT_DOC_PATH)/$$file" ; \
-@COMMENT_INPLACE_LAYOUT@ done
-@COMMENT_INPLACE_LAYOUT@ -$(INSTALL) -m 0644 ./README $(DESTDIR)$(RT_DOC_PATH)/
+@COMMENT_INPLACE_LAYOUT@ /usr/bin/true
# }}}
# {{{ etc-install
etc-install:

View File

@ -1,5 +1,5 @@
--- Makefile.in.orig 2010-05-05 13:09:21.000000000 -0700
+++ Makefile.in 2010-08-05 13:11:47.000000000 -0700
--- Makefile.in.orig 2011-08-12 16:41:09.000000000 +0200
+++ Makefile.in 2011-10-04 17:54:32.000000000 +0200
@@ -58,7 +58,7 @@
CONFIG_FILE_PATH = @CONFIG_FILE_PATH_R@
@ -10,49 +10,38 @@
RT_VERSION_MAJOR = @RT_VERSION_MAJOR@
@@ -108,7 +108,7 @@
RT_DOC_PATH = @RT_DOC_PATH_R@
RT_FONT_PATH = @RT_FONT_PATH_R@
RT_LEXICON_PATH = @RT_LEXICON_PATH_R@
RT_LOCAL_PATH = @RT_LOCAL_PATH_R@
-LOCAL_PLUGIN_PATH = @RT_LOCAL_PATH_R@/plugins
+LOCAL_PLUGIN_PATH = @RT_LOCAL_PATH_R@/share/rt38/plugins
+LOCAL_PLUGIN_PATH = @RT_LOCAL_PATH_R@/share/rt40/plugins
LOCAL_ETC_PATH = @LOCAL_ETC_PATH_R@
LOCAL_LIB_PATH = @LOCAL_LIB_PATH_R@
LOCAL_LEXICON_PATH = @LOCAL_LEXICON_PATH_R@
@@ -286,9 +286,9 @@
@echo " $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-password --action upgrade"
@@ -265,16 +265,13 @@
depends: fixdeps
fixdeps:
- $(PERL) ./sbin/rt-test-dependencies --verbose --install --with-$(DB_TYPE) $(my_with_web_handlers)
+ $(PERL) ./sbin/rt-test-dependencies --verbose --with-$(DB_TYPE) $(my_with_web_handlers)
-upgrade: testdeps config-install dirs files-install fixperms upgrade-instruct
+upgrade: config-install dirs files-install fixperms upgrade-instruct
#}}}
-upgrade-noclobber: config-install dirs libs-install html-install bin-install local-install doc-install font-install fixperms
+upgrade-noclobber: config-install dirs libs-install html-install bin-install local-install doc-install font-install
# {{{ dependencies
@@ -306,13 +306,6 @@
# {{{ fixperms
fixperms:
- # Make the libraries readable
- chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_PATH)
# Make the libraries readable
chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_PATH)
- chown -R $(LIBS_OWNER) $(DESTDIR)$(RT_LIB_PATH)
- chgrp -R $(LIBS_GROUP) $(DESTDIR)$(RT_LIB_PATH)
- chmod -R u+rwX,go-w,go+rX $(DESTDIR)$(RT_LIB_PATH)
-
-
chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH)
@@ -337,7 +334,7 @@
chmod 0755 $(DESTDIR)$(RT_ETC_PATH)
@@ -367,9 +360,9 @@
$(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_LEXICON_PATH)
# }}}
install: testdeps config-install dirs files-install fixperms instruct
-install: testdeps config-install dirs files-install fixperms instruct
+install: config-install dirs files-install fixperms instruct
-files-install: libs-install etc-install config-install bin-install sbin-install html-install local-install doc-install font-install
+files-install: libs-install etc-install config-install bin-install sbin-install html-install doc-install font-install
-files-install: libs-install etc-install config-install bin-install sbin-install html-install local-install doc-install font-install po-install
+files-install: libs-install etc-install config-install bin-install sbin-install html-install doc-install font-install po-install
config-install:
@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -o $(BIN_OWNER) -g $(RTGROUP) -d $(DESTDIR)$(CONFIG_FILE_PATH)

View File

@ -1,11 +1,14 @@
--- ./aclocal.m4.orig 2008-08-21 05:16:36.000000000 +0000
+++ ./aclocal.m4 2008-08-21 05:16:44.000000000 +0000
$FreeBSD$
--- aclocal.m4.orig
+++ aclocal.m4
@@ -79,7 +79,7 @@
s/^#.*$//m;
s/^\s+//gim;
s/\s+$/\n/gim;
- s/\+$/\/rt3/gim;
+ s/\+$/\/rt38/gim;
+ s/\+$/\/rt40/gim;
# m4 will not let us just use $1, we need @S|@1
s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;

View File

@ -1,6 +1,6 @@
--- config.layout.orig 2010-08-22 04:48:20.000000000 +0200
+++ config.layout 2010-08-22 04:50:50.000000000 +0200
@@ -91,27 +91,28 @@
--- config.layout.bak 2011-09-13 10:04:25.217275668 +0100
+++ config.layout 2011-09-13 10:24:01.478295836 +0100
@@ -97,14 +97,14 @@
</Layout>
<Layout FreeBSD>
@ -16,10 +16,8 @@
+ libdir: %%SITE_PERL%%
datadir: ${prefix}/share+
htmldir: ${datadir}/html
+ sharedir: ${prefix}/share+
fontdir: ${datadir}/fonts
manualdir: ${prefix}/share/doc+
logfiledir: /var/log
lexdir: ${datadir}/po
@@ -114,12 +114,12 @@
localstatedir: /var/run+
masonstatedir: ${localstatedir}/mason_data
sessionstatedir: ${localstatedir}/session_data
@ -28,11 +26,13 @@
- customhtmldir: ${customdir}/local/html
- customlexdir: ${customdir}/local/po
- customlibdir: ${customdir}/local/lib
- customplugindir: ${customdir}/local/plugins
+ customdir: ${prefix}
+ custometcdir: ${datadir}/etc
+ customhtmldir: ${customdir}/www+
+ customlexdir: ${datadir}/po
+ customlibdir: ${datadir}/lib
+ customplugindir: ${datadir}/plugins
</Layout>
<Layout Win32>

View File

@ -1,182 +0,0 @@
--- ./etc/schema.mysql-4.1.orig 2011-04-18 01:15:20.000000000 +0200
+++ ./etc/schema.mysql-4.1 2011-04-18 01:15:41.000000000 +0200
@@ -14,7 +14,7 @@
Creator integer NOT NULL DEFAULT 0 ,
Created DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX Attachments2 ON Attachments (TransactionId) ;
CREATE INDEX Attachments3 ON Attachments (Parent, TransactionId) ;
@@ -36,7 +36,7 @@
LastUpdated DATETIME NULL ,
Disabled int2 NOT NULL DEFAULT 0 ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE UNIQUE INDEX Queues1 ON Queues (Name) ;
CREATE INDEX Queues2 ON Queues (Disabled) ;
@@ -57,7 +57,7 @@
Creator integer NOT NULL DEFAULT 0 ,
Created DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET ascii;
+) ENGINE=InnoDB CHARACTER SET ascii;
CREATE INDEX Links2 ON Links (Base, Type) ;
CREATE INDEX Links3 ON Links (Target, Type) ;
@@ -73,7 +73,7 @@
ObjectId integer, # foreign key to Users or Groups, depending
Disabled int2 NOT NULL DEFAULT 0 ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET ascii;
+) ENGINE=InnoDB CHARACTER SET ascii;
CREATE INDEX Principals2 ON Principals (ObjectId);
@@ -89,7 +89,7 @@
Type varchar(64) CHARACTER SET ascii NULL,
Instance integer,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX Groups1 ON Groups (Domain,Instance,Type,id);
CREATE INDEX Groups2 On Groups (Type, Instance);
@@ -111,7 +111,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
# }}}
@@ -133,7 +133,7 @@
Creator integer NOT NULL DEFAULT 0 ,
Created DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
@@ -159,7 +159,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
# }}}
@@ -175,7 +175,7 @@
DelegatedBy integer NOT NULL default 0, #foreign key to principals with a userid
DelegatedFrom integer NOT NULL default 0, #foreign key to ACL
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX ACL1 on ACL(RightName, ObjectType, ObjectId,PrincipalType,PrincipalId);
@@ -188,7 +188,7 @@
GroupId integer NOT NULL DEFAULT 0,
MemberId integer NOT NULL DEFAULT 0, #Foreign key to Principals
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE UNIQUE INDEX GroupMembers1 on GroupMembers (GroupId, MemberId);
@@ -210,7 +210,7 @@
# group members recursively.
# Also, this allows us to have the ACL system elide members of disabled groups
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX DisGrouMem on CachedGroupMembers (GroupId,MemberId,Disabled);
CREATE INDEX CachedGroupMembers3 on CachedGroupMembers (MemberId, ImmediateParentId);
@@ -256,7 +256,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE UNIQUE INDEX Users1 ON Users (Name) ;
@@ -296,7 +296,7 @@
Created DATETIME NULL ,
Disabled int2 NOT NULL DEFAULT 0 ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX Tickets1 ON Tickets (Queue, Status) ;
CREATE INDEX Tickets2 ON Tickets (Owner) ;
@@ -317,7 +317,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
# }}}
@@ -337,7 +337,7 @@
Creator integer NOT NULL DEFAULT 0 ,
Created DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
# }}}
@@ -361,7 +361,7 @@
LastUpdated DATETIME NULL ,
Disabled int2 NOT NULL DEFAULT 0 , # New -- whether the value was current
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (Content);
CREATE INDEX ObjectCustomFieldValues2 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId);
@@ -387,7 +387,7 @@
LastUpdated DATETIME NULL ,
Disabled int2 NOT NULL DEFAULT 0 ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
# }}}
@@ -404,7 +404,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
# }}}
@@ -422,7 +422,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
@@ -444,7 +444,7 @@
LastUpdatedBy integer NOT NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
PRIMARY KEY (id)
-) TYPE=InnoDB CHARACTER SET utf8;
+) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX Attributes1 on Attributes(Name);
CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);

View File

@ -1,14 +0,0 @@
--- ./lib/RT.pm.in.orig 2008-08-18 11:14:11.000000000 -0400
+++ ./lib/RT.pm.in 2008-12-28 23:13:17.000000000 -0500
@@ -70,8 +70,10 @@
our $LocalEtcPath = '@LOCAL_ETC_PATH@';
our $LocalLibPath = '@LOCAL_LIB_PATH@';
our $LocalLexiconPath = '@LOCAL_LEXICON_PATH@';
-our $LocalPluginPath = $LocalPath."/plugins";
+our $LocalPluginPath = $LocalPath."/share/rt38/plugins";
+## For FreeBSD p5-RT* ports
+our $LocalHtmlPath = '@MASON_HTML_PATH@';
# $MasonComponentRoot is where your rt instance keeps its mason html files

View File

@ -15,7 +15,7 @@ To complete the installation of this port, please follow these steps:
If you're upgrading RT then it worth to read UPGRADING document at this
moment. Some extension you're using may have been integrated into
core. It's recommended to use new clean directory when you're
upgrading to new major release (for example from 3.6.x to 3.8.x).
upgrading to new major release (for example from 3.8.x to 4.0.x).
RT does not work with perl taint mode (-T) you must disable it.
Note, some other ports like devel/bugzilla have you add this to your

View File

@ -1,20 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
GROUP=rt
if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
if pw groupdel ${GROUP}; then
echo "Removed group \"${GROUP}\"."
else
echo "Removing group \"${GROUP}\" failed..."
exit 1
fi
fi
exit 0

View File

@ -1,21 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
GROUP=rt
GROUPID=180
if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
if pw groupadd ${GROUP} -g ${GROUPID}; then
echo "Added group \"${GROUP}\"."
else
echo "Adding group \"${GROUP}\" failed..."
exit 1
fi
fi
exit 0

File diff suppressed because it is too large Load Diff