pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/qremote



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Jan  4 21:03:22 UTC 2022

Modified Files:
        pkgsrc/mail/qremote: Makefile PLIST distinfo
        pkgsrc/mail/qremote/patches: patch-Makefile patch-qmail-remote.c
Removed Files:
        pkgsrc/mail/qremote/patches: patch-nacl-20110221_do

Log Message:
In addition to "qmail-tcpclient" being identical to ucspi-tcp's
tcpclient, the author suggests we rely on the curvecpclient and
curvecpmessage binaries provided by NaCl. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/qremote/Makefile \
    pkgsrc/mail/qremote/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/qremote/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/qremote/patches/patch-Makefile \
    pkgsrc/mail/qremote/patches/patch-qmail-remote.c
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/qremote/patches/patch-nacl-20110221_do

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

Modified files:

Index: pkgsrc/mail/qremote/Makefile
diff -u pkgsrc/mail/qremote/Makefile:1.3 pkgsrc/mail/qremote/Makefile:1.4
--- pkgsrc/mail/qremote/Makefile:1.3    Thu Nov 19 09:35:42 2020
+++ pkgsrc/mail/qremote/Makefile        Tue Jan  4 21:03:22 2022
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/11/19 09:35:42 schmonz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/04 21:03:22 schmonz Exp $
 
 DISTNAME=              qremote-20131231
+PKGREVISION=           1
 CATEGORIES=            mail
 MASTER_SITES=          ${HOMEPAGE}
 EXTRACT_SUFX=          .tar.bz2
@@ -24,7 +25,7 @@ post-build:
        cd ${WRKSRC} && ${MV} qmail-remote qmail-qremote
 
 do-install:
-       for i in qremote curvecpclient curvecpmessage rsmtp; do \
+       for i in qremote rsmtp; do \
          ${INSTALL_PROGRAM} ${WRKSRC}/qmail-$${i} ${DESTDIR}${PREFIX}/bin; \
        done
        ${INSTALL_PROGRAM} ${WRKSRC}/showdnsmx ${DESTDIR}${PREFIX}/bin
Index: pkgsrc/mail/qremote/distinfo
diff -u pkgsrc/mail/qremote/distinfo:1.3 pkgsrc/mail/qremote/distinfo:1.4
--- pkgsrc/mail/qremote/distinfo:1.3    Tue Oct 26 10:54:25 2021
+++ pkgsrc/mail/qremote/distinfo        Tue Jan  4 21:03:22 2022
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:54:25 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/01/04 21:03:22 schmonz Exp $
 
 BLAKE2s (qremote-20131231.tar.bz2) = 9832f87a3b4e627c85a4fa57ef44c2473b382826b139cbeb91b57a0a86781701
 SHA512 (qremote-20131231.tar.bz2) = 234691baf85c2256ac4a2dcfc23a3e136fecf22ecabac2b992dd157439d8bf83813c7ee2a1a8430386bbea6ce8526469cb407b67860605cb6a09963ec96df10c
 Size (qremote-20131231.tar.bz2) = 217306 bytes
-SHA1 (patch-Makefile) = d327047caa52b974e6017eb5e7b393a82059cdd4
-SHA1 (patch-nacl-20110221_do) = 0f11d6a2d0c452de457f3b5e565527b5f4a689ec
-SHA1 (patch-qmail-remote.c) = 0fd024911347d12e854b6f7aaefd4e234262c2c1
+SHA1 (patch-Makefile) = 80d89a479902eeeeb55628d92613bb73ca5308cc
+SHA1 (patch-qmail-remote.c) = aa6de1fc40b38c163a720e921bf02124d013c5ed

Index: pkgsrc/mail/qremote/PLIST
diff -u pkgsrc/mail/qremote/PLIST:1.2 pkgsrc/mail/qremote/PLIST:1.3
--- pkgsrc/mail/qremote/PLIST:1.2       Mon Nov  2 10:53:04 2020
+++ pkgsrc/mail/qremote/PLIST   Tue Jan  4 21:03:22 2022
@@ -1,6 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/11/02 10:53:04 schmonz Exp $
-bin/qmail-curvecpclient
-bin/qmail-curvecpmessage
+@comment $NetBSD: PLIST,v 1.3 2022/01/04 21:03:22 schmonz Exp $
 bin/qmail-qremote
 bin/qmail-rsmtp
 bin/showdnsmx

