From owner-freebsd-ports@FreeBSD.ORG Wed May 25 19:01:19 2005 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 CB9A116A41C for ; Wed, 25 May 2005 19:01:19 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7062A43D1D for ; Wed, 25 May 2005 19:01:19 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so829949wri for ; Wed, 25 May 2005 12:01:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D8yFVfW0DK2tH3otCLLRwmq5XA4aB0DrKZcCcT+gSzlUgh5AH81JPyhqcjwDJxCWW50zOfYYx2b4ov2MsvVfv8DLgyJ8itp0ip3iQfAXWVwjitjWogXSjN5SsCc9lytDQM40yJGQxaW1DBVVZrgjJCpbuPpc/J5EkXWyfbED+4E= Received: by 10.54.159.6 with SMTP id h6mr1431091wre; Wed, 25 May 2005 12:01:18 -0700 (PDT) Received: by 10.54.29.77 with HTTP; Wed, 25 May 2005 12:01:18 -0700 (PDT) Message-ID: <790a9fff050525120111db8cbb@mail.gmail.com> Date: Wed, 25 May 2005 14:01:18 -0500 From: Scot Hetzel To: virenp@mail.utexas.edu In-Reply-To: <43618.146.6.178.5.1117033514.squirrel@mail.cm.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <3578.146.6.135.76.1116702794.squirrel@mail.cm.utexas.edu> <20648162@srv.sem.ipt.ru> <43618.146.6.178.5.1117033514.squirrel@mail.cm.utexas.edu> Cc: Boris Samorodov , freebsd-ports@freebsd.org Subject: Re: Aide port broken in 5.4? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Scot Hetzel List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 19:01:19 -0000 On 5/25/05, Viren Patel wrote: > Sorry for the delayed response. I compared pkg-plist of > Aide 0.10_1 on 5.3-RELEASE-p10 and it is the same as > pkg-plist of Aide 0.10_1 on 5.4-RELEASE-p1. >=20 > Installing with TRYBROKEN option, and checking for new > files shows the following: >=20 > > /usr/local/man/man1/aide.1.gz > > /usr/local/man/man5/aide.conf.5.gz > > /usr/local/bin/aide >> /usr/local/etc/aide.conf.sample > > /usr/local/etc/aide.conf > > /var/db/aide > > /var/db/aide/databases >=20 > This is the same as on the 5.3-RELEASE-p10 system. So how > come the 5.4 version is marked as BROKEN and 5.3 is not? > Thanks. > The aide ports pkg-plist is missing the following to remove aide.conf on pkg_delete (deinstall), if it hasn't been changed from the original aide.conf.sample: =20 +@unexec if cmp -s %D/etc/aide.conf %D/etc/aide.conf.sample; then rm -f %D/etc/aide.conf; fi etc/aide.conf.sample +@exec [ -f %B/aide.conf ] || cp %B/%f %B/aide.conf If someone could create a patch from the above and then use send-pr to submit a pr to fix the BROKEN plist for the port. Scot