~ubuntu-branches/ubuntu/oneiric/libupnp4/oneiric-updates

« back to all changes in this revision

Viewing changes to debian/patches/01-debian-md5-licence.patch

  • Committer: Bazaar Package Importer
  • Author(s): Nick Leverton
  • Date: 2010-05-14 15:34:11 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100514153411-9i238idmkyg7j00y
Tags: 1.8.0~svn20100507-1
* New pull from upstream subversion
* Fixes to BSD build issues (Closes: #573321, FTBFS on Gnu/kFreeBSD)
* More debug tidying (07-neaten-debug.patch):
  - send UPNP_CRITICAL msgs to the info log as well as to the error log.
  - don't print HTTP headers to stdout as they're already in logfile.
* Always compile in logging code but don't log unless requested
  (12-debian-always-debug.patch) to help porting other apps.
* Remove patches 03, 04, 06, 08 and 10, now in upstream (note naming
  difference in upstream's string object accessors).
* Add $PTHREAD_CFLAGS to libupnp.pc as assumed by {acx,ax}_pthread.m4
  (patch 16, Closes: #581608).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Description: Replace RSA Inc copyright MD5 functions by public domain implementation.
2
2
Bug-Debian: http://bugs.debian.org/459516
3
3
 
4
 
Index: libupnp4-1.8.0~cvs20090313/configure.ac
 
4
Index: libupnp4-1.8.0~svn20100425/configure.ac
5
5
===================================================================
6
 
--- libupnp4-1.8.0~cvs20090313.orig/configure.ac        2010-02-17 13:13:22.000000000 +0000
7
 
+++ libupnp4-1.8.0~cvs20090313/configure.ac     2010-02-17 13:13:29.000000000 +0000
8
 
@@ -389,6 +389,9 @@
 
6
--- libupnp4-1.8.0~svn20100425.orig/configure.ac        2010-04-25 20:42:22.000000000 +0100
 
7
+++ libupnp4-1.8.0~svn20100425/configure.ac     2010-04-25 20:42:22.000000000 +0100
 
8
@@ -393,6 +393,9 @@
9
9
 # Checks for typedefs, structures, and compiler characteristics
10
10
 #      
11
11
 AC_C_CONST
15
15
 
16
16
 # The test for socklen_t was getting it wrong when it exists but is in ws2tcpip.h,
17
17
 # so we use a new test.
18
 
Index: libupnp4-1.8.0~cvs20090313/upnp/src/inc/md5.h
 
18
Index: libupnp4-1.8.0~svn20100425/upnp/src/inc/md5.h
19
19
===================================================================
20
 
--- libupnp4-1.8.0~cvs20090313.orig/upnp/src/inc/md5.h  2010-02-17 13:13:22.000000000 +0000
21
 
+++ libupnp4-1.8.0~cvs20090313/upnp/src/inc/md5.h       2010-02-17 13:13:29.000000000 +0000
 
20
--- libupnp4-1.8.0~svn20100425.orig/upnp/src/inc/md5.h  2010-04-25 20:42:19.000000000 +0100
 
21
+++ libupnp4-1.8.0~svn20100425/upnp/src/inc/md5.h       2010-04-25 20:42:22.000000000 +0100
22
22
@@ -1,39 +1,47 @@
23
23
-/* MD5.H - header file for MD5C.C */
24
24
-
101
101
+void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
102
102
 
103
103
+#endif /* !MD5_H */
104
 
Index: libupnp4-1.8.0~cvs20090313/upnp/src/uuid/md5.c
 
104
Index: libupnp4-1.8.0~svn20100425/upnp/src/uuid/md5.c
105
105
===================================================================
106
 
--- libupnp4-1.8.0~cvs20090313.orig/upnp/src/uuid/md5.c 2010-02-17 13:13:22.000000000 +0000
107
 
+++ libupnp4-1.8.0~cvs20090313/upnp/src/uuid/md5.c      2010-02-17 13:13:29.000000000 +0000
 
106
--- libupnp4-1.8.0~svn20100425.orig/upnp/src/uuid/md5.c 2010-04-25 20:42:19.000000000 +0100
 
107
+++ libupnp4-1.8.0~svn20100425/upnp/src/uuid/md5.c      2010-04-25 20:42:22.000000000 +0100
108
108
@@ -1,353 +1,241 @@
109
109
 /*
110
110
-   MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm 
656
656
 }
657
657
 
658
658
+#endif
659
 
Index: libupnp4-1.8.0~cvs20090313/upnp/src/uuid/sysdep.c
 
659
Index: libupnp4-1.8.0~svn20100425/upnp/src/uuid/sysdep.c
660
660
===================================================================
661
 
--- libupnp4-1.8.0~cvs20090313.orig/upnp/src/uuid/sysdep.c      2010-02-17 13:13:22.000000000 +0000
662
 
+++ libupnp4-1.8.0~cvs20090313/upnp/src/uuid/sysdep.c   2010-02-17 13:13:29.000000000 +0000
 
661
--- libupnp4-1.8.0~svn20100425.orig/upnp/src/uuid/sysdep.c      2010-04-25 20:42:19.000000000 +0100
 
662
+++ libupnp4-1.8.0~svn20100425/upnp/src/uuid/sysdep.c   2010-04-25 20:42:22.000000000 +0100
663
663
@@ -86,7 +86,7 @@
664
664
 void
665
665
 get_random_info(char seed[16])
671
671
                SYSTEM_INFO s;
672
672
@@ -144,7 +144,7 @@
673
673
 void
674
 
 get_random_info(char seed[16])
 
674
 get_random_info(unsigned char seed[16])
675
675
 {
676
676
-       MD5_CTX c;
677
677
+       struct MD5Context c;
678
678
        typedef struct {
679
679
                //struct sysinfo s;
680
680
                struct timeval t;
681
 
Index: libupnp4-1.8.0~cvs20090313/upnp/src/uuid/uuid.c
 
681
Index: libupnp4-1.8.0~svn20100425/upnp/src/uuid/uuid.c
682
682
===================================================================
683
 
--- libupnp4-1.8.0~cvs20090313.orig/upnp/src/uuid/uuid.c        2010-02-17 13:13:22.000000000 +0000
684
 
+++ libupnp4-1.8.0~cvs20090313/upnp/src/uuid/uuid.c     2010-02-17 13:13:29.000000000 +0000
 
683
--- libupnp4-1.8.0~svn20100425.orig/upnp/src/uuid/uuid.c        2010-04-25 20:42:19.000000000 +0100
 
684
+++ libupnp4-1.8.0~svn20100425/upnp/src/uuid/uuid.c     2010-04-25 20:42:22.000000000 +0100
685
685
@@ -306,7 +306,7 @@
686
686
                        int namelen  /* the length of the name */
687
687
      )