From owner-svn-doc-all@freebsd.org Thu Oct 1 14:33:56 2015 Return-Path: Delivered-To: svn-doc-all@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 2430CA0C0CD; Thu, 1 Oct 2015 14:33:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 148431335; Thu, 1 Oct 2015 14:33:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t91EXtjX026486; Thu, 1 Oct 2015 14:33:55 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t91EXtYA026485; Thu, 1 Oct 2015 14:33:55 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201510011433.t91EXtYA026485@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 1 Oct 2015 14:33:55 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47462 - head/en_US.ISO8859-1/books/porters-handbook/plist X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 14:33:56 -0000 Author: mat Date: Thu Oct 1 14:33:55 2015 New Revision: 47462 URL: https://svnweb.freebsd.org/changeset/doc/47462 Log: Add @{pre,post}{,un}exec and deprecate @{,un}exec. Reviewed by: brd, wblock Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3755 Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Thu Oct 1 09:42:40 2015 (r47461) +++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Thu Oct 1 14:33:55 2015 (r47462) @@ -461,21 +461,67 @@ etc/orbit.conf-dist @(,games,2755) sbin/daemon - - <literal>@cwd</literal> - [<replaceable>directory</replaceable>] (Deprecated) - - Set the internal directory pointer to point to - directory. All subsequent filenames are assumed relative to - this directory. - - - <literal>@exec</literal> + <title><literal>@preexec</literal> + <replaceable>command</replaceable>, + <literal>@postexec</literal> + <replaceable>command</replaceable>, + <literal>@preunexec</literal> + <replaceable>command</replaceable>, + <literal>@postunexec</literal> <replaceable>command</replaceable> Execute command as part of - the unpacking process. If command contains any of these + the package installation or deinstallation process. + + + + @preexec + command + + + Execute command as part + of the pre-install + scripts. + + + + + @postexec + command + + + Execute command as part + of the post-install + scripts. + + + + + @preunexec + command + + + Execute command as part + of the pre-deinstall + scripts. + + + + + @postunexec + command + + + Execute command as part + of the post-deinstall + scripts. + + + + + If command contains + any of these sequences somewhere in it, they are expanded inline. For these examples, assume that @cwd is set to @@ -527,20 +573,15 @@ etc/orbit.conf-dist - - <literal>@unexec</literal> - <replaceable>command</replaceable> + + <literal>@exec</literal> + <replaceable>command</replaceable>, + <literal>@unexec</literal> + <replaceable>command</replaceable> (Deprecated) Execute command as part of - the deinstallation process. Expansion of special - % sequences is the same as for - @exec. This command is not executed - during the package add, as @exec is, but - rather when the package is deleted. This is useful for - deleting links and other ancillary files that were created - as a result of adding the package, but not directly known to - the package's table of contents (and hence not automatically - removable). + the installation or deinstallation process. Please use instead.