aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-06-02 20:03:12 +0800
committergahr <gahr@FreeBSD.org>2008-06-02 20:03:12 +0800
commit4608da86d84416358305de3016ae1e5da5b3886e (patch)
treef54b7be68962cbf15d48d4c893edd99ec2a18148 /net-p2p
parentba24c9623ca23638909b0af699823e552210741b (diff)
downloadfreebsd-ports-gnome-4608da86d84416358305de3016ae1e5da5b3886e.tar.gz
freebsd-ports-gnome-4608da86d84416358305de3016ae1e5da5b3886e.tar.zst
freebsd-ports-gnome-4608da86d84416358305de3016ae1e5da5b3886e.zip
- Update to 0.3.14
- Take maintainship
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dclib/Makefile15
-rw-r--r--net-p2p/dclib/distinfo6
-rw-r--r--net-p2p/dclib/files/patch-dclib-core_ciconv.cpp11
-rw-r--r--net-p2p/dclib/pkg-plist7
4 files changed, 29 insertions, 10 deletions
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index 04977af940c6..7d9c487a89fe 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -1,3 +1,4 @@
+# ex: ts=8
# New ports collection makefile for: dclib
# Date created: Wed 10 Jul 2002
# Whom: Sverrir Valgeirsson <e96sv@yahoo.se> and
@@ -7,10 +8,11 @@
#
PORTNAME= dclib
-PORTVERSION= 0.3.13
+PORTVERSION= 0.3.14
CATEGORIES= net-p2p
MASTER_SITES= SF
MASTER_SITE_SUBDIR= wxdcgui
+DISTNAME= ${PORTNAME}-${PORTVERSION}a
MAINTAINER= gahr@FreeBSD.org
COMMENT= Direct connect interface library for valknut
@@ -18,6 +20,8 @@ COMMENT= Direct connect interface library for valknut
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
xml2.5:${PORTSDIR}/textproc/libxml2
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
USE_AUTOTOOLS= libtool:15
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -25,10 +29,15 @@ USE_OPENSSL= yes
USE_LDCONFIG= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+post-extract:
+ ${CHMOD} 0755 ${WRKSRC}/admin/install-sh
+
post-patch:
- @${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
+ ${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
+ ${FIND} ${WRKSRC} -name "Makefile.*" | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|dclib-0.3/||g'
.include <bsd.port.mk>
diff --git a/net-p2p/dclib/distinfo b/net-p2p/dclib/distinfo
index 311b7beab09a..2db78d045d4d 100644
--- a/net-p2p/dclib/distinfo
+++ b/net-p2p/dclib/distinfo
@@ -1,3 +1,3 @@
-MD5 (dclib-0.3.13.tar.bz2) = d0802777ab7555309debd64f71397faf
-SHA256 (dclib-0.3.13.tar.bz2) = 47653f4672e266f0ee963b2ef728874dcce6e26be30d14774b4cfa1250d260ea
-SIZE (dclib-0.3.13.tar.bz2) = 644180
+MD5 (dclib-0.3.14a.tar.bz2) = efdaab61c2b3af95aef381392d580f16
+SHA256 (dclib-0.3.14a.tar.bz2) = 48839c77bc00842350dc1d5bebb28d10dcf8a9e2fa02084919aeb6b54e14e5a1
+SIZE (dclib-0.3.14a.tar.bz2) = 563006
diff --git a/net-p2p/dclib/files/patch-dclib-core_ciconv.cpp b/net-p2p/dclib/files/patch-dclib-core_ciconv.cpp
new file mode 100644
index 000000000000..b5fb75187bc2
--- /dev/null
+++ b/net-p2p/dclib/files/patch-dclib-core_ciconv.cpp
@@ -0,0 +1,11 @@
+--- dclib/core/ciconv.cpp.orig 2008-06-02 12:58:22.000000000 +0200
++++ dclib/core/ciconv.cpp 2008-06-02 12:59:00.000000000 +0200
+@@ -20,7 +20,7 @@
+ #endif
+
+ #ifndef ICONV_CONST
+-#define ICONV_CONST
++#define ICONV_CONST const
+ #endif
+
+ #include <stdio.h>
diff --git a/net-p2p/dclib/pkg-plist b/net-p2p/dclib/pkg-plist
index e2b31785563d..eafa0e756058 100644
--- a/net-p2p/dclib/pkg-plist
+++ b/net-p2p/dclib/pkg-plist
@@ -6,6 +6,7 @@ include/dclib/cdcproto.h
include/dclib/cdownloadmanager.h
include/dclib/cdownloadqueue.h
include/dclib/cencrypt.h
+include/dclib/cfilehasher.h
include/dclib/cfilemanager.h
include/dclib/chttp.h
include/dclib/chublistmanager.h
@@ -26,7 +27,6 @@ include/dclib/core/clist.h
include/dclib/core/clisten.h
include/dclib/core/clogfile.h
include/dclib/core/cmanager.h
-include/dclib/core/cmd5.h
include/dclib/core/cobject.h
include/dclib/core/cplugin.h
include/dclib/core/csingleton.h
@@ -49,6 +49,7 @@ include/dclib/csharelist.h
include/dclib/ctransfer.h
include/dclib/cuserlist.h
include/dclib/cutils.h
+include/dclib/dclib-ssl-use.h
include/dclib/dclib.h
include/dclib/dcobject.h
include/dclib/dcos.h
@@ -62,8 +63,6 @@ lib/libdc.la
lib/libdc.so
lib/libdc.so.0
libdata/pkgconfig/dclib.pc
-@dirrm share/dclib/plugin
-@dirrm share/dclib
-@dirrm include/dclib/hash
@dirrm include/dclib/core
+@dirrm include/dclib/hash
@dirrm include/dclib