ports/56509: Update port: net/dclib to 0.2.18

Markus Brueffer brueffer at phoenix-systems.de
Sat Sep 6 01:00:40 UTC 2003


>Number:         56509
>Category:       ports
>Synopsis:       Update port: net/dclib to 0.2.18
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 05 18:00:34 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Markus Brueffer
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD sethos.phoenix 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #11: Thu Sep 4 16:51:15 CEST 2003 root at sethos.phoenix:/usr/obj/usr/src/sys/SETHOS i386

>Description:

	Update port: net/dclib to 0.2.18

	- take maintainership
	- superseeds PRs 51789, 51915, 53549
	- fixes security vulnerability
	
	I mailed the originator of the three PRs, but didn't get a response
	within more than two weeks, so I assume, he isn't interrested to take
	the maintainership anymore.

>How-To-Repeat:
>Fix:

--- dclib.diff begins here ---
diff -ruN dclib.orig/Makefile dclib/Makefile
--- dclib.orig/Makefile	Mon Mar 31 17:14:03 2003
+++ dclib/Makefile	Fri Sep  5 22:48:13 2003
@@ -7,44 +7,27 @@
 #
 
 PORTNAME=	dclib
-PORTVERSION=	0.1.11
+PORTVERSION=	0.2.18
 CATEGORIES=	net
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
+MASTER_SITES=	http://download.berlios.de/dcgui/ \
 		http://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/ \
-		http://download.berlios.de/dcgui/ \
-		ftp://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/ \
-		http://dc.ketelhot.de/files/dcgui/unstable/source/
-MASTER_SITE_SUBDIR=	dc-gui
-DISTNAME=	dclib-0.1beta11
+		ftp://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/
 
-MAINTAINER=	e96sv at yahoo.se
+MAINTAINER=	brueffer at phoenix-systems.de
 COMMENT=	Direct connect interface library for dcgui
-FORBIDDEN=	"security bug--see <URL:http://dc.ketelhot.de/news.php>"
 
 LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
 		xml2.5:${PORTSDIR}/textproc/libxml2
 
 USE_BZIP2=	yes
-USE_GMAKE=	yes
-USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-xml-prefix=${LOCALBASE}
+USE_REINPLACE=	yes
 INSTALLS_SHLIB= yes
 
-post-patch:
-# fix libxml2 test
-# and, do not add optimizations because it might break some ARCHs, e.g.,
-# alpha
+CONFIGURE_TARGET=       --build=${ARCH}-portbld-freebsd${OSREL}
 
-	@${REINPLACE_CMD} -e 's at xmlversion.h@libxml/xmlversion.h@; \
-		s at -O2@@; \
-		s@%%LOCALBASE%%@${LOCALBASE}@g' \
+post-patch:
+	@${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
 		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-	@${REINPLACE_CMD} -e "s at Lu@llu at g" \
-		${WRKSRC}/dclib/cstring.cpp \
-		${WRKSRC}/dclib/cquerymanager.cpp
-# malloc.h is deprecated in favor of stdlib.h
-	@${FIND} ${WRKSRC} -type f -name "*.cpp" -o -name "*.h" | \
-		${XARGS} -n 10 ${REINPLACE_CMD} 's|malloc\.h|stdlib.h|'
 
 .include <bsd.port.mk>
diff -ruN dclib.orig/distinfo dclib/distinfo
--- dclib.orig/distinfo	Sat Oct  5 21:15:42 2002
+++ dclib/distinfo	Fri Sep  5 22:31:09 2003
@@ -1 +1 @@
-MD5 (dclib-0.1beta11.tar.bz2) = 1105c521ca69230e0bcbb2d03ef5cd7f
+MD5 (dclib-0.2.18.tar.bz2) = 8c49b528fc66b8f6aadf6014ce424d33
diff -ruN dclib.orig/pkg-plist dclib/pkg-plist
--- dclib.orig/pkg-plist	Sat Oct  5 21:15:42 2002
+++ dclib/pkg-plist	Fri Sep  5 22:31:09 2003
@@ -1,38 +1,56 @@
-include/dclib/casyncdns.h
-include/dclib/cbase64.h
-include/dclib/cbytearray.h
-include/dclib/cbz.h
-include/dclib/ccallback.h
 include/dclib/cclient.h
+include/dclib/cclientssl.h
 include/dclib/cconfig.h
-include/dclib/cconnection.h
-include/dclib/cdir.h
+include/dclib/cdcproto.h
 include/dclib/cdownloadmanager.h
 include/dclib/cdownloadqueue.h
 include/dclib/cencrypt.h
 include/dclib/cfilemanager.h
-include/dclib/che3.h
 include/dclib/chttp.h
 include/dclib/chubsearch.h
-include/dclib/clist.h
-include/dclib/clisten.h
-include/dclib/cmd4.h
-include/dclib/cmd5.h
 include/dclib/cmessagehandler.h
-include/dclib/cobject.h
+include/dclib/core/casyncdns.h
+include/dclib/core/cbase64.h
+include/dclib/core/cbytearray.h
+include/dclib/core/cbz.h
+include/dclib/core/ccallback.h
+include/dclib/core/cconnection.h
+include/dclib/core/cdir.h
+include/dclib/core/cfile.h
+include/dclib/core/che3.h
+include/dclib/core/clist.h
+include/dclib/core/clisten.h
+include/dclib/core/clogfile.h
+include/dclib/core/cmanager.h
+include/dclib/core/cmd4.h
+include/dclib/core/cmd5.h
+include/dclib/core/cobject.h
+include/dclib/core/cplugin.h
+include/dclib/core/csingleton.h
+include/dclib/core/csocket.h
+include/dclib/core/cssl.h
+include/dclib/core/cstring.h
+include/dclib/core/cstringlist.h
+include/dclib/core/cthread.h
+include/dclib/core/cxml.h
+include/dclib/core/filecopy.h
+include/dclib/core/platform.h
+include/dclib/core/types.h
+include/dclib/cpluginmanager.h
 include/dclib/cquerymanager.h
+include/dclib/csearchindex.h
 include/dclib/cservermanager.h
-include/dclib/csingleton.h
-include/dclib/csocket.h
-include/dclib/cstring.h
-include/dclib/cstringlist.h
-include/dclib/cthread.h
+include/dclib/csharelist.h
 include/dclib/ctransfer.h
-include/dclib/cxml.h
+include/dclib/cutils.h
+include/dclib/dclib.h
 include/dclib/dcobject.h
 include/dclib/dcos.h
 lib/libdc.a
 lib/libdc.la
 lib/libdc.so
 lib/libdc.so.0
+ at unexec rmdir %D/share/dcgui/plugin 2>/dev/null || true
+ at unexec rmdir %D/share/dcgui 2>/dev/null || true
+ at dirrm include/dclib/core
 @dirrm include/dclib
--- dclib.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list