ports/77015: /usr/ports/net/linpopup/ (linpopup-1.2.0_1) LinPopup doesn't send messages

Taik0 suikogaiden at gmail.com
Wed Feb 2 16:20:22 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list