Date: Sun, 5 Apr 2009 21:18:28 +0100 (BST) From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skreuzer@FreeBSD.org Subject: ports/133400: www/rt38 -- add ${LOCALBASE}/bin to embedded paths Message-ID: <200904052018.n35KISMj017840@happy-idiot-talk.infracaninophile.co.uk> Resent-Message-ID: <200904052020.n35KK1WG020978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133400 >Category: ports >Synopsis: www/rt38 -- add ${LOCALBASE}/bin to embedded paths >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 05 20:20:01 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904052018.n35KISMj017840>