mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Step two of reconnecting www/rt42 with its history: svn cp ww/rt40
www/rt42 and reapply the changes. Reported by: bsam
This commit is contained in:
parent
55c34d0874
commit
c015469ec6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335149
243
www/rt42/Makefile
Normal file
243
www/rt42/Makefile
Normal file
@ -0,0 +1,243 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rt
|
||||
DISTVERSION= 4.2.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
|
||||
PKGNAMESUFFIX= 42
|
||||
|
||||
MAINTAINER= matthew@FreeBSD.org
|
||||
COMMENT= RT is an industrial-grade ticketing system written in Perl
|
||||
|
||||
CONFLICTS= rt-3.8* rt40-4.0* brlcad-[0-9]*
|
||||
NEED_ROOT= yes
|
||||
|
||||
# See doc/web_deployment.pod for info on the choices of webserver /
|
||||
# webapp combinations. Note: if using apache, apache-2.2+ is
|
||||
# recommended. For deployment with nginx, use the SPAWN_FCGI method
|
||||
# or the builtin webserver with a FCGI handler.
|
||||
#
|
||||
# The builtin standalone PSGI based webserver is always available, no
|
||||
# mater what choice of web deployment platform, or none, that you
|
||||
# make. Best Practical state that this is really only suitable for
|
||||
# development usage, although I have heard reports of people using it
|
||||
# successfully for medium sized deployments. If you only want the
|
||||
# builtin webserver, simply deselect all of the web options.
|
||||
#
|
||||
# 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_DEFINE= DEV GD GPG GRAPHVIZ SMIME
|
||||
OPTIONS_SINGLE= DB
|
||||
OPTIONS_SINGLE_DB= MYSQL ORACLE PGSQL SQLITE
|
||||
OPTIONS_RADIO= WEB
|
||||
OPTIONS_RADIO_WEB= AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI
|
||||
|
||||
OPTIONS_DEFAULT= AP_MODPERL GD GPG MYSQL
|
||||
|
||||
AP_MODFASTCGI_DESC= Deploy with apache and mod_fastcgi
|
||||
AP_MODPERL_DESC= Deploy with apache and mod_perl
|
||||
DEV_DESC= Configure for Developers
|
||||
GD_DESC= Enable GD Graphs and Charts
|
||||
GPG_DESC= Enable GnuPG support
|
||||
SMIME_DESC= Enable Secure MIME support
|
||||
LIGHTTPD_DESC= Deploy with lighttpd and mod_fastcgi
|
||||
SPAWN_FCGI_DESC= Deploy with spawn_fcgi
|
||||
|
||||
USERS?= www
|
||||
GROUPS?= rt www
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/jsmin:${PORTSDIR}/devel/jsmin
|
||||
|
||||
.include "${.CURDIR}/Makefile.cpan"
|
||||
|
||||
BUILD_DEPENDS+= ${CLI_DEPS} \
|
||||
${CORE_DEPS} \
|
||||
${DASHBOARDS_DEPS} \
|
||||
${ICAL_DEPS} \
|
||||
${MAILGATE_DEPS} \
|
||||
${USERLOGO_DEPS}
|
||||
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USES+= perl5
|
||||
USE_AUTOTOOLS= autoconf
|
||||
|
||||
DATADIR= ${LOCALBASE}/share/${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !${PORT_OPTIONS:MDOCS}
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-noportdocs-Makefile.in
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MAP_MODPERL}
|
||||
BUILD_DEPENDS+= ${MODPERL2_DEPS}
|
||||
RUN_DEPENDS+= ${MODPERL2_DEPS}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MAP_MODFASTCGI}
|
||||
USE_APACHE_RUN= 22+
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
|
||||
RUN_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
|
||||
${FASTCGI_DEPS}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLIGHTTPD}
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSPAWN_FCGI}
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/spawn-fcgi:${PORTSDIR}/www/spawn-fcgi
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/spawn-fcgi:${PORTSDIR}/www/spawn-fcgi
|
||||
.endif
|
||||
|
||||
.if !${PORT_OPTIONS:MMYSQL} && !${PORT_OPTIONS:MPGSQL} && \
|
||||
! ${PORT_OPTIONS:MORACLE} && !${PORT_OPTIONS:MSQLITE}
|
||||
IGNORE= please select one of MYSQL, PGSQL, ORACLE or SQLITE
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
DB_TYPE= mysql
|
||||
USE_MYSQL= yes
|
||||
BUILD_DEPENDS+= ${MYSQL_DEPS}
|
||||
RUN_DEPENDS+= ${MYSQL_DEPS}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPGSQL}
|
||||
DB_TYPE= Pg
|
||||
USE_PGSQL= yes
|
||||
BUILD_DEPENDS+= ${PGSQL_DEPS}
|
||||
RUN_DEPENDS+= ${PGSQL_DEPS}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MORACLE}
|
||||
DB_TYPE= Oracle
|
||||
BUILD_DEPENDS+= ${ORACLE_DEPS}
|
||||
RUN_DEPENDS+= ${ORACLE_DEPS}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSQLITE}
|
||||
DB_TYPE= SQLite
|
||||
USE_SQLITE= yes
|
||||
BUILD_DEPENDS+= ${SQLITE_DEPS}
|
||||
RUN_DEPENDS+= ${SQLITE_DEPS}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEV}
|
||||
BUILD_DEPENDS+= ${DEVELOPER_DEPS}
|
||||
RUN_DEPENDS+= ${DEVELOPER_DEPS}
|
||||
CONFIGURE_ARGS+= --enable-developer
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-developer
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSMIME}
|
||||
BUILD_DEPENDS+= ${SMIME_DEPS}
|
||||
RUN_DEPENDS+= ${SMIME_DEPS}
|
||||
CONFIGURE_ARGS+= --enable-smime
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-smime
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGRAPHVIZ}
|
||||
BUILD_DEPENDS+= ${GRAPHVIZ_DEPS}
|
||||
RUN_DEPENDS+= ${GRAPHVIZ_DEPS}
|
||||
CONFIGURE_ARGS+= --enable-graphviz
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-graphviz
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGPG}
|
||||
BUILD_DEPENDS+= ${GPG_DEPS}
|
||||
RUN_DEPENDS+= ${GPG_DEPS}
|
||||
CONFIGURE_ARGS+= --enable-gpg
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gpg
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGD}
|
||||
BUILD_DEPENDS+= ${GD_DEPS}
|
||||
RUN_DEPENDS+= ${GD_DEPS}
|
||||
CONFIGURE_ARGS+= --enable-gd
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gd
|
||||
.endif
|
||||
|
||||
RT_ETC_PATH?= ${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX}
|
||||
RT_LAYOUT= FreeBSD
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
DB_DBA_USER?= root
|
||||
DB_DBA_PASSWORD?=
|
||||
DB_USER?= rt_user
|
||||
DB_PASSWORD?= rt_pass
|
||||
DB_HOST?= localhost
|
||||
DB_DATABASE?= rt4
|
||||
|
||||
WEB_USER?= ${WWWOWN}
|
||||
WEB_GROUP?= ${WWWGRP}
|
||||
LIBS_GROUP?= wheel
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
CONFIGURE_ARGS+= --enable-layout=${RT_LAYOUT} \
|
||||
--with-web-user=${WEB_USER} \
|
||||
--with-web-group=${WEB_GROUP} \
|
||||
--with-libs-group=${LIBS_GROUP} \
|
||||
--with-db-host=${DB_HOST} \
|
||||
--with-db-port=${DB_PORT} \
|
||||
--with-db-type=${DB_TYPE} \
|
||||
--with-db-rt-user=${DB_USER} \
|
||||
--with-db-rt-pass=${DB_PASSWORD} \
|
||||
--with-db-database=${DB_DATABASE} \
|
||||
--with-db-dba=${DB_DBA_USER}
|
||||
|
||||
CONFIGURE_ENV+= PERL=${LOCALBASE}/bin/perl
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= RT_ETC_PATH=${RT_ETC_PATH}
|
||||
|
||||
run-autotools: run-autotools-autoconf
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO} ""
|
||||
@${ECHO} "Additional database related settings you can use:"
|
||||
@${ECHO} " DB_HOST=hostname The database host (localhost)"
|
||||
@${ECHO} " DB_PORT=port The database port"
|
||||
@${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"
|
||||
@${ECHO} " DB_USER=username Name of database user for RT (rt_user)"
|
||||
@${ECHO} " DB_PASSWORD=password Name of database password for RT (rt_pass)"
|
||||
.if ${PORT_OPTIONS:MSQLITE}
|
||||
@${ECHO} ""
|
||||
@${ECHO} "SQLITE is not recommended for production use"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${RM} -f ${WRKSRC}/lib/RT.pm.in.orig
|
||||
@${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}/lib/RT/Interface/CLI.pm && \
|
||||
${RM} ${WRKSRC}/lib/RT/Interface/CLI.pm.bak
|
||||
|
||||
pre-install:
|
||||
@${RM} -f ${WRKSRC}/lib/RT.pm.in
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/upgrade
|
||||
(cd ${WRKSRC}/etc && \
|
||||
${COPYTREE_SHARE} upgrade ${STAGEDIR}${DOCSDIR} "! -name *\.in")
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
298
www/rt42/Makefile.cpan
Normal file
298
www/rt42/Makefile.cpan
Normal file
@ -0,0 +1,298 @@
|
||||
###############################################################################
|
||||
### --- Core_DEPS ---
|
||||
### Apache::Session 1.53
|
||||
### CGI 3.38 perl std
|
||||
### CGI::Cookie 1.20 perl std
|
||||
### CGI::Emulate::PSGI
|
||||
### CGI::PSGI 0.12
|
||||
### CSS::Squish 0.06
|
||||
### Class::Accessor 0.34
|
||||
### Crypt::Eksblowfish
|
||||
### DBI 1.37
|
||||
### DBIx::SearchBuilder 1.65
|
||||
### Data::GUID
|
||||
### Date::Extract 0.02
|
||||
### Date::Manip
|
||||
### DateTime 0.44
|
||||
### DateTime::Format::Natural 0.67
|
||||
### DateTime::Locale 0.40
|
||||
### Devel::GlobalDestruction
|
||||
### Devel::StackTrace 1.19
|
||||
### Digest::MD5 2.27 perl std
|
||||
### Digest::SHA perl std
|
||||
### Digest::base perl std
|
||||
### Email::Address 1.897
|
||||
### Email::Address::List
|
||||
### Encode 2.39 perl std
|
||||
### Errno perl std
|
||||
### File::Glob perl std
|
||||
### File::ShareDir
|
||||
### File::Spec 0.8 perl std
|
||||
### File::Temp 0.19 perl std
|
||||
### HTML::Entities
|
||||
### HTML::FormatText::WithLinks 0.14
|
||||
### HTML::FormatText::WithLinks::AndTables
|
||||
### HTML::Mason 1.43
|
||||
### HTML::Mason::PSGIHandler 0.52
|
||||
### HTML::Quoted
|
||||
### HTML::RewriteAttributes 0.05
|
||||
### HTML::Scrubber 0.08
|
||||
### HTTP::Message 6.0
|
||||
### IPC::Run3
|
||||
### JSON
|
||||
### LWP::Simple
|
||||
### List::MoreUtils
|
||||
### Locale::Maketext 1.06 perl std
|
||||
### Locale::Maketext::Fuzzy 0.11
|
||||
### Locale::Maketext::Lexicon 0.32
|
||||
### Log::Dispatch 2.30
|
||||
### MIME::Entity 5.504
|
||||
### Mail::Header 2.12
|
||||
### Mail::Mailer 1.57
|
||||
### Module::Refresh 0.03
|
||||
### Module::Versions::Report 1.05
|
||||
### Net::CIDR
|
||||
### Plack 1.0002
|
||||
### Plack::Handler::Starlet
|
||||
### Regexp::Common
|
||||
### Regexp::Common::net::CIDR
|
||||
### Regexp::IPv6
|
||||
### Role::Basic 0.12
|
||||
### Scalar::Util perl std
|
||||
### Storable 2.08 perl std
|
||||
### Symbol::Global::Name 0.04
|
||||
### Sys::Syslog 0.16 perl std
|
||||
### Text::Password::Pronounceable
|
||||
### Text::Quoted 2.07
|
||||
### Text::Template 1.44
|
||||
### Text::WikiFormat 0.76
|
||||
### Text::Wrapper
|
||||
### Time::HiRes perl std
|
||||
### Time::ParseDate
|
||||
### Tree::Simple 1.04
|
||||
### UNIVERSAL::require
|
||||
### XML::RSS 1.05
|
||||
|
||||
CORE_DEPS= p5-Apache-Session>=1.53:${PORTSDIR}/www/p5-Apache-Session \
|
||||
p5-CGI-Emulate-PSGI>0:${PORTSDIR}/www/p5-CGI-Emulate-PSGI \
|
||||
p5-CGI-PSGI>=0.12:${PORTSDIR}/www/p5-CGI-PSGI \
|
||||
p5-CSS-Squish>=0.06:${PORTSDIR}/textproc/p5-CSS-Squish \
|
||||
p5-Class-Accessor>=0.34:${PORTSDIR}/devel/p5-Class-Accessor \
|
||||
p5-Crypt-Eksblowfish>0:${PORTSDIR}/security/p5-Crypt-Eksblowfish \
|
||||
p5-DBI>=1.37:${PORTSDIR}/databases/p5-DBI \
|
||||
p5-DBIx-SearchBuilder>=1.59:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
|
||||
p5-Data-GUID>0:${PORTSDIR}/devel/p5-Data-GUID \
|
||||
p5-Date-Extract>=0.02:${PORTSDIR}/devel/p5-Date-Extract \
|
||||
p5-Date-Manip>0:${PORTSDIR}/devel/p5-Date-Manip \
|
||||
p5-DateTime>=0.44:${PORTSDIR}/devel/p5-DateTime \
|
||||
p5-DateTime-Format-Natural>=0.67:${PORTSDIR}/devel/p5-DateTime-Format-Natural \
|
||||
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.30:${PORTSDIR}/devel/p5-Devel-StackTrace \
|
||||
p5-Email-Address>=1.89.7:${PORTSDIR}/mail/p5-Email-Address \
|
||||
p5-Email-Address-List>0:${PORTSDIR}/mail/p5-Email-Address-List \
|
||||
p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \
|
||||
p5-HTML-FormatText-WithLinks-AndTables>0:${PORTSDIR}/textproc/p5-HTML-FormatText-WithLinks-AndTables \
|
||||
p5-HTML-FormatText-WithLinks>=0.14:${PORTSDIR}/textproc/p5-HTML-FormatText-WithLinks \
|
||||
p5-HTML-Mason-PSGIHandler>=0.52:${PORTSDIR}/www/p5-HTML-Mason-PSGIHandler \
|
||||
p5-HTML-Mason>=1.43:${PORTSDIR}/www/p5-HTML-Mason \
|
||||
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-HTTP-Message>=6.0:${PORTSDIR}/www/p5-HTTP-Message \
|
||||
p5-IPC-Run3>0:${PORTSDIR}/devel/p5-IPC-Run3 \
|
||||
p5-JSON>0:${PORTSDIR}/converters/p5-JSON \
|
||||
p5-libwww>0:${PORTSDIR}/www/p5-libwww \
|
||||
p5-List-MoreUtils>0:${PORTSDIR}/lang/p5-List-MoreUtils \
|
||||
p5-Locale-Maketext-Fuzzy>=0.11:${PORTSDIR}/devel/p5-Locale-Maketext-Fuzzy \
|
||||
p5-Locale-Maketext-Lexicon>=0.32:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
|
||||
p5-Log-Dispatch>=2.30:${PORTSDIR}/devel/p5-Log-Dispatch \
|
||||
p5-MIME-Tools>=5.504,2:${PORTSDIR}/mail/p5-MIME-Tools \
|
||||
p5-Mail-Tools>=2.12:${PORTSDIR}/mail/p5-Mail-Tools \
|
||||
p5-Module-Refresh>=0.03:${PORTSDIR}/devel/p5-Module-Refresh \
|
||||
p5-Module-Versions-Report>=1.05:${PORTSDIR}/devel/p5-Module-Versions-Report \
|
||||
p5-Net-CIDR>0:${PORTSDIR}/net-mgmt/p5-Net-CIDR \
|
||||
p5-Plack>=1.0002:${PORTSDIR}/www/p5-Plack \
|
||||
p5-Starlet>0:${PORTSDIR}/www/p5-Starlet \
|
||||
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-Role-Basic>=0.12:${PORTSDIR}/devel/p5-Role-Basic \
|
||||
p5-Symbol-Global-Name>=0.04:${PORTSDIR}/devel/p5-Symbol-Global-Name \
|
||||
p5-Text-Password-Pronounceable>0:${PORTSDIR}/security/p5-Text-Password-Pronounceable \
|
||||
p5-Text-Quoted>=2.07:${PORTSDIR}/textproc/p5-Text-Quoted \
|
||||
p5-Text-Template>=1.44:${PORTSDIR}/textproc/p5-Text-Template \
|
||||
p5-Text-WikiFormat>=0.76:${PORTSDIR}/textproc/p5-Text-WikiFormat \
|
||||
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 \
|
||||
p5-XML-RSS>=1.05:${PORTSDIR}/textproc/p5-XML-RSS
|
||||
|
||||
|
||||
### --- MAILGATE ---
|
||||
### Crypt::SSLeay
|
||||
### Getopt::Long perl std
|
||||
### LWP::Protocol::https
|
||||
### LWP::UserAgent 6.0
|
||||
### Mozilla::CA
|
||||
### Net::SSL
|
||||
### Pod::Usage perl std
|
||||
|
||||
MAILGATE_DEPS= p5-libwww>6.0:${PORTSDIR}/www/p5-libwww \
|
||||
p5-Crypt-SSLeay>0:${PORTSDIR}/security/p5-Crypt-SSLeay \
|
||||
p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \
|
||||
p5-Mozilla-CA>0:${PORTSDIR}/www/p5-Mozilla-CA
|
||||
|
||||
### --- CLI ---
|
||||
### Getopt::Long 2.24 perl std
|
||||
### HTTP::Request::Common
|
||||
### LWP
|
||||
### Term::ReadKey
|
||||
### Term::ReadLine perl std
|
||||
### Text::ParseWords perl std
|
||||
|
||||
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
|
||||
|
||||
### --- DEVELOPER ---
|
||||
### Email::Abstract
|
||||
### File::Find perl std
|
||||
### File::Which
|
||||
### Locale::PO
|
||||
### Log::Dispatch::Perl
|
||||
### Mojo::DOM
|
||||
### Plack::Middleware::Test::StashWarnings 0.06
|
||||
### Set::Tiny
|
||||
### String::ShellQuote 0 # needed for gnupg-incoming.t
|
||||
### Test::Builder 0.90 # needed for is_passing perl std
|
||||
### Test::Deep 0 # needed for shredder tests
|
||||
### Test::Email
|
||||
### Test::Expect 0.31
|
||||
### Test::LongString
|
||||
### Test::MockTime
|
||||
### Test::NoWarnings
|
||||
### Test::Warn
|
||||
### Test::WWW::Mechanize 1.30
|
||||
### Test::WWW::Mechanize::PSGI
|
||||
### WWW::Mechanize 1.52
|
||||
### XML::Simple
|
||||
|
||||
DEVELOPER_DEPS= p5-Email-Abstract>0:${PORTSDIR}/mail/p5-Email-Abstract \
|
||||
p5-File-Which>0:${PORTSDIR}/sysutils/p5-File-Which \
|
||||
p5-Locale-PO>0:${PORTSDIR}/devel/p5-Locale-PO \
|
||||
p5-Log-Dispatch-Perl>0:${PORTSDIR}/devel/p5-Log-Dispatch-Perl \
|
||||
p5-Mojolicious>0:${PORTSDIR}/www/p5-Mojolicious \
|
||||
p5-Plack-Middleware-Test-StashWarnings>=0.06:${PORTSDIR}/www/p5-Plack-Middleware-Test-StashWarnings \
|
||||
p5-Set-Tiny>0:${PORTSDIR}/devel/p5-Set-Tiny \
|
||||
p5-String-ShellQuote>0:${PORTSDIR}/textproc/p5-String-ShellQuote \
|
||||
p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep \
|
||||
p5-Test-Email>0:${PORTSDIR}/mail/p5-Test-Email \
|
||||
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-NoWarnings>0:${PORTSDIR}/devel/p5-Test-NoWarnings \
|
||||
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
|
||||
|
||||
### --- FASTCGI ---
|
||||
### FCGI 0.74
|
||||
### FCGI::ProcManager
|
||||
|
||||
FASTCGI_DEPS= p5-FCGI-ProcManager>0:${PORTSDIR}/www/p5-FCGI-ProcManager \
|
||||
p5-FCGI>=0.74:${PORTSDIR}/www/p5-FCGI
|
||||
|
||||
|
||||
### --- MODPERL2 ---
|
||||
### Apache::DBI
|
||||
|
||||
MODPERL2_DEPS= p5-libapreq2>0:${PORTSDIR}/www/p5-libapreq2 \
|
||||
p5-Apache-DBI>0:${PORTSDIR}/www/p5-Apache-DBI
|
||||
|
||||
### --- MYSQL ---
|
||||
### DBD::mysql 2.1018
|
||||
|
||||
MYSQL_DEPS= p5-DBD-mysql>=2.1018:${PORTSDIR}/databases/p5-DBD-mysql
|
||||
|
||||
### --- ORACLE ---
|
||||
### DBD::Oracle (avoid 1.23 -- ports has 1.19)
|
||||
|
||||
ORACLE_DEPS= p5-DBD-Oracle>0:${PORTSDIR}/databases/p5-DBD-Oracle
|
||||
|
||||
### --- PG ---
|
||||
### DBD::Pg 1.43
|
||||
|
||||
PG_DEPS= p5-DBD-Pg>=1.43:${PORTSDIR}/databases/p5-DBD-Pg
|
||||
|
||||
### --- SQLITE ---
|
||||
### DBD::SQLite 1.00
|
||||
|
||||
SQLITE_DEPS= p5-DBD-SQLite>=1.00:${PORTSDIR}/databases/p5-DBD-SQLite
|
||||
|
||||
### --- GPG ---
|
||||
### File::Which
|
||||
### GnuPG::Interface
|
||||
### PerlIO::eol
|
||||
|
||||
GPG_DEPS= p5-File-Which>0:${PORTSDIR}/sysutils/p5-File-Which \
|
||||
p5-GnuPG-Interface>0:${PORTSDIR}/security/p5-GnuPG-Interface \
|
||||
p5-PerlIO-eol>0:${PORTSDIR}/devel/p5-PerlIO-eol
|
||||
|
||||
### --- SMIME---
|
||||
### Crypt::X509
|
||||
### File::Which
|
||||
### String::ShellQuote
|
||||
|
||||
SMIME_DEPS= p5-Crypt-X509>0:${PORTSDIR}/security/p5-Crypt-X509 \
|
||||
p5-File-Which>0:${PORTSDIR}/sysutils/p5-File-Which \
|
||||
p5-String-ShellQuote>0:${PORTSDIR}/textproc/p5-String-ShellQuote
|
||||
|
||||
### --- ICAL ---
|
||||
### Data::ICal
|
||||
|
||||
ICAL_DEPS= p5-Data-ICal>0:${PORTSDIR}/deskutils/p5-Data-ICal
|
||||
|
||||
### --- DASHBOARDS ---
|
||||
### MIME::Types
|
||||
### URI 1.59
|
||||
### URI::QueryParam
|
||||
|
||||
DASHBOARDS_DEPS= p5-HTML-RewriteAttributes>=0.05:${PORTSDIR}/textproc/p5-HTML-RewriteAttributes \
|
||||
p5-MIME-Types>0:${PORTSDIR}/mail/p5-MIME-Types \
|
||||
p5-URI>=1.59:${PORTSDIR}/net/p5-URI
|
||||
|
||||
### --- GRAPHVIZ ---
|
||||
### GraphViz
|
||||
### IPC::Run 0.90
|
||||
|
||||
GRAPHVIZ_DEPS= p5-GraphViz>0:${PORTSDIR}/graphics/p5-GraphViz \
|
||||
p5-IPC-Run>=0.90:${PORTSDIR}/devel/p5-IPC-Run
|
||||
|
||||
### -- GD --
|
||||
### GD
|
||||
### GD::Graph 1.47
|
||||
### GD::Text
|
||||
|
||||
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 ---
|
||||
### Convert::Color
|
||||
|
||||
USERLOGO_DEPS= p5-Convert-Color>0:${PORTSDIR}/graphics/p5-Convert-Color
|
||||
|
||||
### --- HTML-DOC ---
|
||||
### HTML::Entities
|
||||
### Pod::Simple 3.24 perl std
|
||||
|
||||
HTML_DOC_DEPS= p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser
|
||||
|
||||
### --- AVOID ---
|
||||
### 'DBD::Oracle' => [qw(1.23)],
|
||||
### 'Devel::StackTrace' => [qw(1.28 1.29)],
|
2
www/rt42/distinfo
Normal file
2
www/rt42/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (rt-4.2.1.tar.gz) = 5c83b7d2869bcf59f8f26b5ef38ec80cecd711609b960eb91a6a796971eddc3c
|
||||
SIZE (rt-4.2.1.tar.gz) = 7630594
|
20
www/rt42/files/extra-patch-noportdocs-Makefile.in
Normal file
20
www/rt42/files/extra-patch-noportdocs-Makefile.in
Normal file
@ -0,0 +1,20 @@
|
||||
--- 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:
|
||||
-@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:
|
79
www/rt42/files/patch-Makefile.in
Normal file
79
www/rt42/files/patch-Makefile.in
Normal file
@ -0,0 +1,79 @@
|
||||
--- ./Makefile.in.orig 2013-11-13 18:25:50.000000000 +0000
|
||||
+++ ./Makefile.in 2013-11-25 07:19:20.572253485 +0000
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
CONFIG_FILE_PATH = @CONFIG_FILE_PATH_R@
|
||||
CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm
|
||||
-SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
|
||||
+SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm-dist
|
||||
|
||||
|
||||
RT_VERSION_MAJOR = @RT_VERSION_MAJOR@
|
||||
@@ -106,7 +106,7 @@
|
||||
RT_LEXICON_PATH = @RT_LEXICON_PATH_R@
|
||||
RT_STATIC_PATH = @RT_STATIC_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/rt42/plugins
|
||||
LOCAL_ETC_PATH = @LOCAL_ETC_PATH_R@
|
||||
LOCAL_LIB_PATH = @LOCAL_LIB_PATH_R@
|
||||
LOCAL_LEXICON_PATH = @LOCAL_LEXICON_PATH_R@
|
||||
@@ -267,16 +267,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)
|
||||
|
||||
#}}}
|
||||
|
||||
fixperms:
|
||||
# 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)
|
||||
@@ -298,14 +295,6 @@
|
||||
# Make the system binaries executable also
|
||||
cd $(DESTDIR)$(RT_SBIN_PATH) && ( chmod 0755 $(SYSTEM_BINARIES) ; chown $(BIN_OWNER) $(SYSTEM_BINARIES); chgrp $(RTGROUP) $(SYSTEM_BINARIES))
|
||||
|
||||
- # Make upgrade scripts executable if they are in the source.
|
||||
- #
|
||||
- # Note that we use the deprecated (by GNU/POSIX find) -perm +0NNN syntax
|
||||
- # instead of -perm /0NNN since BSD find doesn't support the latter.
|
||||
- ( cd etc/upgrade && find . -type f -not -name '*.in' -perm +0111 -print ) | while read file ; do \
|
||||
- chmod a+x "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \
|
||||
- done
|
||||
-
|
||||
# Make the web ui readable by all.
|
||||
chmod -R u+rwX,go-w,go+rX $(DESTDIR)$(MASON_HTML_PATH) \
|
||||
$(DESTDIR)$(MASON_LOCAL_HTML_PATH) \
|
||||
@@ -352,9 +341,9 @@
|
||||
$(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_LEXICON_PATH)
|
||||
$(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_STATIC_PATH)
|
||||
|
||||
-install: testdeps config-install dirs files-install fixperms instruct
|
||||
+install: config-install dirs files-install
|
||||
|
||||
-files-install: libs-install etc-install config-install bin-install sbin-install html-install local-install doc-install font-install po-install static-install
|
||||
+files-install: libs-install etc-install config-install bin-install sbin-install html-install doc-install font-install po-install static-install
|
||||
|
||||
config-install:
|
||||
@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -o $(BIN_OWNER) -g $(RTGROUP) -d $(DESTDIR)$(CONFIG_FILE_PATH)
|
||||
@@ -449,13 +438,6 @@
|
||||
@COMMENT_INPLACE_LAYOUT@ for file in $(ETC_FILES) ; do \
|
||||
@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "etc/$$file" "$(DESTDIR)$(RT_ETC_PATH)/" ; \
|
||||
@COMMENT_INPLACE_LAYOUT@ done
|
||||
-@COMMENT_INPLACE_LAYOUT@ [ -d $(DESTDIR)$(RT_ETC_PATH)/upgrade ] || $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_ETC_PATH)/upgrade
|
||||
-@COMMENT_INPLACE_LAYOUT@ -( cd etc/upgrade && find . -type d -print ) | while read dir ; do \
|
||||
-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$dir" ; \
|
||||
-@COMMENT_INPLACE_LAYOUT@ done
|
||||
-@COMMENT_INPLACE_LAYOUT@ -( cd etc/upgrade && find . -type f -not -name '*.in' -print ) | while read file ; do \
|
||||
-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "etc/upgrade/$$file" "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \
|
||||
-@COMMENT_INPLACE_LAYOUT@ done
|
||||
|
||||
|
||||
sbin-install:
|
11
www/rt42/files/patch-aclocal.m4
Normal file
11
www/rt42/files/patch-aclocal.m4
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./aclocal.m4.orig 2013-11-13 18:25:50.000000000 +0000
|
||||
+++ ./aclocal.m4 2013-11-24 17:58:35.428302772 +0000
|
||||
@@ -79,7 +79,7 @@
|
||||
s/^#.*$//m;
|
||||
s/^\s+//gim;
|
||||
s/\s+$/\n/gim;
|
||||
- s/\+$/\/rt3/gim;
|
||||
+ s/\+$/\/rt42/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;
|
32
www/rt42/files/patch-config.layout
Normal file
32
www/rt42/files/patch-config.layout
Normal file
@ -0,0 +1,32 @@
|
||||
--- ./config.layout.orig 2013-11-13 18:25:50.000000000 +0000
|
||||
+++ ./config.layout 2013-11-24 17:58:35.433301257 +0000
|
||||
@@ -110,7 +110,7 @@
|
||||
sysconfdir: ${prefix}/etc+
|
||||
mandir: ${prefix}/man
|
||||
plugindir: ${prefix}/plugins
|
||||
- libdir: ${prefix}/lib+
|
||||
+ libdir: /usr/local/lib/perl5/site_perl/5.16
|
||||
datadir: ${prefix}/share+
|
||||
htmldir: ${datadir}/html
|
||||
lexdir: ${datadir}/po
|
||||
@@ -149,13 +149,13 @@
|
||||
logfiledir: ${localstatedir}/log
|
||||
masonstatedir: ${localstatedir}/mason_data
|
||||
sessionstatedir: ${localstatedir}/session_data
|
||||
- customdir: ${prefix}/local
|
||||
- custometcdir: ${customdir}/etc
|
||||
- customhtmldir: ${customdir}/html
|
||||
- customlexdir: ${customdir}/po
|
||||
- customstaticdir: ${customdir}/static
|
||||
- customlibdir: ${customdir}/lib
|
||||
- customplugindir: ${customdir}/plugins
|
||||
+ customdir: ${prefix}
|
||||
+ custometcdir: ${datadir}/etc
|
||||
+ customhtmldir: ${customdir}/www+
|
||||
+ customlexdir: ${datadir}/po
|
||||
+ customstaticdir: ${datadir}/static
|
||||
+ customlibdir: ${datadir}/lib
|
||||
+ customplugindir: ${datadir}/plugins
|
||||
</Layout>
|
||||
|
||||
# RH path layout.
|
47
www/rt42/files/pkg-message.in
Normal file
47
www/rt42/files/pkg-message.in
Normal file
@ -0,0 +1,47 @@
|
||||
=====================================================================
|
||||
|
||||
To initialize RT's database:
|
||||
|
||||
$ sudo perl rt-setup-database --action init --dba dba --dba-password X
|
||||
|
||||
To clear a previously created RT database:
|
||||
|
||||
$ sudo perl rt-setup-database --action drop --dba dba --dba-password X
|
||||
|
||||
To complete the installation of this port, please follow these steps:
|
||||
|
||||
1. Edit %%RT_ETC_PATH%%/RT_SiteConfig.pm, by referring to
|
||||
the default config file (%%RT_ETC_PATH%%/RT_Config.pm).
|
||||
2. Configure the email and web gateways. Please refer to
|
||||
'SETTING UP THE MAIL GATEWAY' in %%DOCSDIR%%/README
|
||||
3. Restart Apache or whichever web delivery mechanism you selected..
|
||||
4. Do remember to *CHANGE* the root's password for the web interface.
|
||||
The default is "password" (without the quotes.)
|
||||
5. Configure RT per the instructions at
|
||||
http://www.bestpractical.com/rt/docs.html
|
||||
|
||||
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
|
||||
httpd.conf. This isn't actually a flaw of RT, but of a subset of the
|
||||
CPAN modules that RT uses.
|
||||
|
||||
If you're upgrading RT then it is worth reading the UPGRADING document
|
||||
at this point. 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 release (for example from 4.0.x to 4.2.x).
|
||||
|
||||
To upgrade your database schema, preserving ticket history:
|
||||
|
||||
1. Backup your RT database.
|
||||
2. If upgrading to a new major release, create a new database named
|
||||
rt4 with appropriate rights for the rt_user and reload your
|
||||
database backup into it.
|
||||
3. Run:
|
||||
|
||||
# /usr/local/sbin/rt-setup-database \
|
||||
--datadir %%DOCSDIR%%/upgrade \
|
||||
--action upgrade --prompt-for-dba-password
|
||||
|
||||
and answer the prompts.
|
||||
|
||||
=====================================================================
|
7
www/rt42/pkg-descr
Normal file
7
www/rt42/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
RT is a battle-tested issue tracking system which thousands of
|
||||
organizations use for bug tracking, help desk ticketing, customer
|
||||
service, workflow processes, change management, network operations,
|
||||
youth counselling and even more. Organizations around the world have
|
||||
been running smoothly thanks to RT for over 10 years.
|
||||
|
||||
WWW: http://www.bestpractical.com/rt/
|
1799
www/rt42/pkg-plist
Normal file
1799
www/rt42/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user