pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/qmqtool



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Jan 23 15:55:05 UTC 2020

Modified Files:
        pkgsrc/mail/qmqtool: Makefile distinfo
        pkgsrc/mail/qmqtool/patches: patch-aa

Log Message:
Fix "Cannot open %s as a filehandle: it is already open as a dirhandle",
deprecated in Perl 5.10 and fatal since 5.28. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/qmqtool/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/qmqtool/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/qmqtool/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/qmqtool/Makefile
diff -u pkgsrc/mail/qmqtool/Makefile:1.16 pkgsrc/mail/qmqtool/Makefile:1.17
--- pkgsrc/mail/qmqtool/Makefile:1.16   Sun Aug 11 13:21:41 2019
+++ pkgsrc/mail/qmqtool/Makefile        Thu Jan 23 15:55:04 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2019/08/11 13:21:41 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2020/01/23 15:55:04 schmonz Exp $
 #
 
 DISTNAME=              qmqtool-1.15
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            mail
 MASTER_SITES=          ${HOMEPAGE}/files/
 EXTRACT_SUFX=          .tgz

Index: pkgsrc/mail/qmqtool/distinfo
diff -u pkgsrc/mail/qmqtool/distinfo:1.5 pkgsrc/mail/qmqtool/distinfo:1.6
--- pkgsrc/mail/qmqtool/distinfo:1.5    Tue Apr  4 08:27:56 2017
+++ pkgsrc/mail/qmqtool/distinfo        Thu Jan 23 15:55:04 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2017/04/04 08:27:56 schmonz Exp $
+$NetBSD: distinfo,v 1.6 2020/01/23 15:55:04 schmonz Exp $
 
 SHA1 (qmqtool-1.15.tgz) = 06e665852c3f2c98d351b3162bf34a48d03df1b2
 RMD160 (qmqtool-1.15.tgz) = 089f5584352c573308b09a29a92d5b1e42aa6640
 SHA512 (qmqtool-1.15.tgz) = 613499629c9a651636fb5146c6a0faf41b183dbd0aacdb48227811ebb84401a9916fb66a3157f2521c36bc8b4326f3524b2db32e7b2f23250acac6adc251d29f
 Size (qmqtool-1.15.tgz) = 25884 bytes
-SHA1 (patch-aa) = a214cea1fa1dccdb3f4f35bb7d41d79e0d20dc05
+SHA1 (patch-aa) = 36017a3751797fc2afbf89c2e4176da9defc7746
 SHA1 (patch-configure) = 90a0a3ade3591957c8b76546ed7e414d6a57c019

Index: pkgsrc/mail/qmqtool/patches/patch-aa
diff -u pkgsrc/mail/qmqtool/patches/patch-aa:1.3 pkgsrc/mail/qmqtool/patches/patch-aa:1.4
--- pkgsrc/mail/qmqtool/patches/patch-aa:1.3    Tue Apr  4 08:27:56 2017
+++ pkgsrc/mail/qmqtool/patches/patch-aa        Thu Jan 23 15:55:05 2020
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.3 2017/04/04 08:27:56 schmonz Exp $
+$NetBSD: patch-aa,v 1.4 2020/01/23 15:55:05 schmonz Exp $
 
-Use pkgsrc-preferred tools.
+Use pkgsrc-preferred tools, users, and paths.
+Avoid 5.28-fatal "Cannot open %s as a filehandle: it is already open as
+a dirhandle".
+Fix spelling.
 
 --- src/qmqtool.orig   2016-06-11 16:26:52.000000000 +0000
 +++ src/qmqtool
@@ -59,6 +62,19 @@ Use pkgsrc-preferred tools.
      }
  }
  
+@@ -866,9 +870,9 @@ sub msgprop {
+             warn "cannot open ${qmail}/queue/intd/${file}: $!\n";
+         }
+     }else{
+-        if(open(S, "${qmail}/queue/info/${subdir}/${file}")){
+-            chop($es=<S>);
+-            close S;
++        if(open(QQISF, "${qmail}/queue/info/${subdir}/${file}")){
++            chop($es=<QQISF>);
++            close QQISF;
+             substr($es,0,1) = '';
+         }
+ 
 @@ -985,7 +989,7 @@ sub find_msgs_bystring {
      # using find|xargs grep is must faster than regex matching in perl (dunno why)
      # grep -r isnt portable, dunno if it's safe for huge file lists
@@ -68,3 +84,14 @@ Use pkgsrc-preferred tools.
      # do not count on grep's exit code, because:
      #  if a message is removed while grepping, exit code is 2
      while(<GREP>){
+@@ -1013,8 +1017,8 @@ sub syntax {
+     -B
+       b       Backup queue into ${qmail}/queue.backup/
+       r       Restore backup from ${qmail}/queue.backup/
+-    -c        check queue consitancy
+-    -r        repair queue (by deleting fragments) found by checking queue consistancy
++    -c        check queue consistency
++    -r        repair queue (by deleting fragments) found by checking queue consistency
+     -i        show how many messages are queued per ip address
+        -nN    pay attention to the Nth last smtp-hop
+     -S        show how many bytes are queued per ip address



Home | Main Index | Thread Index | Old Index