From owner-freebsd-ports@FreeBSD.ORG Sat Jun 3 17:22:33 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A56E016A41F for ; Sat, 3 Jun 2006 17:22:33 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id E63B643D49 for ; Sat, 3 Jun 2006 17:22:32 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id l37so1305034nfc for ; Sat, 03 Jun 2006 10:22:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=B0fk3craDWfSTF70vjJxPaxlPvLrk2NEIIQZ0hFyo7kgSUKklnWqREIXJYj8HDEQ8XNbfqXzgEOF7Y2GCjpte4qnud5Bz4HPLyLZcx+L2KVeWFy1ZGJ54b6Sx+482+sXRJxOAQGr/hazu3yE1OczqJdGpNwi8Kz6Zv7Nz474CS8= Received: by 10.48.213.20 with SMTP id l20mr2907419nfg; Sat, 03 Jun 2006 10:22:31 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.119.238]) by mx.gmail.com with ESMTP id c28sm3584350nfb.2006.06.03.10.22.22; Sat, 03 Jun 2006 10:22:31 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k53HLfNV006872; Sat, 3 Jun 2006 19:21:49 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k52KjNOO006735; Fri, 2 Jun 2006 22:45:23 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 2 Jun 2006 22:45:23 +0200 From: Ulrich Spoerlein To: PauAmma Message-ID: <20060602204523.GA6184@roadrunner.buck.local> Mail-Followup-To: PauAmma , freebsd-ports@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-ports@freebsd.org Subject: Re: PR ports/76915 fell through the cracks? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jun 2006 17:22:34 -0000 PauAmma wrote: > >From the initial PR: > > When /var (or whichever filesystem holds PKG_DBDIR) is mounted noexec, > attempts to deinstall ports will fail and leave a mess behind if the > port has a require or deinstall script. This patch checks for that and > skips deinstalling if that is the case. > > (http://www.freebsd.org/cgi/query-pr.cgi?pr=76915 for details) I didn't read the patch (yet) and I'm not familiar with the code, but if we would enforce all pkg-install/deinstall scripts to be sh(1) scripts, then it's simply a matter of replacing ./foo with 'sh foo', right? Ulrich Spoerlein -- PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care.