Commit graph

343 commits

Author SHA1 Message Date
Bryan Drewery
b3f7e10993 - Simplify and refactor login.conf environment handling. 2020-03-23 23:15:09 +00:00
Bryan Drewery
f5f81bcbb6 Fix build without PAM option 2020-03-23 21:56:17 +00:00
Bryan Drewery
a7eb97a6a3 Remove long broken X509 patch.
Approved by:	portmgr (implicit)
2020-03-23 17:07:42 +00:00
Bryan Drewery
c5cc3212e8 Fix plist for 8.2p1 2020-03-23 17:04:51 +00:00
Bryan Drewery
115e2b360f - Update to 8.2p1
Release notes: https://www.openssh.com/txt/release-8.2
2020-03-23 16:53:46 +00:00
Bryan Drewery
e7d48eba9d Update to 8.1p1
Changes: https://www.openssh.com/txt/release-8.1

Sponsored by:	Dell EMC
2019-12-22 02:55:14 +00:00
Baptiste Daroussin
ef71a0d8c9 Drop the ipv6 virtual category for s* category as it is not relevant anymore 2019-10-09 12:20:31 +00:00
Steve Wills
a432d98d9d Bump PORTREVISION on ldns consumers
Shared lib version changed in update

Reported by:	sunpoet
2019-09-02 21:23:28 +00:00
Mathieu Arnold
bc89cd3d2c Convert to UCL & cleanup pkg-message (categories s) 2019-08-14 12:16:12 +00:00
Bryan Drewery
13d97b9d3d - Update gssapi patch for 8.0
- Rework how the gssapi patch is fetched/mirrored so we can fetch
  directly from debian.

PR:		239290
Submitted by:	david@dcrosstech.com (based on)
Tested by:	vrwmiller@gmail.com
2019-07-19 19:18:09 +00:00
Bryan Drewery
468d86b219 Fix BROKEN handling for x509/gssapi FLAVORS 2019-07-18 20:10:06 +00:00
Bryan Drewery
97bcfd953b Update to 8.0p1
Changes: https://www.openssh.com/txt/release-8.0

With help from:	Lee Prokowich
Sponsored by:	DellEMC
2019-07-12 03:48:47 +00:00
Bryan Drewery
598f3655f1 - Fix X509 build after r484765 openssl fix
- Fix patch URL for KERB_GSSAPI
- Add FLAVORs for x509 and gssapi since they are distinct types of
  OpenSSH rather than feature flags.

Approved by:	portmgr (implicit)
2018-11-12 21:55:35 +00:00
Bryan Drewery
9be669e178 - Update KERB_GSSAPI for 7.9p1 2018-11-12 21:04:05 +00:00
Bryan Drewery
e9f6e1dc00 - Fix HPN for 7.9p1
- DOCS is required for HPN but it's not exclusively a flavor so needs to be
  in the default list.
- Fix a build-time OpenSSL version comparison [1]

PR:		233157 [1]
Reported by:	Robert Schulze <rs@bytecamp.net> [1]
Obtained from:	upstream c0a35265907533be10ca151ac797f34ae0d68969 [1]
2018-11-12 20:56:11 +00:00
Bryan Drewery
eb41a0f601 Update to 7.9p1.
- Fixes build on 12, head, and openssl-devel.
- GSSAPI and HPN are currently marked BROKEN as I don't want to block
  the main update for anyone.

  http://www.openssh.com/txt/release-7.8
  http://www.openssh.com/txt/release-7.9

MFH:	2018Q4 (due to being broken on 12+head)
2018-11-11 20:21:03 +00:00
Mathieu Arnold
35326f1a97 security/openssl-devel was removed, but there is a security/openssl111 now. 2018-11-10 10:09:48 +00:00
Mathieu Arnold
e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00
Bryan Drewery
c8ac0e6acd Simplify CONFLICTS_INSTALL.
Reported by:	mat
2018-06-29 15:44:33 +00:00
Bryan Drewery
877e47208a - Fix and update HPN patch to latest from upstream but leave it off by
default.
- Add an 'hpn' FLAVOR to produce a package for users with HPN and
  NONECIPHER enabled.

Approved by:	portmgr (implicit)
2018-06-28 03:38:32 +00:00
Bryan Drewery
ad7e8762a9 Update x509 patch to 11.3.2 2018-06-26 22:32:37 +00:00
Bryan Drewery
40fc1f9225 Forgot PORTREVISION bump for r472797.
PR:		229147
2018-06-19 15:42:54 +00:00
Bryan Drewery
dcc4de176b Fix nologin check when PAM option is disabled in the port.
PR:		229147
Submitted by:	Robert Schulze <rs@bytecamp.net>
2018-06-19 15:42:32 +00:00
Bryan Drewery
fceb6f0897 Add lost metadata on why this patch exists 2018-06-19 15:34:13 +00:00
Bryan Drewery
a68f18cd9b - Add XMSS option to enable experimental key support added in 7.7 [1]
- Bring in upstream patches post 7.7 to fix various issues [2]:
  b81b2d120e9c8a83489e241620843687758925ad - Fix tunnel forwarding broken in 7.7p1
  341727df910e12e26ef161508ed76d91c40a61eb - don't kill ssh-agent's listening socket entriely if we fail to accept a connection
  85fe48fd49f2e81fa30902841b362cfbb7f1933b - don't free the %C expansion, it's used later for LocalCommand
  868afa68469de50d8a43e5daf867d7c624a34d20 - Disable SSH2_MSG_DEBUG messages for Twisted Conch clients
  f5baa36ba79a6e8c534fb4e0a00f2614ccc42ea6 - Omit 3des-cbc if OpenSSL built without DES

PR:		227758 [1]
Submitted by:	IWAMOTO Kouichi <sue@iwmt.org> [1]
PR:		227551 [2]
Reported by:	rozhuk.im@gmail.com [2]
Obtained from:	upstream mirror https://github.com/openssh/openssh-portable [2]
2018-05-03 23:39:10 +00:00
Bryan Drewery
28657bf502 Update the KERB_GSSAPI patch from debian.
https://sources.debian.org/data/main/o/openssh/1:7.7p1-2/debian/patches/gssapi.patch
is mirrored due to not being filename-unique and not gzipped.

PR:		226789
Submitted by:	Rick Miller <vmiller@verisign.com> (based on)
Tested by:	Rick Miller <vmiller@verisign.com>
Reported by:	david@dcrosstech.com
2018-04-25 18:05:41 +00:00
Craig Leres
14c5a8610a The block of code that canonicallizes the hostname supplied on
the command line added by patch-ssh.c misapplies to 7.7p1 and
moves from main() to to ssh_session2(). This breaks ssh SSHFP
support for non-canonical hostnames. For example, "ssh zinc"
correctly discovers the FQDN (zinc.ee.lbl.gov) and uses it to
look up A and AAAA records but the non-canonical version (zinc)
is used in the SSHFP record lookup which or course fails.

Regenerate the patch.

Reviewed by:	bdrewery, ler (mentor)
Approved by:	bdrewery, ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D15053
2018-04-12 21:54:01 +00:00
Bryan Drewery
fe0ff6cbfc Make BROKEN lines more clear 2018-04-05 19:57:06 +00:00
Bryan Drewery
804e4b49f3 Update to 7.7p1
- Update x509 patch to 11.3
- Remove SCTP option as it has not had a patch available since 7.2.

Changes: https://www.openssh.com/txt/release-7.7

Notable changes:
 * ssh(1)/sshd(8): Drop compatibility support for some very old SSH
   implementations, including ssh.com <=2.* and OpenSSH <= 3.*. These
   versions were all released in or before 2001 and predate the final
   SSH RFCs. The support in question isn't necessary for RFC-compliant
   SSH implementations.
2018-04-05 18:20:50 +00:00
Bryan Drewery
fd31417b15 libressl support was fixed in r452358 2018-04-03 23:14:18 +00:00
Mathieu Arnold
9215977220 Mark some ports broken with openssl-devel.
Sponsored by:	Absolight
2018-03-29 14:53:23 +00:00
Bryan Drewery
b514cd6ba2 Remove OVERWRITE_BASE compat - it was marked IGNORE in 2015 2018-03-16 20:20:09 +00:00
Bryan Drewery
26b8dc385b LibreSSL + LDNS: Fix random crashes.
This happens due to ldns-config --libs adding in too many libraries
(overlinking), and -lcrypto again, which causes some strange
conflict/corruption.  By specifying the path to --with-ldns, configure only
adds in -ldns rather than every library ldns itself needs.

PR:		223000
Reported by:	many
2017-10-18 17:19:26 +00:00
Kubilay Kocak
2ebeef14f6 security/openssh-portable: Remove groff dependency
An unconditional dependency on groff was added in ports r441907 [1] as part
of bug 213725 (groff removal from base). OpenSSH release-5.7 notes the
following:

 * Use mandoc as preferred manpage formatter if it is present, followed
   by nroff and groff respectively.

