Bug#570962: Patch for apt-mark that shows usage when no argument is provided

2010-03-05 Thread Torsten Spindler
The attached patch shows the usage information when no argument is given
to apt-mark.
--- apt-mark.orig	2010-03-04 16:23:23.450331213 +0100
+++ apt-mark	2010-03-04 16:27:30.974347744 +0100
@@ -82,6 +82,9 @@
 else:
 STATE_FILE=options.filename
 
+if len(args) == 0:
+parser.error(first argument must be 'markauto', 'unmarkauto' or 'showauto')
+
 if args[0] == showauto:
 show_automatic(STATE_FILE)
 else:



Bug#566971: patch

2010-02-01 Thread Torsten Spindler

Adding /usr/lib/ssl as libdir seems to fix the issue.



--- engine-pkcs11-0.1.8/debian/rules	2010-01-10 09:46:27.0 +0100
+++ engine-pkcs11-0.1.8.new/debian/rules	2010-02-01 13:00:14.711062380 +0100
@@ -6,7 +6,8 @@
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		--htmldir=/usr/share/doc/libengine-pkcs11-openssl/html \
-		--enable-doc
+		--enable-doc \
+		--libdir=/usr/lib/ssl
 
 override_dh_installchangelogs:
 	dh_installchangelogs doc/nonpersistent/ChangeLog