Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Feb 2005 17:16:27 +0100
From:      Taik0 <suikogaiden@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77015: /usr/ports/net/linpopup/ (linpopup-1.2.0_1) LinPopup doesn't send messages
Message-ID:  <E1CwNAv-0005vm-00@moe.ilimit.es>
Resent-Message-ID: <200502021620.j12GKM2d092914@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77015
>Category:       ports
>Synopsis:       /usr/ports/net/linpopup/ (linpopup-1.2.0_1) LinPopup doesn't send messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 02 16:20:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Taik0
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
http://taik0.piscue.com
>Environment:
System: FreeBSD dani.ilimit.lan 5.3-STABLE FreeBSD 5.3-STABLE #1: Thu Nov 11 18:09:59 CET 2004 root@dani.ilimit.lan:/usr/obj/usr/src/sys/RYODAN i386


>Description:
Linpopup doesn't send messages, it's because smbclient args are different. Without modify the source, Linpopup doesn't work.

	
>How-To-Repeat:
Just try to send a message and a window will open noticing you that smbclient are used with invalid syntax.
	
>Fix:
There the patch:

diff -ur linpopup_orig/LinPopUp-1.2.0/src/send.c linpopup_patched/LinPopUp-1.2.0/src/send.c
--- linpopup_orig/LinPopUp-1.2.0/src/send.c     Tue Mar 14 03:45:05 2000
+++ linpopup_patched/LinPopUp-1.2.0/src/send.c  Wed Feb  2 17:05:46 2005
@@ -92,7 +92,7 @@
       /* -- launch smbclient and read output from pipe -- */
       //sprintf (command_line, "( %s cat %s ) | smbclient -M \"%s\" -U \"%s\" -n \"%s\" \"%s\"", (MULTI_RECIPIENTS ? prefix : ""), temp_filename, head_text, user_rc.samba_username, user_rc.samba_nbiosname, user_rc.samba_misc);
 
-      sprintf (command_line, "( %s cat %s ) | smbclient -M \"%s\" -U \"%s\" -n \"%s\" \"%s\" 2>&1", (MULTI_RECIPIENTS ? prefix : ""), temp_filename, head_text, user_rc.samba_username, user_rc.samba_nbiosname, user_rc.samba_misc);
+      sprintf (command_line, "( %s cat %s ) | smbclient -M \"%s\" -U \"%s\" -n \"%s\" 2>&1", (MULTI_RECIPIENTS ? prefix : ""), temp_filename, head_text, user_rc.samba_username, user_rc.samba_nbiosname);
 
 
       output = popen (command_line, "r");

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CwNAv-0005vm-00>