pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/maildrop Update patches from FreeBSD mail/maildro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ceaf98dc409
branches:  trunk
changeset: 396196:4ceaf98dc409
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Fri May 24 14:17:16 2019 +0000

description:
Update patches from FreeBSD mail/maildrop port.

diffstat:

 mail/maildrop/Makefile                               |   4 ++--
 mail/maildrop/distinfo                               |   5 +++--
 mail/maildrop/patches/patch-Makefile.in              |   5 +++--
 mail/maildrop/patches/patch-libs_maildrop_filelock.C |  16 ++++++++++++++++
 4 files changed, 24 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r 742fc4567f7f -r 4ceaf98dc409 mail/maildrop/Makefile
--- a/mail/maildrop/Makefile    Fri May 24 13:18:23 2019 +0000
+++ b/mail/maildrop/Makefile    Fri May 24 14:17:16 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.66 2019/05/24 13:17:57 hauke Exp $
+# $NetBSD: Makefile,v 1.67 2019/05/24 14:17:16 hauke Exp $
 
 DISTNAME=      maildrop-3.0.0
-#PKGREVISION=  1
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=courier/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 742fc4567f7f -r 4ceaf98dc409 mail/maildrop/distinfo
--- a/mail/maildrop/distinfo    Fri May 24 13:18:23 2019 +0000
+++ b/mail/maildrop/distinfo    Fri May 24 14:17:16 2019 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.20 2019/05/24 13:17:57 hauke Exp $
+$NetBSD: distinfo,v 1.21 2019/05/24 14:17:16 hauke Exp $
 
 SHA1 (maildrop-3.0.0.tar.bz2) = d982d4d9d4ee2fa8637102049126c5202eb82c73
 RMD160 (maildrop-3.0.0.tar.bz2) = 9be87d2615f49bb02702c88ade8ebc3260c03e51
 SHA512 (maildrop-3.0.0.tar.bz2) = 1f1e1682ec7c2d0c1f2e71059f186d9a9d3118194b1e558d3a6e5826721fb14a661f4d75df42ce2626430ac072b50e723b563ae00c1ebdeb4da96abfeb534eff
 Size (maildrop-3.0.0.tar.bz2) = 2091018 bytes
-SHA1 (patch-Makefile.in) = 82153fdba4f9ef69d694672d97a68bb55d84765a
+SHA1 (patch-Makefile.in) = 6629f46889d6f3c73cac08d5ab10308a84c41ec2
 SHA1 (patch-libs_maildrop_configure) = 76b12b194463095a65cde90d992ac6b023b694e2
+SHA1 (patch-libs_maildrop_filelock.C) = d278b66bf77fe46f5ad51f860b6e5efdd7d7f29b
 SHA1 (patch-libs_maildrop_main.C) = e8d4229e6ae742876bef0134af41134fd53f5850
diff -r 742fc4567f7f -r 4ceaf98dc409 mail/maildrop/patches/patch-Makefile.in
--- a/mail/maildrop/patches/patch-Makefile.in   Fri May 24 13:18:23 2019 +0000
+++ b/mail/maildrop/patches/patch-Makefile.in   Fri May 24 14:17:16 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: patch-Makefile.in,v 1.1 2019/05/24 13:17:57 hauke Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2019/05/24 14:17:17 hauke Exp $
 
 Do not install maildir related tools & doc - they presumably get
-installed by some other courier-* package if you want them.
+installed by some other courier-* package if you want them. (The
+FreeBSD mail/maildrop port just 'maildrop-' prefixes those binaries?)
 
 Install system binaries in {libexecdir} where applicable.
 
diff -r 742fc4567f7f -r 4ceaf98dc409 mail/maildrop/patches/patch-libs_maildrop_filelock.C
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/maildrop/patches/patch-libs_maildrop_filelock.C      Fri May 24 14:17:16 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libs_maildrop_filelock.C,v 1.1 2019/05/24 14:17:17 hauke Exp $
+
+We want to not fail a lock on a device file, make it so 
+(patch from FreeBSD mail/maildrop port)
+  
+--- libs/maildrop/filelock.C.orig      2013-08-25 18:54:20.000000000 +0000
++++ libs/maildrop/filelock.C
+@@ -63,7 +63,7 @@ int  flockrc;
+               // you're writing to a device file, you know what you're doing.
+ 
+               if (fstat(fd, &stat_buf) >= 0 && (
+-                      S_ISREG(stat_buf.st_mode) || S_ISDIR(stat_buf.st_mode)))
++                      S_ISCHR(stat_buf.st_mode) || S_ISBLK(stat_buf.st_mode)))
+               {
+                       return;
+               }



Home | Main Index | Thread Index | Old Index