FreeBSD Bugzilla – Attachment 32208 Details for
Bug 53319
New port: yaph 0.91
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
yaph.shar
yaph.shar (text/plain), 3.94 KB, created by
Patrick MARIE
on 2003-06-14 15:00:30 UTC
(
hide
)
Description:
yaph.shar
Filename:
MIME Type:
Creator:
Patrick MARIE
Created:
2003-06-14 15:00:30 UTC
Size:
3.94 KB
patch
obsolete
># 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 53319
: 32208