From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 14 07:00:36 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5824A37B401 for ; Sat, 14 Jun 2003 07:00:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F6F443FA3 for ; Sat, 14 Jun 2003 07:00:35 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5EE0ZUp069202 for ; Sat, 14 Jun 2003 07:00:35 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5EE0YZ9069201; Sat, 14 Jun 2003 07:00:34 -0700 (PDT) Resent-Date: Sat, 14 Jun 2003 07:00:34 -0700 (PDT) Resent-Message-Id: <200306141400.h5EE0YZ9069201@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick MARIE Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3843B37B405 for ; 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 ; 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 ; 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 ; Sat, 14 Jun 2003 16:00:07 +0200 Received: from saturnine.virgaria.org (localhost [127.0.0.1]) h5EDwdZQ093860 for ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53319: New port: yaph 0.91 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Patrick MARIE List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 14:00:36 -0000 >Number: 53319 >Category: ports >Synopsis: New port: yaph 0.91 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jun 14 07:00:30 PDT 2003 >Closed-Date: >Last-Modified: >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 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 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 X #include X #include X+#include X #include X #include X #include 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 <> confdefs.h <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: >Unformatted: