From owner-svn-ports-head@freebsd.org Fri Apr 22 09:46:37 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5404B19692; Fri, 22 Apr 2016 09:46:37 +0000 (UTC) (envelope-from mat@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 mx1.freebsd.org (Postfix) with ESMTPS id 7CC241BAD; Fri, 22 Apr 2016 09:46:37 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3M9kaJQ067455; Fri, 22 Apr 2016 09:46:36 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3M9kaUL067454; Fri, 22 Apr 2016 09:46:36 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604220946.u3M9kaUL067454@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 22 Apr 2016 09:46:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413769 - head/Mk X-SVN-Group: ports-head 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.21 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: Fri, 22 Apr 2016 09:46:37 -0000 Author: mat Date: Fri Apr 22 09:46:36 2016 New Revision: 413769 URL: https://svnweb.freebsd.org/changeset/ports/413769 Log: Add the messages from check-deprecated to the package +DISPLAY so that users have a bigger change to see it. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6048 Modified: head/Mk/bsd.port.mk (contents, props changed) Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Fri Apr 22 09:24:34 2016 (r413768) +++ head/Mk/bsd.port.mk Fri Apr 22 09:46:36 2016 (r413769) @@ -3003,6 +3003,7 @@ ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRA # Warn user about deprecated packages. Advisory only. .if !target(check-deprecated) +# Try and keep these messages in sync with the ones in create-manifest check-deprecated: .if ${MAINTAINER} == "ports@FreeBSD.org" @${ECHO_MSG} "===> NOTICE:" @@ -4606,6 +4607,41 @@ create-manifest: [ -f ${PKGPOSTUPGRADE} ] && ${CP} ${PKGPOSTUPGRADE} ${METADIR}/+POST_UPGRADE; \ ${CP} ${DESCR} ${METADIR}/+DESC; \ [ -f ${PKGMESSAGE} ] && ${CP} ${PKGMESSAGE} ${METADIR}/+DISPLAY || return 0 +# Try and keep these messages in sync with check-deprecated +.if ${MAINTAINER} == "ports@FreeBSD.org" + @( \ + if [ -f "${METADIR}/+DISPLAY" ]; then ${ECHO_CMD}; fi; \ + ${ECHO_CMD} "===> NOTICE:"; \ + ${ECHO_CMD}; \ + ${ECHO_CMD} "The ${PORTNAME} port currently does not have a maintainer. As a result, it is"; \ + ${ECHO_CMD} "more likely to have unresolved issues, not be up-to-date, or even be removed in"; \ + ${ECHO_CMD} "the future. To volunteer to maintain this port, please create an issue at:"; \ + ${ECHO_CMD}; \ + ${ECHO_CMD} "https://bugs.freebsd.org/bugzilla"; \ + ${ECHO_CMD}; \ + ${ECHO_CMD} "More information about port maintainership is available at:"; \ + ${ECHO_CMD}; \ + ${ECHO_CMD} "https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port"; \ + ) >> ${METADIR}/+DISPLAY +.endif +.if defined(DEPRECATED) + @( \ + if [ -f "${METADIR}/+DISPLAY" ]; then ${ECHO_CMD}; fi; \ + ${ECHO_CMD} "===> NOTICE:"; \ + ${ECHO_CMD}; \ + ${ECHO_CMD} "This port is deprecated; you may wish to reconsider installing it:"; \ + ${ECHO_CMD}; \ + ${ECHO_CMD} ${DEPRECATED:Q}.; \ + ${ECHO_CMD}; \ + ) >> ${METADIR}/+DISPLAY +.if defined(EXPIRATION_DATE) + @( \ + ${ECHO_CMD} "It is scheduled to be removed on or after ${EXPIRATION_DATE}."; \ + ${ECHO_CMD}; \ + ) >> ${METADIR}/+DISPLAY +.endif +.endif + # Print out package names.