From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 19 22:10:03 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AD2316A403 for ; Mon, 19 Mar 2007 22:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 66B0613C487 for ; Mon, 19 Mar 2007 22:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2JMA3DX054034 for ; Mon, 19 Mar 2007 22:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2JMA3Zv054031; Mon, 19 Mar 2007 22:10:03 GMT (envelope-from gnats) Resent-Date: Mon, 19 Mar 2007 22:10:03 GMT Resent-Message-Id: <200703192210.l2JMA3Zv054031@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Gogolok Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0F2F16A400 for ; Mon, 19 Mar 2007 22:02:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id B533D13C459 for ; Mon, 19 Mar 2007 22:02:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2JM2pdL092381 for ; Mon, 19 Mar 2007 22:02:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l2JLvoVv091003; Mon, 19 Mar 2007 21:57:50 GMT (envelope-from nobody) Message-Id: <200703192157.l2JLvoVv091003@www.freebsd.org> Date: Mon, 19 Mar 2007 21:57:50 GMT From: Robert Gogolok To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/110540: [PATCH] sysutils/puppet: missing %%PORTDOCS%% prefix X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 22:10:03 -0000 >Number: 110540 >Category: misc >Synopsis: [PATCH] sysutils/puppet: missing %%PORTDOCS%% prefix >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 19 22:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Robert Gogolok >Release: FreeBSD 6.1 >Organization: http://www.robert-gogolok.de >Environment: FreeBSD desktop.gogolok.de 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Wed Feb 14 15:33:28 UTC 2007 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: puppet port doesn't use %%PORTDOCS%% prefix for all documentation files and directories in pkg-plist. # NOPORTDOCS defined [/usr/ports/sysutils/puppet]$ make deinstall ==> Deinstalling for sysutils/puppet ===> Deinstalling puppet-0.22.1 pkg_delete: file '/usr/local/share/doc/puppet/CHANGELOG' doesn't exist pkg_delete: file '/usr/local/share/doc/puppet/TODO' doesn't exist pkg_delete: file '/usr/local/share/doc/puppet/README' doesn't exist pkg_delete: file '/usr/local/share/doc/puppet/LICENSE' doesn't exist pkg_delete: file '/usr/local/share/doc/puppet/COPYING' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/bin/sleeper' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/init.d/sleeper' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/puppet/puppetd.conf' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/puppet/fileserver.conf' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/puppet/puppetmasterd.conf' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/puppet/namespaceauth.conf' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/puppet/tagmail.conf' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/otherfile' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/configfile' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/debian-passwd' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/root/etc/debian-syslog.conf' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/allatonce' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/head' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/selectors' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/execs' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/nodes' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/filerecursion' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/components' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/file.bl' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/groups' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/functions' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/fileparsing' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/svncommit' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/filedefaults' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/simpletests' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/assignments' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/relationships' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/importing' doesn't exist pkg_delete: file '/usr/local/share/examples/puppet/code/one' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) >How-To-Repeat: Use NOPORTDOS=yes and install and deinstall the port. >Fix: http://w5.cs.uni-sb.de/~gogo/patches/puppet-0.22.1-fix-pkg-plist.patch Patch attached with submission follows: Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/sysutils/puppet/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 6 Mar 2007 20:13:56 -0000 1.1 +++ pkg-plist 19 Mar 2007 21:45:29 -0000 @@ -275,45 +275,45 @@ @dirrmtry %%RUBY_SITELIBDIR%%/puppet/external @dirrmtry %%RUBY_SITELIBDIR%%/puppet/client @dirrmtry %%RUBY_SITELIBDIR%%/puppet -%%DOCSDIR%%/CHANGELOG -%%DOCSDIR%%/TODO -%%DOCSDIR%%/README -%%DOCSDIR%%/LICENSE -%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%@dirrm %%DOCSDIR%% -%%EXAMPLESDIR%%/root/bin/sleeper -%%EXAMPLESDIR%%/root/etc/init.d/sleeper -%%EXAMPLESDIR%%/root/etc/puppet/puppetd.conf -%%EXAMPLESDIR%%/root/etc/puppet/fileserver.conf -%%EXAMPLESDIR%%/root/etc/puppet/puppetmasterd.conf -%%EXAMPLESDIR%%/root/etc/puppet/namespaceauth.conf -%%EXAMPLESDIR%%/root/etc/puppet/tagmail.conf -%%EXAMPLESDIR%%/root/etc/otherfile -%%EXAMPLESDIR%%/root/etc/configfile -%%EXAMPLESDIR%%/root/etc/debian-passwd -%%EXAMPLESDIR%%/root/etc/debian-syslog.conf -%%EXAMPLESDIR%%/code/allatonce -%%EXAMPLESDIR%%/code/head -%%EXAMPLESDIR%%/code/selectors -%%EXAMPLESDIR%%/code/execs -%%EXAMPLESDIR%%/code/nodes -%%EXAMPLESDIR%%/code/filerecursion -%%EXAMPLESDIR%%/code/components -%%EXAMPLESDIR%%/code/file.bl -%%EXAMPLESDIR%%/code/groups -%%EXAMPLESDIR%%/code/functions -%%EXAMPLESDIR%%/code/fileparsing -%%EXAMPLESDIR%%/code/svncommit -%%EXAMPLESDIR%%/code/filedefaults -%%EXAMPLESDIR%%/code/simpletests -%%EXAMPLESDIR%%/code/assignments -%%EXAMPLESDIR%%/code/relationships -%%EXAMPLESDIR%%/code/importing -%%EXAMPLESDIR%%/code/one -@dirrmtry %%EXAMPLESDIR%%/root/bin -@dirrmtry %%EXAMPLESDIR%%/root/etc/init.d -@dirrmtry %%EXAMPLESDIR%%/root/etc/puppet -@dirrmtry %%EXAMPLESDIR%%/root/etc -@dirrmtry %%EXAMPLESDIR%%/root -@dirrmtry %%EXAMPLESDIR%%/code -@dirrmtry %%EXAMPLESDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/root/bin/sleeper +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/init.d/sleeper +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/puppet/puppetd.conf +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/puppet/fileserver.conf +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/puppet/puppetmasterd.conf +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/puppet/namespaceauth.conf +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/puppet/tagmail.conf +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/otherfile +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/configfile +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/debian-passwd +%%PORTDOCS%%%%EXAMPLESDIR%%/root/etc/debian-syslog.conf +%%PORTDOCS%%%%EXAMPLESDIR%%/code/allatonce +%%PORTDOCS%%%%EXAMPLESDIR%%/code/head +%%PORTDOCS%%%%EXAMPLESDIR%%/code/selectors +%%PORTDOCS%%%%EXAMPLESDIR%%/code/execs +%%PORTDOCS%%%%EXAMPLESDIR%%/code/nodes +%%PORTDOCS%%%%EXAMPLESDIR%%/code/filerecursion +%%PORTDOCS%%%%EXAMPLESDIR%%/code/components +%%PORTDOCS%%%%EXAMPLESDIR%%/code/file.bl +%%PORTDOCS%%%%EXAMPLESDIR%%/code/groups +%%PORTDOCS%%%%EXAMPLESDIR%%/code/functions +%%PORTDOCS%%%%EXAMPLESDIR%%/code/fileparsing +%%PORTDOCS%%%%EXAMPLESDIR%%/code/svncommit +%%PORTDOCS%%%%EXAMPLESDIR%%/code/filedefaults +%%PORTDOCS%%%%EXAMPLESDIR%%/code/simpletests +%%PORTDOCS%%%%EXAMPLESDIR%%/code/assignments +%%PORTDOCS%%%%EXAMPLESDIR%%/code/relationships +%%PORTDOCS%%%%EXAMPLESDIR%%/code/importing +%%PORTDOCS%%%%EXAMPLESDIR%%/code/one +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/root/bin +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/root/etc/init.d +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/root/etc/puppet +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/root/etc +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/root +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/code +%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%% >Release-Note: >Audit-Trail: >Unformatted: