diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-10 05:35:54 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-10 05:35:54 +0000 |
commit | 2a3e7707f1ea539e15d27cd83dd96b647675f665 (patch) | |
tree | b1a2c0c6028cfae28089c7c58d6e04f774aef498 | |
parent | 1ed2bab11fa4ba6ef4156c31e5c5af832bbd00e0 (diff) | |
download | FreeBSD-ports-2a3e7707f1ea539e15d27cd83dd96b647675f665.zip FreeBSD-ports-2a3e7707f1ea539e15d27cd83dd96b647675f665.tar.gz |
New port: yaph 0.91
New port, yaph (yet another proxy scanner), 0.91
Yaph provides the ability to reveal public proxy servers.
PR: ports/53319
Submitted by: Patrick MARIE <mycroft@virgaria.org>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/yaph/Makefile | 31 | ||||
-rw-r--r-- | net/yaph/distinfo | 1 | ||||
-rw-r--r-- | net/yaph/files/patch-::config.h.in | 9 | ||||
-rw-r--r-- | net/yaph/files/patch-::configure | 22 | ||||
-rw-r--r-- | net/yaph/files/patch-yaph::includes.h | 10 | ||||
-rw-r--r-- | net/yaph/files/patch-yaph::init.c | 11 | ||||
-rw-r--r-- | net/yaph/pkg-descr | 4 | ||||
-rw-r--r-- | net/yaph/pkg-plist | 2 |
9 files changed, 91 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 971d914..aa902a8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -724,6 +724,7 @@ SUBDIR += xsmbrowser SUBDIR += xtraceroute SUBDIR += xwhois + SUBDIR += yaph SUBDIR += yaz SUBDIR += yaz++ SUBDIR += ymessenger diff --git a/net/yaph/Makefile b/net/yaph/Makefile new file mode 100644 index 0000000..973419a --- /dev/null +++ b/net/yaph/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: yaph +# Date created: 14 jui 2003 +# Whom: Patrick MARIE <mycroft@virgaria.org> +# $FreeBSD$ + +PORTNAME= yaph +PORTVERSION= 0.91 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= mycroft@virgaria.org +COMMENT= Yaph is a proxy scanner + +LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt + +USE_GETOPT_LONG=yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +USE_REINPLACE= yes + +post-extract: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/yaph/Makefile.in + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/yaph/yaph ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/yaph/yaph.conf ${PREFIX}/etc + +.include <bsd.port.mk> diff --git a/net/yaph/distinfo b/net/yaph/distinfo new file mode 100644 index 0000000..1487087 --- /dev/null +++ b/net/yaph/distinfo @@ -0,0 +1 @@ +MD5 (yaph-0.91.tar.gz) = f09edd5ba42c671f2d62760bf58604ec diff --git a/net/yaph/files/patch-::config.h.in b/net/yaph/files/patch-::config.h.in new file mode 100644 index 0000000..33ccc45 --- /dev/null +++ b/net/yaph/files/patch-::config.h.in @@ -0,0 +1,9 @@ +--- config.h.in.old Sat Jun 14 15:05:50 2003 ++++ config.h.in Sat Jun 14 15:06:04 2003 +@@ -9,3 +9,6 @@ + /* C++ compiler supports template repository */ + #undef HAVE_TEMPLATE_REPOSITORY + ++/* PREFIX needed in init.c */ ++#undef PREFIX ++ diff --git a/net/yaph/files/patch-::configure b/net/yaph/files/patch-::configure new file mode 100644 index 0000000..6a1e882 --- /dev/null +++ b/net/yaph/files/patch-::configure @@ -0,0 +1,22 @@ +--- configure.old Sun Feb 9 06:37:18 2003 ++++ configure Sat Jun 14 15:03:07 2003 +@@ -854,6 +854,8 @@ + + VERSION=0.91 + ++PREFIX=$prefix ++ + if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then + { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } + fi +@@ -863,6 +865,10 @@ + + cat >> confdefs.h <<EOF + #define VERSION "$VERSION" ++EOF ++ ++cat >> confdefs.h <<EOF ++#define PREFIX "$PREFIX" + EOF + + diff --git a/net/yaph/files/patch-yaph::includes.h b/net/yaph/files/patch-yaph::includes.h new file mode 100644 index 0000000..e3bfc1d --- /dev/null +++ b/net/yaph/files/patch-yaph::includes.h @@ -0,0 +1,10 @@ +--- yaph/includes.h.orig Sat Jun 14 14:18:47 2003 ++++ yaph/includes.h Sat Jun 14 14:18:58 2003 +@@ -23,6 +23,7 @@ + #include <sys/stat.h> + #include <string.h> + #include <errno.h> ++#include <netinet/in.h> + #include <arpa/inet.h> + #include <pthread.h> + #include <signal.h> diff --git a/net/yaph/files/patch-yaph::init.c b/net/yaph/files/patch-yaph::init.c new file mode 100644 index 0000000..2350059 --- /dev/null +++ b/net/yaph/files/patch-yaph::init.c @@ -0,0 +1,11 @@ +--- yaph/init.c.orig Sat Jun 14 14:52:31 2003 ++++ yaph/init.c Sat Jun 14 14:52:41 2003 +@@ -127,7 +127,7 @@ + FILE *cnf=NULL; + char buff[1024]; + if(!(cnf=fopen("./yaph.conf","rb"))) +- if(!(cnf=fopen("/etc/yaph.conf","rb"))) ++ if(!(cnf=fopen(PREFIX "/etc/yaph.conf","rb"))) + goto no_file; + while(fgets(buff,sizeof(buff),cnf)) + { diff --git a/net/yaph/pkg-descr b/net/yaph/pkg-descr new file mode 100644 index 0000000..8bec881 --- /dev/null +++ b/net/yaph/pkg-descr @@ -0,0 +1,4 @@ +YAPH - Yet Another Proxy Hunter +Yaph provides the ability to reveal public proxy servers. + +WWW: http://proxylabs.netwu.com/yaph/index.html diff --git a/net/yaph/pkg-plist b/net/yaph/pkg-plist new file mode 100644 index 0000000..d48482e --- /dev/null +++ b/net/yaph/pkg-plist @@ -0,0 +1,2 @@ +bin/yaph +etc/yaph.conf |