From owner-svn-ports-head@freebsd.org Thu Nov 21 01:49:28 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E7311A8FF0; Thu, 21 Nov 2019 01:49:28 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47JMtc1MjCz4gB8; Thu, 21 Nov 2019 01:49:28 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 12B4C3EA1; Thu, 21 Nov 2019 01:49:28 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAL1nRwo011499; Thu, 21 Nov 2019 01:49:27 GMT (envelope-from asomers@FreeBSD.org) Received: (from asomers@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAL1nRXB011498; Thu, 21 Nov 2019 01:49:27 GMT (envelope-from asomers@FreeBSD.org) Message-Id: <201911210149.xAL1nRXB011498@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: asomers set sender to asomers@FreeBSD.org using -f From: Alan Somers Date: Thu, 21 Nov 2019 01:49:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518074 - head/security/gnupg X-SVN-Group: ports-head X-SVN-Commit-Author: asomers X-SVN-Commit-Paths: head/security/gnupg X-SVN-Commit-Revision: 518074 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2019 01:49:28 -0000 Author: asomers (src committer) Date: Thu Nov 21 01:49:27 2019 New Revision: 518074 URL: https://svnweb.freebsd.org/changeset/ports/518074 Log: security/gnupg: rebuild man pages on every build gnupg ships its man pages as texinfo files, precompiled into info files. This change causes make to rebuild them every time. There are two reasons: * Rebuilding them automatically corrects several Linuxisms in paths (e.g. /etc => /usr/local/etc). * Rebuilding them is a neccessary precondition for making any local changes that will affect the content of the man pages, which I intend to do in a future commit. Reviewed by: adamw Approved by: adamw (maintainer) Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D22471 Modified: head/security/gnupg/Makefile Modified: head/security/gnupg/Makefile ============================================================================== --- head/security/gnupg/Makefile Thu Nov 21 01:19:57 2019 (r518073) +++ head/security/gnupg/Makefile Thu Nov 21 01:49:27 2019 (r518074) @@ -2,7 +2,7 @@ PORTNAME= gnupg PORTVERSION= 2.2.17 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= GNUPG @@ -45,6 +45,8 @@ SCDAEMON_DESC= Enable Smartcard daemon (with libusb) SUID_GPG_DESC= Install GPG with suid WKS_SERVER_DESC=Install the Web Key Service server +DOCS_BUILD_DEPENDS= makeinfo:print/texinfo + GNUTLS_CONFIGURE_ENABLE=gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls @@ -60,6 +62,11 @@ NLS_USES= gettext SCDAEMON_CONFIGURE_ENABLE= scdaemon WKS_SERVER_CONFIGURE_ENABLE= wks-tools + +# Touch the texinfo files to force makeinfo to run. This fixes Linuxisms in +# the paths in the man pages. +pre-build: + @${TOUCH} ${WRKSRC}/doc/*.texi post-install: @${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}