Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 13:42:32 +0700 (NOVST)
From:      "Rashid N. Achilov" <shelton@granch.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95910: New port: libphish, a library to interact with the Open Phishing Database.
Message-ID:  <200604170642.k3H6gWr2054199@www.granch.ru>
Resent-Message-ID: <200604170650.k3H6oEd7025278@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95910
>Category:       ports
>Synopsis:       New port: libphish, a library to interact with the Open Phishing Database.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 06:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rashid N. Achilov
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
Granch Ltd.
>Environment:
System: FreeBSD www.granch.ru 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1: Fri Mar 17 20:42:41 NOVT 2006 root@www.granch.ru:/usr/obj/usr/src/sys/Proxy i386
>Description:
This is the first release of libphish, a cross-platform library to interact with the
Open Phishing Database. Libphish is used by FirePhish and the Konqueror Anti-Phishing
Toolbar to access OPDB.
>How-To-Repeat:
>Fix:
--- libphish-0.1.0 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:
#
#	libphish
#	libphish/Makefile
#	libphish/pkg-descr
#	libphish/files
#	libphish/files/patch-aa
#	libphish/pkg-plist
#	libphish/distinfo
#
echo c - libphish
mkdir -p libphish > /dev/null 2>&1
echo x - libphish/Makefile
sed 's/^X//' >libphish/Makefile << 'END-of-libphish/Makefile'
X# New ports collection makefile for:   libphish
X# Date created:                17 Apr 2006
X# Whom:                        Rashid N. Achilov <shelton@granch.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libphish
XPORTVERSION=	0.1.0
XCATEGORIES=	devel
XMASTER_SITES=	http://download.berlios.de/opdb/ \
X		http://download2.berlios.de/opdb/ \
X
XMAINTAINER=	shelton@granch.ru
XCOMMENT=	A cross-platform library to interact with the Open Phishing Database
X
XBUILD_DEPENDS=	xmlwf:${PORTSDIR}/textproc/expat2
X
XUSE_BZIP2=	yes
XINSTALLS_SHLIB=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X
XCPPFLAGS=	-I${LOCALBASE}/include
XLDFLAGS=	-L${LOCALBASE}/lib
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/doc && ${INSTALL_DATA} `${LS}` ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-libphish/Makefile
echo x - libphish/pkg-descr
sed 's/^X//' >libphish/pkg-descr << 'END-of-libphish/pkg-descr'
XThe Open Phishing Database project is an effort to create and
Xmaintain and open database of phishing sites, in addition to
Xproviding browser extensions which utilise this database in
Xorder to provide users with a safer browsing experience.
X
Xlibphish is a cross-platform library to interact with the Open
XPhishing Database, in order to provide a consistent API which
Xbrowsers and other programs can use to verify the safety and
Xrisk level of URLs.
X
XAnother part of OPDB is a Konqueror Anti-Phishing toolbar
X(see www/karpion port) and FirePhish - a Firefox Anti-Phishing
Xtoolbar.
X
XWWW: http://opdb.berlios.de/
END-of-libphish/pkg-descr
echo c - libphish/files
mkdir -p libphish/files > /dev/null 2>&1
echo x - libphish/files/patch-aa
sed 's/^X//' >libphish/files/patch-aa << 'END-of-libphish/files/patch-aa'
X--- src/phish_util_net.c.bak	Mon Apr 17 11:35:17 2006
X+++ src/phish_util_net.c	Mon Apr 17 11:35:17 2006
X@@ -30,6 +30,7 @@
X #include <netdb.h>
X #include <netinet/in.h>
X #include <arpa/inet.h>
X+#include <sys/socket.h>
X #endif
X
X #include "phish.h"
END-of-libphish/files/patch-aa
echo x - libphish/pkg-plist
sed 's/^X//' >libphish/pkg-plist << 'END-of-libphish/pkg-plist'
Xlib/libphish.so.1
Xlib/libphish.a
Xlib/libphish.la
Xinclude/phish.h
Xbin/libphish-config
X@unexec rm -f %D/lib/libphish.so
X%%PORTDOCS%%%%DOCSDIR%%/Doxyfile
X%%PORTDOCS%%%%DOCSDIR%%/doxygen.css
X%%PORTDOCS%%%%DOCSDIR%%/annotated.html
X%%PORTDOCS%%%%DOCSDIR%%/files.html
X%%PORTDOCS%%%%DOCSDIR%%/functions.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_vars.html
X%%PORTDOCS%%%%DOCSDIR%%/globals.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_enum.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_eval.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_func.html
X%%PORTDOCS%%%%DOCSDIR%%/globals_type.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/main.html
X%%PORTDOCS%%%%DOCSDIR%%/phish_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/phish_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/structphish__url__data__t.html
X%%PORTDOCS%%%%DOCSDIR%%/tree.html
X%%PORTDOCS%%%%DOCSDIR%%/doxygen.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2blank.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2doc.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2folderclosed.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2folderopen.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2vertline.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2lastnode.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2link.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2mlastnode.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2mnode.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2node.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2plastnode.png
X%%PORTDOCS%%%%DOCSDIR%%/ftv2pnode.png
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-libphish/pkg-plist
echo x - libphish/distinfo
sed 's/^X//' >libphish/distinfo << 'END-of-libphish/distinfo'
XMD5 (libphish-0.1.0.tar.bz2) = d6d81794e4147297917065d4465b233f
XSHA256 (libphish-0.1.0.tar.bz2) = a369769c73fde9bd908159f9b638580a50ef7c30850b4de9d476a3c4d2e76811
XSIZE (libphish-0.1.0.tar.bz2) = 246336
END-of-libphish/distinfo
exit
--- libphish-0.1.0 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604170642.k3H6gWr2054199>