From suikogaiden@gmail.com  Wed Feb  2 16:16:30 2005
Return-Path: <suikogaiden@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 465C816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Feb 2005 16:16:30 +0000 (GMT)
Received: from moe.ilimit.es (38.Red-213-96-13.pooles.rima-tde.net [213.96.13.38])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE4A43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Feb 2005 16:16:27 +0000 (GMT)
	(envelope-from suikogaiden@gmail.com)
Received: from dani.ilimit.lan ([192.168.1.57] helo=in.ilimit.es)
	by moe.ilimit.es with smtp (Exim 3.36 #1 (Debian))
	id 1CwNAv-0005vm-00
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 02 Feb 2005 17:16:17 +0100
Received: by in.ilimit.es (sSMTP sendmail emulation); Wed,  2 Feb 2005 17:16:27 +0100
Message-Id: <E1CwNAv-0005vm-00@moe.ilimit.es>
Date: Wed,  2 Feb 2005 17:16:27 +0100
From: Taik0 <suikogaiden@gmail.com>
Reply-To: Taik0 <suikogaiden@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /usr/ports/net/linpopup/ (linpopup-1.2.0_1) LinPopup doesn't send messages
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 02 16:20:21 GMT 2005
>Closed-Date:    Wed Jul 20 15:44:25 GMT 2005
>Last-Modified:  Wed Jul 20 15:44:25 GMT 2005
>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:

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, suikogaiden@gmail.com,
	ports@oven.org
Cc:  
Subject: Re: ports/77015: /usr/ports/net/linpopup/ (linpopup-1.2.0_1) LinPopup doesn't send messages
Date: Thu, 03 Feb 2005 09:45:36 +0100

 Dear maintainer, please look into this issue!
 
 Cheers,
    Volker
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Thu Feb 3 08:51:47 GMT 2005 
State-Changed-Why:  
Forwarded PR to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77015 

From: Taik0 <suikogaiden@gmail.com>
To: Volker Stolz <vs@freebsd.org>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/77015: /usr/ports/net/linpopup/ (linpopup-1.2.0_1) LinPopup doesn't send messages
Date: Thu, 3 Feb 2005 11:12:02 +0100

 I've had a mistake on this. This problem only appears if you use
 samba-3.x version, with samba 2.x works fine without modifications.
 Maybe this patch can be added with some flag like WITH_SAMBA3=YES ?
 Sorry for any inconveniences.
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Wed Jul 20 15:44:15 GMT 2005 
State-Changed-Why:  
Your patch added under WITH_SAMBA3 knob. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77015 
>Unformatted:
