From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 24 01:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1127B65 for ; Thu, 24 Apr 2014 01:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 8D0921120 for ; Thu, 24 Apr 2014 01:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3O1U09s088623 for ; Thu, 24 Apr 2014 01:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3O1U04e088622; Thu, 24 Apr 2014 01:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 24 Apr 2014 01:30:00 GMT Resent-Message-Id: <201404240130.s3O1U04e088622@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Horia Racoviceanu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2CD28DF for ; Thu, 24 Apr 2014 01:24:50 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4D241103 for ; Thu, 24 Apr 2014 01:24:50 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3O1OoQI037976 for ; Thu, 24 Apr 2014 01:24:50 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3O1OobY037970; Thu, 24 Apr 2014 01:24:50 GMT (envelope-from nobody) Message-Id: <201404240124.s3O1OobY037970@cgiserv.freebsd.org> Date: Thu, 24 Apr 2014 01:24:50 GMT From: Horia Racoviceanu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188934: [PATCH] security/p5-Net-SSLeay: strip library, add EXAMPLES .if block X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 01:30:00 -0000 >Number: 188934 >Category: ports >Synopsis: [PATCH] security/p5-Net-SSLeay: strip library, add EXAMPLES .if block >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 24 01:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Horia Racoviceanu >Release: FreeBSD 10.0-RELEASE >Organization: >Environment: FreeBSD heta 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: ====> Running Q/A tests (stage-qa) Warning: lib/perl5/site_perl/5.16/mach/auto/Net/SSLeay/SSLeay.so is not stripped consider using ${STRIP_CMD} .. =================================================== ====>> Checking for orphaned files and directories in stage directory (missing from plist) ====>> Files or directories orphaned: %%EXAMPLESDIR%% %%EXAMPLESDIR%%/bio.pl %%EXAMPLESDIR%%/bulk.pl %%EXAMPLESDIR%%/callback.pl %%EXAMPLESDIR%%/cb-testi.pl %%EXAMPLESDIR%%/cli-cert.pl %%EXAMPLESDIR%%/ephemeral.pl %%EXAMPLESDIR%%/get_authenticated_page.pl %%EXAMPLESDIR%%/get_page.pl %%EXAMPLESDIR%%/get_page_cert.pl %%EXAMPLESDIR%%/https-proxy-snif.pl %%EXAMPLESDIR%%/makecert.pl %%EXAMPLESDIR%%/minicli.pl %%EXAMPLESDIR%%/passwd-cb.pl %%EXAMPLESDIR%%/req.conf %%EXAMPLESDIR%%/ssl-inetd-serv.pl %%EXAMPLESDIR%%/ssl_diff.pl %%EXAMPLESDIR%%/sslcat.pl %%EXAMPLESDIR%%/sslecho.pl %%EXAMPLESDIR%%/stdio_bulk.pl %%EXAMPLESDIR%%/tcpcat.pl %%EXAMPLESDIR%%/tcpecho.pl %%EXAMPLESDIR%%/x509_cert_details.pl >How-To-Repeat: Disable EXAMPLES and rebuild >Fix: - Bump PORTREVISION for post-install changes - Strip library - Add EXAMPLES .if block - Break lines at around 80 characters Build log: https://redports.org/buildarchive/20140424010607-64657/ Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 351748) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= Net-SSLeay PORTVERSION= 1.58 +PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -25,9 +26,16 @@ SHEBANG_FILES= examples/*.pl +.include + post-install: + ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Net/SSLeay/SSLeay.so + +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}/ - ${INSTALL_DATA} ${WRKSRC}/examples/req.conf ${STAGEDIR}${EXAMPLESDIR}/req.conf + ${INSTALL_DATA} ${WRKSRC}/examples/req.conf \ + ${STAGEDIR}${EXAMPLESDIR}/req.conf +.endif .include >Release-Note: >Audit-Trail: >Unformatted: