From owner-freebsd-ports@FreeBSD.ORG Fri Apr 6 19:16:31 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1854D16A401 for ; Fri, 6 Apr 2007 19:16:31 +0000 (UTC) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from sil.himolde.no (sil.hiMolde.no [158.38.83.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6854113C457 for ; Fri, 6 Apr 2007 19:16:29 +0000 (UTC) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from malle.himolde.no ([158.38.68.22]) by sil.himolde.no with InterScan Message Security Suite; Fri, 06 Apr 2007 21:16:28 +0200 Received: from harr.himolde.no (harr.hiMolde.no [158.38.68.20])by malle.himolde.no (8.12.11.20060308/8.12.8) with ESMTP id l36JGSSq017344for ; Fri, 6 Apr 2007 21:16:28 +0200 Received: from harr.himolde.no (localhost.localdomain [127.0.0.1])by harr.himolde.no (8.13.1/8.13.1) with ESMTP id l36JGSOm000317for ; Fri, 6 Apr 2007 21:16:28 +0200 Received: (from nordhaug@localhost)by harr.himolde.no (8.13.1/8.13.1/Submit) id l36JGRu4000316for freebsd-ports@freebsd.org; Fri, 6 Apr 2007 21:16:27 +0200 Date: Fri, 6 Apr 2007 21:16:27 +0200 From: "Hans F. Nordhaug" To: freebsd-ports@freebsd.org Message-ID: <20070406191627.GA32730@hiMolde.no> References: <46168C4A.9050809@lerwick.hopto.org> <4616943A.2010305@sun-fish.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4616943A.2010305@sun-fish.com> User-Agent: Mutt/1.4.1i X-imss-version: 2.046 X-imss-result: Passed X-imss-approveListMatch: *@*.no Subject: Re: ports/security/blocksshd 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: Fri, 06 Apr 2007 19:16:31 -0000 * Stefan Lambrev [2007-04-06]: > Hi list, > > Craig Butler wrote: > >Stefan Lambrev wrote: > >>Hi list, > >> > >>This is very annoying: > >>pkg_delete: '/usr/local/etc/blocksshd.conf' fails original MD5 > >>checksum - deleted anyway. > >>can someone fix please ? > >> > >did you edit it ? > Of course i edit it, after all it is the configuration file, I have > different table in my pf, I have specified e-mail > where to send notification, I have whitelisted IPs and etc. > And simple upgrade *destroy* my configurations which is not nice ;) > If I have little more time tomorrow I can send patch and the config file > will be renamed to .sample > so upgrading won't destroy configuration, and if you prefer I can add > and pkg-msg or *echo* to tell user to copy > config.sample to config when installing. > If I have time I can even *steal* from other ports and make the port > only to create blocksshd.conf only if it does not exist :) > Sorry for moaning without sending patches ;) You don't have to steal from other ports - just use the standard procedure from the Porter's Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-config.html Yes, blocksshd needs to be fixed - very annoying behavior indeed. Regards, Hand PS! I'm in no way connected to blocksshd - I'm using sshguard ...