pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/tlswrapper Update to 20220114. From the chang...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7febc8d1b1ab
branches:  trunk
changeset: 371862:7febc8d1b1ab
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Jan 15 19:04:24 2022 +0000

description:
Update to 20220114. From the changelog:

- added "experimental" support for delayed encryption (option -nN)
- add tlswrapper-smtp (STARTTLS support for old inetd-style SMTP servers)

diffstat:

 security/tlswrapper/Makefile                       |  10 ++++++----
 security/tlswrapper/PLIST                          |   5 ++++-
 security/tlswrapper/distinfo                       |  13 ++++---------
 security/tlswrapper/patches/patch-connectioninfo.c |  14 --------------
 security/tlswrapper/patches/patch-iptostr.c        |  14 --------------
 security/tlswrapper/patches/patch-log.c            |  15 ---------------
 security/tlswrapper/patches/patch-resolvehost.c    |  14 --------------
 security/tlswrapper/patches/patch-strtoip.c        |  13 -------------
 8 files changed, 14 insertions(+), 84 deletions(-)

diffs (151 lines):

diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/Makefile
--- a/security/tlswrapper/Makefile      Sat Jan 15 17:44:35 2022 +0000
+++ b/security/tlswrapper/Makefile      Sat Jan 15 19:04:24 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 22:10:37 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/15 19:04:24 schmonz Exp $
 
 GITHUB_PROJECT=                tlswrapper
-GITHUB_TAG=            20220101
+GITHUB_TAG=            20220114
 DISTNAME=              ${GITHUB_PROJECT}
 PKGNAME=               ${GITHUB_PROJECT}-${GITHUB_TAG}
 CATEGORIES=            security net
@@ -20,11 +20,13 @@
 
 LDFLAGS.SunOS+=                -lsocket
 
-INSTALLATION_DIRS=     bin man/man1
+INSTALLATION_DIRS=     bin man/man1 share/examples/${PKGBASE}
 
 do-install:
        cd ${WRKSRC};                                                   \
-       for i in tlswrapper tlswrapper-tcp; do                          \
+       ${INSTALL_DATA} examples.md \
+               ${DESTDIR}${PREFIX}/share/examples/${PKGBASE};          \
+       for i in tlswrapper tlswrapper-smtp tlswrapper-tcp; do          \
                ${INSTALL_PROGRAM} $${i} \
                        ${DESTDIR}${PREFIX}/bin;                        \
                ${INSTALL_MAN} man/$${i}.1 \
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/PLIST
--- a/security/tlswrapper/PLIST Sat Jan 15 17:44:35 2022 +0000
+++ b/security/tlswrapper/PLIST Sat Jan 15 19:04:24 2022 +0000
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2022/01/04 21:39:03 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/01/15 19:04:24 schmonz Exp $
 bin/tlswrapper
+bin/tlswrapper-smtp
 bin/tlswrapper-tcp
+man/man1/tlswrapper-smtp.1
 man/man1/tlswrapper-tcp.1
 man/man1/tlswrapper.1
+share/examples/tlswrapper/examples.md
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/distinfo
--- a/security/tlswrapper/distinfo      Sat Jan 15 17:44:35 2022 +0000
+++ b/security/tlswrapper/distinfo      Sat Jan 15 19:04:24 2022 +0000
@@ -1,11 +1,6 @@
-$NetBSD: distinfo,v 1.2 2022/01/04 22:10:37 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2022/01/15 19:04:24 schmonz Exp $
 
-BLAKE2s (tlswrapper-20220101.tar.gz) = aad0a74ffe7a494e037a7bce1f28ff643e545f9bd456d5298dbdd2c1dc41c83d
-SHA512 (tlswrapper-20220101.tar.gz) = df1c3505cb44468099c2ce439c1d75731a24722474e55fe7868f52d91d414adfa4fc3575826ac9a7c6fb6491752622985d87d691d44e847c8897148350b1acce
-Size (tlswrapper-20220101.tar.gz) = 239414 bytes
+BLAKE2s (tlswrapper-20220114.tar.gz) = cc802481dd99fb2c463ffe0532943d999f4c757b38abf996650eee986bfc456e
+SHA512 (tlswrapper-20220114.tar.gz) = 333b96f6f413b5a1377606be9a3aa9afbee95c0ad22aacb5ebd4eb3464d329b531fcdd3ac6aa64d180ed558b4c39d2f13ae8cef240c071c59e0b45d5d43bd88a
+Size (tlswrapper-20220114.tar.gz) = 244733 bytes
 SHA1 (patch-Makefile) = 72fb81a5224e3c363d7a61dec17ea61d7d99879b
-SHA1 (patch-connectioninfo.c) = 8b3617d4452236e8c0c907ee93bcf0ef71af6f06
-SHA1 (patch-iptostr.c) = d58d00510a6be9c4534f962211a86fa54cedd0ff
-SHA1 (patch-log.c) = 8a136e87339115ace38c1ceb16ff6dc3b40142e8
-SHA1 (patch-resolvehost.c) = 4ea8adf324405aeab7775b82beff6c285f2f8ab9
-SHA1 (patch-strtoip.c) = 9c742a3f58624a8a8a27bf2c3d97ca9a90e7bd88
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/patches/patch-connectioninfo.c
--- a/security/tlswrapper/patches/patch-connectioninfo.c        Sat Jan 15 17:44:35 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-connectioninfo.c,v 1.1 2022/01/04 22:10:37 schmonz Exp $
-
-Define struct sockaddr_in{,6}.
-
---- connectioninfo.c.orig      2021-12-28 05:36:39.000000000 +0000
-+++ connectioninfo.c
-@@ -10,6 +10,7 @@ Public domain.
- #include <arpa/inet.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <netinet/in.h>
- #include "strtoip.h"
- #include "strtoport.h"
- #include "porttostr.h"
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/patches/patch-iptostr.c
--- a/security/tlswrapper/patches/patch-iptostr.c       Sat Jan 15 17:44:35 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-iptostr.c,v 1.1 2022/01/04 22:10:37 schmonz Exp $
-
-Define AF_INET{,6}.
-
---- iptostr.c.orig     2021-12-28 05:36:39.000000000 +0000
-+++ iptostr.c
-@@ -6,6 +6,7 @@ Public domain.
- 
- #include <arpa/inet.h>
- #include <string.h>
-+#include <sys/socket.h>
- #include "iptostr.h"
- 
- /* convert IPv4 address */
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/patches/patch-log.c
--- a/security/tlswrapper/patches/patch-log.c   Sat Jan 15 17:44:35 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-log.c,v 1.1 2022/01/04 22:10:37 schmonz Exp $
-
-Define AF_INET{,6} and struct sockaddr_in{,6}.
-
---- log.c.orig 2021-12-28 05:36:39.000000000 +0000
-+++ log.c
-@@ -22,6 +22,8 @@ name .......... optional
- #include <stdlib.h>
- #include <time.h>
- #include <unistd.h>
-+#include <sys/socket.h>
-+#include <netinet/in.h>
- #include "e.h"
- #include "randommod.h"
- #include "log.h"
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/patches/patch-resolvehost.c
--- a/security/tlswrapper/patches/patch-resolvehost.c   Sat Jan 15 17:44:35 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-resolvehost.c,v 1.1 2022/01/04 22:10:37 schmonz Exp $
-
-Define struct sockaddr_in{,6}.
-
---- resolvehost.c.orig 2021-12-28 05:36:39.000000000 +0000
-+++ resolvehost.c
-@@ -11,6 +11,7 @@ Public domain.
- #include <sys/wait.h>
- #include <signal.h>
- #include <netdb.h>
-+#include <netinet/in.h>
- #include "e.h"
- #include "blocking.h"
- #include "log.h"
diff -r a1da5dd0fa37 -r 7febc8d1b1ab security/tlswrapper/patches/patch-strtoip.c
--- a/security/tlswrapper/patches/patch-strtoip.c       Sat Jan 15 17:44:35 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-strtoip.c,v 1.1 2022/01/04 22:10:37 schmonz Exp $
-
-Define AF_INET{,6}.
-
---- strtoip.c.orig     2021-12-28 05:36:39.000000000 +0000
-+++ strtoip.c
-@@ -1,5 +1,6 @@
- #include <string.h>
- #include <arpa/inet.h>
-+#include <sys/socket.h>
- #include "strtoip.h"
- 
- int strtoip4(unsigned char *ip, const char *x) {



Home | Main Index | Thread Index | Old Index