summaryrefslogtreecommitdiff
path: root/net-p2p/dctc-gui
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
commit1cf501d6f87b43d3b20cdc1df1942dccff3796bd (patch)
tree888348323662d1fceb365259a7bc1b95e8e8d3f1 /net-p2p/dctc-gui
parent. s:NO_CDROM:RESTRICTED: as neither the distfiles nor the packages should (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_9_0'.release/4.9.0
Notes
Notes: svn path=/head/; revision=90063 svn path=/tags/RELEASE_4_9_0/; revision=90064; tag=release/4.9.0
Diffstat (limited to 'net-p2p/dctc-gui')
-rw-r--r--net-p2p/dctc-gui/Makefile92
-rw-r--r--net-p2p/dctc-gui/distinfo1
-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
8 files changed, 0 insertions, 265 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
deleted file mode 100644
index 2c425ef640af..000000000000
--- a/net-p2p/dctc-gui/Makefile
+++ /dev/null
@@ -1,92 +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= 1
-CATEGORIES= net gnome
-MASTER_SITES= http://unixpages.org/distfiles/ \
- http://ac2i.tzo.com/dctc/
-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/dctc
-LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 \
- intl.5:${PORTSDIR}/devel/gettext
-
-USE_X_PREFIX= yes
-USE_GNOME= gnomehack gnomelibs gnomeprefix
-USE_XLIB= yes
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-CONFIGURE_ARGS= --with-gnome=${X11BASE} \
- --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 85526552f17d..000000000000
--- a/net-p2p/dctc-gui/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (dc_gui-0.66.tar.gz) = f47aa43a6840e078bc32717d63731b52
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 599aca4cb3d6..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.tzo.com/dctc/
diff --git a/net-p2p/dctc-gui/pkg-plist b/net-p2p/dctc-gui/pkg-plist
deleted file mode 100644
index 455c8cb1185d..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/gnome/pixmaps/dc_gui/icon_folder_add.xpm
-share/gnome/pixmaps/dc_gui/icon_folder_del.xpm
-share/gnome/pixmaps/dc_gui/icon_kill.xpm
-share/gnome/pixmaps/dc_gui/icon_refresh.xpm
-share/gnome/pixmaps/dc_gui/icon_remove_all.xpm
-share/gnome/pixmaps/dc_gui/icon_remove_selected.xpm
-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
-@unexec %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
-@unexec %D/share/locale/sv 2>/dev/null || true
-@unexec %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
-@unexec %D/share/locale/nl 2>/dev/null || true
-@unexec %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
-@unexec %D/share/locale/fr 2>/dev/null || true
-@unexec %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
-@unexec %D/share/locale/de 2>/dev/null || true
-@dirrm share/gnome/pixmaps/dc_gui
-@unexec rmdir %D/share/gnome/help/dc_gui/nl/images 2>/dev/null || true
-@dirrm share/gnome/help/dc_gui/nl
-@unexec rmdir %D/share/gnome/help/dc_gui/es/images 2>/dev/null || true
-@dirrm share/gnome/help/dc_gui/es
-@unexec rmdir %D/share/gnome/help/dc_gui/C/images 2>/dev/null || true
-@dirrm share/gnome/help/dc_gui/C
-@dirrm share/gnome/help/dc_gui
-%%PORTDOCS%%@dirrm share/doc/dctc-gui