From m.seaman@infracaninophile.co.uk  Sun Apr  5 20:18:37 2009
Return-Path: <m.seaman@infracaninophile.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0FAC91065670;
	Sun,  5 Apr 2009 20:18:37 +0000 (UTC)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1])
	by mx1.freebsd.org (Postfix) with ESMTP id 5A1D98FC0A;
	Sun,  5 Apr 2009 20:18:36 +0000 (UTC)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1])
	by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n35KISKT017841;
	Sun, 5 Apr 2009 21:18:28 +0100 (BST)
	(envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk)
Received: (from matthew@localhost)
	by happy-idiot-talk.infracaninophile.co.uk (8.14.3/8.14.3/Submit) id n35KISMj017840;
	Sun, 5 Apr 2009 21:18:28 +0100 (BST)
	(envelope-from matthew)
Message-Id: <200904052018.n35KISMj017840@happy-idiot-talk.infracaninophile.co.uk>
Date: Sun, 5 Apr 2009 21:18:28 +0100 (BST)
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Reply-To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc: skreuzer@freebsd.org
Subject: www/rt38 -- add ${LOCALBASE}/bin to embedded paths
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         133400
>Category:       ports
>Synopsis:       www/rt38 -- add ${LOCALBASE}/bin to embedded paths
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    skreuzer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 05 20:20:01 UTC 2009
>Closed-Date:    Mon Apr 27 13:48:46 UTC 2009
>Last-Modified:  Mon Apr 27 13:50:01 UTC 2009
>Originator:     Matthew Seaman
>Release:        FreeBSD 7.2-PRERELEASE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #60: Sun Mar 29 22:33:09 BST 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

rt38 will run various auxilliary programs such ad graphviz, gnupg if
so configured.  Unfortunately the internal search path is set to
/bin:/usr/bin Under FreeBSD those applications are generally installed
from ports and can be found in ${LOCALBASE}/bin.  Modify the embedded
path in webmux.pl (for the web interface) and RT/Interface/CLI.pm for
command line tools such as rt-crontool or rt-mailgate

>How-To-Repeat:
	
>Fix:

	

--- rt38.diff begins here ---
diff -Nur /usr/ports/www/rt38/Makefile rt38/Makefile
--- /usr/ports/www/rt38/Makefile	2009-03-28 05:02:42.000000000 +0000
+++ rt38/Makefile	2009-04-05 21:01:45.000000000 +0100
@@ -13,6 +13,7 @@
 
 PORTNAME=	rt
 PORTVERSION=	3.8.2
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://download.bestpractical.com/pub/rt/release/ \
 		ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/release/
@@ -200,6 +201,9 @@
 	@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/config.layout
 	@${REINPLACE_CMD} -e 's!%%SITE_PERL%%!${SITE_PERL}!g' ${WRKSRC}/config.layout
 	@${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm
+	@${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/bin/webmux.pl.in
+	@${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/lib/RT/Interface/CLI.pm && \
+	    ${RM} ${WRKSRC}/lib/RT/Interface/CLI.pm.bak
 
 pre-install:
 	@${RM} -f ${WRKSRC}/lib/RT.pm.in
--- rt38.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->skreuzer 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 5 20:20:11 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133400 
State-Changed-From-To: open->closed 
State-Changed-By: skreuzer 
State-Changed-When: Mon Apr 27 13:48:45 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133400 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/133400: commit references a PR
Date: Mon, 27 Apr 2009 13:48:22 +0000 (UTC)

 skreuzer    2009-04-27 13:48:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/rt38             Makefile 
   Log:
   add ${LOCALBASE}/bin to embedded paths
   
   PR:             ports/133400
   Submitted by:   Matthew Seaman <m.seaman@infracaninophile.co.uk>
   Approved by:    wxs (mentor)
   
   Revision  Changes    Path
   1.12      +4 -0      ports/www/rt38/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
