From samm@os2.kiev.ua  Sun Aug 20 06:33:38 2006
Return-Path: <samm@os2.kiev.ua>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B2F8316A4E7
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Aug 2006 06:33:38 +0000 (UTC)
	(envelope-from samm@os2.kiev.ua)
Received: from el.volia.net (el.volia.net [82.144.192.38])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1D85743D55
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Aug 2006 06:33:37 +0000 (GMT)
	(envelope-from samm@os2.kiev.ua)
Received: from ip.85.202.201.160.dyn.sub-4.broadband.voliacable.com ([85.202.201.160] helo=samm.local)
	by el.volia.net with esmtp (Exim 4.43 (FreeBSD))
	id 1GEgsK-000M1N-2F
	for FreeBSD-gnats-submit@freebsd.org; Sun, 20 Aug 2006 09:33:36 +0300
Message-Id: <1156055654.7603@samm.local>
Date: Sun, 20 Aug 2006 09:34:14 +0300
From: "Alex Samorukov" <samm@os2.kiev.ua>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: security/bruteblock version update
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify: amdmi3@mail.ru

>Number:         102310
>Category:       ports
>Synopsis:       security/bruteblock version update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 20 06:40:14 GMT 2006
>Closed-Date:    Wed Aug 23 10:47:25 GMT 2006
>Last-Modified:  Wed Aug 23 10:47:25 GMT 2006
>Originator:     Alex Samorukov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
Shevchenko Didkovskiy and Partners 
>Environment:


System: FreeBSD 6.1-RELEASE #2: Wed May 17 22:22:18 EEST 2006
    root@samm.local:/usr/obj/usr/src/sys/SAMMKRNL



>Description:


Update to bruteblock 0.0.5
Added port documentation to the Makefile


>How-To-Repeat:





>Fix:


diff -u -r bruteblock/Makefile /home/samm/tmp/bruteblock/Makefile
--- bruteblock/Makefile	Thu Aug 17 11:27:13 2006
+++ /home/samm/tmp/bruteblock/Makefile	Sun Aug 20 09:29:07 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bruteblock
-PORTVERSION=	0.0.4
+PORTVERSION=	0.0.5
 CATEGORIES=	security
 MASTER_SITES=	http://samm.kiev.ua/bruteblock/
 
