pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel rt5: Add rt version 5.0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1eddf98de92
branches:  trunk
changeset: 386321:a1eddf98de92
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Oct 06 02:18:16 2022 +0000

description:
rt5: Add rt version 5.0.3

RT is an industrial-grade ticketing system. It lets a group of
people intelligently and efficiently manage requests submitted by
a community of users. RT is used by systems administrators, customer
support staffs, NOCs, developers and even marketing departments at
over a thousand sites around the world.

This packages tracks RT 5.x branch.

diffstat:

 devel/Makefile                        |     3 +-
 devel/rt5/DESCR                       |     7 +
 devel/rt5/INSTALL                     |    17 +
 devel/rt5/MESSAGE                     |    66 +
 devel/rt5/Makefile                    |   232 +++
 devel/rt5/PLIST                       |  2013 +++++++++++++++++++++++++++++++++
 devel/rt5/dirs.mk                     |    10 +
 devel/rt5/distinfo                    |     7 +
 devel/rt5/options.mk                  |    34 +
 devel/rt5/patches/patch-Makefile.in   |    24 +
 devel/rt5/patches/patch-config.layout |    40 +
 11 files changed, 2452 insertions(+), 1 deletions(-)

diffs (truncated from 2507 to 300 lines):

diff -r 69b889c9f883 -r a1eddf98de92 devel/Makefile
--- a/devel/Makefile    Thu Oct 06 02:09:42 2022 +0000
+++ b/devel/Makefile    Thu Oct 06 02:18:16 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3804 2022/10/03 13:47:20 nros Exp $
+# $NetBSD: Makefile,v 1.3805 2022/10/06 02:18:16 markd Exp $
 #
 
 COMMENT=       Development utilities
@@ -3013,6 +3013,7 @@
 SUBDIR+=       rt-mysql
 SUBDIR+=       rt-pgsql
 SUBDIR+=       rt4
+SUBDIR+=       rt5
 SUBDIR+=       rttr
 SUBDIR+=       ruby-SDL
 SUBDIR+=       ruby-abstract
