7223b21199
Spear phishing is a technique used by spammers and scammers to try to get your email username and password. They send you an email, often claiming to be from your email provider or employer, in which they say that your account will be deleted unless you supply them with your username and password "for authentication" or some other similar ruse. They say you must reply to the message giving them this information, or send a message to a particular address giving them this information. ClamNailer takes 2 lists of addresses commonly used in these attacks, and generates a ClamAV signature database to detect them.
35 lines
782 B
Makefile
35 lines
782 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/02 17:00:02 sthen Exp $
|
|
|
|
COMMENT= generate ScamNailer spear phishing database in ClamAV format
|
|
|
|
DISTNAME= ClamNailer-1.00
|
|
PKGNAME= ${DISTNAME:L}
|
|
EXTRACT_SUFX= .gz
|
|
|
|
CATEGORIES= mail security
|
|
|
|
HOMEPAGE= http://www.scamnailer.info/
|
|
|
|
# Public Domain
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.scamnailer.info/files/contrib/
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
RUN_DEPENDS= ::security/clamav
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
# fix MS-DOS line-endings, output to a file with non-version-dependent name
|
|
post-extract:
|
|
perl -pi -e 's/\r$$//' < ${WRKSRC}/${DISTNAME} > ${WRKSRC}/clamnailer
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/clamnailer ${PREFIX}/sbin
|
|
|
|
.include <bsd.port.mk>
|