ports/59727: [MAINTAINER] net/honeyd: update to 0.7

Yann Berthier yb at sainte-barbe.org
Thu Nov 27 14:20:10 UTC 2003


>Number:         59727
>Category:       ports
>Synopsis:       [MAINTAINER] net/honeyd: update to 0.7
>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:   Thu Nov 27 06:20:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yann Berthier
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD taz.hsc.fr 5.1-CURRENT FreeBSD 5.1-CURRENT #73: Sat Nov  8 22:22:27 CET
>Description:
- Update to 0.7
- Install sample scripts in the DATADIR directory

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

--- honeyd-0.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/honeyd/Makefile /home/yb/tmp/ports/net/honeyd/Makefile
--- /usr/ports/net/honeyd/Makefile	Sat Sep 27 03:09:33 2003
+++ /home/yb/tmp/ports/net/honeyd/Makefile	Mon Nov 24 15:03:41 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	honeyd
-PORTVERSION=	0.6a
+PORTVERSION=	0.7
 CATEGORIES=	net
 MASTER_SITES=	http://niels.xtdnet.nl/honeyd/
 
@@ -16,12 +16,31 @@
 BUILD_DEPENDS=	${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
 		${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
 
+USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-libdnet=${LOCALBASE} \
 		--with-libevent=${LOCALBASE} \
 		--with-pcap
 INSTALLS_SHLIB=	yes
+USE_REINPLACE=	yes
+
+post-configure:
+	@${REINPLACE_CMD} -e 's|LIBS = |LIBS = ${PTHREAD_LIBS}|' \
+	${WRKSRC}/Makefile
+
+post-install:
+	@${MKDIR} ${DATADIR}/scripts/snmp
+.for FILES in proxy.pl router-telnet.pl smtp.pl test.sh web.sh
+	@${INSTALL_SCRIPT} ${WRKSRC}/scripts/${FILES} \
+	${DATADIR}/scripts
+.endfor
+.for FILES in README buildSNMPConfig.pl default.snmp fake-snmp.pl \
+linux-2.4.snmp.tpl windows2000.snmp.tpl
+	@${INSTALL_DATA} ${WRKSRC}/scripts/snmp/${FILES} \
+	${DATADIR}/scripts/snmp
+.endfor
+
 MAN8=		honeyd.8
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/honeyd/distinfo /home/yb/tmp/ports/net/honeyd/distinfo
--- /usr/ports/net/honeyd/distinfo	Sat Sep 27 03:09:33 2003
+++ /home/yb/tmp/ports/net/honeyd/distinfo	Sun Nov 23 13:14:42 2003
@@ -1 +1 @@
-MD5 (honeyd-0.6a.tar.gz) = d8743bde540db637a7cd7a19214a8265
+MD5 (honeyd-0.7.tar.gz) = d05e112d513d0a1ce7b39cded9b0aba5
diff -ruN --exclude=CVS /usr/ports/net/honeyd/pkg-plist /home/yb/tmp/ports/net/honeyd/pkg-plist
--- /usr/ports/net/honeyd/pkg-plist	Sat Sep 27 03:09:33 2003
+++ /home/yb/tmp/ports/net/honeyd/pkg-plist	Mon Nov 24 14:12:51 2003
@@ -3,12 +3,26 @@
 include/honeyd/plugins.h
 include/honeyd/plugins_config.h
 include/honeyd/debug.h
-share/honeyd/README
-share/honeyd/nmap.assoc
-share/honeyd/nmap.prints
-share/honeyd/xprobe2.conf
-share/honeyd/config.sample
- at dirrm share/honeyd
+%%DATADIR%%/README
+%%DATADIR%%/nmap.assoc
+%%DATADIR%%/nmap.prints
+%%DATADIR%%/xprobe2.conf
+%%DATADIR%%/config.sample
+%%DATADIR%%/pf.os
+%%DATADIR%%/scripts/proxy.pl
+%%DATADIR%%/scripts/router-telnet.pl
+%%DATADIR%%/scripts/smtp.pl
+%%DATADIR%%/scripts/test.sh
+%%DATADIR%%/scripts/web.sh
+%%DATADIR%%/scripts/snmp/README
+%%DATADIR%%/scripts/snmp/buildSNMPConfig.pl
+%%DATADIR%%/scripts/snmp/default.snmp
+%%DATADIR%%/scripts/snmp/fake-snmp.pl
+%%DATADIR%%/scripts/snmp/linux-2.4.snmp.tpl
+%%DATADIR%%/scripts/snmp/windows2000.snmp.tpl
+ at dirrm %%DATADIR%%/scripts/snmp
+ at dirrm %%DATADIR%%/scripts
+ at dirrm %%DATADIR%%
 lib/honeyd/libhoneyd.so
 @dirrm lib/honeyd
 @dirrm include/honeyd
--- honeyd-0.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list