Index: pkgsrc/mail/qremote/patches/patch-Makefile
diff -u pkgsrc/mail/qremote/patches/patch-Makefile:1.1 pkgsrc/mail/qremote/patches/patch-Makefile:1.2
--- pkgsrc/mail/qremote/patches/patch-Makefile:1.1      Mon Nov  2 10:24:58 2020
+++ pkgsrc/mail/qremote/patches/patch-Makefile  Tue Jan  4 21:03:22 2022
@@ -1,20 +1,16 @@
-$NetBSD: patch-Makefile,v 1.1 2020/11/02 10:24:58 schmonz Exp $
+$NetBSD: patch-Makefile,v 1.2 2022/01/04 21:03:22 schmonz Exp $
 
-Find binaries where we built them.
+The bundled tcpclient, curvecpclient, and curvecpmessage aren't special.
+Use whatever's installed.
 
 --- Makefile.orig      2013-04-16 06:11:06.000000000 +0000
 +++ Makefile
-@@ -1199,9 +1199,9 @@ load qmail-tcpclient.o library.a socket.
-       ./load qmail-tcpclient library.a `cat socket.lib`
+@@ -1084,7 +1084,7 @@ wait_pid.o 
+       uint16_pack.o uint16_unpack.o uint32_unpack.o \
+       wait_pid.o 
  
- qmail-curvecpclient:
--      test -f "nacl-20110221/build/`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]'`/bin/curvecpclient" || ( cd nacl-20110221; ./do )
--      cp "nacl-20110221/build/`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]'`/bin/curvecpclient" qmail-curvecpclient
-+      test -f "nacl-20110221/build/pkgsrchostname/bin/curvecpclient" || ( cd nacl-20110221; ./do )
-+      cp "nacl-20110221/build/pkgsrchostname/bin/curvecpclient" qmail-curvecpclient
+-it:  showdnsmx qmail-remote qmail-rsmtp ipmeprint qmail-tcpclient qmail-curvecpclient qmail-curvecpmessage
++it:  showdnsmx qmail-remote qmail-rsmtp ipmeprint
  
- qmail-curvecpmessage:
--      test -f "nacl-20110221/build/`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]'`/bin/curvecpmessage" || ( cd nacl-20110221; ./do )
--      cp "nacl-20110221/build/`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]'`/bin/curvecpmessage" qmail-curvecpmessage
-+      test -f "nacl-20110221/build/pkgsrchostname/bin/curvecpmessage" || ( cd nacl-20110221; ./do )
-+      cp "nacl-20110221/build/pkgsrchostname/bin/curvecpmessage" qmail-curvecpmessage
+ load: \
+ warn-auto.sh conf-ld
Index: pkgsrc/mail/qremote/patches/patch-qmail-remote.c
diff -u pkgsrc/mail/qremote/patches/patch-qmail-remote.c:1.1 pkgsrc/mail/qremote/patches/patch-qmail-remote.c:1.2
--- pkgsrc/mail/qremote/patches/patch-qmail-remote.c:1.1        Mon Nov  2 10:24:58 2020
+++ pkgsrc/mail/qremote/patches/patch-qmail-remote.c    Tue Jan  4 21:03:22 2022
@@ -1,10 +1,25 @@
-$NetBSD: patch-qmail-remote.c,v 1.1 2020/11/02 10:24:58 schmonz Exp $
+$NetBSD: patch-qmail-remote.c,v 1.2 2022/01/04 21:03:22 schmonz Exp $
 
-The bundled tcpclient isn't special; use an installed one.
+The bundled tcpclient, curvecpclient, and curvecpmessage aren't special.
+Use whatever's installed.
 
 --- qmail-remote.c.orig        2013-04-14 10:07:50.000000000 +0000
 +++ qmail-remote.c
-@@ -139,7 +139,7 @@ void child(stralloc *d1, stralloc *d2, s
+@@ -124,7 +124,7 @@ void child(stralloc *d1, stralloc *d2, s
+ 
+     i = 0;
+     if (ix->haskey) {
+-        run[i++] = "qmail-curvecpclient";
++        run[i++] = "curvecpclient";
+         if (flagkeydir) {
+             run[i++] = "-c";
+             run[i++] = keydir.s;
+@@ -135,11 +135,11 @@ void child(stralloc *d1, stralloc *d2, s
+         run[i++] = ipstr;
+         run[i++] = strport;
+         run[i++] = ix->ext;
+-        run[i++] = "qmail-curvecpmessage";
++        run[i++] = "curvecpmessage";
          run[i++] = "-c";
      }
      else {



Home | Main Index | Thread Index | Old Index