Date: Fri, 17 Oct 1997 00:30:18 +0200 (CEST) From: Stefan `Sec` Zehl <sec@quit.42.org> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/4784: pkg_info stops on "@unexec" in PLIST Message-ID: <199710162230.AAA11452@quit.42.org> Resent-Message-ID: <199710162240.PAA29320@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4784 >Category: bin >Synopsis: pkg_info stops on "@unexec" in PLIST >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 16 15:40:01 PDT 1997 >Last-Modified: >Originator: Stefan `Sec` Zehl >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: Version "$Id: show.c,v 1.11 1997/10/08 07:47:38 charnier Exp $" >Description: I am submitting this for a friend: | Problem ist, dass pkg_info abbricht, wenn irgendwo ein @unexec in der | PLIST eines Packages drin steckt. Eben dieses behebt der Patch. The problem is that pkg_info stops, if there is an @unexec in the PLIST file of an Package. The attached patch fixes that. >How-To-Repeat: pkg_info -v >Fix: *************** *** 103,108 **** --- 108,117 ---- case PLIST_CMD: printf(Quiet ? "@exec %s\n" : "\tEXEC '%s'\n", p->name); + break; + + case PLIST_UNEXEC: + printf(Quiet ? "@unexec %s\n" : "\tUNEXEC '%s'\n", p->name); break; case PLIST_CHMOD: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710162230.AAA11452>