Date: Tue, 6 May 2003 00:55:01 +0200 (CEST) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: frerich.raabe@gmx.de Subject: ports/51818: net/kpopup: fixing the path of smbclient. Message-ID: <20030505225501.493BD751C@graf.pompo.net> Resent-Message-ID: <200305052300.h45N0USM010702@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51818 >Category: ports >Synopsis: net/kpopup: fixing the path of smbclient. >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: Mon May 05 16:00:29 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.8-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Apr 29 18:16:35 CEST 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: kpopup is looking for smbclient under /usr/bin, but it is installed under $LOCALBASE/bin. >How-To-Repeat: - install net/kpopup on a standard FreeBSD machine; - try to send a message => it won't find smbclient. >Fix: Please apply the following fix. Note: there is a new file, files/patch-kpopup_misc.h. --- kpopup.diff begins here --- diff -urN net/kpopup.orig/Makefile net/kpopup/Makefile --- net/kpopup.orig/Makefile Wed Apr 30 15:20:05 2003 +++ net/kpopup/Makefile Mon May 5 18:52:39 2003 @@ -21,8 +21,9 @@ USE_REINPLACE= yes post-patch: - ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/kpopup/misc.cpp \ + @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/kpopup/misc.cpp \ ${WRKSRC}/kpopup/make_popup.cpp ${WRKSRC}/kpopup/main.cpp + @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/kpopup/misc.h post-install: @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' diff -urN net/kpopup.orig/files/patch-kpopup_misc.h net/kpopup/files/patch-kpopup_misc.h --- net/kpopup.orig/files/patch-kpopup_misc.h Thu Jan 1 01:00:00 1970 +++ net/kpopup/files/patch-kpopup_misc.h Mon May 5 18:47:52 2003 @@ -0,0 +1,11 @@ +--- ./kpopup/misc.h.orig Sun Aug 26 17:44:03 2001 ++++ ./kpopup/misc.h Mon May 5 09:47:04 2003 +@@ -20,7 +20,7 @@ + #include "kpopup.h" + + #undef DEBUG +-#define SMBPATH "/usr/bin" //Path of smbclient ++#define SMBPATH "%%LOCALBASE%%/bin" //Path of smbclient + #define TMPPOPUPFILE "/tmp/kpopup-message" + #define SETSIG(sig, fun, fla) sa.sa_handler = fun; \ + sa.sa_flags = fla; \ --- kpopup.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?20030505225501.493BD751C>