Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/libs/perlmods
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv25661/10.3/unstable/main/finkinfo/libs/perlmods

Added Files:
        rt-pm.info rt-pm.patch 
Log Message:
Request Tracker 3.6.1 


--- NEW FILE: rt-pm.info ---
Info2: <<
Package: rt-pm%type_pkg[perl]
Version: 3.6.1
Revision: 1
Type: perl (5.8.4 5.8.6)
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
Description: Request Tracker (Perl %type_raw[perl])
License: GPL
Maintainer: Christian Schaffner <[EMAIL PROTECTED]>

# Dependencies:
Depends: <<
 perl%type_pkg[perl]-core,
 mysql,
 libapache2-mod-perl2-perl%type_pkg[perl],
 passwd (>= 20061129-1),
 apache-session-pm%type_pkg[perl] (>= 1.53-1),
 cache-cache-pm%type_pkg[perl],
 apache-dbi-pm%type_pkg[perl],
 cache-simple-timedexpiry-pm,
 calendar-simple-pm,
 cgi-pm%type_pkg[perl],
 class-returnvalue-pm%type_pkg[perl] (>= 0.40-1),
 dbd-mysql-pm%type_pkg[perl] (>= 2.1018-1),
 dbi-pm%type_pkg[perl] (>= 1.37-1),
 dbix-searchbuilder-pm%type_pkg[perl] (>= 1.26-1),
 digest-md5-pm%type_pkg[perl],
 exception-class-pm%type_pkg[perl] (>= 1.14-1),
 error-pm,
 file-spec-pm%type_pkg[perl],
 file-temp-pm%type_pkg[perl],
 freezethaw-pm,
 getopt-long-pm%type_pkg[perl],
 gd-pm%type_pkg[perl],
 gd-graph-pm%type_pkg[perl],
 gd-textutil-pm%type_pkg[perl],
 html-mason-pm%type_pkg[perl] (>= 1.23-1),
 html-tree-pm%type_pkg[perl],
 html-format-pm%type_pkg[perl],
 html-scrubber-pm%type_pkg[perl] (>= 0.08-1),
 http-server-simple-mason-pm%type_pkg[perl],
 libnet-pm%type_pkg[perl],
 locale-maketext-pm%type_pkg[perl],
 locale-maketext-fuzzy-pm%type_pkg[perl],
 locale-maketext-lexicon-pm%type_pkg[perl] (>= 0.32-1),
 log-dispatch-pm%type_pkg[perl] (>= 2.0-1),
 mailtools-pm%type_pkg[perl] (>= 1.57-1),
 mime-tools-pm%type_pkg[perl] (>= 5.108-1),
 mldbm-pm,
 module-versions-report-pm,
 params-validate-pm%type_pkg[perl] (>= 0.02-1),
 regexp-common-pm,
 scalar-list-utils-pm%type_pkg[perl],
 term-readkey-pm%type_pkg[perl],
 test-expect-pm%type_pkg[perl],
 test-inline-pm%type_pkg[perl],
 text-autoformat-pm,
 text-quoted-pm,
 text-template-pm,
 text-wikiformat-pm%type_pkg[perl],
 text-wrapper-pm,
 time-modules-pm,
 time-hires-pm%type_pkg[perl],
 tree-simple-pm,
 universal-require-pm%type_pkg[perl],
 www-mechanize-pm%type_pkg[perl],
 xml-rss-pm%type_pkg[perl],
 xml-simple-pm%type_pkg[perl]
<<
BuildDepends: <<
 perl%type_pkg[perl] | system-perl%type_pkg[perl],
 apache-test-pm%type_pkg[perl],
 module-refresh-pm,
 regexp-common-pm,
 test-www-mechanize-pm%type_pkg[perl],
 fink (>= 0.22.0-1)
<<

# Unpack Phase:
Source: http://download.bestpractical.com/pub/rt/release/rt-%v.tar.gz
Source-MD5: 40c5a828fadaeef9e150255a517d0b17

# Patch Phase:
PatchScript: <<
 sed 's|@PREFIX@|%p|g' < %a/%{Ni}.patch | patch -p1
 perl -pi.bak -e 's|defaults to installing in /opt/rt3|gets installed in 
%p/share/rt-pm%type_pkg[perl]|g' README
 perl -pi.bak -e 's|/opt/rt3/|%p/share/rt-pm%type_pkg[perl]/|g' README
 perl -pi.bak -e 's| etc/upgrade| %p/share/rt-pm%type_pkg[perl]/etc/upgrade|g' 
README
<<

# Compile Phase: 
ConfigureParams: <<
 --prefix=%p/share/rt-pm%type_pkg[perl] \
 --with-db-type=mysql \
 --with-db-dba=mysql \
 --with-apachectl=%p/sbin/apache2ctl \
 --with-rt-group="rt" \
 --with-db-database="rt3" \
 --with-db-rt-user="rt_user" \
 --with-web-user="www" \
 --with-web-group="www"
<<
CompileScript: <<
 #!/bin/bash -ev
 ./configure %c
 make testdeps
<<

# Install Phase:
InstallScript: <<
 make install DESTDIR=%d
 /usr/bin/install -d %i/share
 /usr/bin/install -d %i/share/rt-pm%type_pkg[perl]
 /usr/bin/install -d %i/share/rt-pm%type_pkg[perl]/etc
 cp -r etc/upgrade %i/share/rt-pm%type_pkg[perl]/etc
<<
UpdatePOD: true
DocFiles: Changelog README UPGRADING COPYING
ConfFiles: <<
 %p/share/rt-pm%type_pkg[perl]/etc/RT_SiteConfig.pm
<<
PostInstScript: <<
 chown -R root:rt %p/share/rt-pm%type_pkg[perl]/etc
 chown -R root:rt %p/share/rt-pm%type_pkg[perl]/bin
 chown -R root:bin %p/share/rt-pm%type_pkg[perl]/lib
 chown -R root:bin %p/share/rt-pm%type_pkg[perl]/local/html
 chown -R root:bin %p/share/rt-pm%type_pkg[perl]/share/html
 chown -R www:www %p/share/rt-pm%type_pkg[perl]/var/log
 chown -R www:www %p/share/rt-pm%type_pkg[perl]/var/mason_data
 chown -R www:www %p/share/rt-pm%type_pkg[perl]/var/session_data
 chown www:www %p/share/rt-pm%type_pkg[perl]/etc/RT_SiteConfig.pm
 chown www:www %p/share/rt-pm%type_pkg[perl]/etc/RT_Config.pm
 echo
 echo
 echo PLEASE NOTE:
 echo 
 echo You must now configure RT by editing 
 echo  %p/share/rt-pm%type_pkg[perl]/etc/RT_SiteConfig.pm
 echo using %p/share/rt-pm%type_pkg[perl]/etc/RT_Config.pm as a template.
 echo 
 echo \(You will definitely need to set RT\'s database password before
 echo continuing. Not doing so could be very dangerous.\)
 echo 
 echo Read the package information by typing:
 echo
 echo  fink info rt-pm%type_pkg[perl]
 echo
<<
PostRmScript: <<
 echo Clearing mason cache dir 
%p/share/rt-pm%type_pkg[perl]/var/mason_data/obj...
 rm -fr %p/share/rt-pm%type_pkg[perl]/var/mason_data/obj || true
 rmdir %p/share/rt-pm%type_pkg[perl]/var/mason_data 2>/dev/null || true
 rmdir %p/share/rt-pm%type_pkg[perl]/var 2>/dev/null || true
 rmdir %p/share/rt-pm%type_pkg[perl] 2>/dev/null || true
<<

# Additional Data:
DescDetail: <<
RT is an enterprise-grade ticketing system which enables a group of
people to intelligently and efficiently manage tasks, issues, and
requests submitted by a community of users.

The RT platform has been under development since 1996, and is used by
systems administrators, customer support staffs, IT managers, developers
and marketing departments at thousands of sites around the world.

Written in object-oriented Perl, RT is a high-level, portable, platform
independent system that eases collaboration within organizations and
makes it easy for them to take care of their customers.

RT manages key tasks such as the identification, prioritization,
assignment, resolution and notification required by enterprise-critical
applications including project management, help desk, NOC ticketing, CRM
and software development.

RT is used by Fortune 100 companies, government agencies, educational
institutions, and development organizations worldwide.
<<
DescUsage: <<
Before using RT you have to configure by editing 
 %p/share/rt-pm%type_pkg[perl]/etc/RT_SiteConfig.pm
using %p/share/rt-pm%type_pkg[perl]/etc/RT_Config.pm as a template.

(You will definitely need to set RT's database password before 
continuing. Not doing so could be very dangerous.)

Read the README file for detailed installation information:
%p/share/doc/rt-pm%type_pkg[perl]/README

A quick walk-through of the installation steps needed:

1)
If mysql is not running start as descibed in 'fink info mysql'

2)
If you are using RT for the first time you have to initialize the database
with the command:

sudo %p/share/rt-pm%type_pkg[perl]/sbin/rt-setup-database \
     --action init --dba=root --prompt-for-dba-password

3)
If you are upgrading make sure to read the appropriate sections in:
%p/share/doc/rt-pm%type_pkg[perl]/README

4)
Set up RT's web interface for mod_perl for apache2 as described in 
"SETTING UP THE WEB INTERFACE" by editing your site config file at
 %p/etc/apache2/sites-available/
(see %p/share/doc/rt-pm%type_pkg[perl]/README)

5)
Set up RT's mail gate as described in "SETTING UP THE MAIL GATEWAY"
(see %p/share/doc/rt-pm%type_pkg[perl]/README)

6)
Restart apache2 by doing 'sudo /sw/sbin/apache2ctl graceful'

7)
Set up users, groups, queues, scrips and access control through RT's 
web interface.

8)
Check for errors in '/sw/var/log/apache2/error.log'
<<
DescPackaging: <<
Patched to include the fink perl include path when used via apache.
<<
Homepage: http://www.bestpractical.com/rt/

# End of Info2
<<

--- NEW FILE: rt-pm.patch ---
diff -Naur rt-3.4.1-orig/bin/rt-crontool.in rt-3.4.1/bin/rt-crontool.in
--- rt-3.4.1-orig/bin/rt-crontool.in    2005-02-21 09:22:00.000000000 +0100
+++ rt-3.4.1/bin/rt-crontool.in 2005-02-21 09:48:21.000000000 +0100
@@ -47,7 +47,7 @@
 use strict;
 use Carp;
 
-use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");
+use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@", "@PREFIX@/lib/perl5", 
"@PREFIX@/lib/perl5/darwin" );
 
 package RT;
 
diff -Naur rt-3.4.4-orig/bin/rt-mailgate.in rt-3.4.4/bin/rt-mailgate.in
--- rt-3.4.4-orig/bin/rt-mailgate.in   2006-11-20 16:22:20.000000000 -0600
+++ rt-3.4.4/bin/rt-mailgate.in   2006-11-20 16:22:20.000000000 -0600
@@ -52,6 +52,9 @@
 
 
 use strict;
+
+use lib ( "@PREFIX@/lib/perl5", "@PREFIX@/lib/perl5/darwin" );
+
 use Getopt::Long;
 use LWP::UserAgent;
 
diff -Naur rt-3.4.4-orig/bin/webmux.pl.in rt-3.4.4/bin/webmux.pl.in
--- rt-3.4.4-orig/bin/webmux.pl.in   2006-11-20 16:22:20.000000000 -0600
+++ rt-3.4.4/bin/webmux.pl.in   2006-11-20 16:22:20.000000000 -0600
@@ -62,7 +62,7 @@
 
 }
 
-use lib ( "@LOCAL_LIB_PATH@", "@RT_LIB_PATH@" );
+use lib ( "@LOCAL_LIB_PATH@", "@RT_LIB_PATH@", "@PREFIX@/lib/perl5", 
"@PREFIX@/lib/perl5/darwin" );
 use RT;
 
 package RT::Mason;
diff -Naur rt-3.4.4_orig/Makefile.in rt-3.4.4/Makefile.in
--- rt-3.4.4_orig/Makefile.in   2006-11-20 17:05:59.000000000 -0600
+++ rt-3.4.4/Makefile.in        2006-11-20 17:07:23.000000000 -0600
@@ -267,8 +267,8 @@
 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)
+       #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)
 
 
@@ -280,33 +280,33 @@
 
        #TODO: the config file should probably be able to have its
        # owner set separately from the binaries.
-       chown -R $(BIN_OWNER) $(DESTDIR)/$(RT_ETC_PATH)
-       chgrp -R $(RTGROUP) $(DESTDIR)/$(RT_ETC_PATH)
+       #chown -R $(BIN_OWNER) $(DESTDIR)/$(RT_ETC_PATH)
+       #chgrp -R $(RTGROUP) $(DESTDIR)/$(RT_ETC_PATH)
 
        chmod 0550 $(DESTDIR)/$(CONFIG_FILE)
        chmod 0550 $(DESTDIR)/$(SITE_CONFIG_FILE)
 
        # Make the interfaces executable
-       chown $(BIN_OWNER) $(BINARIES)
-       chgrp $(RTGROUP) $(BINARIES)
+       #chown $(BIN_OWNER) $(BINARIES)
+       #chgrp $(RTGROUP) $(BINARIES)
        chmod 0755  $(BINARIES)
 
        # Make the web ui readable by all. 
        chmod -R  u+rwX,go-w,go+rX      $(DESTDIR)/$(MASON_HTML_PATH) \
                                        $(DESTDIR)/$(MASON_LOCAL_HTML_PATH) \
                                        $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-       chown -R $(LIBS_OWNER)  $(DESTDIR)/$(MASON_HTML_PATH) \
-                               $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       chgrp -R $(LIBS_GROUP)  $(DESTDIR)/$(MASON_HTML_PATH) \
-                               $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
+       #chown -R $(LIBS_OWNER)         $(DESTDIR)/$(MASON_HTML_PATH) \
+       #                       $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
+       #chgrp -R $(LIBS_GROUP)         $(DESTDIR)/$(MASON_HTML_PATH) \
+       #                       $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
 
        # Make the web ui's data dir writable
        chmod 0770      $(DESTDIR)/$(MASON_DATA_PATH) \
                        $(DESTDIR)/$(MASON_SESSION_PATH)
-       chown -R $(WEB_USER)    $(DESTDIR)/$(MASON_DATA_PATH) \
-                               $(DESTDIR)/$(MASON_SESSION_PATH)
-       chgrp -R $(WEB_GROUP)   $(DESTDIR)/$(MASON_DATA_PATH) \
-                               $(DESTDIR)/$(MASON_SESSION_PATH)
+       #chown -R $(WEB_USER)   $(DESTDIR)/$(MASON_DATA_PATH) \
+       #                       $(DESTDIR)/$(MASON_SESSION_PATH)
+       #chgrp -R $(WEB_GROUP)  $(DESTDIR)/$(MASON_DATA_PATH) \
+       #                       $(DESTDIR)/$(MASON_SESSION_PATH)
 # }}}
 
 # {{{ dirs
@@ -333,11 +333,11 @@
        -cp etc/RT_Config.pm $(DESTDIR)/$(CONFIG_FILE)
        [ -f $(DESTDIR)/$(SITE_CONFIG_FILE) ] || cp etc/RT_SiteConfig.pm 
$(DESTDIR)/$(SITE_CONFIG_FILE) 
 
-       chgrp $(RTGROUP) $(DESTDIR)/$(CONFIG_FILE)
-       chown $(BIN_OWNER) $(DESTDIR)/$(CONFIG_FILE)
+       #chgrp $(RTGROUP) $(DESTDIR)/$(CONFIG_FILE)
+       #chown $(BIN_OWNER) $(DESTDIR)/$(CONFIG_FILE)
 
-       chgrp $(RTGROUP) $(DESTDIR)/$(SITE_CONFIG_FILE)
-       chown $(BIN_OWNER) $(DESTDIR)/$(SITE_CONFIG_FILE)
+       #chgrp $(RTGROUP) $(DESTDIR)/$(SITE_CONFIG_FILE)
+       #chown $(BIN_OWNER) $(DESTDIR)/$(SITE_CONFIG_FILE)
 
        @echo "Installed configuration. about to install rt in  $(RT_PATH)"
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to