Package: snowdrop
Version: 0.02b-12.1
Severity: normal

Good morning,

find attached the trivial diff for my snowdrop NMU 0.02b-12.1.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
diff -Nru snowdrop-0.02b/debian/changelog snowdrop-0.02b/debian/changelog
--- snowdrop-0.02b/debian/changelog	2013-08-30 13:45:57.000000000 +0200
+++ snowdrop-0.02b/debian/changelog	2014-04-06 15:42:08.000000000 +0200
@@ -1,3 +1,13 @@
+snowdrop (0.02b-12.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build-Depend on libgnutls-openssl-dev instead of libgnutls-dev to allow
+    transitioning to newer GnuTLS. Closes: #731474
+  * Stop unnecessary linkage against gnutls-extra to allow building against
+    newer GnuTLS versions. Closes: #725723
+
+ -- Andreas Metzler <ametz...@debian.org>  Sun, 06 Apr 2014 15:42:01 +0200
+
 snowdrop (0.02b-12) unstable; urgency=low
 
   * Fixed typos in snowdrop.c (fix-typos-in-source.patch).
diff -Nru snowdrop-0.02b/debian/control snowdrop-0.02b/debian/control
--- snowdrop-0.02b/debian/control	2013-08-30 12:08:02.000000000 +0200
+++ snowdrop-0.02b/debian/control	2014-04-06 15:41:08.000000000 +0200
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Simon Kainz <si...@familiekainz.at>
-Build-Depends: libgnutls-dev (>> 2.7.12.1), debhelper (>= 8.0), pkg-config
+Build-Depends: libgnutls-openssl-dev, debhelper (>= 8.0), pkg-config
 Standards-Version: 3.9.4
 VCS-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/snowdrop.git;a=summary
 VCS-Git: git://anonscm.debian.org/collab-maint/snowdrop.git
diff -Nru snowdrop-0.02b/debian/patches/link-as-needed.patch snowdrop-0.02b/debian/patches/link-as-needed.patch
--- snowdrop-0.02b/debian/patches/link-as-needed.patch	2011-10-01 00:00:46.000000000 +0200
+++ snowdrop-0.02b/debian/patches/link-as-needed.patch	2014-04-06 15:41:20.000000000 +0200
@@ -1,12 +1,12 @@
 Description: Link as needed
 Author: Arno Töll <deb...@toell.net>
-Last-Update: 2011-06-30
+Last-Update: 2014-04-06
 
 * Makefile:
   + Add -Wl,--as-needed to LDFLAGS
---- a/Makefile
-+++ b/Makefile
-@@ -30,6 +30,7 @@
+--- snowdrop-0.02b.orig/Makefile
++++ snowdrop-0.02b/Makefile
+@@ -30,6 +30,7 @@ DESTDIR = /
  
  CFLAGS  += -ggdb -O2 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations \
            -ffast-math -Wall -g
@@ -14,10 +14,10 @@
  
  
  all: modules snowdrop toinstall
-@@ -56,7 +57,7 @@
+@@ -56,7 +57,7 @@ snowdrop: snowdrop.c language.h
  	  echo "[+] Building 'sd-$$i'..." ; \
  	  ADDME="-lmd5"; \
- 	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS -lgnutls-extra -lgnutls-openssl $(shell pkg-config --libs --cflags gnutls)" ; \
+ 	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS -lgnutls-openssl $(shell pkg-config --libs --cflags gnutls)" ; \
 -	  $(CC) -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
 +	  $(CC) $(LDFLAGS) -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
  	done; \
diff -Nru snowdrop-0.02b/debian/patches/use-tls.patch snowdrop-0.02b/debian/patches/use-tls.patch
--- snowdrop-0.02b/debian/patches/use-tls.patch	2011-06-30 18:27:14.000000000 +0200
+++ snowdrop-0.02b/debian/patches/use-tls.patch	2014-04-06 15:41:20.000000000 +0200
@@ -1,6 +1,6 @@
 Description: Use GnuTLS instead of OpenSSL
 Author: Joey Hess <jo...@debian.org>, patch creation: Arno Töll <deb...@toell.net>
-Last-Update: 2011-06-30
+Last-Update: 2014-04-06
 
 * snowdrop.c: Add GnuTLS header
 * lang-eng.c: Add GnuTLS header
@@ -9,9 +9,11 @@
   + Add GnuTLS build time dependencies
   + Don't hide CFLAGS from dpkg-buildflags if used
     [Arno Töll]
+  + Do not link against gnutls-extra.
+    [ Andreas Metzler ]
 
---- a/snowdrop.c
-+++ b/snowdrop.c
+--- snowdrop-0.02b.orig/snowdrop.c
++++ snowdrop-0.02b/snowdrop.c
 @@ -28,6 +28,9 @@
  #include <sys/types.h>
  #include <sys/stat.h>
@@ -30,9 +32,9 @@
  
  #include <string.h>
  
---- a/Makefile
-+++ b/Makefile
-@@ -26,9 +26,10 @@
+--- snowdrop-0.02b.orig/Makefile
++++ snowdrop-0.02b/Makefile
+@@ -26,9 +26,10 @@ VER	= 0.02b
  LANG    = eng engf c
  
  BINROOT = /usr/bin/
@@ -45,7 +47,7 @@
  
  
  all: modules snowdrop toinstall
-@@ -36,26 +37,26 @@
+@@ -36,26 +37,26 @@ all: modules snowdrop toinstall
  modules: language.h
  	@echo ; \
  	echo "[*] Compiling language modules:" ; \
@@ -75,12 +77,12 @@
  	  ADDME="-lmd5"; \
 -	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -lcrypto" ; \
 -	  $(CC)  -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
-+	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS -lgnutls-extra -lgnutls-openssl $(shell pkg-config --libs --cflags gnutls)" ; \
++	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS -lgnutls-openssl $(shell pkg-config --libs --cflags gnutls)" ; \
 +	  $(CC) -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
  	done; \
  	echo "[*] Main code compiled."
  
-@@ -67,12 +68,12 @@
+@@ -67,12 +68,12 @@ toinstall:
  clean:
  	rm -f sd-* *.o core core.* a.out
  
@@ -98,8 +100,8 @@
  	@echo "[*] Installation complete."
  
  publish: clean
---- a/lang-eng.c
-+++ b/lang-eng.c
+--- snowdrop-0.02b.orig/lang-eng.c
++++ snowdrop-0.02b/lang-eng.c
 @@ -24,6 +24,9 @@
  #include <assert.h>
  #include <string.h>

Attachment: signature.asc
Description: Digital signature

Reply via email to