Commit graph

61 commits

Author SHA1 Message Date
schmonz
9aab2ed55e Bump PKGREVISION for fehqlibs update. 2021-08-04 13:32:54 +00:00
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
schmonz
1ef895f4c8 Update to 0.12.2. From the changelog:
- fehQlibs-17 changes included regarding socket interface.
- Synced with ucspi-tcp6-1.12.3 providing MAXCONIP capabilities.
- Successful integration tests for OpenSSL 3.0.0-alpha13 and
  LibreSSL 3.3.1.
- Fixed sslserver's binding to IPv4/IPv6 addresses; code aligned with
  tcpserver.
2021-04-03 19:34:43 +00:00
schmonz
c6e2fac040 Remove DJB_RESTRICTED, no longer used. 2020-11-19 09:35:38 +00:00
schmonz
da6da51aee Quell pkglint: sprinkle .PHONY and terminate list of commands with semicolon. 2020-11-18 15:12:39 +00:00
schmonz
64140c8920 Update to 0.11.6a (as 0.999.11.6a). From the changelog:
- GCC 10 compliance enforced.

pkgsrc changes:

- Catch up DEFAULT_MEDIUM_CIPHERS to NetBSD-current's.
2020-09-22 09:59:05 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
schmonz
911d9eba86 Update to 0.11.6 (as 0.999.11.6). No changelog, but changes are supposed
to match those of ucspi-tcp6 1.11.6, so:

- Fixed problem for sslserver binding to local IPv4 addresses. Improved
  selection of IP addresses given the user flags -4/-6 and none.
- Improved sslclient's binding given several hostnames available in DNS.
2020-08-28 20:01:38 +00:00
schmonz
20a149b30f Update to 0.11.5 (as 0.999.11.5). From the changelog:
- Added pollmax limit to sslserver and sslhandle.
- sslclient streamlined with tcpclient. fehQlibs-15 are required.
2020-07-31 19:06:29 +00:00
schmonz
3948870bde Retire 'djbware-errno-hack' and associated options.mk cleverness.
Instead:

1. Package makefiles including their own options.mk
2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed
3. Packages adjust SUBST_FILES.djberrno, if needed

Should fix bulk build failures due to multiple inclusions of options.mk
and/or incorrect definitions of DJB_ERRNO_HACK.

Approved during the freeze by wiz@.
2020-06-25 05:42:36 +00:00
schmonz
1d91c0d653 Update to 0.11.4. From the changelog:
- Fixed iopause return value evaluation in remoteinfo.c.
- Removed return call evaluation of iopause in ssl_io.c and ssl_timeout.c
  Not clear, whether this a resulting the polling.
2020-03-30 08:04:18 +00:00
rillig
2e4f90e9e7 net/ucspi-ssl: doesn't need the errno.h hack 2020-03-20 19:57:12 +00:00
schmonz
3030ad6925 Update to 0.11.3 (as 0.999.11.3). From the changelog:
- Adopted some fixes contributed by Alan S. (mtx):
  DNS IP Name qualification; X.509 DNS name matching; certs are only
  read on demand.
- Support of STARTTLS in sslclient is postponed to next minor version.
- Straightened error codes and exiting for sslserver/sslhandle instead of
  dropping the session in case of errors.
2020-03-04 15:57:16 +00:00
schmonz
f9ca7f428f Distfile changed; since DIST_SUBDIR had been mistakenly preserved in
previous update, unset it. Bump PKGREVISION.

The complete diffs:

diff -Naur OLD/host/superscript.com/net/ucspi-ssl-0.11.1/package/build NEW/host/superscript.com/net/ucspi-ssl-0.11.1/package/build
--- OLD/host/superscript.com/net/ucspi-ssl-0.11.1/package/build	2019-11-07 11:21:18.000000000 -0500
+++ NEW/host/superscript.com/net/ucspi-ssl-0.11.1/package/build	2019-12-28 11:31:11.000000000 -0500
@@ -1 +1 @@
-20191107172118
+20191228173111
diff -Naur OLD/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslclient.c NEW/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslclient.c
--- OLD/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslclient.c	2019-09-08 15:02:23.000000000 -0400
+++ NEW/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslclient.c	2019-12-28 06:34:03.000000000 -0500
@@ -227,6 +227,7 @@
     if (!stralloc_copys(&addresses,"")) nomem();
     byte_copy(addresses.s,12,V4mappedprefix);
     byte_copy(addresses.s + 12,4,ipremote + 12);
+    ipv4socket = 1;
   } else if (ip6_scan(hostname,ipremote))
       if (!stralloc_copyb(&addresses,ipremote,16)) nomem();

diff -Naur OLD/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslserver.c NEW/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslserver.c
--- OLD/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslserver.c	2019-09-15 06:20:23.000000000 -0400
+++ NEW/host/superscript.com/net/ucspi-ssl-0.11.1/src/sslserver.c	2019-12-28 06:36:10.000000000 -0500
@@ -755,7 +755,7 @@
   if (!addresses.len) {
     if (!stralloc_copys(&tmp,hostname)) drop_nomem();
     if (dns_ip6_qualify(&addresses,&fqdn,&tmp) <= 0)
-      logmsg(WHO,111,FATAL,B("temporarily unable to figure out IP address for: ",(char *)hostname));
+      logmsg(WHO,111,FATAL,B("unable to figure out IP address for: ",(char *)hostname));
   }
   if (addresses.len < 16)
     logmsg(WHO,111,FATAL,B("no IP address for: ",(char *)hostname));
2020-02-03 19:56:19 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
schmonz
303637357e Update to 0.11.1 (as 0.999.11.1). From the changelog:
- Added compatibility with fehQlibs-13.
- Fixed wrong behavior of sslserver/sslclient given a local or remote
  IPv4 address. sslhandle is now an own program (man sslhandle.3).
- Code streamlined with ucspi-tcp6-1.11.0.
- Removed parenthesis from host in https@: [$host]:$port -> $host:port.
  Tx, A.E.
- Fixed TLSv1* macro's names in ucspissl.h to match ssl_context.c.
- Clarified usage of 'SSL_CTX_set_ciphersuites()' in ssl_ciphers.c.
2019-12-16 21:26:43 +00:00
rillig
eb3c2b436e net: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 11:45:28 +00:00
schmonz
925cd3c8f6 Distfile changed in place, reported by Nathan Arthur in private mail. No
important diffs from 20190803110528 to 20190803131811. Set DIST_SUBDIR
and update checksum.
2019-08-20 00:14:25 +00:00
schmonz
8c04c695db Require latest ucspi-tcp6 for IPv4 fixes. Bump PKGREVISION. 2019-08-19 22:09:06 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
schmonz
cb422d46bd Update to 0.10.11. From the changelog:
- Fixed potential stack corruption in sslclient/sslhandle/sslserver
  while assigning hostname => 0.
- Improved OpenSSL + LibreSSL compatibility:
    - LibreSSL 2.5 to 2.9 is working
    - OpenSSL 1.0.2 to 1.1.1 is working
- Added SNI for sslclient.
- Fixes for sslhandle.
- Included new CIPHERLIST API for ssl_ciphers.
- Removed dependency on conf-tcpbin; modules are expected to be
  in the path.
- Modules rts.base and rts.sslperl are working now.
2019-08-03 10:44:07 +00:00
schmonz
83708120a2 Specify include/qlibs and lib/qlibs paths once, in fehqlibs/buildlink3.mk. 2019-07-10 12:59:53 +00:00
schmonz
7ee338529e Bump PKGREVISION for new runtime dependency on fehqlibs. 2019-07-10 11:23:34 +00:00
schmonz
a6c3356621 Bump PKGREVISION for fehqlibs-using packages. 2019-07-10 10:49:36 +00:00
schmonz
182c9af84c Update to 0.10.10. From the changelog:
- Added DSA/DSS (+ECC) signature verification additionally to RSA.
- Added compatibility with fehQlibs-12.
2019-06-20 01:12:07 +00:00
schmonz
0c2339df67 Update to 0.10.9 (pkgsrc 0.999.10.9). From the changelog:
- Fixed broken evaluation of CIDR and IPv6 addresses;
  adjusted with ucspi-tcp6-1.10.5.
- Improved compatibility with LibreSSL and included description.
2019-05-05 15:18:00 +00:00
schmonz
9d6bff432f Update to 0.10.8. From the changelog:
- Added dualstack handling for servers applying the
  pseudo IP address ':0' on call (common now for all servers).
