From mranner@dwarf.jawa.at  Wed Oct 19 12:44:54 2005
Return-Path: <mranner@dwarf.jawa.at>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EE66316A420;
	Wed, 19 Oct 2005 12:44:51 +0000 (GMT)
	(envelope-from mranner@dwarf.jawa.at)
Received: from dwarf.jawa.at (62-99-193-27.static.adsl-line.inode.at [62.99.193.27])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1FFEC43D46;
	Wed, 19 Oct 2005 12:44:50 +0000 (GMT)
	(envelope-from mranner@dwarf.jawa.at)
Received: from dwarf.jawa.at (localhost.jawa.at [127.0.0.1])
	by dwarf.jawa.at (8.13.3/8.13.1) with ESMTP id j9JCjFRr014258;
	Wed, 19 Oct 2005 14:45:15 +0200 (CEST)
	(envelope-from mranner@dwarf.jawa.at)
Received: (from root@localhost)
	by dwarf.jawa.at (8.13.3/8.13.1/Submit) id j9JCjEEG014257;
	Wed, 19 Oct 2005 14:45:14 +0200 (CEST)
	(envelope-from mranner)
Message-Id: <200510191245.j9JCjEEG014257@dwarf.jawa.at>
Date: Wed, 19 Oct 2005 14:45:14 +0200 (CEST)
From: Michael Ranner <mranner@inode.at>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Emanuel Haupt <ehaupt@freebsd.org>
Subject: [MAINTAINER] security/hostsentry: [SUMMARIZE CHANGES]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87660
>Category:       ports
>Synopsis:       [MAINTAINER] security/hostsentry: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 19 12:50:10 GMT 2005
>Closed-Date:    Wed Oct 19 16:25:24 CEST 2005
>Last-Modified:  Wed Oct 19 16:25:24 CEST 2005
>Originator:     Michael Ranner
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dwarf.jawa.at 5.4-RELEASE FreeBSD 5.4-RELEASE #7: Fri May 13 07:58:48 CEST 2005
>Description:
[DESCRIBE CHANGES]

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- hostsentry-0.02_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/hostsentry/Makefile /usr/ports/security/hostsentry.update/Makefile
--- /usr/ports/security/hostsentry/Makefile	Tue Jul  6 15:53:40 2004
+++ /usr/ports/security/hostsentry.update/Makefile	Tue Oct 18 21:36:40 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	hostsentry
 PORTVERSION=	0.02
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	ftp://ftp.netsys.com/len/ \
 		${MASTER_SITE_PACKETSTORM}
@@ -19,11 +19,17 @@
 RUN_DEPENDS=	${PYTHONPREFIX_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm
 
 USE_PYTHON=	yes
+USE_REINPLACE=	yes
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 post-patch:
 	@${SED} 's|%%PREFIX%%|${PREFIX}|' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+	@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," \
+		${WRKSRC}/*
+
+pre-install:
+	${RM} ${WRKSRC}/*.bak
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/security/hostsentry/pkg-plist /usr/ports/security/hostsentry.update/pkg-plist
--- /usr/ports/security/hostsentry/pkg-plist	Tue Jul  6 15:53:40 2004
+++ /usr/ports/security/hostsentry.update/pkg-plist	Tue Oct 18 21:37:11 2005
@@ -24,7 +24,7 @@
 lib/hostsentry/modules/moduleOddDirnames.py
 lib/hostsentry/modules/moduleRhostsCheck.py
 @dirrm lib/hostsentry/modules
-@unexec rm %D/lib/hostsentry/*.pyc || true
+@unexec rm %D/lib/hostsentry/*.pyc 2>/dev/null || true
 @dirrm lib/hostsentry
 @unexec rmdir %D/etc/hostsentry 2>/dev/null || echo "If you are permanently removing this port, you should do a "rm -rf ${PKG_PREFIX}/etc/hostsentry" to remove any binary, configuration and log files left." | fmt
 %%PORTDOCS%%%%DOCSDIR%%/README.BUGS
--- hostsentry-0.02_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: ehaupt 
Responsible-Changed-When: Wed Oct 19 15:33:58 CEST 2005 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87660 
State-Changed-From-To: open->closed 
State-Changed-By: ehaupt 
State-Changed-When: Wed Oct 19 16:25:23 CEST 2005 
State-Changed-Why:  
Committed, thanks! 

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