Your message dated Mon, 22 Jun 2009 07:17:15 +0000
with message-id <[email protected]>
and subject line Bug#533700: fixed in libquota-perl 1.6.3+dfsg-2
has caused the Debian Bug report #533700,
regarding libquota-perl: FTBFS on Debian GNU/Hurd [Patch]
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.)


-- 
533700: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533700
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libquota-perl
Version: 1.6.3+dfsg-1
Severity: normal

Hi,

libquota-perl currently fails to build on Debian GNU/Hurd. Attached is a quilt patch to resolve this. (Adds GNU to Makefile.PL and a hints/gnu.h file).

Thank you,

Barry deFreese


Index: libquota-perl-1.6.3+dfsg/Makefile.PL
===================================================================
--- libquota-perl-1.6.3+dfsg.orig/Makefile.PL   2009-06-19 16:30:02.850000000 
-0400
+++ libquota-perl-1.6.3+dfsg/Makefile.PL        2009-06-19 16:30:03.160000000 
-0400
@@ -14,6 +14,7 @@
 elsif($os =~ /^IRIX\d* 6/) { $config='irix_6.h'; }
 elsif($os =~ /^OSF1/)      { $config='dec_osf.h'; }
 elsif($os =~ /^Linux 2/)   { $config='linux.h'; $picobj='linuxapi.o'; }
+elsif($os =~ /^GNU/)       { $config='gnu.h'; }
 elsif($os =~ /^AIX/)       { $config='aix_4_1.h'; }
 elsif($os =~ /^BSD\/OS 2/ ||
       $os =~ /^Darwin/    ||
Index: libquota-perl-1.6.3+dfsg/hints/gnu.h
===================================================================
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
+++ libquota-perl-1.6.3+dfsg/hints/gnu.h        2009-06-19 16:32:41.260000000 
-0400
@@ -0,0 +1,88 @@
+/*
+ *   Configuration for GNU
+ *
+ *   For AFS support look at the end of this file
+ */
+
+/*   See hints/none.h for a complete list of options with explanations */
+
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/syscall.h>
+#include <mntent.h>
+
+#include <rpc/rpc.h>
+#include <rpc/pmap_prot.h>
+#include <rpcsvc/rquota.h>
+/* #include "include/rquota.h" */
+#include <sys/socket.h>
+#include <netdb.h>
+
+#include <string.h>
+#include <stdio.h>
+
+/* definitions from sys/quota.h */
+#define USRQUOTA  0             /* element used for user quotas */
+#define GRPQUOTA  1             /* element used for group quotas */
+
+/*
+ * Command definitions for the 'quotactl' system call.
+ * The commands are broken into a main command defined below
+ * and a subcommand that is used to convey the type of
+ * quota that is being manipulated (see above).
+ */
+#define SUBCMDMASK  0x00ff
+#define SUBCMDSHIFT 8
+#define QCMD(cmd, type)  (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK))
+
+/* declare an internal version of the quota block struct */
+typedef u_int64_t qsize_t;
+struct dqblk {
+  qsize_t dqb_ihardlimit;   /* absolute limit on allocated inodes */
+  qsize_t dqb_isoftlimit;   /* preferred inode limit */
+  qsize_t dqb_curinodes;    /* current # allocated inodes */
+  qsize_t dqb_bhardlimit;   /* absolute limit on disk blks alloc */
+  qsize_t dqb_bsoftlimit;   /* preferred limit on disk blks */
+  qsize_t dqb_curblocks;    /* current block count */
+  time_t  dqb_btime;        /* time limit for excessive disk use */
+  time_t  dqb_itime;        /* time limit for excessive inode use */
+};
+/* you can use this switch to hard-wire the quota API if it's not identified 
correctly */
+/* #define LINUX_API_VERSION 1 */  /* API range [1..3] */
+
+int linuxquota_query( const char * dev, int uid, int isgrp, struct dqblk * dqb 
);
+int linuxquota_setqlim( const char * dev, int uid, int isgrp, struct dqblk * 
dqb );
+int linuxquota_sync( const char * dev, int isgrp );
+
+
+#define Q_DIV(X) (X)
+#define Q_MUL(X) (X)
+#define DEV_QBSIZE 1024
+
+#define Q_CTL_V3
+#define CADR (caddr_t)
+
+#define MY_XDR
+
+#define MNTENT mntent
+
+#define GQR_STATUS status
+#define GQR_RQUOTA getquota_rslt_u.gqr_rquota
+
+#define QS_BHARD dqb_bhardlimit
+#define QS_BSOFT dqb_bsoftlimit
+#define QS_BCUR  dqb_curblocks
+#define QS_FHARD dqb_ihardlimit
+#define QS_FSOFT dqb_isoftlimit
+#define QS_FCUR  dqb_curinodes
+#define QS_BTIME dqb_btime
+#define QS_FTIME dqb_itime
+
+/* uncomment this is you're using NFS with a version of the quota tools < 3.0 
*/
+/* #define LINUX_RQUOTAD_BUG */
+
+/* enable support for extended quota RPC (i.e. quota RPC version 2) */
+/* note: could also be enabled by defining MY_XDR (and including 
"include/rquota.h") */
+#if defined (EXT_RQUOTAVERS)
+#define USE_EXT_RQUOTA
+#endif

--- End Message ---
--- Begin Message ---
Source: libquota-perl
Source-Version: 1.6.3+dfsg-2

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

libquota-perl_1.6.3+dfsg-2.diff.gz
  to pool/main/libq/libquota-perl/libquota-perl_1.6.3+dfsg-2.diff.gz
libquota-perl_1.6.3+dfsg-2.dsc
  to pool/main/libq/libquota-perl/libquota-perl_1.6.3+dfsg-2.dsc
libquota-perl_1.6.3+dfsg-2_amd64.deb
  to pool/main/libq/libquota-perl/libquota-perl_1.6.3+dfsg-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.
Ryan Niebur <[email protected]> (supplier of updated libquota-perl 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: Fri, 19 Jun 2009 14:08:36 -0700
Source: libquota-perl
Binary: libquota-perl
Architecture: source amd64
Version: 1.6.3+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Ryan Niebur <[email protected]>
Description: 
 libquota-perl - Perl interface to file system quotas
Closes: 533700
Changes: 
 libquota-perl (1.6.3+dfsg-2) unstable; urgency=low
 .
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 .
   [ Ryan Niebur ]
   * patch from Barry deFreese to fix FTBFS on Hurd (Closes: #533700)
   * Add myself to Uploaders
   * Debian Policy 3.8.2
   * simplify d/rules
Checksums-Sha1: 
 e62d9087dc15480b8a7fbc22631ea955097b4fdb 1389 libquota-perl_1.6.3+dfsg-2.dsc
 113814a07ad64de8e94b3d07a3de76e392e44db5 6067 
libquota-perl_1.6.3+dfsg-2.diff.gz
 0e96b7d948b1d5fd0a61acac6f352bcb779bf461 47640 
libquota-perl_1.6.3+dfsg-2_amd64.deb
Checksums-Sha256: 
 f6499d200b5f3e02d74bcd47058fd08e02659f4c239bf993f88ef3c11d4baa34 1389 
libquota-perl_1.6.3+dfsg-2.dsc
 d10fab9683bf78a50c4748a1894f55776bbaa2a9a2ea60fc998b0c6ba0ecf29b 6067 
libquota-perl_1.6.3+dfsg-2.diff.gz
 6203220d7813efe1c6f275c77dc903542c2de074b0ea1113e6afeffd3879629b 47640 
libquota-perl_1.6.3+dfsg-2_amd64.deb
Files: 
 4700f8d64958984f873a1075ebc5d1da 1389 perl optional 
libquota-perl_1.6.3+dfsg-2.dsc
 33145a40cf31ed99ee0ae2ba6f7b6d8e 6067 perl optional 
libquota-perl_1.6.3+dfsg-2.diff.gz
 3f52d509cf24684cb6571b75899a4926 47640 perl optional 
libquota-perl_1.6.3+dfsg-2_amd64.deb

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

iEYEARECAAYFAko/LsYACgkQHqjlqpcl9juf+QCgktTZqpS3/lo3x8VK4l/HTDvX
hEcAoIW1Mmnn1R6ui81mO42CkgNQOlsC
=vi+t
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to