From owner-freebsd-ports@FreeBSD.ORG Thu Jan 3 14:25:21 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9F0FFD89 for ; Thu, 3 Jan 2013 14:25:21 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mx1.freebsd.org (Postfix) with ESMTP id 6CFDCA62 for ; Thu, 3 Jan 2013 14:25:20 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id c14so18529344ieb.28 for ; Thu, 03 Jan 2013 06:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=6ebWe6NTyHh8kISD1Eczo4Td9HBmQhqI2LinKRsCID4=; b=clvovUHSr62159gcGnwZN7dK6d6+yMmmCEWEXx1M7k1aQcXup5ghSylzzzVoIPzaMI P1n/Nm/lpYDvME5Rf/C+0DEfrYrboEhjpvZe7r2xgf9+vBwk7aX/NFPAacDkfKbkOQJH SMHjrh+TP8NvImYCJrdNU5dR7OZP8aY/9xbIZnpOkMKQ9QbXDTPshJev3S9gDWb7lMMv fkCwrRdLJIs4sVHEQOrv4fGHUxZG1y5leV1rEWWB1bKoS3QzHZ5BSFMfI9KkcGZEG/F/ 5Nc8rj3ta6f+BSoOqYy92WU/zRD80FFOaqUGKDFOtEc7isAZdFL1U6JdCexKMIGGKpO+ S8kQ== Received: by 10.50.158.170 with SMTP id wv10mr38500408igb.75.1357222683671; Thu, 03 Jan 2013 06:18:03 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.65.132 with HTTP; Thu, 3 Jan 2013 06:17:32 -0800 (PST) In-Reply-To: <20130103131243.043c47cf@fabiankeil.de> References: <50E49A73.2070008@quip.cz> <20130103131243.043c47cf@fabiankeil.de> From: Chris Rees Date: Thu, 3 Jan 2013 14:17:32 +0000 X-Google-Sender-Auth: BCsnIlITtBSKF5ZbvMvZeWEEYAc Message-ID: Subject: Re: What is policy about auto-editing config files on port install / deinstall? To: Fabian Keil Content-Type: text/plain; charset=ISO-8859-1 Cc: Scot Hetzel , Miroslav Lachman <000.fbsd@quip.cz>, FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 14:25:21 -0000 On 3 January 2013 12:12, Fabian Keil wrote: > Scot Hetzel wrote: > >> On Wed, Jan 2, 2013 at 2:37 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote: >> > Is somewhere written policy or portmgr recommendation about ports behavior >> > on install / deinstall? > > My impression is that every maintainer has her own undocumented > policy although the approaches taken could be grouped into a few > categories. There is as far as I know no portmgr recommendation about stopping services etc; one may suggest that the inclusion of @stopdaemon support is encouragement, but also it's only supposed to be used if stopping the service is vital upon deinstall according to many. >> > I am talking about some ports doing "nasty" things. >> > >> > Some ports are stopping services on deinstall, some not. >> >> I prefer that when a port is uninstalled, that the service is stopped. > > As long as it is optional and doesn't happen automatically > I could live with that. Having this configurable with the current pkg_install suite is basically a non-starter. Allegedly this is a feature planned for pkgng. Currently, it is generally discouraged to put @stopdaemon into your pkg-plist unless something will probably break leaving your service running. Chris