On Sun, Jun 21, 2009 at 08:43:21PM +0000, Christian Weisgerber wrote:
> Ports that write outside the fake path during install:
> 
> www/p5-RTx-Tags
>   /usr/local/lib/RT/Search/Googleish_Local.pm
>   /usr/local/lib/RTx/Tags.pm
>   /usr/local/html/Callbacks/RTx-Tags/Elements/Header/Head
>   /usr/local/html/Callbacks/RTx-Tags/Search/Simple.html/PreForm
>   /usr/local/html/Elements/TagCloud
>   /usr/local/html/NoAuth/css/cloud.css
> 

Here's a fix, but i really suspect it's working anyway as the file
location seems wrong to me.  At least rt is using different locations
for similar files, so i don't see how rt can see them.
But then again i don't know rt...

Regards,
Simon


Index: patches/patch-inc_Module_Install_RTx_pm
===================================================================
RCS file: patches/patch-inc_Module_Install_RTx_pm
diff -N patches/patch-inc_Module_Install_RTx_pm
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-inc_Module_Install_RTx_pm     21 Jun 2009 22:22:54 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- inc/Module/Install/RTx.pm.orig     Mon Jun 22 00:15:28 2009
++++ inc/Module/Install/RTx.pm  Mon Jun 22 00:16:00 2009
+@@ -97,7 +97,7 @@ sub RTx {
+     my %index = map { $_ => 1 } @INDEX_DIRS;
+     $self->no_index( directory => $_ ) foreach grep !$index{$_}, @DIRS;
+ 
+-    my $args = join ', ', map "q($_)", map { ($_, $path{$_}) }
++    my $args = join ', ', map "q($_)", map { ($_, '${DESTDIR}'.$path{$_}) }
+         grep $subdirs{$_}, keys %path;
+ 
+     print "./$_\t=> $path{$_}\n" for sort keys %subdirs;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/p5-RTx-Tags/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   23 Apr 2009 16:01:49 -0000      1.1.1.1
+++ pkg/PLIST   21 Jun 2009 22:22:54 -0000
@@ -1,4 +1,23 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/23 16:01:49 robert Exp $
+html/
+html/Callbacks/
+html/Callbacks/RTx-Tags/
+html/Callbacks/RTx-Tags/Elements/
+html/Callbacks/RTx-Tags/Elements/Header/
+html/Callbacks/RTx-Tags/Elements/Header/Head
+html/Callbacks/RTx-Tags/Search/
+html/Callbacks/RTx-Tags/Search/Simple.html/
+html/Callbacks/RTx-Tags/Search/Simple.html/PreForm
+html/Elements/
+html/Elements/TagCloud
+html/NoAuth/
+html/NoAuth/css/
+html/NoAuth/css/cloud.css
+lib/RT/
+lib/RT/Search/
+lib/RT/Search/Googleish_Local.pm
+lib/RTx/
+lib/RTx/Tags.pm
 ${P5SITE}/RT/
 ${P5SITE}/RT/Search/
 ${P5SITE}/RT/Search/Googleish_Local.pm

Reply via email to