tags 721776 + pending
thanks

Dear maintainer,

I've prepared an NMU for libprelude (versioned as 1.0.0-11.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
-- 
"Fighting patents one by one will never eliminate the danger of software
patents, any more than swatting mosquitoes will eliminate malaria."
-- Richard M. Stallman
Saludos /\/\ /\ >< `/
diff -Nru libprelude-1.0.0/debian/changelog libprelude-1.0.0/debian/changelog
--- libprelude-1.0.0/debian/changelog	2013-08-20 15:10:08.000000000 +0200
+++ libprelude-1.0.0/debian/changelog	2014-05-13 15:44:05.000000000 +0200
@@ -1,3 +1,11 @@
+libprelude (1.0.0-11.1) unstable; urgency=medium
+
+  * Non-maintainer upload. (Closes: #721776)
+  * New patch: request_REUSEADDR_before_bind.patch.
+  * New patch: test-poll_add_sleep_after_write.patch.
+
+ -- Maximiliano Curia <m...@debian.org>  Tue, 13 May 2014 15:44:03 +0200
+
 libprelude (1.0.0-11) unstable; urgency=low
 
   * Upload to unstable (Closes: #693892)
diff -Nru libprelude-1.0.0/debian/patches/request_REUSEADDR_before_bind.patch libprelude-1.0.0/debian/patches/request_REUSEADDR_before_bind.patch
--- libprelude-1.0.0/debian/patches/request_REUSEADDR_before_bind.patch	1970-01-01 01:00:00.000000000 +0100
+++ libprelude-1.0.0/debian/patches/request_REUSEADDR_before_bind.patch	2014-05-09 11:31:11.000000000 +0200
@@ -0,0 +1,48 @@
+Index: libprelude-1.0.0/libmissing/tests/test-poll.c
+===================================================================
+--- libprelude-1.0.0.orig/libmissing/tests/test-poll.c	2010-02-24 13:52:50.000000000 +0100
++++ libprelude-1.0.0/libmissing/tests/test-poll.c	2014-05-09 11:31:04.000000000 +0200
+@@ -98,15 +98,16 @@
+   ia.sin_family = AF_INET;
+   inet_pton (AF_INET, "127.0.0.1", &ia.sin_addr);
+   ia.sin_port = htons (TEST_PORT);
++
++  x = 1;
++  setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x));
++
+   if (bind (s, (struct sockaddr *) &ia, sizeof (ia)) < 0)
+     {
+       perror ("bind");
+       exit (77);
+     }
+ 
+-  x = 1;
+-  setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x));
+-
+   if (listen (s, 1) < 0)
+     {
+       perror ("listen");
+Index: libprelude-1.0.0/libmissing/tests/test-select.c
+===================================================================
+--- libprelude-1.0.0.orig/libmissing/tests/test-select.c	2014-05-09 11:30:52.000000000 +0200
++++ libprelude-1.0.0/libmissing/tests/test-select.c	2014-05-09 11:31:04.000000000 +0200
+@@ -113,15 +113,16 @@
+   ia.sin_family = AF_INET;
+   inet_pton (AF_INET, "127.0.0.1", &ia.sin_addr);
+   ia.sin_port = htons (TEST_PORT);
++
++  x = 1;
++  setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x));
++
+   if (bind (s, (struct sockaddr *) &ia, sizeof (ia)) < 0)
+     {
+       perror ("bind");
+       exit (77);
+     }
+ 
+-  x = 1;
+-  setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x));
+-
+   if (listen (s, 1) < 0)
+     {
+       perror ("listen");
diff -Nru libprelude-1.0.0/debian/patches/series libprelude-1.0.0/debian/patches/series
--- libprelude-1.0.0/debian/patches/series	2013-08-20 14:53:38.000000000 +0200
+++ libprelude-1.0.0/debian/patches/series	2014-05-09 16:45:39.000000000 +0200
@@ -2,3 +2,5 @@
 002-fix-ftbfs-ptrdiff-t
 003-fix-gnulib-gets
 004-fix-link-gcrypt
+request_REUSEADDR_before_bind.patch
+test-poll_add_sleep_after_write.patch
diff -Nru libprelude-1.0.0/debian/patches/test-poll_add_sleep_after_write.patch libprelude-1.0.0/debian/patches/test-poll_add_sleep_after_write.patch
--- libprelude-1.0.0/debian/patches/test-poll_add_sleep_after_write.patch	1970-01-01 01:00:00.000000000 +0100
+++ libprelude-1.0.0/debian/patches/test-poll_add_sleep_after_write.patch	2014-05-09 16:46:27.000000000 +0200
@@ -0,0 +1,20 @@
+Index: libprelude-1.0.0/libmissing/tests/test-poll.c
+===================================================================
+--- libprelude-1.0.0.orig/libmissing/tests/test-poll.c	2014-05-09 16:44:55.000000000 +0200
++++ libprelude-1.0.0/libmissing/tests/test-poll.c	2014-05-09 16:46:14.000000000 +0200
+@@ -281,6 +281,7 @@
+         failed ("cannot read data left in the socket by closed process");
+       read (c, buf, 3);
+       write (c, "foo", 3);
++      sleep(1); /* :XXX: race condition in test */
+       if ((poll1_wait (c, POLLIN | POLLOUT) & (POLLHUP | POLLERR)) == 0)
+         failed ("expecting POLLHUP after shutdown");
+       close (c);
+@@ -333,6 +334,7 @@
+   test_pair (c1, c2);
+   close (c1);
+   write (c2, "foo", 3);
++  sleep(1); /* :XXX: race condition in test */
+   if ((poll1_nowait (c2, POLLIN | POLLOUT) & (POLLHUP | POLLERR)) == 0)
+     failed ("expecting POLLHUP after shutdown");
+ 

Attachment: signature.asc
Description: Digital signature

Reply via email to