Bug 226676

Summary: security/testssl.sh: fix date processing
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (tobik)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-03-17 14:24:14 UTC
Created attachment 191576 [details]
patch

This patch fixes invalid date processing and bumps PORTREVISION. It turns out there is unnecessary %z flag to date.

Builds fine, I tested it run-time with wp.pl domain.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-03-18 09:02:58 UTC
A commit references this bug:

Author: tobik
Date: Sun Mar 18 09:02:42 UTC 2018
New revision: 464885
URL: https://svnweb.freebsd.org/changeset/ports/464885

Log:
  security/testssl.sh: Fix certificate expiration check

  Upstream commit af6ca18933ffc5bb02d2ced46342b8d7a6275acd dropped the
  TZ offset from the certificate enddate but the FreeBSD date format was
  not updated accordingly.  Remove the unnecessary %z from the format
  string.

  - While here add NO_ARCH

  PR:		226676
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/security/testssl.sh/Makefile
  head/security/testssl.sh/files/patch-testssl.sh
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2018-03-18 09:02:59 UTC
Committed. Thanks!