Bug 226676 - security/testssl.sh: fix date processing
Summary: security/testssl.sh: fix date processing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-17 14:24 UTC by Piotr Kubaj
Modified: 2018-03-18 09:02 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (tobik)


Attachments
patch (1.88 KB, patch)
2018-03-17 14:24 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!