Your message dated Mon, 11 Jul 2011 20:50:08 +0000
with message-id <[email protected]>
and subject line Bug#631134: fixed in libcap2 1:2.21-2
has caused the Debian Bug report #631134,
regarding Setting capabilities on large files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
631134: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631134
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libcap2
Version: 1:2.21-1

Setting capabilies on large files on i386 fails.  A fix for
this has been pushed to the upstream libcap git tree, with no
new version number.  Could this fix be pulled into the debian
package?

The relevant Ubuntu bug is 
https://bugs.launchpad.net/ubuntu/+source/libcap2/+bug/794202

Here is a proposed debdiff.

thanks,
-serge

diff -Nru libcap2-2.21/debian/changelog libcap2-2.21/debian/changelog
--- libcap2-2.21/debian/changelog       2011-05-22 13:23:51.000000000 -0500
+++ libcap2-2.21/debian/changelog       2011-06-20 11:46:50.000000000 -0500
@@ -1,3 +1,11 @@
+libcap2 (1:2.21-2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * 0002-support-getting-setting-capabilities-on-large-files.patch:
+    patch from upstream to enable setting capabilities on large files.
+
+ -- Serge Hallyn <[email protected]>  Mon, 20 Jun 2011 11:44:43 -0500
+
 libcap2 (1:2.21-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru 
libcap2-2.21/debian/patches/0002-support-getting-setting-capabilities-on-large-files.patch
 
libcap2-2.21/debian/patches/0002-support-getting-setting-capabilities-on-large-files.patch
--- 
libcap2-2.21/debian/patches/0002-support-getting-setting-capabilities-on-large-files.patch
  1969-12-31 18:00:00.000000000 -0600
+++ 
libcap2-2.21/debian/patches/0002-support-getting-setting-capabilities-on-large-files.patch
  2011-06-20 11:43:59.000000000 -0500
@@ -0,0 +1,32 @@
+From f464aa7fd9b5953c8ddc83450f37c00bf62ac1f2 Mon Sep 17 00:00:00 2001
+From: "Andrew G. Morgan" <[email protected]>
+Date: Sun, 12 Jun 2011 18:44:37 -0700
+Subject: [PATCH 1/1] Support getting/setting capabilities on large files.
+
+See:
+  https://bugs.launchpad.net/ubuntu/+source/libcap2/+bug/794202
+
+Patch originally from Mikhail Kulinich, but forwarded from Serge Hallyn
+at Canonical.
+
+Signed-off-by: Andrew G. Morgan <[email protected]>
+---
+ Make.Rules |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Make.Rules b/Make.Rules
+index 2563e82..b99b752 100644
+--- a/Make.Rules
++++ b/Make.Rules
+@@ -48,7 +48,7 @@ KERNEL_HEADERS := $(topdir)/libcap/include
+ IPATH += -fPIC -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
+ 
+ CC := gcc
+-CFLAGS := -O2
++CFLAGS := -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+ BUILD_CC := $(CC)
+ BUILD_CFLAGS := $(CFLAGS) $(IPATH)
+ AR := ar
+-- 
+1.7.5.4
+
diff -Nru libcap2-2.21/debian/patches/series libcap2-2.21/debian/patches/series
--- libcap2-2.21/debian/patches/series  2011-05-22 13:22:10.000000000 -0500
+++ libcap2-2.21/debian/patches/series  2011-06-20 11:44:37.000000000 -0500
@@ -1 +1,2 @@
 0001-fix-Makefiles.patch
+0002-support-getting-setting-capabilities-on-large-files.patch



--- End Message ---
--- Begin Message ---
Source: libcap2
Source-Version: 1:2.21-2

We believe that the bug you reported is fixed in the latest version of
libcap2, which is due to be installed in the Debian FTP archive:

libcap-dev_2.21-2_amd64.deb
  to main/libc/libcap2/libcap-dev_2.21-2_amd64.deb
libcap2-bin_2.21-2_amd64.deb
  to main/libc/libcap2/libcap2-bin_2.21-2_amd64.deb
libcap2_2.21-2.debian.tar.gz
  to main/libc/libcap2/libcap2_2.21-2.debian.tar.gz
libcap2_2.21-2.dsc
  to main/libc/libcap2/libcap2_2.21-2.dsc
libcap2_2.21-2_amd64.deb
  to main/libc/libcap2/libcap2_2.21-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Werner <[email protected]> (supplier of updated libcap2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 11 Jul 2011 22:11:41 +0200
Source: libcap2
Binary: libcap2-bin libcap2 libcap-dev
Architecture: source amd64
Version: 1:2.21-2
Distribution: unstable
Urgency: low
Maintainer: Torsten Werner <[email protected]>
Changed-By: Torsten Werner <[email protected]>
Description: 
 libcap-dev - development libraries and header files for libcap2
 libcap2    - support for getting/setting POSIX.1e capabilities
 libcap2-bin - basic utility programs for using capabilities
Closes: 620345 631134
Changes: 
 libcap2 (1:2.21-2) unstable; urgency=low
 .
   [ Serge Hallyn ]
   * Non-maintainer upload.
   * 0002-support-getting-setting-capabilities-on-large-files.patch: patch from
     upstream to enable setting capabilities on large files.
     (Closes: #631134)
 .
   [ Torsten Werner ]
   * Move package to alioth's collab-maint project.
     * Use git instead of svn.
     * Update Vcs-* headers in debian/control.
 .
   [ Zhi Li ]
   * Modify long description in libcap2-bin/debian/control, remove those files 
that were not generated.
     (Closes: #620345)
Checksums-Sha1: 
 be210b36a46a939ba6322bec2ebbed357b2f8f87 1211 libcap2_2.21-2.dsc
 0f3c63eb52383f9bc58949b26c8510bf36e99bac 8072 libcap2_2.21-2.debian.tar.gz
 f042f7556f418afce8e7eb3da6d2b6921488d0e5 24670 libcap2-bin_2.21-2_amd64.deb
 b4e16943b752691e8fd0e5781971ace3e9e9e274 13220 libcap2_2.21-2_amd64.deb
 f6a16f2fad453d55f74f4faa971e7cfce824e1e2 26090 libcap-dev_2.21-2_amd64.deb
Checksums-Sha256: 
 3d4f2fe36682007d8ca8b482f41e87a818f28c3cd61f53d2fd5990a188ea80e3 1211 
libcap2_2.21-2.dsc
 6c4e9a267e175ff2f3240127f490ff4c7eba3fddf19812231cf8ddd987c96c7d 8072 
libcap2_2.21-2.debian.tar.gz
 58778e2ba77a0da0f228af1de25c1e553500ae0769c8cac1efaef4eaa8cb6345 24670 
libcap2-bin_2.21-2_amd64.deb
 b787287453d3722b315b497dc6f09db87b261d3c001092c45e234d254846d548 13220 
libcap2_2.21-2_amd64.deb
 fe23fe49207a2f06d319d86da4b665acab4ca952416e7959f4a3a3da38b9ddd0 26090 
libcap-dev_2.21-2_amd64.deb
Files: 
 116b9f16b7b77a1c659e4b4d285f88bf 1211 libs optional libcap2_2.21-2.dsc
 f9cb5aa7c5418da7e18382ccb417d254 8072 libs optional 
libcap2_2.21-2.debian.tar.gz
 fdb24d6b8ed2fb1f2e0b09614804f097 24670 utils optional 
libcap2-bin_2.21-2_amd64.deb
 df7875f6b683c14ac054f0fbee8fec30 13220 libs standard libcap2_2.21-2_amd64.deb
 02daa927a1707024f5bf4b025c58c343 26090 libdevel optional 
libcap-dev_2.21-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk4bWYEACgkQfY3dicTPjsMwOQCfQl5JbKIockVMyY6QzCop3pL8
/7oAnR8P7nu5tnsHJ1Fsw6nvZJiCxjti
=7cxL
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to