On Sun, Oct 27, 2013 at 04:59:17PM +0000, Roger Leigh wrote:
> I'm writing to you as the maintainer of lockdev (liblockdev1).  I've
> opened this bug because your package either has a build-depends on
> liblockdev1-dev or is building binary packages with a dependency on
> liblockdev1.
> […] 
> It would be greatly appreciated if you could disable/remove lockdev
> support from your package and remove it from the source build-depends
> and/or package depends as appropriate, replacing this with flock(2)
> calls instead of dev_lock and dev_unlock.

The following patch disables lockdev support.  This will be uploaded
to DELAYED/5-day as an NMU.  Please feel free to delete it if you're
unhappy with the following change.

Thanks,
Roger


diff -urN ../snooper-19991202.original/debian/changelog debian/changelog
--- ../snooper-19991202.original/debian/changelog       2014-01-03 
16:24:03.000000000 +0000
+++ debian/changelog    2014-01-03 16:37:41.049533603 +0000
@@ -1,3 +1,14 @@
+snooper (19991202-7.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/01-Unknown-changes-to-Makefile.in.diff:
+    Drop -DHAVE_LIBLOCKDEV from CFLAGS and -llockdev from LIBS to
+    disable liblockdev support (Closes: #728022).  Ideally, the
+    upstream may wish to properly replace the UUCP-style locks
+    in uucplock.c with robust flock(2) locks.
+
+ -- Roger Leigh <[email protected]>  Fri, 03 Jan 2014 16:32:47 +0000
+
 snooper (19991202-7.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -urN 
../snooper-19991202.original/debian/patches/01-Unknown-changes-to-Makefile.in.diff
 debian/patches/01-Unknown-changes-to-Makefile.in.diff
--- 
../snooper-19991202.original/debian/patches/01-Unknown-changes-to-Makefile.in.diff
  2014-01-03 16:24:03.000000000 +0000
+++ debian/patches/01-Unknown-changes-to-Makefile.in.diff       2014-01-03 
16:31:23.792579575 +0000
@@ -14,8 +14,8 @@
  CC=   @CC@
  OPTFLAG=@OPTFLAG@
 -CFLAGS=       -c $(OPTFLAG) -I. -I$(srcdir)/include @CFLAGS@
-+CFLAGS=       -c $(OPTFLAG) -I. -I$(srcdir)/include @CFLAGS@ -DHAVE_LIBLOCKDEV
-+LIBS=@LIBS@ -llockdev
++CFLAGS=       -c $(OPTFLAG) -I. -I$(srcdir)/include @CFLAGS@
++LIBS=@LIBS@
  LDFLAGS=@LDFLAGS@
  INSTALL=@INSTALL@
  
-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to