From mycroft@virgaria.org  Sat Jun 14 07:00:12 2003
Return-Path: <mycroft@virgaria.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3843B37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Jun 2003 07:00:12 -0700 (PDT)
Received: from kraid.nerim.net (smtp-106-saturday.nerim.net [62.4.16.106])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3EFAB43FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Jun 2003 07:00:11 -0700 (PDT)
	(envelope-from mycroft@virgaria.org)
Received: from moscow.plug-it.com (moscow.plug-it.com [62.212.108.163])
	by kraid.nerim.net (Postfix) with ESMTP id 6194F40FB9
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Jun 2003 16:00:09 +0200 (CEST)
Received: from saturnine.virgaria.org (dyn-212-83-191-105.ppp.tiscali.fr [212.83.191.105])
	by moscow.plug-it.com (8.12.6/8.12.6) with ESMTP id h5EE04af004674
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Jun 2003 16:00:07 +0200
Received: from saturnine.virgaria.org (localhost [127.0.0.1])
	by saturnine.virgaria.org (8.12.9/8.12.9) with ESMTP id h5EDwdZQ093860
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Jun 2003 15:58:39 +0200 (CEST)
	(envelope-from mycroft@saturnine.virgaria.org)
Received: (from mycroft@localhost)
	by saturnine.virgaria.org (8.12.9/8.12.9/Submit) id h5EDwdt0093859;
	Sat, 14 Jun 2003 15:58:39 +0200 (CEST)
Message-Id: <200306141358.h5EDwdt0093859@saturnine.virgaria.org>
Date: Sat, 14 Jun 2003 15:58:39 +0200 (CEST)
From: Patrick MARIE <mycroft@virgaria.org>
Reply-To: Patrick MARIE <mycroft@virgaria.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: yaph 0.91
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53319
>Category:       ports
>Synopsis:       New port: yaph 0.91
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 14 07:00:30 PDT 2003
>Closed-Date:    Thu Oct 09 22:36:02 PDT 2003
>Last-Modified:  Thu Oct 09 22:36:02 PDT 2003
>Originator:     Patrick MARIE
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
epplug.org
>Environment:
System: FreeBSD saturnine.virgaria.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Jun 11 14:23:27 CEST 2003 mycroft@saturnine.virgaria.org:/usr/obj/usr/src/sys/saturnine i386

>Description:
	New port, yaph (yet another proxy scanner), 0.91

	Yaph provides the ability to reveal public proxy servers.

>How-To-Repeat:
>Fix:

