pkgsrc-wip/rt3-pgsql/Makefile.common
dieter roelants 329c9bb6c8 Snapshot commit before upgrading to rt 3.2 (which was released this week)
- Update from 3.0.10 to 3.0.11 (changes below)
- Split Makefile in Makefile{.common,}
- Correct dependencies (rt now needs perl 5.8.3 and p5-Text-Quoted
	was moved from wip to textproc (thanks))
- Create a group for rt file ownership
- Partly use SYSCONFDIR (need to work out how to do this properly)
	and correct patch to config.layout

Changes between rt-3.0.10 and rt-3.0.11 (summarized from Changes in distfile):

r1664@tinbook:  jesse | 2004-05-24T01:24:50.613317Z
Minor documentation update
----------------------------------------------------------------------
r1665@tinbook:  jesse | 2004-05-24T01:28:12.674977Z
Fixed a regression related to Groups->WithRight
----------------------------------------------------------------------
r1666@tinbook:  jesse | 2004-05-24T02:12:25.100951Z
added back a missing test file
----------------------------------------------------------------------
r1667@tinbook:  jesse | 2004-05-24T02:13:00.285813Z
Altering a Groups join to be a bit more efficient
----------------------------------------------------------------------
r913 | jesse | 2004-05-17 16:05:25 -0400 (Mon, 17 May 2004) | 1 line
Backported ticket searching fixes from 3.1; fixed a bug in email
address testing code
----------------------------------------------------------------------
r1545@tinbook:  jesse | 2004-05-12T06:45:50.218931Z
PickRestriction needed the absolute path fix
-----------------------------------------------------------------------
r1117@Jesse-Vincents-Computer:  jesse | 2004-05-11T06:41:01.215469Z
Updated "order" handling in the cli from ams
----------------------------------------------------------------------
r1118@Jesse-Vincents-Computer:  jesse | 2004-05-11T06:41:36.770412Z
Better handling of search listing page after a redirect
----------------------------------------------------------------------
r1486@tinbook:  jesse | 2004-05-07T00:49:12.363243Z
Fix for proper display of ScripId on scrip edit from Ruslan
----------------------------------------------------------------------
r1487@tinbook:  jesse | 2004-05-07T00:49:29.125437Z
Fix for search on Cc and AdminCc from Ruslan
----------------------------------------------------------------------
r1488@tinbook:  jesse | 2004-05-07T00:52:40.234557Z
Fix for a false positive error about directory permissions when
opening the rt logfile from Ruslan
----------------------------------------------------------------------
r1489@tinbook:  jesse | 2004-05-07T00:58:03.221505Z
(#4638) cli cookie handling improved from Muncus
----------------------------------------------------------------------
r1085@tinbook:  jesse | 2004-05-06T04:07:41.566641Z
#5592: Don't display an empty RT-Send-Bcc header if there were no bccs
----------------------------------------------------------------------
r2289@tinbook:  jesse | 2004-05-03T00:13:57.610636Z
Corrected docs for rt.in per Ticket #4618
----------------------------------------------------------------------
r2290@tinbook:  jesse | 2004-05-03T00:31:06.379542Z
Applied Syslog configuration patch from 4717
----------------------------------------------------------------------
r2291@tinbook:  jesse | 2004-05-03T00:39:30.205636Z
#5189: patch to bin/rt for default query and order
----------------------------------------------------------------------
r2292@tinbook:  jesse | 2004-05-03T00:45:15.670290Z
Adding a patch from Dirk Pape to hide disabled groups by default (#5229)
----------------------------------------------------------------------
r2293@tinbook:  jesse | 2004-05-03T00:47:02.636897Z
#5238: [rt-users] Patch: Mason Profiing under FastCGI
----------------------------------------------------------------------
r2294@tinbook:  jesse | 2004-05-03T00:51:31.523941Z
#5278: Making the length of the "MyRequests" list configurable
----------------------------------------------------------------------
r2295@tinbook:  jesse | 2004-05-03T00:56:19.176341Z
#5303: Adding support for piping reply messages from STDIN
----------------------------------------------------------------------
r2296@tinbook:  jesse | 2004-05-03T01:45:55.903495Z
A patch to generate better SQL when searching on attachment content.
Backported from 3.1
----------------------------------------------------------------------
r807 | autrijus | 2004-05-02 17:18:08 -0400 (Sun, 02 May 2004) | 2 lines
* Backport Date->W3CDTF from rt-3.3 for REST 2.0.
------------------------------------------------------------------------
r806 | autrijus | 2004-05-02 17:17:25 -0400 (Sun, 02 May 2004) | 1 line
* Pull in QueryString from RT 3.1+ for REST API
------------------------------------------------------------------------
r1402@debian:  jesse | 2004-04-30T14:44:55.419589Z
Backporting a taint fix for the EmailParser from 3.1
----------------------------------------------------------------------
r1399@debian:  jesse | 2004-04-30T11:59:41.354565Z
Mark our configure script as comming from svn
----------------------------------------------------------------------
r1400@debian:  jesse | 2004-04-30T14:01:38.501468Z
Fixed an issue that could cause multiline rt-send-cc and rt-send-bcc
headers to be truncated
------------------------------------------------------------------------
r767 | leira | 2004-04-28 18:41:16 -0400 (Wed, 28 Apr 2004) | 2 lines
Separate, not seperate.  Applies patch in ticket #5319.
------------------------------------------------------------------------
r760 | jesse | 2004-04-27 18:34:16 -0400 (Tue, 27 Apr 2004) | 2 lines
Better handling of the tempdir for the email parser. It could end
up tainted in certain scenarios
------------------------------------------------------------------------
r751 | leira | 2004-04-26 19:01:15 -0400 (Mon, 26 Apr 2004) | 4 lines
Applied Paulo Matos's patch from #5135.
SendEmail didn't conform to RFC #2047.
------------------------------------------------------------------------
r750 | leira | 2004-04-26 18:14:44 -0400 (Mon, 26 Apr 2004) | 4 lines
Applies patch from #5286, from Paulo Matos <pjsm(a)fct.unl.pt>.
DTRT with autocreating user real names and email addresses when
adding watchers (not just when the user is created via email).
------------------------------------------------------------------------
r747 | leira | 2004-04-26 15:30:25 -0400 (Mon, 26 Apr 2004) | 2 lines
Applied Paulo Matos's <pjsm(a)fct.unl.pt> patch from #5401.  Support
System Role groups in rt-setup-database.
------------------------------------------------------------------------
r742 | jesse | 2004-04-26 14:57:29 -0400 (Mon, 26 Apr 2004) | 1 line
RT previously split stored headers on newlines. The new regexp
better matches what the RFC says it should
------------------------------------------------------------------------
r2152@tinbook:  jesse | 2004-04-25T06:01:59.654755Z
We were needlessly including the "Principals" table in a query. It
hurt postgres perf significantly
----------------------------------------------------------------------
r2150@tinbook:  jesse | 2004-04-24T18:46:32.312073Z
Additional changes to user creation and setting of "Privileged"
status to improve access control handling
----------------------------------------------------------------------
r2148@tinbook:  jesse | 2004-04-23T21:38:44.150971Z
RT requires perl 5.8.3 to work correctly. Testdeps should check this
----------------------------------------------------------------------
r2145@tinbook:  jesse | 2004-04-23T20:47:48.438783Z
Rework RT::User->Create logic to better handle error cases
----------------------------------------------------------------------
r732 | leira | 2004-04-23 13:47:06 -0400 (Fri, 23 Apr 2004) | 5 lines
Users->Limit should specify ENTRYAGGREGATOR.  This was always true,
but DBIx::SearchBuilder makes it obvious.
This is a patch from BAZZAOUI Aissam <bazzaoui(a)karavel.com>.
------------------------------------------------------------------------
r2138@tinbook:  jesse | 2004-04-22T06:19:33.419238Z
Clean up temporary files better
----------------------------------------------------------------------
r2136@tinbook:  jesse | 2004-04-22T05:59:16.845794Z
Fix for the previous (post 3.0.10) update
----------------------------------------------------------------------
r2123@tinbook:  jesse | 2004-04-21T19:43:39.090256Z
Fix for Restriction corruption on repeated search from Ruslan
------------------------------------------------------------------------
r2099@tinbook:  jesse | 2004-04-20T03:25:26.896206Z
From: Vernon Lyon <vlyon(a)uk.yahoo-inc.com>
Below is a diff for a quick bug fix for the file: lib/RT/ACL_Overlay.pm
*   $args{'PrincipalId'}  should be  $args{'Id'}
------------------------------------------------------------------------
r698 | jesse | 2004-04-18 17:15:24 -0400 (Sun, 18 Apr 2004) | 2 lines
Better handling of loc when RT's database isn't there. (Check for
a user before trying to use it)
------------------------------------------------------------------------
r674 | jesse | 2004-04-06 00:13:01 -0400 (Tue, 06 Apr 2004) | 2 lines
Whacking more autogenerated files
------------------------------------------------------------------------
r673 | jesse | 2004-04-06 00:10:08 -0400 (Tue, 06 Apr 2004) | 2 lines
Removing autogenerated files from the repo
------------------------------------------------------------------------
r672 | jesse | 2004-04-06 00:08:40 -0400 (Tue, 06 Apr 2004) | 2 lines
Removing extra debugging info
------------------------------------------------------------------------
r670 | jesse | 2004-04-05 10:14:32 -0400 (Mon, 05 Apr 2004) | 1 line
Only show _users_ in the "About this requestor" box
2004-07-02 21:08:40 +00:00

91 lines
3.3 KiB
Makefile

# $NetBSD: Makefile.common,v 1.1 2004/07/02 21:08:41 roelants Exp $
#
DISTNAME= rt-3.0.11
CATEGORIES= devel
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
MAINTAINER= dieter.NetBSD@pandora.be
HOMEPAGE= http://bestpractical.com/rt/
COMMENT= Industrial-grade ticketing system
# Mason dependencies:
DEPENDS+= p5-Params-Validate>=0.02:../../devel/p5-Params-Validate
DEPENDS+= p5-Cache-Cache>=1.02:../../devel/p5-Cache-Cache
DEPENDS+= p5-HTML-Mason>=1.16:../../www/p5-HTML-Mason
DEPENDS+= p5-MLDBM>=2.01:../../databases/p5-MLDBM
DEPENDS+= p5-FreezeThaw>=0.43:../../devel/p5-FreezeThaw
DEPENDS+= p5-Digest-MD5>=2.27:../../security/p5-Digest-MD5
DEPENDS+= p5-Apache-Session>=1.53:../../www/p5-Apache-Session
# Mailgate dependencies:
DEPENDS+= p5-HTML-Tree>=3.18:../../www/p5-HTML-Tree
DEPENDS+= p5-HTML-Format>=2.03:../../www/p5-HTML-Format
DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww
# Modperl1 dependencies:
DEPENDS+= p5-libapreq>=1.2:../../www/p5-libapreq
DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI
# Core dependencies:
DEPENDS+= p5-DBI>=1.37:../../databases/p5-DBI
DEPENDS+= p5-Test-Inline>=0.15:../../devel/p5-Test-Inline
DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue
DEPENDS+= p5-DBIx-SearchBuilder>=0.97:../../databases/p5-DBIx-SearchBuilder
DEPENDS+= p5-Text-Template>=1.43:../../textproc/p5-Text-Template
DEPENDS+= p5-File-Spec>=0.8:../../devel/p5-File-Spec
DEPENDS+= p5-HTML-Parser>=3.35:../../www/p5-HTML-Parser
DEPENDS+= p5-Net>=1.15:../../net/p5-Net
DEPENDS+= p5-Log-Dispatch>=2.0:../../devel/p5-Log-Dispatch
DEPENDS+= p5-Locale-Maketext-Lexicon>=0.32:../../wip/p5-Locale-Maketext-Lexicon
DEPENDS+= p5-Locale-Maketext-Fuzzy>=0.02:../../wip/p5-Locale-Maketext-Fuzzy
DEPENDS+= p5-MIME-tools>=5.411.1:../../mail/p5-MIME-tools
DEPENDS+= p5-MailTools>=1.57:../../mail/p5-MailTools
DEPENDS+= p5-Net>=1.15:../../net/p5-Net
DEPENDS+= p5-Text-Wrapper>=1.0:../../textproc/p5-Text-Wrapper
DEPENDS+= p5-Time>=101.062101:../../time/p5-Time
DEPENDS+= p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
DEPENDS+= p5-Text-Autoformat>=1.04:../../textproc/p5-Text-Autoformat
DEPENDS+= p5-Text-Quoted>=1.3:../../textproc/p5-Text-Quoted
# Dev dependencies:
DEPENDS+= p5-Regexp-Common>=2.113:../../textproc/p5-Regexp-Common
DEPENDS+= p5-Test-Inline>=0.15:../../devel/p5-Test-Inline
DEPENDS+= p5-WWW-Mechanize>=0.72:../../www/p5-WWW-Mechanize
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_PERL5= yes
PERL5_REQD+= 5.8.3
PKG_SYSCONFVAR= rt
PKG_SYSCONFSUBDIR?= rt3
RT_DB_DATABASE?= rt3
RT_DB_HOST?= localhost
RT_DB_USER?= rt_user
RT_DB_PASS?= rt_pass
RT_GROUP?= rt
RT_LOCAL_PATH?= # not defined
USE_PKGINSTALL= YES
PKG_GROUPS= ${RT_GROUP}
CONFIGURE_ENV+= customdir=${RT_LOCAL_PATH}
CONFIGURE_ARGS+= --enable-layout=pkgsrc
CONFIGURE_ARGS+= --with-rt-group=${RT_GROUP}
CONFIGURE_ARGS+= --with-db-type=${RT_DB_TYPE}
CONFIGURE_ARGS+= --with-db-host=${RT_DB_HOST}
CONFIGURE_ARGS+= --with-db-dba=${DB_DBA}
CONFIGURE_ARGS+= --with-db-database=${RT_DB_DATABASE}
CONFIGURE_ARGS+= --with-db-rt-user=${RT_DB_USER}
CONFIGURE_ARGS+= --with-db-rt-pass=${RT_DB_PASS}
CONFIGURE_ARGS+= --with-web-user=${APACHE_USER}
CONFIGURE_ARGS+= --with-web-group=${APACHE_GROUP}
MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
MESSAGE_SUBST+= RT_GROUP=${RT_GROUP}
.include "../../mk/bsd.pkg.mk"