@@ -33,13 +33,19 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${PREFIX}/sbin/
 	${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${PREFIX}/sbin/
 	${MKDIR} ${PREFIX}/etc/bruteblock
-.for file in ssh	# more configs are planned to be added
+.for file in ssh proftpd	# more configs are planned to be added
 	${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${CONFDIR}/${file}.conf.dist
 	if [ ! -f ${CONFDIR}/${file}.conf ]; then \
 		${INSTALL_DATA} ${CONFDIR}/${file}.conf.dist ${CONFDIR}/${file}.conf; \
 	fi
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${PREFIX}/man/man8/
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DESTDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DESTDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${DESTDIR}${DOCSDIR}
+.endif
 
 post-install:
 .if !defined(BATCH)
diff -u -r bruteblock/distinfo /home/samm/tmp/bruteblock/distinfo
--- bruteblock/distinfo	Thu Aug 17 11:27:13 2006
+++ /home/samm/tmp/bruteblock/distinfo	Sun Aug 20 09:24:37 2006
@@ -1,3 +1,3 @@
-MD5 (bruteblock-0.0.4.tar.gz) = 01f2a300dd4abb28fc377de5848aa80e
-SHA256 (bruteblock-0.0.4.tar.gz) = f13df7f866842c4f32b7d6b13df0fac3250a41f646602581452af623c790159b
-SIZE (bruteblock-0.0.4.tar.gz) = 24170
+MD5 (bruteblock-0.0.5.tar.gz) = 764ee1dac21a32cd3f1778164c206bac
+SHA256 (bruteblock-0.0.5.tar.gz) = 7c7ef533b27be1d72e43a7fa6828896124a4f22808f2a0ecca2e587e1563e253
+SIZE (bruteblock-0.0.5.tar.gz) = 24971


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 20 06:40:21 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102310 
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sun Aug 20 07:58:12 UTC 2006 
Responsible-Changed-Why:  
Eat. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102310 

From: Dmitry Marakasov <amdmi3@mail.ru>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/102310: security/bruteblock version update
Date: Tue, 22 Aug 2006 17:25:47 +0400

 * Alex Samorukov (samm@os2.kiev.ua) wrote:
 > >Synopsis:       security/bruteblock version update
 Sorry, I had problems with internet access for some time.
 
 Here, corrected version of the patch.
 * DESTDIR is contained in DOCSDIR
 * Add PORTDOCS
 * Fix plist
 
 --- bruteblock-0.0.5.patch begins here ---
 diff -ruN bruteblock.orig/Makefile bruteblock/Makefile
 --- bruteblock.orig/Makefile	Tue Aug 22 17:16:02 2006
 +++ bruteblock/Makefile	Tue Aug 22 17:20:38 2006
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	bruteblock
 -PORTVERSION=	0.0.4
 +PORTVERSION=	0.0.5
  CATEGORIES=	security
  MASTER_SITES=	http://samm.kiev.ua/bruteblock/
  
 @@ -23,6 +23,8 @@
  
  CONFDIR=	${PREFIX}/etc/${PORTNAME}
  
 +PORTDOCS=	FAQ README CHANGES
 +
  .include <bsd.port.pre.mk>
  
  .if ${OSVERSION} < 503000
 @@ -33,13 +35,19 @@
  	${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${PREFIX}/sbin/
  	${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${PREFIX}/sbin/
  	${MKDIR} ${PREFIX}/etc/bruteblock
 -.for file in ssh	# more configs are planned to be added
 +.for file in ssh proftpd
  	${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${CONFDIR}/${file}.conf.dist
  	if [ ! -f ${CONFDIR}/${file}.conf ]; then \
  		${INSTALL_DATA} ${CONFDIR}/${file}.conf.dist ${CONFDIR}/${file}.conf; \
  	fi
  .endfor
  	${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${PREFIX}/man/man8/
 +.if !defined(NOPORTDOCS)
 +	@${MKDIR} ${DOCSDIR}
 +	@${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}/
 +	@${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/
 +	@${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${DOCSDIR}/
 +.endif
  
  post-install:
  .if !defined(BATCH)
 diff -ruN bruteblock.orig/distinfo bruteblock/distinfo
 --- bruteblock.orig/distinfo	Tue Aug 22 17:16:02 2006
 +++ bruteblock/distinfo	Tue Aug 22 17:16:34 2006
 @@ -1,3 +1,3 @@
 -MD5 (bruteblock-0.0.4.tar.gz) = 01f2a300dd4abb28fc377de5848aa80e
 -SHA256 (bruteblock-0.0.4.tar.gz) = f13df7f866842c4f32b7d6b13df0fac3250a41f646602581452af623c790159b
 -SIZE (bruteblock-0.0.4.tar.gz) = 24170
 +MD5 (bruteblock-0.0.5.tar.gz) = 764ee1dac21a32cd3f1778164c206bac
 +SHA256 (bruteblock-0.0.5.tar.gz) = 7c7ef533b27be1d72e43a7fa6828896124a4f22808f2a0ecca2e587e1563e253
 +SIZE (bruteblock-0.0.5.tar.gz) = 24971
 diff -ruN bruteblock.orig/pkg-plist bruteblock/pkg-plist
 --- bruteblock.orig/pkg-plist	Tue Aug 22 17:16:02 2006
 +++ bruteblock/pkg-plist	Tue Aug 22 17:19:29 2006
 @@ -1,5 +1,8 @@
  sbin/bruteblock
  sbin/bruteblockd
 +@unexec if cmp -s %D/etc/bruteblock/proftpd.conf.dist %D/etc/bruteblock/proftpd.conf; then rm -f %D/etc/bruteblock/proftpd.conf; fi
 +etc/bruteblock/proftpd.conf.dist
 +@exec if [ ! -f %D/etc/bruteblock/proftpd.conf ]; then cp -p %D/%F %B/bruteblock/proftpd.conf; fi
  @unexec if cmp -s %D/etc/bruteblock/ssh.conf.dist %D/etc/bruteblock/ssh.conf; then rm -f %D/etc/bruteblock/ssh.conf; fi
  etc/bruteblock/ssh.conf.dist
  @exec if [ ! -f %D/etc/bruteblock/ssh.conf ]; then cp -p %D/%F %B/bruteblock/ssh.conf; fi
 --- bruteblock-0.0.5.patch ends here ---
 
 -- 
 Best regards,
  Dmitry                          mailto:amdmi3@mail.ru
State-Changed-From-To: feedback->closed 
State-Changed-By: rafan 
State-Changed-When: Wed Aug 23 10:47:23 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102310 
>Unformatted:
