aboutsummaryrefslogtreecommitdiff
path: root/www/rt38/files
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2008-12-29 05:35:06 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2008-12-29 05:35:06 +0000
commit91663ae8d198a55af8117cedce540f3ac10aa83e (patch)
tree17cc1850b70dd286f84f58b8750798c496bc3998 /www/rt38/files
parent9eb2bdfbdf5541ffb384a7a9cf5237467d7d50b2 (diff)
downloadports-91663ae8d198a55af8117cedce540f3ac10aa83e.tar.gz
ports-91663ae8d198a55af8117cedce540f3ac10aa83e.zip
Notes
Diffstat (limited to 'www/rt38/files')
-rw-r--r--www/rt38/files/patch-Makefile.in31
-rw-r--r--www/rt38/files/patch-config.layout29
-rw-r--r--www/rt38/files/patch-lib__RT.pm.in14
-rw-r--r--www/rt38/files/pkg-message.in7
4 files changed, 74 insertions, 7 deletions
diff --git a/www/rt38/files/patch-Makefile.in b/www/rt38/files/patch-Makefile.in
index 8a3b09d1b1ac..63b4700f93da 100644
--- a/www/rt38/files/patch-Makefile.in
+++ b/www/rt38/files/patch-Makefile.in
@@ -1,11 +1,32 @@
---- ./Makefile.in.orig 2008-08-18 15:13:58.000000000 +0000
-+++ ./Makefile.in 2008-08-21 05:15:16.000000000 +0000
-@@ -361,7 +361,7 @@
+--- ./Makefile.in.orig 2008-08-18 11:13:58.000000000 -0400
++++ ./Makefile.in 2008-12-28 23:12:31.000000000 -0500
+@@ -107,7 +107,7 @@
+ RT_VAR_PATH = @RT_VAR_PATH_R@
+ RT_DOC_PATH = @RT_DOC_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_ETC_PATH = @LOCAL_ETC_PATH_R@
+ LOCAL_LIB_PATH = @LOCAL_LIB_PATH_R@
+ LOCAL_LEXICON_PATH = @LOCAL_LEXICON_PATH_R@
+@@ -283,7 +283,7 @@
+
+ upgrade: testdeps config-install dirs files-install fixperms upgrade-instruct
+
+-upgrade-noclobber: config-install dirs libs-install html-install bin-install local-install doc-install fixperms
++upgrade-noclobber: config-install dirs libs-install html-install bin-install doc-install fixperms
+
+
+ # {{{ dependencies
+@@ -361,9 +361,9 @@
$(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_LEXICON_PATH)
# }}}
-install: testdeps config-install dirs files-install fixperms instruct
-+install: config-install dirs files-install fixperms instruct
++install: config-install dirs files-install fixperms
- files-install: libs-install etc-install config-install bin-install sbin-install html-install local-install doc-install
+-files-install: libs-install etc-install config-install bin-install sbin-install html-install local-install doc-install
++files-install: libs-install etc-install config-install bin-install sbin-install html-install doc-install
+ config-install:
+ @COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -o $(BIN_OWNER) -g $(RTGROUP) -d $(DESTDIR)$(CONFIG_FILE_PATH)
diff --git a/www/rt38/files/patch-config.layout b/www/rt38/files/patch-config.layout
new file mode 100644
index 000000000000..c1863f9cc1db
--- /dev/null
+++ b/www/rt38/files/patch-config.layout
@@ -0,0 +1,29 @@
+--- ./config.layout.orig 2008-08-18 11:13:57.000000000 -0400
++++ ./config.layout 2008-12-28 23:12:31.000000000 -0500
+@@ -91,19 +91,20 @@
+ sbindir: ${exec_prefix}/sbin
+ sysconfdir: ${prefix}/etc+
+ mandir: ${prefix}/man
+- libdir: ${prefix}/lib+
++ libdir: /usr/local/lib/perl5/site_perl/5.8.8
+ datadir: ${prefix}/share+
+ htmldir: ${datadir}/html
++ sharedir: ${prefix}/share+
+ manualdir: ${prefix}/share/doc+
+ logfiledir: /var/log
+ localstatedir: /var/run+
+ masonstatedir: ${localstatedir}/mason_data
+ sessionstatedir: ${localstatedir}/session_data
+- customdir: ${prefix}/share+
+- custometcdir: ${customdir}/local/etc
+- customhtmldir: ${customdir}/local/html
+- customlexdir: ${customdir}/local/po
+- customlibdir: ${customdir}/local/lib
++ customdir: ${prefix}
++ custometcdir: ${customdir}/etc+
++ customhtmldir: ${customdir}/www+
++ customlexdir: ${sharedir}/po
++ customlibdir: /usr/local/lib/perl5/site_perl/5.8.8
+ </Layout>
+
+ <Layout Win32>
diff --git a/www/rt38/files/patch-lib__RT.pm.in b/www/rt38/files/patch-lib__RT.pm.in
new file mode 100644
index 000000000000..fc0fd75ddfdd
--- /dev/null
+++ b/www/rt38/files/patch-lib__RT.pm.in
@@ -0,0 +1,14 @@
+--- ./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
+
diff --git a/www/rt38/files/pkg-message.in b/www/rt38/files/pkg-message.in
index 2381be4a10c2..b441c0eb1ed7 100644
--- a/www/rt38/files/pkg-message.in
+++ b/www/rt38/files/pkg-message.in
@@ -2,8 +2,8 @@
To complete the installation of this port, please follow these steps:
-1. Edit %%RT_PATH%%/etc/RT_SiteConfig.pm, by referring to
- the default config file (%%RT_PATH%%/etc/RT_Config.pm).
+1. Edit %%LOCALBASE%/etc/rt38/RT_SiteConfig.pm, by referring to
+ the default config file (%%LOCALBASE%%/etc/rt38/RT_Config.pm).
2. Configure the email and web gateways. Please refer to
'SETTING UP THE MAIL GATEWAY' in %%DOCSDIR%%/README
3. Restart Apache.
@@ -22,5 +22,8 @@ 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.
+$ sudo perl rt-setup-database --action init --dba dba --dba-password X
+$ sudo perl rt-setup-database --action drop --dba dba --dba-password X
+
See the TODO section at the top of the port's Makefile
=====================================================================