- Tailored TLS error handling for EAGAIN end error codes.
- Rewrote IPv4 CIDR address evaluation for rules.
2019-03-21 15:16:45 +00:00
schmonz
70e119c1c5 Previous attempt at sensible default ciphers was insufficiently
interoperable. Use Postfix's `tls_medium_cipherlist` instead. Bump
PKGREVISION.
2019-01-18 18:18:38 +00:00
schmonz
8adf5977dd Override conf-ciphers with Qualys-satisfactory defaults. Bump PKGREVISION. 2019-01-17 18:41:52 +00:00
schmonz
000407c04f Let installed ucspi-tcp6 satisfy ucspi-tcp dependency. 2019-01-10 13:23:16 +00:00
schmonz
420adb152f Update to 0.10.7. From the changelog:
- Better handling of read EAGAIN (sslserver may hang).
- Include socket_dualstack option (required for OS with IPv6_V6ONLY).
- fehQlibs-10 required.
2018-12-14 22:52:45 +00:00
schmonz
4d5777452d Disable TLS 1.0. Bump PKGREVISION. 2018-10-28 17:10:27 +00:00
schmonz
0ff2c2e525 Update to 0.10.6, which we'll call "0.999.10.6". From the changelog:
- Complete refurbish based on fehQlibs.
- Native handling of IPv4/IPv6 address for sslclient.
- Added experimental 'ecdhparam' file.
- Removed experimental 'ecdhparam' handling -- OpenSSL does not support it.
- Finished TLS 1.3 integration (based on OpenSSL 1.1.1).
- Removed compiler flags for ECDH -- now required.
- fehQlibs-09 based.
2018-10-14 12:21:11 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
schmonz
81381826da Add 'inet6' option to control dependency on ucspi-tcp{6,}. Bump PKGREVISION. 2018-07-29 23:23:09 +00:00
schmonz
d30d86a398 s/ucspi-tcp/ucspi-tcp6/g in dependencies. Bump PKGREVISIONs. 2018-07-25 16:32:34 +00:00
schmonz
3a711601ae Update to 0.99e. From the changelog:
- Fixed missing 'return 0' in ssl_params.c for ECDH handshake (tx. J.W.).
2018-07-11 22:42:51 +00:00
schmonz
c167c7b9ba Don't autodetect -m64. Fixes ABI=32 build on Tribblix. 2018-06-21 19:41:05 +00:00
schmonz
e65438d4e8 Update to 0.99d. From the changelog:
- Added `correct` pid display in error log.
- Fixed cosmetic bug in sslserver displaying parent and not child pid in log.
  Tx Bruce Guenter.

pkgsrc changes:

- Adjust path to OpenSSL certs
- Install the provided example DH params
- Look for /etc/dnsrewrite under PKG_SYSCONFBASE
- Create a user and group for privilege separation
- Install manpages and more documentation
2018-06-18 11:00:21 +00:00
schmonz
66167f6235 Update to 0.99b. From the changelog:
- Included PID in sslserver + sslhandle abend logs in case of SSL failure.
- Removed references to 'gcc' and used 'cc' instead.
- New build with better error log for ssl abends.
2017-07-22 02:58:09 +00:00
schmonz
2e68e061ec Rather than try to detect -ldl, use known values. Fixes NetBSD build. 2017-06-17 03:49:04 +00:00
ryoon
543e538acd Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:24:20 +00:00
schmonz
3124aeb971 Update to 0.99 (new upstream). From the changelog:
Included ucspi-ssl-0.70_ucspitls-0.6.patch (STARTTLS support)
originally designed and provided by Scott Gifford (FEH).

Added Certchain support for sslserver and sslclient (FEH).

Integration and added man-pages (FEH).

Synced with ucspi-tcp6-0.95.

Fixed integration bug in ssl_very.c.
Included patches from Peter Conrad.

Bug fix in sslserver. Several small
corrections.

Fix for large X509 serial numbers on x86 (tx. Peter Conrad).
SAN DNSname has precedence over CN in subject.
Re-edited man pages and rts tests.

Added IPv6 support (tx. to Felix von Leitner and Brandon Turner).
UI: Changed sslserver client cert call from '-i/-I' to '-z/-Z'
for compatibility reasons.
Added '-4/-6' support for client scripts.

Added output environment variables TCP6* for sslserver.
sslperl, sslhandle, and sslprint are not IPv6 ready yet.

Added IPv6 capabilities to sslhandle, sslprint, sslperl.
Changed verification of X.509 certs.
Removed obsolete socket_4 calls in sslserver.

Streamlined code with ucspi-tcp6-1.00.
Supplied new certs with customized SAN.
Make rts working (at least some how).

Added support for personalized client certs.
New option '-m' in sslserver, complementing '-z'.
CCAFILE='-' disables client cert request.

Added verbose log output for SSL connection informations.

Fixed wrongly nested CONNECT error code for sslclient.c
producing wrong warning messages while connecting to
an IPv4 address.
Added call of '-ldl' in ssl.lib.

Mitigation of SSL connection hanging during
coincident change of daylight-saving settings.

Fixed bug in sslserver's dnsip lookup in case of paranoid settings
and additonal existance of IPv6 AAAA records for incoming IPv4 connection.

Serveral fixes from 'troy@' included to cope with compiler errors and
to solve a bug in function getbitasaddress in ip4_bit.c (= ucspi-tcp6-1.02).
Reordered conf-* variables in main dir to allow easier generation of
packages (i.e. RPM). Fixed script to identify different HW architecture
and OS. This version works in 32 bit mode on Raspian Linux / RasPi 7.

Added ECDH capabilites (tx to Frank Bergmann for the patches).

Added compatibility with LibreSSL.
Fixed missing negative return call treatment from 'poll' (tx Frank Bergmann).
Tentative 'emake' fix for Gentoo build.

Added OpenSSL 1.1 tweaks -- works under Debian (9) 'Stretch'.
2017-05-20 01:39:12 +00:00
schmonz
004a91e8bc Add SHA512 digest for patch. 2016-12-15 12:18:44 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
tron
c64e9eb269 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:18:26 +00:00