diff options
author | wiz <wiz> | 2002-07-14 20:27:57 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-07-14 20:27:57 +0000 |
commit | 817b39a3e75b8ce732b735752eea97e9f3e0ae2f (patch) | |
tree | 13cfc8894832cb613442a0922c4c580965abdb88 /net | |
parent | 5fb27e9fc5b781e97c85f0a070c1b5c71b7820b5 (diff) | |
download | pkgsrc-817b39a3e75b8ce732b735752eea97e9f3e0ae2f.tar.gz |
Remove gnut. It has a vulnerability, there's no newer version available,
and it has an open PR against it (13619).
There are enough other gnutella clients out there...
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/gnut/DESCR | 2 | ||||
-rw-r--r-- | net/gnut/Makefile | 41 | ||||
-rw-r--r-- | net/gnut/PLIST | 12 | ||||
-rw-r--r-- | net/gnut/distinfo | 8 | ||||
-rw-r--r-- | net/gnut/patches/patch-aa | 52 | ||||
-rw-r--r-- | net/gnut/patches/patch-ab | 20 | ||||
-rw-r--r-- | net/gnut/patches/patch-ac | 22 | ||||
-rw-r--r-- | net/gnut/patches/patch-ad | 84 |
9 files changed, 1 insertions, 243 deletions
diff --git a/net/Makefile b/net/Makefile index 3c2373fb1e6..5c12932be7d 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.317 2002/07/12 16:56:34 agc Exp $ +# $NetBSD: Makefile,v 1.318 2002/07/14 20:27:57 wiz Exp $ # COMMENT= Networking tools @@ -71,7 +71,6 @@ SUBDIR+= gnapfetch SUBDIR+= gnapster SUBDIR+= gnet SUBDIR+= gnubile -SUBDIR+= gnut SUBDIR+= gopher SUBDIR+= gtk-gnutella SUBDIR+= gtk_wicontrol diff --git a/net/gnut/DESCR b/net/gnut/DESCR deleted file mode 100644 index 91792087773..00000000000 --- a/net/gnut/DESCR +++ /dev/null @@ -1,2 +0,0 @@ -Gnut is a text-based tool for general peer-to-peer file-sharing -using the Gnutella protocol. diff --git a/net/gnut/Makefile b/net/gnut/Makefile deleted file mode 100644 index 732caade37e..00000000000 --- a/net/gnut/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# $NetBSD: Makefile,v 1.15 2002/03/11 09:00:25 skrll Exp $ -# - -DISTNAME= gnut-0.4.20 -CATEGORIES= net -MASTER_SITES= http://www.gnutelladev.com/source/gnut/ - -MAINTAINER= deberg@netbsd.org -HOMEPAGE= http://www.gnutelliums.com/linux_unix/gnut/ -COMMENT= Text-mode Gnutella client - -DEPENDS+= unproven-pthreads-0.*:../../devel/unproven-pthreads -CONFIGURE_ENV+= CC=${LOCALBASE}/pthreads/bin/pgcc \ - CXX=${LOCALBASE}/pthreads/bin/pg++ - -GNU_CONFIGURE= yes - -GNUTDOCDIR= ${PREFIX}/share/doc/gnut - -# Find <pthread.h> -.if make(do-configure) -LDFLAGS= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib -.endif - -GNUTDOCS= TUTORIAL \ - gnut-1.html \ - gnut-2.html \ - gnut-3.html \ - gnut-4.html \ - gnut-5.html \ - gnut-6.html \ - gnut.html - -post-install: - ${INSTALL_DATA_DIR} ${GNUTDOCDIR} - for i in ${GNUTDOCS}; do \ - ${INSTALL_DATA} ${WRKSRC}/doc/$$i ${GNUTDOCDIR}; \ - done - ${INSTALL_DATA} ${WRKSRC}/gnutrc.sample ${GNUTDOCDIR} - -.include "../../mk/bsd.pkg.mk" diff --git a/net/gnut/PLIST b/net/gnut/PLIST deleted file mode 100644 index 61a2af53781..00000000000 --- a/net/gnut/PLIST +++ /dev/null @@ -1,12 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:32 zuntum Exp $ -bin/gnut -share/doc/gnut/TUTORIAL -share/doc/gnut/gnut-1.html -share/doc/gnut/gnut-2.html -share/doc/gnut/gnut-3.html -share/doc/gnut/gnut-4.html -share/doc/gnut/gnut-5.html -share/doc/gnut/gnut-6.html -share/doc/gnut/gnut.html -share/doc/gnut/gnutrc.sample -@dirrm share/doc/gnut diff --git a/net/gnut/distinfo b/net/gnut/distinfo deleted file mode 100644 index aed65c407b6..00000000000 --- a/net/gnut/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 11:23:16 wiz Exp $ - -SHA1 (gnut-0.4.20.tar.gz) = 54999c65a1b0fb90cb149270c69cdeb530d00c98 -Size (gnut-0.4.20.tar.gz) = 261835 bytes -SHA1 (patch-aa) = c1af961ec356566a9b8f2006bb58657dd237fd16 -SHA1 (patch-ab) = 0343588f4c79da5fbbc6aa81cd648534a5ab82e7 -SHA1 (patch-ac) = 4cb5588c2b9a43f9f6e184126118a91ec93b9908 -SHA1 (patch-ad) = 10c576a203106c428cdabb09ae2ca9fb86c7df62 diff --git a/net/gnut/patches/patch-aa b/net/gnut/patches/patch-aa deleted file mode 100644 index 7d70ac8d72f..00000000000 --- a/net/gnut/patches/patch-aa +++ /dev/null @@ -1,52 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2000/07/16 18:17:31 kim Exp $ - ---- configure.in.orig Fri May 5 16:14:49 2000 -+++ configure.in Sun Jul 16 12:09:57 2000 -@@ -49,13 +49,13 @@ - - dnl Checks for libraries. - --AC_CACHE_CHECK([for readline in readline.h], -+AC_CACHE_CHECK([for readline in readline.h with libedit], - [g_cv_readline],[ - save_LIBS="$LIBS" -- LIBS="-lreadline $LIBS" -+ LIBS="-ledit -ltermcap $LIBS" - AC_TRY_LINK([ - #include <stdio.h> -- #include <readline/readline.h> -+ #include <readline.h> - ], - [readline(NULL);], - [g_cv_readline=yes],[g_cv_readline=no]) -@@ -63,8 +63,29 @@ - ]) - - if test $g_cv_readline = yes ; then -- LIBS="$LIBS -lreadline" -+ LIBS="$LIBS -ledit -ltermcap" - AC_DEFINE(HAVE_READLINE) -+ AC_DEFINE(HAVE_LIBEDIT) -+fi -+ -+if test $g_cv_readline = no ; then -+ AC_CACHE_CHECK([for readline in readline.h], -+ [g_cv_readline],[ -+ save_LIBS="$LIBS" -+ LIBS="-lreadline $LIBS" -+ AC_TRY_LINK([ -+ #include <stdio.h> -+ #include <readline/readline.h> -+ ], -+ [readline(NULL);], -+ [g_cv_readline=yes],[g_cv_readline=no]) -+ LIBS="$save_LIBS" -+ ]) -+ -+ if test $g_cv_readline = yes ; then -+ LIBS="$LIBS -lreadline" -+ AC_DEFINE(HAVE_READLINE) -+ fi - fi - - if test $g_cv_readline = no ; then diff --git a/net/gnut/patches/patch-ab b/net/gnut/patches/patch-ab deleted file mode 100644 index 058a6b75566..00000000000 --- a/net/gnut/patches/patch-ab +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2001/02/24 23:48:58 christos Exp $ - ---- src/cli_input.c.orig Wed Jan 31 14:37:00 2001 -+++ src/cli_input.c Sat Feb 24 18:32:11 2001 -@@ -18,8 +18,13 @@ - #include <pthread.h> - - #ifdef HAVE_READLINE --# include <readline/readline.h> --# include <readline/history.h> -+# ifdef HAVE_LIBEDIT -+# include <readline.h> -+# include <history.h> -+# else -+# include <readline/readline.h> -+# include <readline/history.h> -+# endif - #endif - - #ifdef HAVE_REGEX_H diff --git a/net/gnut/patches/patch-ac b/net/gnut/patches/patch-ac deleted file mode 100644 index 6f85d80aa47..00000000000 --- a/net/gnut/patches/patch-ac +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2000/07/16 18:17:31 kim Exp $ - ---- src/cli_readline.c.orig Fri Apr 28 00:31:24 2000 -+++ src/cli_readline.c Sun Jul 16 12:19:12 2000 -@@ -6,8 +6,15 @@ - - #include <stdio.h> - #include <stdlib.h> --#include <readline/readline.h> --#include <readline/history.h> -+#include <string.h> -+ -+#ifdef HAVE_LIBEDIT -+# include <readline.h> -+# include <history.h> -+#else -+# include <readline/readline.h> -+# include <readline/history.h> -+#endif - - #include "gnut_lib.h" - #include "cli_input.h" diff --git a/net/gnut/patches/patch-ad b/net/gnut/patches/patch-ad deleted file mode 100644 index 4d226d702d1..00000000000 --- a/net/gnut/patches/patch-ad +++ /dev/null @@ -1,84 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2001/02/24 23:48:58 christos Exp $ - ---- configure.orig Wed Feb 7 14:33:52 2001 -+++ configure Sat Feb 24 18:36:14 2001 -@@ -1282,14 +1282,14 @@ - fi - - --echo $ac_n "checking for readline in readline.h""... $ac_c" 1>&6 --echo "configure:1287: checking for readline in readline.h" >&5 -+echo $ac_n "checking for readline in readline.h with libedit""... $ac_c" 1>&6 -+echo "configure:1287: checking for readline in readline.h with libedit" >&5 - if eval "test \"\${g_cv_readline+set}\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - - save_LIBS="$LIBS" -- LIBS="-lreadline $LIBS" -+ LIBS="-ledit $LIBS" - cat > conftest.$ac_ext <<EOF - #line 1295 "configure" - #include "confdefs.h" -@@ -1318,10 +1318,60 @@ - echo "$ac_t""$g_cv_readline" 1>&6 - - if test $g_cv_readline = yes ; then -- LIBS="$LIBS -lreadline" -+ LIBS="$LIBS -ledit -ltermcap" - cat >> confdefs.h <<\EOF - #define HAVE_READLINE 1 - EOF -+ -+ cat >> confdefs.h <<\EOF -+#define HAVE_LIBEDIT 1 -+EOF -+ -+fi -+ -+if test $g_cv_readline = no ; then -+ echo $ac_n "checking for readline in readline.h""... $ac_c" 1>&6 -+echo "configure:1261: checking for readline in readline.h" >&5 -+if eval "test \"`echo '$''{'g_cv_readline'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ -+ save_LIBS="$LIBS" -+ LIBS="-lreadline $LIBS" -+ cat > conftest.$ac_ext <<EOF -+#line 1269 "configure" -+#include "confdefs.h" -+ -+ #include <stdio.h> -+ #include <readline/readline.h> -+ -+int main() { -+readline(NULL); -+; return 0; } -+EOF -+if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then -+ rm -rf conftest* -+ g_cv_readline=yes -+else -+ echo "configure: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ rm -rf conftest* -+ g_cv_readline=no -+fi -+rm -f conftest* -+ LIBS="$save_LIBS" -+ -+fi -+ -+echo "$ac_t""$g_cv_readline" 1>&6 -+ -+ if test $g_cv_readline = yes ; then -+ LIBS="$LIBS -lreadline" -+ cat >> confdefs.h <<\EOF -+#define HAVE_READLINE 1 -+EOF -+ -+ fi - - fi - |