From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 5 11:00:30 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEB5816A413 for ; Fri, 5 May 2006 11:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0ACA43D49 for ; Fri, 5 May 2006 11:00:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k45B0SUA044233 for ; Fri, 5 May 2006 11:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k45B0Skm044231; Fri, 5 May 2006 11:00:28 GMT (envelope-from gnats) Resent-Date: Fri, 5 May 2006 11:00:28 GMT Resent-Message-Id: <200605051100.k45B0Skm044231@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rui Lopes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B84216A402 for ; Fri, 5 May 2006 10:56:11 +0000 (UTC) (envelope-from root@firebird.clustercube.com) Received: from firebird.clustercube.com (firebird.clustercube.com [72.21.32.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2C7E43D4C for ; Fri, 5 May 2006 10:56:10 +0000 (GMT) (envelope-from root@firebird.clustercube.com) Received: by firebird.clustercube.com (Postfix, from userid 0) id ADF454502F; Fri, 5 May 2006 11:56:10 +0100 (WEST) Message-Id: <20060505105610.ADF454502F@firebird.clustercube.com> Date: Fri, 5 May 2006 11:56:10 +0100 (WEST) From: Rui Lopes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: janos.mohacsi@bsd.hu Subject: ports/96824: Update port: security/denyhosts to 2.4b X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rui Lopes List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 11:00:32 -0000 >Number: 96824 >Category: ports >Synopsis: Update port: security/denyhosts to 2.4b >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 05 11:00:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rui Lopes >Release: FreeBSD 6.0-RELEASE-p5 i386 >Organization: >Environment: >Description: * Update to 2.4b * Add a rc.subr script to launch denyhosts daemon >How-To-Repeat: >Fix: --- update_denyhosts_to_2.4b.patch begins here --- diff -ruN denyhosts.orig/Makefile denyhosts/Makefile --- denyhosts.orig/Makefile Fri May 5 10:24:46 2006 +++ denyhosts/Makefile Fri May 5 11:21:30 2006 @@ -6,7 +6,7 @@ # PORTNAME= denyhosts -PORTVERSION= 2.2 +PORTVERSION= 2.4b CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,7 +15,7 @@ MAINTAINER= janos.mohacsi@bsd.hu COMMENT= Script to thwart ssh attacks -USE_REINPLACE= yes +USE_RC_SUBR= ${PORTNAME}.sh USE_PYTHON= yes USE_PYDISTUTILS= yes diff -ruN denyhosts.orig/distinfo denyhosts/distinfo --- denyhosts.orig/distinfo Fri May 5 10:24:46 2006 +++ denyhosts/distinfo Fri May 5 10:25:53 2006 @@ -1,3 +1,3 @@ -MD5 (DenyHosts-2.2.tar.gz) = feba0e9a48dbf1fa9cbd2b5b8907f349 -SHA256 (DenyHosts-2.2.tar.gz) = 369d37528287550ae152b2cd553549c021dab3c5a6b15fea93656749e7559bfd -SIZE (DenyHosts-2.2.tar.gz) = 40972 +MD5 (DenyHosts-2.4b.tar.gz) = c60df73b29baeadffbbb1ef8f130dd8d +SHA256 (DenyHosts-2.4b.tar.gz) = 851a050c6eb78618605eecdfae80a1ac412b2adc99160fb9c9d275f64858a7c1 +SIZE (DenyHosts-2.4b.tar.gz) = 42206 diff -ruN denyhosts.orig/files/denyhosts.sh.in denyhosts/files/denyhosts.sh.in --- denyhosts.orig/files/denyhosts.sh.in Thu Jan 1 01:00:00 1970 +++ denyhosts/files/denyhosts.sh.in Fri May 5 11:24:15 2006 @@ -0,0 +1,22 @@ +#!/bin/sh +# rc.subr script for denyhosts. +# -- Rui Lopes + +# PROVIDE: denyhosts +# REQUIRE: DAEMON + +. %%RC_SUBR%% + +name="denyhosts" +rcvar=`set_rcvar` + +command="%%PREFIX%%/bin/denyhosts.py" +command_interpreter="/usr/local/bin/python" +command_args="--config %%PREFIX%%/etc/denyhosts.conf --daemon" +pidfile="/var/run/${name}.pid" + +load_rc_config $name + +: ${denyhosts_enable="NO"} + +run_rc_command "$1" diff -ruN denyhosts.orig/files/patch-denyhosts.cfg-dist denyhosts/files/patch-denyhosts.cfg-dist --- denyhosts.orig/files/patch-denyhosts.cfg-dist Fri May 5 10:24:46 2006 +++ denyhosts/files/patch-denyhosts.cfg-dist Fri May 5 11:39:02 2006 @@ -1,8 +1,5 @@ - -$FreeBSD: ports/security/denyhosts/files/patch-denyhosts.cfg-dist,v 1.2 2006/03/31 03:43:04 ijliao Exp $ - ---- denyhosts.cfg-dist.orig -+++ denyhosts.cfg-dist +--- denyhosts.cfg-dist.orig Sun Apr 9 14:37:46 2006 ++++ denyhosts.cfg-dist Fri May 5 11:37:13 2006 @@ -9,10 +9,10 @@ # argument # @@ -16,7 +13,16 @@ # # SuSE: #SECURE_LOG = /var/log/messages -@@ -23,7 +23,7 @@ +@@ -22,7 +22,7 @@ + #SECURE_LOG = /private/var/log/asl.log + # + # Mac OS X (v10.3 or earlier): +-SECURE_LOG=/private/var/log/system.log ++#SECURE_LOG=/private/var/log/system.log + # + ######################################################################## + +@@ -31,7 +31,7 @@ # HOSTS_DENY: the file which contains restricted host access information # # Most operating systems: @@ -25,7 +31,7 @@ # # Some BSD (FreeBSD) Unixes: #HOSTS_DENY = /etc/hosts.allow -@@ -66,7 +66,7 @@ +@@ -90,7 +90,7 @@ # To block all services for the offending host: #BLOCK_SERVICE = ALL # To block only sshd: @@ -34,7 +40,7 @@ # To only record the offending host and nothing else (if using # an auxilary file to list the hosts). Refer to: # http://denyhosts.sourceforge.net/faq.html#aux -@@ -126,7 +126,7 @@ +@@ -150,7 +150,7 @@ # Note: it is recommended that you use an absolute pathname # for this value (eg. /home/foo/denyhosts/data) # @@ -43,7 +49,7 @@ # ####################################################################### -@@ -152,7 +152,7 @@ +@@ -176,7 +176,7 @@ # the corresponding hostname will be looked up and reported as well # (if available). # @@ -52,7 +58,7 @@ # ###################################################################### -@@ -168,10 +168,10 @@ +@@ -192,10 +192,10 @@ # running at a time. # # Redhat/Fedora: diff -ruN denyhosts.orig/pkg-plist denyhosts/pkg-plist --- denyhosts.orig/pkg-plist Fri May 5 10:24:46 2006 +++ denyhosts/pkg-plist Fri May 5 10:38:12 2006 @@ -29,6 +29,9 @@ %%PYTHON_SITELIBDIR%%/DenyHosts/plugin.py %%PYTHON_SITELIBDIR%%/DenyHosts/plugin.pyc %%PYTHON_SITELIBDIR%%/DenyHosts/plugin.pyo +%%PYTHON_SITELIBDIR%%/DenyHosts/purgecounter.py +%%PYTHON_SITELIBDIR%%/DenyHosts/purgecounter.pyc +%%PYTHON_SITELIBDIR%%/DenyHosts/purgecounter.pyo %%PYTHON_SITELIBDIR%%/DenyHosts/constants.py %%PYTHON_SITELIBDIR%%/DenyHosts/constants.pyc %%PYTHON_SITELIBDIR%%/DenyHosts/constants.pyo --- update_denyhosts_to_2.4b.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: