From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 5 16:00:33 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C25537B404 for ; Mon, 5 May 2003 16:00:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5366843FBD for ; Mon, 5 May 2003 16:00:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h45N0UUp010703 for ; Mon, 5 May 2003 16:00:30 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h45N0USM010702; Mon, 5 May 2003 16:00:30 -0700 (PDT) Resent-Date: Mon, 5 May 2003 16:00:30 -0700 (PDT) Resent-Message-Id: <200305052300.h45N0USM010702@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, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C12237B401 for ; Mon, 5 May 2003 15:55:49 -0700 (PDT) Received: from graf.pompo.net (lns-p19-16-81-56-186-139.adsl.proxad.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E57043FBD for ; Mon, 5 May 2003 15:55:48 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 493BD751C; Tue, 6 May 2003 00:55:01 +0200 (CEST) Message-Id: <20030505225501.493BD751C@graf.pompo.net> Date: Tue, 6 May 2003 00:55:01 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: frerich.raabe@gmx.de Subject: ports/51818: net/kpopup: fixing the path of smbclient. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 23:00:33 -0000 >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: