Date: Sun, 23 May 2004 12:41:23 +0200 (CEST) From: Florent Thoumie <flz@xbsd.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/67069: Update port: net/bnbt - security update (DoS vulnerability found) Message-ID: <20040523104123.30AE18D7@gw.xbsd.org> Resent-Message-ID: <200405231050.i4NAoQgm068086@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 67069 >Category: ports >Synopsis: Update port: net/bnbt - security update (DoS vulnerability found) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 23 03:50:26 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Florent Thoumie >Release: FreeBSD 4.9-RC i386 >Organization: Xbsd.org >Environment: System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf@gw:/usr/src/sys/compile/GW i386 >Description: Security Update Replace DATADIR with DOCSDIR. Use PORTDOCS and PLIST_FILES. Suppress pkg-plist. Correct PORTVERSION and bump PORTEPOCH. >How-To-Repeat: N/A >Fix: --- bnbt-7.5.b3.diff begins here. --- diff -ruN bnbt/Makefile bnbt.new/Makefile --- bnbt/Makefile Sun May 9 20:43:07 2004 +++ bnbt.new/Makefile Sun May 23 12:32:30 2004 @@ -6,10 +6,11 @@ # PORTNAME= bnbt -PORTVERSION= 7.5b2 +PORTVERSION= 7.5.b3 +PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://bnbt.go-dedicated.com/ -DISTNAME= bnbt75b-2 +DISTNAME= bnbt75b-3 MAINTAINER= flz@xbsd.org COMMENT= A C++ BitTorrent Tracker @@ -20,6 +21,9 @@ USE_GMAKE= yes USE_REINPLACE= yes +PLIST_FILES= bin/bnbt +PORTDOCS= footer.html header.html lesser.txt readme.txt users.txt + post-patch: @${REINPLACE_CMD} -e 's|-O2 -w|${CFLAGS}| ; \ s|LFLAGS = -pthread|LFLAGS = ${PTHREAD_LIBS}| ; \ @@ -27,9 +31,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bnbt ${PREFIX}/bin - ${MKDIR} ${DATADIR} -.for i in footer.html header.html lesser.txt readme.txt users.txt - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/$i ${DATADIR} + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/$i ${DOCSDIR} .endfor .include <bsd.port.mk> diff -ruN bnbt/distinfo bnbt.new/distinfo --- bnbt/distinfo Sun May 9 20:43:07 2004 +++ bnbt.new/distinfo Sun May 23 12:20:33 2004 @@ -1,2 +1,2 @@ -MD5 (bnbt75b-2.zip) = 57586cf9e487cc9f09e0e6f351c2a54a -SIZE (bnbt75b-2.zip) = 861997 +MD5 (bnbt75b-3.zip) = 910ade55f898e085193c9fa72f3d88fd +SIZE (bnbt75b-3.zip) = 862648 diff -ruN bnbt/pkg-plist bnbt.new/pkg-plist --- bnbt/pkg-plist Sun Apr 25 23:12:54 2004 +++ bnbt.new/pkg-plist Thu Jan 1 01:00:00 1970 @@ -1,7 +0,0 @@ -bin/bnbt -%%DATADIR%%/footer.html -%%DATADIR%%/header.html -%%DATADIR%%/lesser.txt -%%DATADIR%%/readme.txt -%%DATADIR%%/users.txt -@dirrm share/bnbt --- bnbt-7.5.b3.diff begins here. --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040523104123.30AE18D7>