Bug 219929

Summary: security/openssl: ${DIST_SUBDIR} not match in ${MASTER_SITE_BACKUP}
Product: Ports & Packages Reporter: Fukang Chen <loader>
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Closed FIXED    
Severity: Affects Only Me CC: loader
Priority: --- Flags: bugzilla: maintainer-feedback? (brnrd)
Version: Latest   
Hardware: Any   
OS: Any   

Description Fukang Chen freebsd_committer 2017-06-11 16:29:11 UTC
# cd /usr/ports/security/openssl/
# make -V MASTER_SITE_BACKUP
http://distcache.FreeBSD.org/ports-distfiles/openssl-1.0.2l/
# make -dV -V MASTER_SITE_BACKUP
http://distcache.FreeBSD.org/ports-distfiles/openssl-${DISTVERSIONPREFIX}1.0.2l${DISTVERSIONSUFFIX}/

It seems that ${DISTVERSIONFULL} was not expanded before assigning,
a workaround, maybe:

Index: Makefile
===================================================================
--- Makefile    (revision 442466)
+++ Makefile    (working copy)
@@ -7,7 +7,7 @@
 CATEGORIES=    security devel
 MASTER_SITES=  http://www.openssl.org/source/ \
                ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
-DIST_SUBDIR=   ${DISTNAME:C/[a-z]$//}
+DIST_SUBDIR=   ${PORTNAME}-${DISTVERSION:C/[a-z]$//}

 MAINTAINER=    brnrd@FreeBSD.org
 COMMENT=       SSL and crypto library
Comment 1 commit-hook freebsd_committer 2017-07-24 17:51:37 UTC
A commit references this bug:

Author: brnrd
Date: Mon Jul 24 17:51:16 UTC 2017
New revision: 446538
URL: https://svnweb.freebsd.org/changeset/ports/446538

Log:
  security/openssl: Fix MASTER_SITE_SUBDIR

   - DISTVERSIONFULL is not expanded before assignment

  PR:		219929
  Submitted by:	Fukang Chen <loader@FreeBSD.org>

Changes:
  head/security/openssl/Makefile
Comment 2 Bernard Spil freebsd_committer 2017-07-24 17:52:26 UTC
Thanks for reporting! Sorry it took too long to commit...