From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 5 20:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48227106566C for ; Sun, 5 Apr 2009 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 20F3B8FC1E for ; Sun, 5 Apr 2009 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n35KK1t0020979 for ; Sun, 5 Apr 2009 20:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n35KK1WG020978; Sun, 5 Apr 2009 20:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 5 Apr 2009 20:20:01 GMT Resent-Message-Id: <200904052020.n35KK1WG020978@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Seaman 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: skreuzer@FreeBSD.org Subject: ports/133400: www/rt38 -- add ${LOCALBASE}/bin to embedded paths X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 20:20:02 -0000 >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: