aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Makefile5
-rw-r--r--net-p2p/dctc-gui-qt/Makefile76
-rw-r--r--net-p2p/dctc-gui-qt/distinfo2
-rw-r--r--net-p2p/dctc-gui-qt/pkg-descr3
-rw-r--r--net-p2p/dctc-gui/Makefile88
-rw-r--r--net-p2p/dctc-gui/distinfo2
-rw-r--r--net-p2p/dctc-gui/files/patch-intl_Makefile.in15
-rw-r--r--net-p2p/dctc-gui/files/patch-po_Makefile.in.in10
-rw-r--r--net-p2p/dctc-gui/files/patch-src::callbacks.c12
-rw-r--r--net-p2p/dctc-gui/files/patch-src::init_fnc.c12
-rw-r--r--net-p2p/dctc-gui/files/patch-src::main.c36
-rw-r--r--net-p2p/dctc-gui/files/sig_chld.c53
-rw-r--r--net-p2p/dctc-gui/pkg-descr21
-rw-r--r--net-p2p/dctc-gui/pkg-plist38
-rw-r--r--net-p2p/dctc/Makefile112
-rw-r--r--net-p2p/dctc/distinfo2
-rw-r--r--net-p2p/dctc/files/lp_mutex.c119
-rw-r--r--net-p2p/dctc/files/patch-src::dc_manage.c77
-rw-r--r--net-p2p/dctc/files/patch-src::main.c10
-rw-r--r--net-p2p/dctc/files/patch-src::mydb.c28
-rw-r--r--net-p2p/dctc/files/patch-src::sema.c158
-rw-r--r--net-p2p/dctc/pkg-descr19
-rw-r--r--net-p2p/dctc/pkg-plist37
-rw-r--r--net-p2p/qbittorrent-28-nox11/Makefile20
-rw-r--r--net-p2p/qbittorrent-28-nox11/pkg-descr23
-rw-r--r--net-p2p/qbittorrent-28-nox11/pkg-plist1
-rw-r--r--net-p2p/qbittorrent-28/Makefile65
-rw-r--r--net-p2p/qbittorrent-28/distinfo2
-rw-r--r--net-p2p/qbittorrent-28/pkg-descr22
-rw-r--r--net-p2p/qbittorrent-28/pkg-message5
-rw-r--r--net-p2p/qbittorrent-28/pkg-plist39
31 files changed, 0 insertions, 1112 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index a4eeea1b2811..bc220d819134 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -18,9 +18,6 @@
SUBDIR += ctcs
SUBDIR += ctorrent
SUBDIR += dclib
- SUBDIR += dctc
- SUBDIR += dctc-gui
- SUBDIR += dctc-gui-qt
SUBDIR += deluge
SUBDIR += ed2k
SUBDIR += edonkey-tool-hash
@@ -90,8 +87,6 @@
SUBDIR += py-py2play
SUBDIR += py-transmissionrpc
SUBDIR += py-vertex
- SUBDIR += qbittorrent-28
- SUBDIR += qbittorrent-28-nox11
SUBDIR += qbittorrent-29
SUBDIR += qbittorrent-29-nox11
SUBDIR += qtella
diff --git a/net-p2p/dctc-gui-qt/Makefile b/net-p2p/dctc-gui-qt/Makefile
deleted file mode 100644
index e51d54af9142..000000000000
--- a/net-p2p/dctc-gui-qt/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-# New ports collection makefile for: dctc qt gui
-# Date created: Sun Jul 28 7:00:43 UTC 2002
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= dctc
-PORTVERSION= 0.1.2
-PORTREVISION= 7
-CATEGORIES= net-p2p
-MASTER_SITES= SF/dc-qt/dc-qt/${PORTVERSION}
-PKGNAMESUFFIX= -gui-qt
-DISTNAME= dc-qt-${PORTVERSION}
-
-MAINTAINER= lioux@FreeBSD.org
-COMMENT= A Qt GUI for the Direct Connect (TM) dctc text client
-
-RUN_DEPENDS= dctc:${PORTSDIR}/net-p2p/dctc
-
-USE_QT_VER= 3
-GNU_CONFIGURE= yes
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-PLIST_FILES= bin/dc_qt
-
-OPTIONS= XINE "Enable support for video preview using libxine" off
-
-XINE_CONFIG?= ${LOCALBASE}/bin/xine-config
-
-.ifndef(NOPORTDOCS)
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
-
-PORTDOCS= \
- about.html \
- advanced.html \
- basic.html \
- config.html \
- connect.html \
- index.html \
- logo.png \
- mainwindow.png \
- searchdl.html
-.endif
-
-.include <bsd.port.pre.mk>
-
-# with xine preview support
-.ifdef(WITH_XINE)
-LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine
-CONFIGURE_ENV+= XINE_CONFIG=${XINE_CONFIG}
-.else
-CONFIGURE_ARGS+= --disable-preview
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -E \
- -e 's|(HUBLIST[[:space:]]*=[[:space:]]*")hublist"|\1dc_hublist"|' \
- ${WRKSRC}/src/dc_hub.cc
-.ifdef(NOPORTDOCS)
- @${REINPLACE_CMD} -E \
- -e 's|^(SUBDIRS).+$$|\1=|' \
- ${WRKSRC}/src/Makefile.in
-.else
- @${REINPLACE_CMD} -E \
- -e 's|^(pkgdatadir).+$$|\1=${DOCSDIR}|' \
- ${WRKSRC}/src/doc/Makefile.in
-.endif
-
-post-configure:
-# uphold CC/CXX/CFLAGS
- @${REINPLACE_CMD} -E \
- -e 's|^(CXXFLAGS.+)$$|\1 ${CXXFLAGS}|' \
- ${WRKSRC}/Makefile \
- ${WRKSRC}/src/Makefile
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/dctc-gui-qt/distinfo b/net-p2p/dctc-gui-qt/distinfo
deleted file mode 100644
index 10c9a24a486a..000000000000
--- a/net-p2p/dctc-gui-qt/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dc-qt-0.1.2.tar.gz) = de54b1833fb2b984f3ad93b80b1862624046294f2aab9083920c63ce7b46493b
-SIZE (dc-qt-0.1.2.tar.gz) = 349695
diff --git a/net-p2p/dctc-gui-qt/pkg-descr b/net-p2p/dctc-gui-qt/pkg-descr
deleted file mode 100644
index b2bbd6979dd6..000000000000
--- a/net-p2p/dctc-gui-qt/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-A Qt GUI for the Direct Connect (TM) dctc text client.
-
-WWW: http://sourceforge.net/projects/dc-qt/
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
deleted file mode 100644
index d492178701c4..000000000000
--- a/net-p2p/dctc-gui/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-# New ports collection makefile for: GUI to Direct Connect Text Client
-# Date created: Thu Nov 22 00:34:48 BRST 2001
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= dctc
-PORTVERSION= 0.66
-PORTREVISION= 13
-CATEGORIES= net-p2p gnome
-MASTER_SITES= http://unixpages.org/distfiles/
-PKGNAMESUFFIX= -gui
-DISTNAME= dc_gui-${PORTVERSION}
-
-MAINTAINER= lioux@FreeBSD.org
-COMMENT= A GUI to DirectConnect (www.neo-modus.com) text client
-
-BUILD_DEPENDS= dctc:${PORTSDIR}/net-p2p/dctc
-LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
-
-USE_GETTEXT= yes
-USE_GNOME= gnomehack gnomelibs gnomeprefix
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-CONFIGURE_ARGS= --with-gnome=${LOCALBASE} \
- --with-gtk-prefix=${LOCALBASE} \
- --enable-manual-db-detect \
- --with-libiconv-prefix=${LOCALBASE}
-
-ADDITIONAL_SRCS= sig_chld.c
-#
-DOC_FILES= COPYING ChangeLog README TODO
-
-post-extract:
-.for file in ${ADDITIONAL_SRCS}
- @${CP} ${FILESDIR}/${file} ${WRKSRC}/src
-.endfor
-
-post-patch:
- @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${REINPLACE_CMD} -E -e \
- 's|ldb-4.0|ldb4|; \
- s|<(db.h>)|<db4/\1|'
- @${REINPLACE_CMD} -E -e 's|(hublist)|dc_\1|' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -E -e \
- 's|(hublist)(.+argv)|dc_\1\2|' \
- ${WRKSRC}/src/init_fnc.c
-# XXX - revise at every port update
- @${REINPLACE_CMD} -e "s|%'|%|g" ${WRKSRC}/src/*.c
-# @${REINPLACE_CMD} -E -e \
-# 's|%lf|%f|; \
-# s|(%\.[[:digit:]])lf|\1f|' \
-# ${WRKSRC}/src/*.c
-# clean up so as to not break installation
- @${FIND} ${WRKSRC} -type f \
- -name "*.bak" \
- | ${XARGS} -n 10 -x ${RM}
-# add sigchld handler
-.for file in ${ADDITIONAL_SRCS}
- @${REINPLACE_CMD} -E -e \
- 's|^(dc_gui_SOURCES.+)$$|\1 ${file}|; \
- s|^(dc_gui_OBJECTS[^\\]+)(\\*)$$|\1 ${file:S/.c$/.o/} \2|' \
- ${WRKSRC}/src/Makefile.in
-.endfor
-# disable GNU auto* tools
- @${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
- -x -n 10 ${REINPLACE_CMD} -E -e \
- 's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!'
-
-post-configure:
- @${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '# define MSG_NOSIGNAL 0' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '#endif' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '#include <sys/param.h>' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '#ifndef SEMVMX' >> ${WRKSRC}/config.h
- @${ECHO_CMD} '#define SEMVMX 32767' >> ${WRKSRC}/config.h
- @${ECHO_CMD} '#endif' >> ${WRKSRC}/config.h
-
-post-install:
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}${PKGNAMESUFFIX}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/net-p2p/dctc-gui/distinfo b/net-p2p/dctc-gui/distinfo
deleted file mode 100644
index 3ccf8d5747ca..000000000000
--- a/net-p2p/dctc-gui/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dc_gui-0.66.tar.gz) = a96807ce6bc9074f25951df82c99cde4246842f368a240dfe4dd098627e32c71
-SIZE (dc_gui-0.66.tar.gz) = 461838
diff --git a/net-p2p/dctc-gui/files/patch-intl_Makefile.in b/net-p2p/dctc-gui/files/patch-intl_Makefile.in
deleted file mode 100644
index 4c4215613998..000000000000
--- a/net-p2p/dctc-gui/files/patch-intl_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
---- intl/Makefile.in.orig 2001-09-02 01:58:14.000000000 -0500
-+++ intl/Makefile.in 2011-03-25 13:27:57.000000000 -0500
-@@ -201,12 +201,2 @@
-
--# The dependency for intlh.inst is different in gettext and all other
--# packages. Because we cannot you GNU make features we have to solve
--# the problem while rewriting Makefile.in.
--@GT_YES@intlh.inst: intlh.inst.in ../config.status
--@GT_YES@ cd .. \
--@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
--@GT_YES@ $(SHELL) ./config.status
--@GT_NO@.PHONY: intlh.inst
--@GT_NO@intlh.inst:
--
- # Tell versions [3.59,3.63) of GNU make not to export all variables.
diff --git a/net-p2p/dctc-gui/files/patch-po_Makefile.in.in b/net-p2p/dctc-gui/files/patch-po_Makefile.in.in
deleted file mode 100644
index b8b90a400c1f..000000000000
--- a/net-p2p/dctc-gui/files/patch-po_Makefile.in.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- po/Makefile.in.in.orig Wed Feb 4 13:19:32 2004
-+++ po/Makefile.in.in Wed Feb 4 13:19:41 2004
-@@ -87,6 +87,7 @@
- $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
- --add-comments --keyword=_ --keyword=N_ \
- --files-from=$(srcdir)/POTFILES.in \
-+ --from-code=ISO-8859-1 \
- && test ! -f $(PACKAGE).po \
- || ( rm -f $(srcdir)/$(PACKAGE).pot \
- && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
diff --git a/net-p2p/dctc-gui/files/patch-src::callbacks.c b/net-p2p/dctc-gui/files/patch-src::callbacks.c
deleted file mode 100644
index 3c0ad2c3e398..000000000000
--- a/net-p2p/dctc-gui/files/patch-src::callbacks.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/callbacks.c.orig Sun Nov 17 21:18:28 2002
-+++ src/callbacks.c Sun Nov 17 21:19:26 2002
-@@ -14,7 +14,8 @@
- #include <dirent.h>
- #include <gdk/gdkkeysyms.h>
- #include <gdk/gdk.h>
--#include <linux/sem.h>
-+#include <sys/ipc.h>
-+#include <sys/sem.h>
- #include <gnome.h>
- #include <glib.h>
- #include <time.h>
diff --git a/net-p2p/dctc-gui/files/patch-src::init_fnc.c b/net-p2p/dctc-gui/files/patch-src::init_fnc.c
deleted file mode 100644
index 3eca24060609..000000000000
--- a/net-p2p/dctc-gui/files/patch-src::init_fnc.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/init_fnc.c.orig Sun Nov 17 21:19:50 2002
-+++ src/init_fnc.c Sun Nov 17 21:20:39 2002
-@@ -12,7 +12,8 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/wait.h>
--#include <linux/sem.h> /* for the value of SEMVMX */
-+#include <sys/ipc.h>
-+#include <sys/sem.h> /* for the value of SEMVMX */
- #include <dirent.h>
- #include <string.h>
- #include <errno.h>
diff --git a/net-p2p/dctc-gui/files/patch-src::main.c b/net-p2p/dctc-gui/files/patch-src::main.c
deleted file mode 100644
index f530ccac3963..000000000000
--- a/net-p2p/dctc-gui/files/patch-src::main.c
+++ /dev/null
@@ -1,36 +0,0 @@
---- src/main.c.orig Mon Nov 18 23:53:50 2002
-+++ src/main.c Mon Nov 18 23:55:01 2002
-@@ -43,6 +43,9 @@
- GtkWidget *done_popup=NULL;
- GtkWidget *fav_popup=NULL;
-
-+/* sigchld handling */
-+extern void sig_chld(int);
-+
- /* this string is "$HOME/.dctc" */
- GString *dctc_main_dir=NULL;
-
-@@ -289,11 +292,9 @@
- sigset_t set;
-
- /* ignore SIGPIPE */
-- /* ignore SIGCHLD */
- /* ignore SIGHUP */
- sigemptyset(&set);
- sigaddset(&set,SIGPIPE);
-- sigaddset(&set,SIGCHLD);
- sigaddset(&set,SIGHUP);
- act.sa_handler=SIG_IGN;
- act.sa_mask=set;
-@@ -301,8 +302,10 @@
-
- sigprocmask(SIG_UNBLOCK,&set,NULL);
- sigaction(SIGPIPE,&act,NULL);
-- sigaction(SIGCHLD,&act,NULL);
- sigaction(SIGHUP,&act,NULL);
-+
-+ /* handle SIGCHLD */
-+ signal(SIGCHLD, sig_chld); /* Prevents zombies */
- }
-
- static void start_dctc_client_from_huburl(char *dchub_url,char *profile)
diff --git a/net-p2p/dctc-gui/files/sig_chld.c b/net-p2p/dctc-gui/files/sig_chld.c
deleted file mode 100644
index 74b4a4afc53a..000000000000
--- a/net-p2p/dctc-gui/files/sig_chld.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2000, 2001, 2002
- * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $FreeBSD
- */
-
-#include <sys/types.h>
-#include <sys/wait.h>
-/*
-#include <sys/time.h>
-#include <sys/resource.h>
-*/
-
-/*
- * SIGCHLD handler
- *
- * Let's take care of our children.
- * Otherwise, they may get involved with bad ppl
- * and become zombies.
- */
-void
-sig_chld(int signo)
-{
- pid_t pid;
- int stat;
-
- while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0);
-
- return;
-}
diff --git a/net-p2p/dctc-gui/pkg-descr b/net-p2p/dctc-gui/pkg-descr
deleted file mode 100644
index b4b753f5e341..000000000000
--- a/net-p2p/dctc-gui/pkg-descr
+++ /dev/null
@@ -1,21 +0,0 @@
-[ from developer's site]
-
-This is a Graphical User Interface for DCTC
-
-I. What is DCTC
-DCTC is a Direct Connect clone, a windoz client allowing users to
-share their files and talk (like IRC but more software sharing
-oriented) using a proprietary protocol.
-
-DCTC stands for Direct Connect Text Client.
-
-II. What is not DCTC
-DCTC is written from scratch without any help from neo-modus using
-our experience of hotline protocol.
-
-DCTC is not designed to be used by human. It doesn't contains any
-GUI or CLI. The goal of this project is to build a Direct Connect
-client which can be used by other programs. So even if you can enter
-command using the keyboard, don't say the human interface is poor.
-
-WWW: http://ac2i.homelinux.com/dctc/
diff --git a/net-p2p/dctc-gui/pkg-plist b/net-p2p/dctc-gui/pkg-plist
deleted file mode 100644
index 2bad892edefc..000000000000
--- a/net-p2p/dctc-gui/pkg-plist
+++ /dev/null
@@ -1,38 +0,0 @@
-bin/dc_gui
-%%PORTDOCS%%share/doc/dctc-gui/COPYING
-%%PORTDOCS%%share/doc/dctc-gui/ChangeLog
-%%PORTDOCS%%share/doc/dctc-gui/README
-%%PORTDOCS%%share/doc/dctc-gui/TODO
-share/gnome/help/dc_gui/C/index.html
-share/gnome/help/dc_gui/C/topic.dat
-share/gnome/help/dc_gui/es/index.html
-share/gnome/help/dc_gui/es/topic.dat
-share/gnome/help/dc_gui/nl/index.html
-share/gnome/help/dc_gui/nl/topic.dat
-share/locale/de/LC_MESSAGES/dc_gui.mo
-share/locale/fr/LC_MESSAGES/dc_gui.mo
-share/locale/nl/LC_MESSAGES/dc_gui.mo
-share/locale/sv/LC_MESSAGES/dc_gui.mo
-share/pixmaps/dc_gui/icon_folder_add.xpm
-share/pixmaps/dc_gui/icon_folder_del.xpm
-share/pixmaps/dc_gui/icon_kill.xpm
-share/pixmaps/dc_gui/icon_refresh.xpm
-share/pixmaps/dc_gui/icon_remove_all.xpm
-share/pixmaps/dc_gui/icon_remove_selected.xpm
-@dirrm share/pixmaps/dc_gui
-@dirrmtry share/locale/sv/LC_MESSAGES
-@dirrmtry share/locale/sv
-@dirrmtry share/locale/nl/LC_MESSAGES
-@dirrmtry share/locale/nl
-@dirrmtry share/locale/fr/LC_MESSAGES
-@dirrmtry share/locale/fr
-@dirrmtry share/locale/de/LC_MESSAGES
-@dirrmtry share/locale/de
-@dirrmtry share/gnome/help/dc_gui/nl/images
-@dirrm share/gnome/help/dc_gui/nl
-@dirrmtry share/gnome/help/dc_gui/es/images
-@dirrm share/gnome/help/dc_gui/es
-@dirrmtry share/gnome/help/dc_gui/C/images
-@dirrm share/gnome/help/dc_gui/C
-@dirrm share/gnome/help/dc_gui
-%%PORTDOCS%%@dirrm share/doc/dctc-gui
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
deleted file mode 100644
index ac9a53fa2cde..000000000000
--- a/net-p2p/dctc/Makefile
+++ /dev/null
@@ -1,112 +0,0 @@
-# New ports collection makefile for: Direct Connect Text Client
-# Date created: Thu Nov 22 00:19:27 BRST 2001
-# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= dctc
-PORTVERSION= 0.84.1
-PORTREVISION= 1
-CATEGORIES= net-p2p
-MASTER_SITES= http://unixpages.org/distfiles/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A DirectConnect (www.neo-modus.com) text client for file sharing
-
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2011-09-01
-
-BROKEN= Does not fetch
-
-BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
-LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
-
-USE_GNOME= glib12
-USE_PERL5_RUN= yes
-GNU_CONFIGURE= yes
-LDFLAGS+= ${PTHREAD_LIBS:S/"//g}
-CPPFLAGS+= ${PTHREAD_CFLAGS}
-CONFIGURE_ARGS= --enable-manual-db-detect --with-db=${LOCALBASE}
-MANCOMPRESSED= no
-
-MAN1= dctc.1
-
-DCTC_BINS= dctc dctc_cmd
-DOC_DIRS= Documentation Documentation/DCextensions
-DOC_FILES= COPYING ChangeLog INSTALL README \
- KNOWN_BUGS TODO \
- Documentation/BerkeleyDB \
- Documentation/BerkeleyDB.nl \
- Documentation/DCextensions/p2p_capabilities \
- Documentation/DCextensions/p2p_capabilities.nl \
- Documentation/DCextensions/search_by_content \
- Documentation/DCextensions/search_by_content.nl \
- Documentation/GDL.nl \
- Documentation/GDL Documentation/VAR \
- Documentation/LS_cache Documentation/UNODE.nl \
- Documentation/LS_cache.nl \
- Documentation/VAR.nl \
- Documentation/UNODE Documentation/Vshare \
- Documentation/Vshare.nl \
- Documentation/commands \
- Documentation/commands.nl \
- Documentation/programs.nl \
- Documentation/programs.pl \
- Documentation/output.nl \
- Documentation/output Documentation/programs
-
-.include <bsd.port.pre.mk>
-
-post-extract:
- @${CP} ${FILESDIR}/lp_mutex.c ${WRKSRC}/src
-
-post-patch:
-.for file in ${DOC_FILES}
- @${REINPLACE_CMD} -E -e 's|(hublist)|dc_\1|' ${WRKSRC}/${file}
-.endfor
- @${REINPLACE_CMD} -E -e \
- 's/(LOCK.*)\(inet_ntoa\)/\1(inet_lock_ntoa)/' \
- ${WRKSRC}/src/*
- @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 \
- ${REINPLACE_CMD} -E -e \
- 's|<(db.h>)|<db4/\1|'
- @${REINPLACE_CMD} -E -e 's|(db)-|\1|g;s|db4\.0|db4|g' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -E -e 's|/usr/bin/env perl|${PERL}|' \
- ${WRKSRC}/GDLjoiner
- @${REINPLACE_CMD} -E -e \
- 's|^(dctc_SOURCES.+)$$|\1 lp_mutex.c|; \
- s|^(dctc_OBJECTS[^\\]+)(\\*)$$|\1 lp_mutex.o \2|' \
- ${WRKSRC}/src/Makefile.in
-
-pre-build:
- @${ECHO_CMD} '#ifndef ENODATA' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '# define ENODATA ENOMSG' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '#endif' >> ${CONFIGURE_WRKSRC}/config.h
- @${ECHO_CMD} '#define HAVE_SYS_PARAM_H 1' >> ${CONFIGURE_WRKSRC}/config.h
-# disable GNU auto* tools
- @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \
- -n 10 ${REINPLACE_CMD} -E -e \
- 's! (autoconf|autoheader|automake|aclocal)$$! ${TRUE}!'
-
-do-install:
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for dir in ${DOC_DIRS}
- @${MKDIR} ${DOCSDIR}/${dir}
-.endfor
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
-.endfor
-.endif
- @${MKDIR} ${PREFIX}/share/${PORTNAME}
- @${INSTALL_SCRIPT} ${WRKSRC}/GDLjoiner \
- ${PREFIX}/share/${PORTNAME}
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
- @${INSTALL_PROGRAM} ${WRKSRC}/src/hublist ${PREFIX}/bin/dc_hublist
-.for file in ${DCTC_BINS}
- @${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin
-.endfor
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/dctc/distinfo b/net-p2p/dctc/distinfo
deleted file mode 100644
index 1dbc36ef41fc..000000000000
--- a/net-p2p/dctc/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dctc-0.84.1.tar.gz) = cf91677422a27318d6a5484132a97b96e408af13d895da818946cc9f4a932f20
-SIZE (dctc-0.84.1.tar.gz) = 373521
diff --git a/net-p2p/dctc/files/lp_mutex.c b/net-p2p/dctc/files/lp_mutex.c
deleted file mode 100644
index 036b004e23dc..000000000000
--- a/net-p2p/dctc/files/lp_mutex.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * Copyright (c) 2000, 2001, 2002
- * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $FreeBSD
- */
-
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#ifdef HAVE_SYS_PARAM_H
-# include <sys/param.h>
-#endif
-
-#include <stdlib.h>
-
-# include <pthread.h>
-
-/*
- * Use a mutex under BSD systems to avoid problems with semaphores
- * blocking all the threads since BSD have MIT pthreads user space
- * threads. If not BSD, use some stubs that do nothing. Since these
- * stubs are empty, most modern compilers will simply add a NOP at
- * the calling point.
- */
-# if (defined(BSD) && (BSD >= 199103))
-int
-lp_mutex_init_ (pthread_mutex_t ** mutex,
- const pthread_mutexattr_t *attr)
-{
- pthread_mutex_t * mutex_temp;
-
- if ( (mutex_temp = \
- (pthread_mutex_t *) malloc (sizeof(pthread_mutex_t))) ) {
-
- if ( (pthread_mutex_init(mutex_temp, attr)) == 0) {
-
- (*mutex) = mutex_temp;
- return (1);
- } else {
- return (0);
- }
- } else {
- /* Not enough memory */
- return (-1);
- }
-}
-
-int
-lp_mutex_lock_ (pthread_mutex_t * mutex)
-{
- if ( (pthread_mutex_lock(mutex)) == 0) {
- return (1);
- } else {
- return (0);
- }
-}
-
-int
-lp_mutex_unlock_ (pthread_mutex_t * mutex)
-{
- if ( (pthread_mutex_unlock(mutex)) == 0) {
- return (1);
- } else {
- return (0);
- }
-}
-
-int
-lp_mutex_destroy_ (pthread_mutex_t ** mutex)
-{
- if ( (pthread_mutex_destroy(*mutex)) == 0) {
- free (*mutex);
- return (1);
- } else {
- return (0);
- }
-}
-
-# else /* !(defined(BSD) && (BSD >= 199103)) */
-
-int
-lp_mutex_init_ (pthread_mutex_t ** mutex,
- const pthread_mutexattr_t *attr) {}
-
-int
-lp_mutex_lock_ (pthread_mutex_t * mutex) {}
-
-int
-lp_mutex_unlock_ (pthread_mutex_t * mutex) {}
-
-int
-lp_mutex_destroy_ (pthread_mutex_t ** mutex) {}
-
-# endif /* (defined(BSD) && (BSD >= 199103)) */
diff --git a/net-p2p/dctc/files/patch-src::dc_manage.c b/net-p2p/dctc/files/patch-src::dc_manage.c
deleted file mode 100644
index b9475fd2baf4..000000000000
--- a/net-p2p/dctc/files/patch-src::dc_manage.c
+++ /dev/null
@@ -1,77 +0,0 @@
---- src/dc_manage.c.orig Mon Jul 22 13:20:19 2002
-+++ src/dc_manage.c Mon Jul 22 18:18:40 2002
-@@ -554,18 +554,6 @@
-
- unconvert_path(fullpathname);
-
-- if(!file_in_db(fullpathname,&virtual)) /* is it a shared file ? */
-- {
-- GString *err_msg;
--
-- err_msg=g_string_new("$Error ");
-- g_string_sprintfa(err_msg,"%s no more exists",fullpathname);
-- disp_msg(DEBUG_MSG,"com_up_get_process","file not found",err_msg->str,NULL);
-- send_dc_line(sck,err_msg->str,NULL);
-- g_string_free(err_msg,TRUE);
-- return 1;
-- }
--
- if(hide_absolute==0)
- {
- if(((unsigned char)fullpathname[0])==255)
-@@ -580,6 +568,18 @@
- fullpathname[0]='/';
- }
-
-+ if(!file_in_db(fullpathname,&virtual)) /* is it a shared file ? */
-+ {
-+ GString *err_msg;
-+
-+ err_msg=g_string_new("$Error ");
-+ g_string_sprintfa(err_msg,"%s no more exists",fullpathname);
-+ disp_msg(DEBUG_MSG,"com_up_get_process","file not found",err_msg->str,NULL);
-+ send_dc_line(sck,err_msg->str,NULL);
-+ g_string_free(err_msg,TRUE);
-+ return 1;
-+ }
-+
- /* it is time to verify if a slot is available */
- LOCK_WRITE(user_info);
- if((dl_on==0)||(virtual!=0))
-@@ -743,18 +743,6 @@
-
- unconvert_path(fullpathname);
-
-- if(!file_in_db(fullpathname,&virtual)) /* is it a shared file ? */
-- {
-- GString *err_msg;
--
-- err_msg=g_string_new("$Error ");
-- g_string_sprintfa(err_msg,"%s no more exists",fullpathname);
-- disp_msg(DEBUG_MSG,"com_up_getfilelength_process","file not found",err_msg->str,NULL);
-- send_dc_line(sck,err_msg->str,NULL);
-- g_string_free(err_msg,TRUE);
-- return 1;
-- }
--
- if(hide_absolute==0)
- {
- if(((unsigned char)fullpathname[0])==255)
-@@ -769,6 +757,17 @@
- fullpathname[0]='/';
- }
-
-+ if(!file_in_db(fullpathname,&virtual)) /* is it a shared file ? */
-+ {
-+ GString *err_msg;
-+
-+ err_msg=g_string_new("$Error ");
-+ g_string_sprintfa(err_msg,"%s no more exists",fullpathname);
-+ disp_msg(DEBUG_MSG,"com_up_getfilelength_process","file not found",err_msg->str,NULL);
-+ send_dc_line(sck,err_msg->str,NULL);
-+ g_string_free(err_msg,TRUE);
-+ return 1;
-+ }
-
- if(send_file_length(sck,fullpathname,&file_len))
- {
diff --git a/net-p2p/dctc/files/patch-src::main.c b/net-p2p/dctc/files/patch-src::main.c
deleted file mode 100644
index 25a38d699d89..000000000000
--- a/net-p2p/dctc/files/patch-src::main.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/main.c.orig Sun Sep 29 14:07:48 2002
-+++ src/main.c Sun Sep 29 14:08:52 2002
-@@ -1269,6 +1269,7 @@
-
- char *virtual_share_path=NULL;
-
-+ hide_absolute=1;
- disp_msg(INFO_MSG,NULL,"Direct Connect Text Client v" VERSION ,NULL);
-
- if(argc==1)
diff --git a/net-p2p/dctc/files/patch-src::mydb.c b/net-p2p/dctc/files/patch-src::mydb.c
deleted file mode 100644
index ab57f7bb2f50..000000000000
--- a/net-p2p/dctc/files/patch-src::mydb.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- src/mydb.c.orig Mon Jul 22 13:48:07 2002
-+++ src/mydb.c Mon Jul 22 19:21:42 2002
-@@ -1141,6 +1141,16 @@
- int file_in_db(char *filename, int *virtual)
- {
- int i;
-+ char *filename_internal;
-+
-+ if ((filename != NULL) && (filename[0]=='/'))
-+ {
-+ if(hide_absolute==0)
-+ filename_internal=filename;
-+ else
-+ filename_internal=filename+1;
-+ } else
-+ filename_internal=filename;
-
- G_LOCK(shared_info);
- if(shared_info!=NULL)
-@@ -1151,7 +1161,7 @@
-
- /* DB_ENTRY to compare */
- de=&(g_array_index(shared_info,DB_ENTRY,i));
-- if(!strcmp(de->filename,filename))
-+ if(!strcmp(de->filename,filename_internal))
- {
- *virtual=de->virtual;
- G_UNLOCK(shared_info);
diff --git a/net-p2p/dctc/files/patch-src::sema.c b/net-p2p/dctc/files/patch-src::sema.c
deleted file mode 100644
index 60ae0eb570c5..000000000000
--- a/net-p2p/dctc/files/patch-src::sema.c
+++ /dev/null
@@ -1,158 +0,0 @@
---- src/sema.c.orig Sun Jul 21 21:13:59 2002
-+++ src/sema.c Mon Jul 22 19:30:15 2002
-@@ -22,6 +22,10 @@
- # include <config.h>
- #endif
-
-+#ifdef HAVE_SYS_PARAM_H
-+# include <sys/param.h>
-+#endif
-+
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
-@@ -57,6 +61,11 @@
- #include "uaddr.h"
- #include "status.h"
-
-+/* interval between busy wait tries measured in microseconds */
-+#define MUTEX_BUSY_WAIT_TIME 5000
-+
-+pthread_mutex_t *semaphore_mutex = PTHREAD_MUTEX_INITIALIZER;
-+
- /***********************************************************************/
- /* the following functions manage the bandwidth upload limit */
- /* The system is build on 2 semaphores and 1 file */
-@@ -100,6 +109,8 @@
-
- int semid;
-
-+ lp_mutex_init_(&semaphore_mutex, NULL);
-+
- fd=open(keyfile,O_CREAT|O_WRONLY|O_EXCL,0600); /* create the file if not exists */
- if(fd==-1)
- {
-@@ -131,7 +142,11 @@
- {
- close(fd);
- /* a key exist */
-+#if !(defined(BSD) && (BSD >= 199103))
- semid=semget(key,0,IPC_ALLOC);
-+#else
-+ semid=semget(key,0,IPC_STAT);
-+#endif
- if(semid==-1)
- goto create_new_sema;
- printf("current sema found.\n");
-@@ -293,8 +308,13 @@
- void check_sema_master(int semid)
- {
- struct sembuf sb={0,-1,IPC_NOWAIT|SEM_UNDO}; /* master sema */
-+ int result;
-+
-+ (void) lp_mutex_lock_(semaphore_mutex);
-+ result = semop(semid,&sb,1);
-+ (void) lp_mutex_unlock_(semaphore_mutex);
-
-- if(semop(semid,&sb,1)==0)
-+ if (result==0)
- {
- /* to get slice, the function checks if the clock thread still runs */
- create_sema_master(semid);
-@@ -308,15 +328,29 @@
- /*******************************************/
- void get_slice(int semid, SPD_SEMA semnum)
- {
-+#if !(defined(BSD) && (BSD >= 199103))
-+ struct sembuf local={0,-1,0}; /* slave sema */
-+#else
-+ struct sembuf local={0,-1,0|IPC_NOWAIT}; /* slave sema */
-+#endif
-+ local.sem_num=semnum;
-+
-+ (void) lp_mutex_lock_(semaphore_mutex);
- while(1)
- {
-- struct sembuf local={0,-1,0}; /* slave sema */
--
-- local.sem_num=semnum;
-- if(semop(semid,&local,1)==0)
-- {
-- /* we have what we want */
-- return;
-+ switch (semop(semid,&local,1)) {
-+ case 0: (void) lp_mutex_unlock_(semaphore_mutex);
-+ /* we have what we want */
-+ return;
-+ break;
-+ case -1: switch(errno) {
-+ case EAGAIN: /* triggers busy wait */
-+ case EINTR: /* interrupted by system call, try again */
-+ pthread_yield();
-+ usleep(MUTEX_BUSY_WAIT_TIME); /* busy wait with a small time out */
-+ continue;
-+ break;
-+ }
- }
- }
- }
-@@ -368,9 +402,26 @@
- /******************************/
- void lock_ul_slot_controler(int semid)
- {
-+#if !(defined(BSD) && (BSD >= 199103))
- struct sembuf get_ul_ctrl={UL_SLOT_SEMA,-1,SEM_UNDO};
-+#else
-+ struct sembuf get_ul_ctrl={UL_SLOT_SEMA,-1,SEM_UNDO|IPC_NOWAIT};
-+#endif
-+
-+ (void) lp_mutex_lock_(semaphore_mutex);
-+repeat:
- /* lock the UL slot controler */
-- semop(semid,&get_ul_ctrl,1);
-+ if (semop(semid,&get_ul_ctrl,1)==-1)
-+ switch(errno)
-+ {
-+ case EAGAIN: /* triggers busy wait */
-+ case EINTR: /* interrupted by system call, try again */
-+ pthread_yield();
-+ usleep(MUTEX_BUSY_WAIT_TIME); /* busy wait with a small time out */
-+ goto repeat;
-+ break;
-+ }
-+ (void) lp_mutex_unlock_(semaphore_mutex);
- }
-
- /*********************************/
-@@ -526,11 +577,28 @@
- perror("free_one_ul_slot");
- }
- #else
-+# if !(defined(BSD) && (BSD >= 199103))
- struct sembuf free_one_ul_slot_op={UL_SLOT_BUSY_SEMA,-1,SEM_UNDO};
-- if(semop(semid,&free_one_ul_slot_op,1)==-1)
-- {
-- perror("free_one_ul_slot");
-+# else
-+ struct sembuf free_one_ul_slot_op={UL_SLOT_BUSY_SEMA,-1,SEM_UNDO|IPC_NOWAIT};
-+# endif
-+
-+ (void) lp_mutex_lock_(semaphore_mutex);
-+repeat:
-+ if(semop(semid,&free_one_ul_slot_op,1)==-1) {
-+ switch(errno) {
-+ case EAGAIN: /* triggers busy wait */
-+ case EINTR: /* interrupted by system call, try again */
-+ pthread_yield();
-+ usleep(MUTEX_BUSY_WAIT_TIME); /* busy wait with a small time out */
-+ goto repeat;
-+ break;
-+ default:
-+ perror("free_one_ul_slot");
-+ break;
-+ }
- }
-+ (void) lp_mutex_unlock_(semaphore_mutex);
- #endif
- nb_local_ul--;
- }
diff --git a/net-p2p/dctc/pkg-descr b/net-p2p/dctc/pkg-descr
deleted file mode 100644
index 26e33d1471d6..000000000000
--- a/net-p2p/dctc/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-[ from developer's site]
-
-I. What is DCTC
-DCTC is a Direct Connect clone, a windoz client allowing users to
-share their files and talk (like IRC but more software sharing
-oriented) using a proprietary protocol.
-
-DCTC stands for Direct Connect Text Client.
-
-II. What is not DCTC
-DCTC is written from scratch without any help from neo-modus using
-our experience of hotline protocol.
-
-DCTC is not designed to be used by human. It doesn't contains any
-GUI or CLI. The goal of this project is to build a Direct Connect
-client which can be used by other programs. So even if you can enter
-command using the keyboard, don't say the human interface is poor.
-
-WWW: http://ac2i.homelinux.com/dctc/
diff --git a/net-p2p/dctc/pkg-plist b/net-p2p/dctc/pkg-plist
deleted file mode 100644
index a363e52a504f..000000000000
--- a/net-p2p/dctc/pkg-plist
+++ /dev/null
@@ -1,37 +0,0 @@
-bin/dc_hublist
-bin/dctc
-bin/dctc_cmd
-share/dctc/GDLjoiner
-%%PORTDOCS%%share/doc/dctc/COPYING
-%%PORTDOCS%%share/doc/dctc/ChangeLog
-%%PORTDOCS%%share/doc/dctc/Documentation/BerkeleyDB
-%%PORTDOCS%%share/doc/dctc/Documentation/BerkeleyDB.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/DCextensions/p2p_capabilities
-%%PORTDOCS%%share/doc/dctc/Documentation/DCextensions/p2p_capabilities.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/DCextensions/search_by_content
-%%PORTDOCS%%share/doc/dctc/Documentation/DCextensions/search_by_content.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/GDL
-%%PORTDOCS%%share/doc/dctc/Documentation/GDL.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/LS_cache
-%%PORTDOCS%%share/doc/dctc/Documentation/LS_cache.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/UNODE
-%%PORTDOCS%%share/doc/dctc/Documentation/UNODE.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/VAR
-%%PORTDOCS%%share/doc/dctc/Documentation/VAR.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/Vshare
-%%PORTDOCS%%share/doc/dctc/Documentation/Vshare.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/commands
-%%PORTDOCS%%share/doc/dctc/Documentation/commands.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/output
-%%PORTDOCS%%share/doc/dctc/Documentation/output.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/programs
-%%PORTDOCS%%share/doc/dctc/Documentation/programs.nl
-%%PORTDOCS%%share/doc/dctc/Documentation/programs.pl
-%%PORTDOCS%%share/doc/dctc/INSTALL
-%%PORTDOCS%%share/doc/dctc/KNOWN_BUGS
-%%PORTDOCS%%share/doc/dctc/README
-%%PORTDOCS%%share/doc/dctc/TODO
-%%PORTDOCS%%@dirrm share/doc/dctc/Documentation/DCextensions
-%%PORTDOCS%%@dirrm share/doc/dctc/Documentation
-%%PORTDOCS%%@dirrm share/doc/dctc
-@dirrm share/dctc
diff --git a/net-p2p/qbittorrent-28-nox11/Makefile b/net-p2p/qbittorrent-28-nox11/Makefile
deleted file mode 100644
index 1549697ba550..000000000000
--- a/net-p2p/qbittorrent-28-nox11/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# New ports collection makefile for: qbittorrent-nox11-28
-# Date created: 5 June 2011
-# Whom: Doug Barton <dougb@FreeBSD.org>
-#
-# $FreeBSD$
-
-PKGNAMESUFFIX= -nox11
-
-COMMENT= Bittorrent client using libtorrent-rasterbar, web UI version
-
-MASTERDIR= ${.CURDIR}/../qbittorrent-28
-
-DESCR= ${.CURDIR}/pkg-descr
-PLIST= ${.CURDIR}/pkg-plist
-
-MAN1= qbittorrent-nox.1
-
-QB28_NOX_SLAVE= true
-
-.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/qbittorrent-28-nox11/pkg-descr b/net-p2p/qbittorrent-28-nox11/pkg-descr
deleted file mode 100644
index d7ca6bba0c7c..000000000000
--- a/net-p2p/qbittorrent-28-nox11/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-qBittorrent v2 is the closest open source (GNU GPL v2 license) equivalent
-to utorrent. It is based on libtorrent-rasterbar.
-
-Features:
-
- Remote control through a Web user interface
- * Nearly identical to the regular UI, all in Ajax
-
- Well-integrated and extensible Search Engine
- Simultaneous search in most famous BitTorrent search sites
- Per-category-specific search requests (e.g. Books, Music, Movies)
- All Bittorrent extensions
- * DHT, Peer Exchange, Full encryption, Magnet URI
- Advanced control over trackers, peers and torrents
- * Torrents queueing and prioritizing
- * Torrent content selection and prioritizing
- UPnP / NAT-PMP port forwarding support
- Available in ~25 languages (Unicode support)
- utorrent spoofing to bypass private trackers whitelisting
- Advanced RSS support with download filters (inc. regex)
- IP Filtering (eMule and PeerGuardian compatible)
-
-WWW: http://www.qbittorrent.org/
diff --git a/net-p2p/qbittorrent-28-nox11/pkg-plist b/net-p2p/qbittorrent-28-nox11/pkg-plist
deleted file mode 100644
index 1cbfbce436ab..000000000000
--- a/net-p2p/qbittorrent-28-nox11/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/qbittorrent-nox
diff --git a/net-p2p/qbittorrent-28/Makefile b/net-p2p/qbittorrent-28/Makefile
deleted file mode 100644
index 9c705decd46a..000000000000
--- a/net-p2p/qbittorrent-28/Makefile
+++ /dev/null
@@ -1,65 +0,0 @@
-# New ports collection makefile for: qbittorrent-28
-# Date created: 5 June 2011
-# Whom: Doug Barton <dougb@FreeBSD.org>
-#
-# $FreeBSD$
-
-PORTNAME= qbittorrent
-PORTVERSION= 2.8.5
-PORTREVISION?= 0
-CATEGORIES= net-p2p ipv6
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
-
-MAINTAINER= dougb@FreeBSD.org
-COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar
-
-NO_LATEST_LINK= yes
-
-DEPRECATED= Please migrate to net-p2p/qbittorrent-29
-EXPIRATION_DATE= 2011-10-31
-
-LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
- torrent-rasterbar.6:${PORTSDIR}/net-p2p/libtorrent-rasterbar-15
-
-MAKE_JOBS_SAFE= yes
-
-CONFLICTS= qbittorrent-2.[2345679].*
-
-USE_QT_VER= 4
-QT_COMPONENTS= corelib network qmake_build moc_build rcc_build
-
-.if !defined(QB28_NOX_SLAVE)
-.if defined(WITHOUT_X11)
-BROKEN= Use net-p2p/${PORTNAME}-nox11 for the non-GUI version
-.endif
-LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
-OPTIONS= DBUS "Enable dbus support" off
-QT_COMPONENTS+= gui xml uic_build
-INSTALLS_ICONS= yes
-.else
-CONFIGURE_ARGS+= --disable-gui
-.endif
-
-QT_NONSTANDARD= yes
-HAS_CONFIGURE= yes
-
-MAN1?= qbittorrent.1
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_DBUS)
-QT_COMPONENTS+= dbus
-.else
-CONFIGURE_ARGS+= --disable-qt-dbus
-.endif
-
-post-install:
-.if !defined(QB28_NOX_SLAVE)
- @${STRIP_CMD} ${PREFIX}/bin/qbittorrent
- @${CAT} ${PKGMESSAGE}
-.else
- @${STRIP_CMD} ${PREFIX}/bin/qbittorrent-nox
- ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 ${MANPREFIX}/man/man1
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/qbittorrent-28/distinfo b/net-p2p/qbittorrent-28/distinfo
deleted file mode 100644
index 641b447887a1..000000000000
--- a/net-p2p/qbittorrent-28/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (qbittorrent-2.8.5.tar.gz) = 9b09ddafff7a372fd4aacf7f323f4892d16db23ef51867660e7a2a2dfcc6028c
-SIZE (qbittorrent-2.8.5.tar.gz) = 3341573
diff --git a/net-p2p/qbittorrent-28/pkg-descr b/net-p2p/qbittorrent-28/pkg-descr
deleted file mode 100644
index 6c8a36048adb..000000000000
--- a/net-p2p/qbittorrent-28/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-qBittorrent v2 is the closest open source (GNU GPL v2 license) equivalent
-to utorrent. It is based on the Qt4 toolkit and libtorrent-rasterbar.
-
-Features:
-
- Well-integrated and extensible Search Engine
- Simultaneous search in most famous BitTorrent search sites
- Per-category-specific search requests (e.g. Books, Music, Movies)
- All Bittorrent extensions
- * DHT, Peer Exchange, Full encryption, Magnet URI
- Remote control through a Web user interface
- * Nearly identical to the regular UI, all in Ajax
- Advanced control over trackers, peers and torrents
- * Torrents queueing and prioritizing
- * Torrent content selection and prioritizing
- UPnP / NAT-PMP port forwarding support
- Available in ~25 languages (Unicode support)
- uTorrent spoofing to bypass private trackers whitelisting
- Advanced RSS support with download filters (inc. regex)
- IP Filtering (eMule and PeerGuardian compatible)
-
-WWW: http://www.qbittorrent.org/
diff --git a/net-p2p/qbittorrent-28/pkg-message b/net-p2p/qbittorrent-28/pkg-message
deleted file mode 100644
index 157ed5b528c6..000000000000
--- a/net-p2p/qbittorrent-28/pkg-message
+++ /dev/null
@@ -1,5 +0,0 @@
-
-****************************************************************************
-* To change the appearance of the interface use misc/qt4-qtconfig *
-****************************************************************************
-
diff --git a/net-p2p/qbittorrent-28/pkg-plist b/net-p2p/qbittorrent-28/pkg-plist
deleted file mode 100644
index dcd1b5c55a5f..000000000000
--- a/net-p2p/qbittorrent-28/pkg-plist
+++ /dev/null
@@ -1,39 +0,0 @@
-bin/qbittorrent
-share/applications/qBittorrent.desktop
-share/icons/hicolor/128x128/apps/qbittorrent.png
-share/icons/hicolor/16x16/apps/qbittorrent.png
-share/icons/hicolor/192x192/apps/qbittorrent.png
-share/icons/hicolor/22x22/apps/qbittorrent.png
-share/icons/hicolor/24x24/apps/qbittorrent.png
-share/icons/hicolor/32x32/apps/qbittorrent.png
-share/icons/hicolor/36x36/apps/qbittorrent.png
-share/icons/hicolor/48x48/apps/qbittorrent.png
-share/icons/hicolor/64x64/apps/qbittorrent.png
-share/icons/hicolor/72x72/apps/qbittorrent.png
-share/icons/hicolor/96x96/apps/qbittorrent.png
-share/pixmaps/qbittorrent.png
-@dirrmtry share/icons/hicolor/96x96/apps
-@dirrmtry share/icons/hicolor/96x96
-@dirrmtry share/icons/hicolor/72x72/apps
-@dirrmtry share/icons/hicolor/72x72
-@dirrmtry share/icons/hicolor/64x64/apps
-@dirrmtry share/icons/hicolor/64x64
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/36x36/apps
-@dirrmtry share/icons/hicolor/36x36
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/24x24/apps
-@dirrmtry share/icons/hicolor/24x24
-@dirrmtry share/icons/hicolor/22x22/apps
-@dirrmtry share/icons/hicolor/22x22
-@dirrmtry share/icons/hicolor/192x192/apps
-@dirrmtry share/icons/hicolor/192x192
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor/128x128/apps
-@dirrmtry share/icons/hicolor/128x128
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
-@dirrmtry share/applications