FreeBSD Bugzilla – Attachment 155037 Details for
Bug 199056
[PATCH] comms/thebridge: add 'USES=shebangfix' to fix 'usermgmt.cgi' script.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
thebridge.patch
thebridge.patch (text/x-c), 2.69 KB, created by
takefu
on 2015-03-31 02:42:42 UTC
(
hide
)
Description:
thebridge.patch
Filename:
MIME Type:
Creator:
takefu
Created:
2015-03-31 02:42:42 UTC
Size:
2.69 KB
patch
obsolete
>diff -ruN /usr/ports/comms/thebridge/Makefile ./Makefile >--- /usr/ports/comms/thebridge/Makefile 2014-11-23 08:38:50.000000000 +0900 >+++ ./Makefile 2015-03-31 11:39:07.000000000 +0900 >@@ -11,19 +11,26 @@ > > LICENSE= GPLv2 > >-USES= gmake tar:tgz >+USES= gmake shebangfix tar:tgz > GNU_CONFIGURE= yes > PORTDOCS= README > USE_RC_SUBR= tbd > MAKE_ARGS= AUTOMAKE="${TRUE}" > >+SHEBANG_FILES= addons/usermgmt.cgi >+SHEBANG_LANG= bash >+ > INSTALL_TARGET= install-strip > >+post-patch: >+ @${REINPLACE_CMD} 's!tbdcmd=\/usr\/local!tbdcmd=${PREFIX}!'\ >+ ${WRKSRC}/addons/usermgmt.cgi >+ > post-install: >- @${MKDIR} ${STAGEDIR}/${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} >- ${MKDIR} ${STAGEDIR}/${DATADIR} >- ${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${STAGEDIR}/${DATADIR} >- ${INSTALL_DATA} ${WRKSRC}/addons/README ${STAGEDIR}/${DATADIR} >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/addons/README ${STAGEDIR}${DATADIR} > > .include <bsd.port.mk> >diff -ruN /usr/ports/comms/thebridge/files/patch-addons_usermgmt.cgi ./files/patch-addons_usermgmt.cgi >--- /usr/ports/comms/thebridge/files/patch-addons_usermgmt.cgi 2014-01-23 02:40:44.000000000 +0900 >+++ ./files/patch-addons_usermgmt.cgi 1970-01-01 09:00:00.000000000 +0900 >@@ -1,17 +0,0 @@ >---- 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 '' >diff -ruN /usr/ports/comms/thebridge/files/patch-tbdcmd_Makefile.in ./files/patch-tbdcmd_Makefile.in >--- /usr/ports/comms/thebridge/files/patch-tbdcmd_Makefile.in 2014-01-23 02:40:44.000000000 +0900 >+++ ./files/patch-tbdcmd_Makefile.in 2013-10-24 14:54:57.000000000 +0900 >@@ -6,6 +6,6 @@ > @LINK_BOX_FALSE@ fi > -@LINK_BOX_FALSE@ ln -s $(DESTDIR)$(bindir)/tbdcmd $(DESTDIR)$(bindir)/tbdchat > +@LINK_BOX_FALSE@ ln -s tbdcmd $(DESTDIR)$(bindir)/tbdchat >- >+ > @LINK_BOX_FALSE@uninstall-hook: > @LINK_BOX_FALSE@ rm $(DESTDIR)$(bindir)/tbdchat
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 199056
: 155037