Date: Tue, 07 Jun 2011 18:06:48 +0900 From: Takefu <takefu@airport.fm> To: db@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: ports/157679: [PATCH] comms/thebridge usermgmt.cgi not run corrections Message-ID: <4DEDEA28.1090101@airport.fm> Resent-Message-ID: <201106070910.p579A9nq085988@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157679 >Category: ports >Synopsis: [PATCH] comms/thebridge usermgmt.cgi not run corrections >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 07 09:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: FreeBSD 8.2-RELEASE i386 >Organization: FOX Amateur Radio Club >Environment: >Description: usermgmt.cgi not run corrections Port maintainer (db@FreeBSD.org) is cc'd. >How-To-Repeat: >Fix: --- thebridge.patch begins here --- diff -ruN /usr/ports/comms/thebridge/Makefile comms/thebridge/Makefile --- /usr/ports/comms/thebridge/Makefile 2010-07-21 16:53:12.000000000 +0900 +++ comms/thebridge/Makefile 2011-03-14 16:29:28.000000000 +0900 @@ -14,10 +14,20 @@ MAINTAINER= db@FreeBSD.org COMMENT= Amateur Radio Echolink conference bridge +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes PORTDOCS= README USE_RC_SUBR= tbd +MAKE_JOBS_SAFE= yes + +post-patch: + @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \ + s,%%PREFIX%%,${PREFIX},' \ + ${WRKSRC}/addons/usermgmt.cgi post-install: .if !defined(NOPORTDOCS) diff -ruN /usr/ports/comms/thebridge/files/patch-addons_usermgmt.cgi comms/thebridge/files/patch-addons_usermgmt.cgi --- /usr/ports/comms/thebridge/files/patch-addons_usermgmt.cgi 1970-01-01 09:00:00.000000000 +0900 +++ comms/thebridge/files/patch-addons_usermgmt.cgi 2011-02-21 10:55:42.000000000 +0900 @@ -0,0 +1,17 @@ +--- addons/usermgmt.cgi.orig 2011-02-21 10:51:53.000000000 +0900 ++++ addons/usermgmt.cgi 2011-02-21 10:55:12.000000000 +0900 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!%%LOCALBASE%%/bin/bash + #------------------------------------------------------------------- + # TheBridge Echolink Conference Server User Management Utility + # +@@ -15,7 +15,7 @@ + admin= # admin's callsign or quoted name + qrz=yes # leave blank to disable QRZ lookups + chginfo=no # enable/disable Info/Location changes +-tbdcmd=/usr/local/bin/tbdcmd # path to "tbdcmd" executable ++tbdcmd=%%PREFIX%%/bin/tbdcmd # path to "tbdcmd" executable + #------------------------------------------------------------------- + echo 'Content-type: text/html' + echo '' --- thebridge.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DEDEA28.1090101>