diff -r 69b889c9f883 -r a1eddf98de92 devel/rt5/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rt5/DESCR   Thu Oct 06 02:18:16 2022 +0000
@@ -0,0 +1,7 @@
+RT is an industrial-grade ticketing system. It lets a group of
+people intelligently and efficiently manage requests submitted by
+a community of users. RT is used by systems administrators, customer
+support staffs, NOCs, developers and even marketing departments at
+over a thousand sites around the world.
+
+This packages tracks RT 5.x branch.
diff -r 69b889c9f883 -r a1eddf98de92 devel/rt5/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rt5/INSTALL Thu Oct 06 02:18:16 2022 +0000
@@ -0,0 +1,17 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.1 2022/10/06 02:18:16 markd Exp $
+
+WWWGRP="@WWWGRP@"
+WWWOWN="@WWWOWN@"
+RT5DIR="@RT5DIR@"
+RT5ETCDIR="@RT5ETCDIR@"
+
+case "${STAGE}" in
+POST-INSTALL)
+       cd ${RT4DIR} &&
+               ${CHOWN} -R ${WWWOWN} ${RT5DIR} &&
+               ${CHOWN} -R ${WWWOWN} ${RT5ETCDIR} &&
+               ${CHGRP} -R ${WWWGRP} ${RT5DIR}
+       ;;
+esac
diff -r 69b889c9f883 -r a1eddf98de92 devel/rt5/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rt5/MESSAGE Thu Oct 06 02:18:16 2022 +0000
@@ -0,0 +1,66 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2022/10/06 02:18:16 markd Exp $
+
+To use RT 5, you will need to perform the following steps.
+
+1. Setup your postfix.
+
+2. If you want to use with MySQL server, install databases/mysql57-server
+   and start it. You can use other supported database management system.
+
+3. If you want to use www/ap2-fcgid with apache24, install www/ap2-fcgid
+   and www/apache24.
+
+4. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
+
+       FcgidMaxRequestLen 1073741824
+
+       DocumentRoot ${PREFIX}/share/rt5/data/html
+       ScriptAlias / ${PREFIX}/share/rt5/sbin/rt-server.fcgi/
+
+       <Directory "${PREFIX}/share/rt5/data/html">
+               AddDefaultCharset UTF-8
+               Require all granted
+       </Directory>
+
+       <Directory "${PREFIX}/share/rt5/sbin">
+               Options +ExecCGI
+               AddHandler fcgid-script fcgi
+               Require all granted
+       </Directory>
+
+5. Start mysqld and set root's password.
+
+6. Run rt-server for configuration.
+
+       $ sudo -u www ${PREFIX}/share/rt5/sbin/rt-server --port 8080
+
+   If you configure RT from non-localhost web browser, you should add
+   the following line to your ${PREFIX}/etc/rt5/RT_SiteConfig.pm
+   before run of rt-server.
+
+       Set( $WebDomain, 'YOUR-RT-HOSTNAME' );
+
+7. Access http://localhost:8080/ and setup RT 5. After setting up, kill
+   rt-server with Ctrl-C.
+
+8. In your postfix /etc/mail/aliases, put the following lines to
+   enable actions with e-mail.
+   And you may enable CommentOnTicket,  CreateTicket, and  ReplyToTicket
+   to Global Group rights: Everyone screen.
+
+       rt:         "|${PREFIX}/share/rt5/bin/rt-mailgate --queue general --action correspond --url http://localhost/";
+       rt-comment: "|${PREFIX}/share/rt5/bin/rt-mailgate --queue general --action comment --url http://localhost/";
+
+9. Start apache httpd.
+
+10. Open http://localhost/ and login to RT 5.
+
+Note:
+You may have the following lines
+in your ${PKG_SYSCONFDIR}/RT_SiteConfig.pm .
+
+Set( $NotifyActor, 1 );
+Set( $SetOutgoingMailFrom, 1);
+Set( $CorrespondAddress, "rtadmin%example.com@localhost");
+===========================================================================
diff -r 69b889c9f883 -r a1eddf98de92 devel/rt5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rt5/Makefile        Thu Oct 06 02:18:16 2022 +0000
@@ -0,0 +1,232 @@
+# $NetBSD: Makefile,v 1.1 2022/10/06 02:18:16 markd Exp $
+
+DISTNAME=      rt-5.0.3
+PKGNAME=       ${DISTNAME:S/rt/rt5/}
+CATEGORIES=    devel
+MASTER_SITES=  https://download.bestpractical.com/pub/rt/release/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.bestpractical.com/rt/
+COMMENT=       Industrial-grade ticketing system
+LICENSE=       gnu-gpl-v2
+
+# Dependency info. from sbin/rt-test-dependencies
+# Core dependencies
+DEPENDS+=      p5-Apache-Session>=1.53:../../www/p5-Apache-Session
+DEPENDS+=      p5-Business-Hours-[0-9]*:../../time/p5-Business-Hours
+DEPENDS+=      p5-CGI>=4.00:../../www/p5-CGI
+# CGI::Cookie is a part of p5-CGI.
+DEPENDS+=      p5-CGI-Emulate-PSGI-[0-9]*:../../www/p5-CGI-Emulate-PSGI
+DEPENDS+=      p5-CGI-PSGI-[0-9]*:../../www/p5-CGI-PSGI
+DEPENDS+=      p5-CSS-Minifier-XS-[0-9]*:../../www/p5-CSS-Minifier-XS
+DEPENDS+=      p5-CSS-Squish>=0.06:../../www/p5-CSS-Squish
+DEPENDS+=      p5-Class-Accessor>=0.34:../../devel/p5-Class-Accessor
+###DEPENDS+=   p5-Class-Tiny-[0-9]*:../../devel/p5-Class-Tiny
+DEPENDS+=      p5-Clone-[0-9]*:../../devel/p5-Clone
+DEPENDS+=      p5-Convert-Color-[0-9]*:../../converters/p5-Convert-Color
+DEPENDS+=      p5-Crypt-Eksblowfish-[0-9]*:../../security/p5-Crypt-Eksblowfish
+DEPENDS+=      p5-DBI-[0-9]*:../../databases/p5-DBI
+DEPENDS+=      p5-DBIx-SearchBuilder>=1.71:../../databases/p5-DBIx-SearchBuilder
+DEPENDS+=      p5-Data-GUID-[0-9]*:../../devel/p5-Data-GUID
+DEPENDS+=      p5-Data-ICal-[0-9]*:../../time/p5-Data-ICal
+DEPENDS+=      p5-Data-Page-Pageset-[0-9]*:../../devel/p5-Data-Page-Pageset
+DEPENDS+=      p5-Date-Extract>=0.02:../../time/p5-Date-Extract
+DEPENDS+=      p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
+DEPENDS+=      p5-DateTime>=0.44:../../time/p5-DateTime
+DEPENDS+=      p5-DateTime-Format-Natural>0.67:../../time/p5-DateTime-Format-Natural
+DEPENDS+=      p5-DateTime-Locale>=0.40:../../time/p5-DateTime-Locale
+DEPENDS+=      p5-Devel-GlobalDestruction-[0-9]*:../../devel/p5-Devel-GlobalDestruction
+DEPENDS+=      p5-Devel-StackTrace>=1.19:../../devel/p5-Devel-StackTrace
+DEPENDS+=      p5-Email-Address>=1.912:../../mail/p5-Email-Address
+DEPENDS+=      p5-Email-Address-List>=0.06:../../mail/p5-Email-Address-List
+# Encode::Detect::Detector is part of p5-Encode-Detect
+DEPENDS+=      p5-Encode-Detect-[0-9]*:../../textproc/p5-Encode-Detect
+DEPENDS+=      p5-Encode-HanExtra-[0-9]*:../../textproc/p5-Encode-HanExtra
+# Errno is a part of perl base.
+# File::Glob is a part of perl base.
+DEPENDS+=      p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir
+# File::Spec is a part of perl base.
+#DEPENDS+=     {perl>=5.10.1,p5-File-Temp>=0.19}:../../devel/p5-File-Temp
+#DEPENDS+=     {perl>=5,p5-Getopt-Long-[0-9]*}:../../devel/p5-Getopt-Long
+# HTML::Entities is a part of p5-HTML-Parser.
+DEPENDS+=      p5-HTML-FormatExternal-[0-9]*:../../www/p5-HTML-FormatExternal
+DEPENDS+=      p5-HTML-FormatText-WithLinks>=0.14:../../textproc/p5-HTML-FormatText-WithLinks
+DEPENDS+=      p5-HTML-FormatText-WithLinks-AndTables-[0-9]*:../../textproc/p5-HTML-FormatText-WithLinks-AndTables
+DEPENDS+=      p5-HTML-Gumbo-[0-9]*:../../www/p5-HTML-Gumbo
+DEPENDS+=      p5-HTML-Mason>=1.43:../../www/p5-HTML-Mason
+DEPENDS+=      p5-HTML-Mason-PSGIHandler>=0.52:../../www/p5-HTML-Mason-PSGIHandler
+DEPENDS+=      p5-HTML-Quoted-[0-9]*:../../www/p5-HTML-Quoted
+DEPENDS+=      p5-HTML-RewriteAttributes>=0.05:../../www/p5-HTML-RewriteAttributes
+DEPENDS+=      p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber
+DEPENDS+=      p5-HTTP-Message>=6.07:../../www/p5-HTTP-Message
+# HTTP::Request::Common is a part of p5-HTTP-Message.
+DEPENDS+=      p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
+DEPENDS+=      p5-JSON-[0-9]*:../../converters/p5-JSON
+DEPENDS+=      p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS
+DEPENDS+=      p5-JavaScript-Minifier-XS-[0-9]*:../../www/p5-JavaScript-Minifier-XS
+# LWP is a pert of perl base.
+DEPENDS+=      p5-LWP-Protocol-https-[0-9]*:../../www/p5-LWP-Protocol-https
+# LWP::UserAgent is a part of p5-libwww.
+DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+=      p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
+#DEPENDS+=     {perl>=5.20.0,p5-Locale-Maketext>=1.06}:../../misc/p5-Locale-Maketext
+DEPENDS+=      p5-Locale-Maketext-Fuzzy-[0-9]*:../../misc/p5-Locale-Maketext-Fuzzy
+DEPENDS+=      p5-Locale-Maketext-Lexicon>=0.32:../../misc/p5-Locale-Maketext-Lexicon
+###DEPENDS+=   p5-Locale-PO-[0-9]*:../../devel/p5-Locale-PO
+DEPENDS+=      p5-Log-Dispatch>=2.30:../../devel/p5-Log-Dispatch
+# MIME-Entity is a part of p5-MIME-tools
+DEPENDS+=      p5-MIME-tools>=5.504:../../mail/p5-MIME-tools
+DEPENDS+=      p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
+# Mail::Header is a part of p5-MailTools.
+# Mail::Mailer is a part of p5-MailTools.
+DEPENDS+=      p5-MailTools>=2.12:../../mail/p5-MailTools
+DEPENDS+=      p5-Module-Path-[0-9]*:../../filesystems/p5-Module-Path
+DEPENDS+=      p5-Module-Refresh>=0.03:../../devel/p5-Module-Refresh
+DEPENDS+=      p5-Module-Runtime-[0-9]*:../../devel/p5-Module-Runtime
+DEPENDS+=      p5-Module-Versions-Report>=1.05:../../devel/p5-Module-Versions-Report
+DEPENDS+=      p5-Moose-[0-9]*:../../devel/p5-Moose
+DEPENDS+=      p5-MooseX-NonMoose-[0-9]*:../../devel/p5-MooseX-NonMoose
+DEPENDS+=      p5-MooseX-Role-Parameterized-[0-9]*:../../devel/p5-MooseX-Role-Parameterized
+DEPENDS+=      p5-Mozilla-CA-[0-9]*:../../security/p5-Mozilla-CA
+DEPENDS+=      p5-Net-CIDR-[0-9]*:../../devel/p5-Net-CIDR
+DEPENDS+=      p5-Net-IP-[0-9]*:../../net/p5-Net-IP
+DEPENDS+=      p5-Parallel-ForkManager-[0-9]*:../../devel/p5-Parallel-ForkManager
+DEPENDS+=      p5-Path-Dispatcher>=1.07:../../devel/p5-Path-Dispatcher
+DEPENDS+=      p5-Plack>=1.0002:../../www/p5-Plack
+# Plack::Handler::Starlet is a part of p5-Startlet.
+DEPENDS+=      p5-Starlet-[0-9]*:../../www/p5-Starlet
+# Pod::Select is a part of p5-Pod-Parser
+DEPENDS+=      p5-Pod-Parser-[0-9]*:../../textproc/p5-Pod-Parser
+#DEPENDS+=     {perl>=5.6.0,p5-Pod-Usage-[0-9]*}:../../devel/p5-Pod-Usage
+DEPENDS+=      p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
+DEPENDS+=      p5-Regexp-Common-net-CIDR-[0-9]*:../../net/p5-Regexp-Common-net-CIDR
+DEPENDS+=      p5-Regexp-IPv6-[0-9]*:../../net/p5-Regexp-IPv6
+DEPENDS+=      p5-Role-Basic>=0.12:../../devel/p5-Role-Basic
+# Scalar::Util is a part of p5-Scalar-List-Utils.
+DEPENDS+=      p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils
+DEPENDS+=      p5-Scope-Upper-[0-9]*:../../devel/p5-Scope-Upper
+#DEPENDS+=     {perl>=5.8.1,p5-Storable>=2.08}:../../devel/p5-Storable
+DEPENDS+=      p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
+DEPENDS+=      p5-Symbol-Global-Name>=0.05:../../devel/p5-Symbol-Global-Name
+#DEPENDS+=     {perl>=5.8.9,p5-Sys-Syslog>=0.16}:../../sysutils/p5-Sys-Syslog
+DEPENDS+=      p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
+# Term::ReadLine is a part of perl base.
+# Text::ParseWords is a pert of perl base.
+DEPENDS+=      p5-Text-Password-Pronounceable-[0-9]*:../../security/p5-Text-Password-Pronounceable
+DEPENDS+=      p5-Text-Quoted>=2.07:../../textproc/p5-Text-Quoted
+DEPENDS+=      p5-Text-Template>=1.44:../../textproc/p5-Text-Template
+DEPENDS+=      p5-Text-WikiFormat>=0.76:../../textproc/p5-Text-WikiFormat
+DEPENDS+=      p5-Text-WordDiff-[0-9]*:../../textproc/p5-Text-WordDiff
+DEPENDS+=      p5-Text-Wrapper-[0-9]*:../../textproc/p5-Text-Wrapper
+#DEPENDS+=     {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes
+# Time::ParseDate is a part of p5-Time-modules.
+DEPENDS+=      p5-Time-modules-[0-9]*:../../time/p5-Time-modules
+DEPENDS+=      p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple
+DEPENDS+=      p5-UNIVERSAL-require-[0-9]*:../../devel/p5-UNIVERSAL-require
+DEPENDS+=      p5-URI>=1.59:../../www/p5-URI
+# URI::QueryParam is a part of p5-URI.
+DEPENDS+=      p5-Web-Machine>=0.12:../../www/p5-Web-Machine
+DEPENDS+=      p5-XML-RSS>=1.05:../../textproc/p5-XML-RSS
+DEPENDS+=      p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
+
+
+#### Net::SSL is a part of p5-Crypt-SSLeay.
+###DEPENDS+=   p5-Crypt-SSLeay-[0-9]*:../../security/p5-Crypt-SSLeay
+
+
+#### GD dependencies
+###DEPENDS+=   p5-GD-[0-9]*:../../graphics/p5-GD
+###DEPENDS+=   p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph
+#### GD::Text is a part of p5-GDTextUtil.
+###DEPENDS+=   p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil
+
+# GPG dependencies
+DEPENDS+=      p5-File-Which-[0-9]*:../../devel/p5-File-Which
+DEPENDS+=      p5-GnuPG-Interface-[0-9]*:../../security/p5-GnuPG-Interface
+DEPENDS+=      p5-PerlIO-eol-[0-9]*:../../devel/p5-PerlIO-eol
+
+# Graphviz dependencies
+DEPENDS+=      p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
+
+# SMIME dependencies
+DEPENDS+=      p5-Crypt-X509-[0-9]*:../../security/p5-Crypt-X509
+# File::Which is in GPG dependencies.
+DEPENDS+=      p5-String-ShellQuote-[0-9]*:../../textproc/p5-String-ShellQuote
+
+
+#### USERLOGO dependency
+#### Module::Pluggable will be removed from the Perl core distribution...
+###DEPENDS+=   p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable
+###DEPENDS+=   p5-Text-Reform-[0-9]*:../../textproc/p5-Text-Reform
+###DEPENDS+=   p5-Sub-HandlesVia-[0-9]*:../../devel/p5-Sub-HandlesVia
+
+
+.include "dirs.mk"
+.include "options.mk"
+
+RT5DIR=                ${PREFIX}/share/rt5
+
+BUILD_DEFS+=   APACHE_GROUP APACHE_USER
+FILES_SUBST+=  WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
+               RT5DIR=${RT5DIR}
+
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    pre-configure
+SUBST_MESSAGE.prefix=  Setting prefix.
+SUBST_FILES.prefix=    config.layout
+SUBST_VARS.prefix=     PREFIX PKG_SYSCONFDIR PKGMANDIR



Home | Main Index | Thread Index | Old Index