Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 119862
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
upnp-1.0.4-clientlen.patch Patch for net-misc/upnp which fixes this bug patch Sergey Belyashov 2006-01-21 13:54 0000 458 bytes Details | Diff
upnp-1.0.4-r2.ebuild ebuild which uses this patch text/plain Sergey Belyashov 2006-01-21 13:55 0000 967 bytes Details
linux-igd-cvs-0.ebuild net-misc/linux-igd-cvs-0.ebuild text/plain Sergey Belyashov 2006-07-01 13:48 0000 1.12 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119862 depends on: 146219 146607 Show dependency tree
Bug 119862 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-21 13:48 0000
This is problem of net-misc/upnp-1.0.4-r1.
To fix it I make simple patch for this package:
===================================================================
--- upnpsdk-1.0.4.orig/src/genlib/miniserver/miniserver.cpp      2001-08-15
22:17:31.000000000 +0400
+++ upnpsdk-1.0.4.new/src/genlib/miniserver/miniserver.cpp       2006-01-22
00:16:38.000000000 +0300
@@ -838,7 +838,7 @@
         while ( true )
         {
             int connectfd;
-            socklen_t clientLen;
+            socklen_t clientLen = sizeof( sockaddr );

             DBG(
                 UpnpPrintf( UPNP_INFO, MSERV, __FILE__, __LINE__,
===================================================================

------- Comment #1 From Sergey Belyashov 2006-01-21 13:54:12 0000 -------
Created an attachment (id=77762) [details]
Patch for net-misc/upnp which fixes this bug

------- Comment #2 From Sergey Belyashov 2006-01-21 13:55:42 0000 -------
Created an attachment (id=77763) [details]
ebuild which uses this patch

------- Comment #3 From Stefan Schweizer 2006-07-01 11:51:26 0000 -------
This should be fixed in newer releases, are you probably using stable and need
a newer version stable?

------- Comment #4 From Sergey Belyashov 2006-07-01 12:29:10 0000 -------
Yes, I need stable version.
Now I use cvs version (I did write ebuild linux-igd-cvs) because 0.92 time to
time dies.

------- Comment #5 From Marcus Stjärnås 2006-07-01 12:45:10 0000 -------
Sergey -
Could you please test it against both upnp-1.2.1a and 1.3.1... and post your
results here.

Cause we may mark one of those versions stable.

------- Comment #6 From Sergey Belyashov 2006-07-01 13:44:15 0000 -------
Sorry. But there is no ebuild for upnp-1.3.1 available at this time.
As dependency of linux-igd-cvs I use net-misc/libupnp-1.3.1 now. And have no
problems.
I will post linux-igd-cvs-0.ebuild in a second

------- Comment #7 From Sergey Belyashov 2006-07-01 13:48:57 0000 -------
Created an attachment (id=90641) [details]
net-misc/linux-igd-cvs-0.ebuild

I successully use linux-igd upnpd daemon created by this ebuild few weeks ago.

------- Comment #8 From Sergey Belyashov 2006-07-01 13:57:08 0000 -------
I can do any test only tomorrow morning (Monday) (now is Sunday, 00:56 MSK).
;-)

------- Comment #9 From Marcus Stjärnås 2006-07-01 14:05:43 0000 -------
upnp-1.3.1 was commited a few hour ago, should be on a mirror close to you by
now.

I have no knowledge about linux-idg, but there is no net-misc/libupnp-1.3.1 in
my portage. Have you created it yourself?

We have also added net-misc/libupnp-1.4.0 (www.libupnp.org) in portage but that
version will not be stable for a while. Please test with net-misc/upnp-1.2.1a
and net-misc/upnp-1.3.1.

------- Comment #10 From Sergey Belyashov 2006-07-03 01:16:38 0000 -------
I test upnp-1.3.1 & libupnp-1.4.0 with linux-igd-cvs. Why names are different?
I thinks that is different versions of same library...
All compiles fine. linux-igd-cvs compiles fine. And "says" that works... And do
not time to time dies. With libupnp-1.4.0 MS Windows machines cannot find
"Internet Connection" (Linux IGD) in Network.
I do not know why but this daemon (linux-igd-cvs) is not work: do not adds DNAT
rules to table PREROUTING. With my libupnp-1.3.1 too. :-(

I do not developer of linux-igd. I only want to use it in my server.

------- Comment #11 From Marcus Stjärnås 2006-07-03 10:43:46 0000 -------
Good, maybe you can use 1.3.1 for your servers for now. As this bug origional
stated there was a fix for the upnp package that is fixed in later versions now
in portage. This bug will stay open until we have marked net-misc/upnp-1.3.1
stable on x86.

------- Comment #12 From Sergey Belyashov 2006-09-06 07:52:23 0000 -------
Bugs fixed in linux-igd-0.95 + libupnp-1.3.1.

------- Comment #13 From Marcus Stjärnås 2006-09-06 14:33:18 0000 -------
I have requested to get net-misc/upnp-1.3.1 stabilized, see bug #146607. 

Unfortunately the linux-igd package currently have no maintainer, but i'll see
what I can do.

------- Comment #14 From Sergey Belyashov 2006-09-07 02:28:46 0000 -------
I have posted ebuild for linux-igd-0.95 which working for me here:
http://bugs.gentoo.org/show_bug.cgi?id=146219

I previously use my own libupnp. Now I change ebuild for use
net-misc/upnp-1.3.1 as dependency.

------- Comment #15 From Jakub Moc (RETIRED) 2006-09-25 19:49:19 0000 -------
package.masked, no matching upnp version in the tree. See Bug 146219 for
version bump.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug