From owner-freebsd-doc Fri Oct 25 9: 0:10 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D792C37B401 for ; Fri, 25 Oct 2002 09:00:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FAB143E6A for ; Fri, 25 Oct 2002 09:00:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9PG07x3030800 for ; Fri, 25 Oct 2002 09:00:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9PG07Jm030799; Fri, 25 Oct 2002 09:00:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4803337B401 for ; Fri, 25 Oct 2002 08:58:26 -0700 (PDT) Received: from shiva.bouglou.net (shiva.bouglou.net [62.4.22.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9760E43E4A for ; Fri, 25 Oct 2002 08:58:25 -0700 (PDT) (envelope-from ecu@shiva.bouglou.net) Received: by shiva.bouglou.net (Postfix, from userid 1000) id E22BC15435; Fri, 25 Oct 2002 17:58:23 +0200 (CEST) Message-Id: <20021025155823.E22BC15435@shiva.bouglou.net> Date: Fri, 25 Oct 2002 17:58:23 +0200 (CEST) From: Nicolas Jombart Reply-To: Nicolas Jombart To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/44465: Porter's handbook and binary stripping Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44465 >Category: docs >Synopsis: Porter's handbook and binary stripping >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 25 09:00:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Nicolas Jombart >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD shiva.bouglou.net 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #11: Mon Sep 16 12:03:20 CEST 2002 ecu@shiva.bouglou.net:/usr/obj/usr/src/sys/SHIVA i386 >Description: Porter's handbook says in 15.1 "do strip binaries", but INSTALL_PROGRAM will do it in any case via install(1). You can also see http://www.freebsd.org/cgi/query-pr.cgi?pr=42981 >How-To-Repeat: n/a >Fix: The proposed fix only remove this part, but some may prefer a quick note that says binaries are stripped on install. --- porters-hb.txt begins here --- ? docbook.css Index: book.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v retrieving revision 1.248 diff -u -r1.248 book.sgml --- book.sgml 2002/10/08 04:52:43 1.248 +++ book.sgml 2002/10/25 15:42:03 @@ -3938,22 +3938,6 @@ doing. - Strip Binaries - - Do strip binaries. If the original source already strips the - binaries, fine; otherwise you should add a - post-install rule to it yourself. Here is an - example: - - post-install: - strip ${PREFIX}/bin/xdl - - Use the &man.file.1; command on the installed executable to - check whether the binary is stripped or not. If it does not say - not stripped, it is stripped. - - - INSTALL_* macros Do use the macros provided in bsd.port.mk --- porters-hb.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message