ports/164659: security/py-fail2ban overwrite config files
Michael Scheidell
scheidell at freebsd.org
Thu Feb 2 14:40:12 UTC 2012
The following reply was made to PR ports/164659; it has been noted by GNATS.
From: Michael Scheidell <scheidell at freebsd.org>
To: <bug-followup at FreeBSD.org>, <idefix at fechner.net>
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Actually, take a look at how mail/p5-Mail-SpamAssassin,
security/amavisd-new does it.<br>
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.<br>
<br>
(hint: try with make install/deinstall, try with pkg_add pkg_delete)<br>
<br>
basically, you want to check to see if .sample and .conf are the
same, and delete .conf. with @unexec<br>
and do the same with @exec in pkg-plist. and pkg-install and
pkg-deinstall<br>
you won't want to rel<br>
but ALWAYS delete .sample.<br>
<br>
that way TB and PH are happy with no left overs.<br>
<br>
<br>
<div class="moz-signature">-- <br>
Michael Scheidell, CTO<br>
o: 561-999-5000<br>
d: 561-948-2259<br>
<font color="#999999">></font><font color="#cc0000"> <b>| </b></font>SECNAP
Network Security Corporation
<style type="text/css">
<!--
.unnamed1 {
margin: 1em;
padding: 1px;
} -->
</style>
<ul class="unnamed1">
<li>Best Mobile Solutions Product of 2011</li>
<li>Best Intrusion Prevention Product</li>
<li>Hot Company Finalist 2011</li>
<li>Best Email Security Product</li>
<li>Certified SNORT Integrator</li>
</ul>
</div>
</body>
</html>
--------------040504060502030202000807--
More information about the freebsd-ports-bugs
mailing list