This change removes groff as an unconditional dependency allowing mandoc
to be used, and reduces many subsequence dependencies accordingly.

It additionally explicitly sets 'mantype', which ensures that man pages
are installed in the same location (LOCALBASE/man) independently from the
generator used. Without this, a packaging (pkg-plist) error is observed
(installing man pages into LOCALBASE/doc not LOCALBASE/man), which was
presumably the genesis of the groff dependency addition in the first place.

[1] http://svnweb.freebsd.org/changeset/ports/441907

Reviewed by:		bdrewery (maintainer), allanjude
Approved by:		bdrewery (maintainer)
Differential Revision:	D11793
2017-10-16 07:26:08 +00:00
Bryan Drewery
4abdc2f45c Mark broken with libressl as it has several random crashses.
PR:		223000
2017-10-14 18:09:35 +00:00
Bryan Drewery
e674a19ab4 Bring in upstream fix for PermitOpen from commit 7c9613fac337 2017-10-13 23:27:19 +00:00
Bryan Drewery
9779576b57 Update to 7.6p1
- Update x509 patch to 11.0
- HPN/NONECIPHER do not apply currently and are disabled by default,
  same as the base sshd.  A compatibility patch is applied if
  these options are disabled to prevent startup failures; the options
  are kept as deprecated.
- SCTP patch does not apply.

Changes: https://www.openssh.com/txt/release-7.6

Notable changes:
  - SSH version 1 support dropped.
  - Dropped support for hmac-ripemd160 MAC.
  - Dropped support for the ciphers arcfour, blowfish and CAST.
  - RSA keys less than 1024 bits are refused.
2017-10-12 19:40:58 +00:00
Bryan Drewery
995a1faef3 Fix LDNS detection.
This is the same fix made upstream as well.

PR:		218472
Submitted by:	leres@ee.lbl.gov
MFH:		2017Q2
2017-06-09 14:44:19 +00:00
Antoine Brodin
69771bc284 Register dependency on groff
PR:		213725
2017-05-28 10:58:00 +00:00
Mathieu Arnold
9d86e32f2d Mark those as not building with openssl-devel.
Sponsored by:	Absolight
2017-04-27 12:14:37 +00:00
Bryan Drewery
9051821be1 - Update to 7.5p1.
- Update X509 to 10.1.
- Disable KERB_GSSAPI for now as it does not build.

Changes: https://www.openssh.com/txt/release-7.5
2017-04-01 01:59:25 +00:00
Bryan Drewery
c59be11b14 - Change USE_AUTOTOOLS to USES= autoreconf
- Change @exec to @postexec in pkg-plist

Submitted by:	brnrd
PR:		217962
2017-03-20 18:16:43 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Martin Wilke
6d14406a13 - Chase ldns shlip bump
PR:		217495
2017-03-03 04:12:20 +00:00
Bryan Drewery
d5324e3511 Fix build with NONE_CIPHER. 2017-01-17 19:38:38 +00:00
Bryan Drewery
8da82fad61 Update to 7.4p1.
- Update X509 patch to 9.3
- SCTP patch from soralx@cydem.org

Changes: https://www.openssh.com/txt/release-7.4
2017-01-16 19:30:31 +00:00
Bryan Drewery
b75ee34145 Fix to only enable SCTP patch with option from r431441 2017-01-13 23:44:24 +00:00
Bryan Drewery
dbbe36d335 Add forgotten patch in r431438 for CVE-2016-10009 and CVE-2016-10010.
Security:	2c948527-d823-11e6-9171-14dae9d210b8
Submitted by:	Tim Zingelman <zingelman@gmail.com>
MFH:		2017Q1
2017-01-13 23:39:48 +00:00
Bryan Drewery
0e17ced755 Add working SCTP patch.
This has 2 minor changes from the upstream bug 1604

PR:		215632
Submitted by:	soralx@cydem.org
2017-01-13 23:28:54 +00:00
Bryan Drewery
4e5701f44f Add patches to cover security issues CVE-2016-10009 and CVE-2016-10010.
Security:	2c948527-d823-11e6-9171-14dae9d210b8
Submitted by:	Tim Zingelman <zingelman@gmail.com>
MFH:		2017Q1
2017-01-13 23:23:35 +00:00