Bug 157679 - [PATCH] comms/thebridge usermgmt.cgi not run corrections
Summary: [PATCH] comms/thebridge usermgmt.cgi not run corrections
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 10:10 UTC by takefu
Modified: 2011-06-14 12:20 UTC (History)
0 users

See Also:


Attachments
thebridge.patch (1.73 KB, patch)
2011-06-07 10:10 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2011-06-07 10:10:09 UTC
usermgmt.cgi not run corrections
Port maintainer (db@FreeBSD.org) is cc'd.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-07 10:10:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->db

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Diane Bruce 2011-06-12 00:41:55 UTC
On Tue, Jun 07, 2011 at 06:06:48PM +0900, Takefu wrote:
> 
> >Number:         157679
> >Category:       ports

How about this:

? thebridge/files/patch-addons_usermgmt.cgi
Index: thebridge/Makefile
===================================================================
RCS file: /home/pcvs/ports/comms/thebridge/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- thebridge/Makefile	22 Aug 2009 00:15:13 -0000	1.11
+++ thebridge/Makefile	11 Jun 2011 23:02:15 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	thebridge
 PORTVERSION=	1.06
+PORTREVISION=	1
 CATEGORIES=	comms hamradio
 MASTER_SITES=	SF/cqinet/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
@@ -14,10 +15,17 @@
 MAINTAINER=	db@FreeBSD.org
 COMMENT=	Amateur Radio Echolink conference bridge
 
+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,%%PREFIX%%,${PREFIX},' \
+		${WRKSRC}/addons/usermgmt.cgi
 
 post-install:
 .if !defined(NOPORTDOCS)

The cgi works here as far as I can tell with /bin/sh.

- 73 Diane VA3DB
-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db
  Why leave money to our children if we don't leave them the Earth?
Comment 3 takefu 2011-06-13 08:51:45 UTC
Hi.

Really?
/bin/sh I'll work with it.

e.g.
/bin/sh		Broken display. And uncontrollable.
/bin/bash	500 error.
/usr/loca/bin/bash OK

--
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-06-14 12:17:52 UTC
db          2011-06-14 11:17:43 UTC

  FreeBSD ports repository

  Modified files:
    comms/thebridge      Makefile 
  Added files:
    comms/thebridge/files patch-addons_usermgmt.cgi 
  Log:
  - correct paths in cgi script usermgmt.cgi so it will run correctly.
  
  PR:             ports/157679
  Submitted by:   takefu@airport.fm
  
  Revision  Changes    Path
  1.12      +11 -0     ports/comms/thebridge/Makefile
  1.1       +17 -0     ports/comms/thebridge/files/patch-addons_usermgmt.cgi (new)
_______________________________________________
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"
Comment 5 Diane Bruce freebsd_committer freebsd_triage 2011-06-14 12:18:06 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!