ports/113943: [MAINTAINER] security/denyhosts: [SUMMARIZE CHANGES]
Janos Mohacsi
janos.mohacsi at bsd.hu
Fri Jun 22 12:00:12 UTC 2007
>Number: 113943
>Category: ports
>Synopsis: [MAINTAINER] security/denyhosts: [SUMMARIZE CHANGES]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 22 12:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Jun 15 14:35:35 CEST 2007
>Description:
update message file to display rc.conf options
Added file(s):
- files/pkg-message.in
Removed file(s):
- pkg-message
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- denyhosts-2.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/denyhosts.orig/Makefile /usr/ports/security/denyhosts/Makefile
--- /usr/ports/security/denyhosts.orig/Makefile 2006-12-30 18:20:46.000000000 +0100
+++ /usr/ports/security/denyhosts/Makefile 2007-06-22 13:48:48.000000000 +0200
@@ -7,6 +7,7 @@
PORTNAME= denyhosts
PORTVERSION= 2.6
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,6 +16,7 @@
MAINTAINER= janos.mohacsi at bsd.hu
COMMENT= Script to thwart ssh attacks
+PKGMESSAGE= ${WRKDIR}/pkg-message
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@@ -38,6 +40,8 @@
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif
+ ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' \
+ ${FILESDIR}/pkg-message.in >${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/security/denyhosts.orig/files/pkg-message.in /usr/ports/security/denyhosts/files/pkg-message.in
--- /usr/ports/security/denyhosts.orig/files/pkg-message.in 1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/security/denyhosts/files/pkg-message.in 2007-06-22 13:49:32.000000000 +0200
@@ -0,0 +1,19 @@
+-------------------------------------------------------------------------------
+To run denyhosts from startup, add denyhosts_enable="YES"
+in your /etc/rc.conf.
+Configiration options can be found in %%PREFIX%%/etc/denyhosts.conf
+-------------------------------------------------------------------------------
+In order to proper working of denyhosts
+1. edit your /etc/hosts.allow file and add:
+sshd : /etc/hosts.deniedssh : deny
+sshd : ALL : allow
+2. issue the following command if /etc/hosts.deniedssh does not exist yet
+touch /etc/hosts.deniedssh
+-------------------------------------------------------------------------------
+Warning:
+
+syslogd should ideally be run with the -c option; this will ensure that
+denyhosts notices multiple repeated login attempts.
+
+To do this, add syslogd_flags="-c" to /etc/rc.conf
+-------------------------------------------------------------------------------
diff -ruN --exclude=CVS /usr/ports/security/denyhosts.orig/pkg-message /usr/ports/security/denyhosts/pkg-message
--- /usr/ports/security/denyhosts.orig/pkg-message 2006-10-07 19:03:40.000000000 +0200
+++ /usr/ports/security/denyhosts/pkg-message 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
--------------------------------------------------------------------------------
-In order to proper working of denyhosts
-1. edit your /etc/hosts.allow file and add:
-sshd : /etc/hosts.deniedssh : deny
-sshd : ALL : allow
-2. issue the following command if /etc/hosts.deniedssh does not exist yet
-touch /etc/hosts.deniedssh
--------------------------------------------------------------------------------
-Warning:
-
-syslogd should ideally be run with the -c option; this will ensure that
-denyhosts notices multiple repeated login attempts.
-
-To do this, add syslogd_flags="-c" to /etc/rc.conf
--------------------------------------------------------------------------------
--- denyhosts-2.6_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list