From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 2 14:40:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E6E1065672 for ; Thu, 2 Feb 2012 14:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D6F758FC1A for ; Thu, 2 Feb 2012 14:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q12EeBpR094965 for ; Thu, 2 Feb 2012 14:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q12EeBa9094961; Thu, 2 Feb 2012 14:40:11 GMT (envelope-from gnats) Date: Thu, 2 Feb 2012 14:40:11 GMT Message-Id: <201202021440.q12EeBa9094961@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Michael Scheidell Cc: Subject: Re: ports/164659: security/py-fail2ban overwrite config files X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Scheidell List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 14:40:12 -0000 The following reply was made to PR ports/164659; it has been noted by GNATS. From: Michael Scheidell To: , Cc: Subject: Re: ports/164659: security/py-fail2ban overwrite config files Date: Thu, 2 Feb 2012 09:31:19 -0500 --------------040504060502030202000807 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Actually, take a look at how mail/p5-Mail-SpamAssassin, security/amavisd-new does it. Make sure you take into account that pkg* tools don't run all of the makefile, and make install doesn't run all the pkg* tools scripts. (hint: try with make install/deinstall, try with pkg_add pkg_delete) basically, you want to check to see if .sample and .conf are the same, and delete .conf. with @unexec and do the same with @exec in pkg-plist. and pkg-install and pkg-deinstall you won't want to rel but ALWAYS delete .sample. that way TB and PH are happy with no left overs. -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator --------------040504060502030202000807 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Actually, take a look at how mail/p5-Mail-SpamAssassin, security/amavisd-new does it.
Make sure you take into account that pkg* tools don't run all of the makefile, and make install doesn't run all the pkg* tools scripts.

(hint: try with make install/deinstall, try with pkg_add pkg_delete)

basically, you want to check to see if .sample and .conf are the same, and delete .conf. with @unexec
and do the same with @exec in pkg-plist. and pkg-install and pkg-deinstall
you won't want to rel
but ALWAYS delete .sample.

that way TB and PH are happy with no left overs.


--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
> | SECNAP Network Security Corporation
  • Best Mobile Solutions Product of 2011
  • Best Intrusion Prevention Product
  • Hot Company Finalist 2011
  • Best Email Security Product
  • Certified SNORT Integrator
--------------040504060502030202000807--