--- yaph.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	yaph
#	yaph/Makefile
#	yaph/distinfo
#	yaph/files
#	yaph/files/patch-yaph::includes.h
#	yaph/files/patch-::config.h.in
#	yaph/files/patch-yaph::init.c
#	yaph/files/patch-::configure
#	yaph/pkg-descr
#	yaph/pkg-plist
#
echo c - yaph
mkdir -p yaph > /dev/null 2>&1
echo x - yaph/Makefile
sed 's/^X//' >yaph/Makefile << 'END-of-yaph/Makefile'
X# New ports collection makefile for:	yaph
X# Date created:		14 jui 2003
X# Whom:			Patrick MARIE <mycroft@virgaria.org>
X# $FreeBSD$
X
XPORTNAME=	yaph
XPORTVERSION=	0.91
XCATEGORIES=	net
XMASTER_SITES=	http://proxylabs.netwu.com/download/
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	mycroft@virgaria.org
XCOMMENT=	Yaph is a proxy scanner
X
XLIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
X
XUSE_GETOPT_LONG=yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
XUSE_REINPLACE=	yes
X
Xpost-extract:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
X		${WRKSRC}/yaph/Makefile.in
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/yaph/yaph ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/yaph/yaph.conf ${PREFIX}/etc
X
X.include <bsd.port.mk>
END-of-yaph/Makefile
echo x - yaph/distinfo
sed 's/^X//' >yaph/distinfo << 'END-of-yaph/distinfo'
XMD5 (yaph-0.91.tar.gz) = 8e224cc7a6d8e4cab4c6daa21cfa0837
END-of-yaph/distinfo
echo c - yaph/files
mkdir -p yaph/files > /dev/null 2>&1
echo x - yaph/files/patch-yaph::includes.h
sed 's/^X//' >yaph/files/patch-yaph::includes.h << 'END-of-yaph/files/patch-yaph::includes.h'
X--- yaph/includes.h.orig	Sat Jun 14 14:18:47 2003
X+++ yaph/includes.h	Sat Jun 14 14:18:58 2003
X@@ -23,6 +23,7 @@
X #include <sys/stat.h>
X #include <string.h>
X #include <errno.h>
X+#include <netinet/in.h>
X #include <arpa/inet.h>
X #include <pthread.h>
X #include <signal.h>
END-of-yaph/files/patch-yaph::includes.h
echo x - yaph/files/patch-::config.h.in
sed 's/^X//' >yaph/files/patch-::config.h.in << 'END-of-yaph/files/patch-::config.h.in'
X--- config.h.in.old	Sat Jun 14 15:05:50 2003
X+++ config.h.in	Sat Jun 14 15:06:04 2003
X@@ -9,3 +9,6 @@
X /* C++ compiler supports template repository */
X #undef HAVE_TEMPLATE_REPOSITORY
X 
X+/* PREFIX needed in init.c */
X+#undef PREFIX
X+
END-of-yaph/files/patch-::config.h.in
echo x - yaph/files/patch-yaph::init.c
sed 's/^X//' >yaph/files/patch-yaph::init.c << 'END-of-yaph/files/patch-yaph::init.c'
X--- yaph/init.c.orig	Sat Jun 14 14:52:31 2003
X+++ yaph/init.c	Sat Jun 14 14:52:41 2003
X@@ -127,7 +127,7 @@
X FILE *cnf=NULL;
X char buff[1024];
X 	if(!(cnf=fopen("./yaph.conf","rb")))
X-		if(!(cnf=fopen("/etc/yaph.conf","rb")))
X+		if(!(cnf=fopen(PREFIX "/etc/yaph.conf","rb")))
X 			goto no_file;
X 	while(fgets(buff,sizeof(buff),cnf))
X 	{
END-of-yaph/files/patch-yaph::init.c
echo x - yaph/files/patch-::configure
sed 's/^X//' >yaph/files/patch-::configure << 'END-of-yaph/files/patch-::configure'
X--- configure.old	Sun Feb  9 06:37:18 2003
X+++ configure	Sat Jun 14 15:03:07 2003
X@@ -854,6 +854,8 @@
X 
X VERSION=0.91
X 
X+PREFIX=$prefix
X+
X if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
X   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
X fi
X@@ -863,6 +865,10 @@
X 
X cat >> confdefs.h <<EOF
X #define VERSION "$VERSION"
X+EOF
X+
X+cat >> confdefs.h <<EOF
X+#define PREFIX "$PREFIX"
X EOF
X 
X 
END-of-yaph/files/patch-::configure
echo x - yaph/pkg-descr
sed 's/^X//' >yaph/pkg-descr << 'END-of-yaph/pkg-descr'
XYAPH - Yet Another Proxy Hunter
XYaph provides the ability to reveal public proxy servers.
X
XWWW: http://proxylabs.netwu.com/yaph/index.html 
END-of-yaph/pkg-descr
echo x - yaph/pkg-plist
sed 's/^X//' >yaph/pkg-plist << 'END-of-yaph/pkg-plist'
Xbin/yaph
Xetc/yaph.conf
END-of-yaph/pkg-plist
exit
--- yaph.shar ends here ---


>Release-Note:
>Audit-Trail:
Class-Changed-From-To: update->change-request 
Class-Changed-By: mat 
Class-Changed-When: Wed Sep 3 01:13:34 PDT 2003 
Class-Changed-Why:  
wrong class 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53319 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Thu Oct 9 22:35:58 PDT 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53319 
>Unformatted:
