aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p0f
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-07 20:34:55 +0800
committerjhale <jhale@FreeBSD.org>2012-10-07 20:34:55 +0800
commit034ba647e208ba06d5665a34bb25ef0ac706e4f8 (patch)
treecbd3b923026172664539110fdfd39827355cbd55 /net-mgmt/p0f
parent5e83f6696e1fff8b573c2e61d89b00a3d9a308bb (diff)
downloadfreebsd-ports-gnome-034ba647e208ba06d5665a34bb25ef0ac706e4f8.tar.gz
freebsd-ports-gnome-034ba647e208ba06d5665a34bb25ef0ac706e4f8.tar.zst
freebsd-ports-gnome-034ba647e208ba06d5665a34bb25ef0ac706e4f8.zip
- Update to 3.06b
While here: - Trim Makefile header - Convert to new options framework - Remove LICENSE_FILES and extra installation of COPYING since the full LGPL21 license is included in the ports tree PR: ports/172394 Submitted by: Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer) Approved by: makc, avilla (mentors implicit)
Diffstat (limited to 'net-mgmt/p0f')
-rw-r--r--net-mgmt/p0f/Makefile15
-rw-r--r--net-mgmt/p0f/distinfo4
2 files changed, 8 insertions, 11 deletions
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile
index 38738f70510b..498c7925e2cc 100644
--- a/net-mgmt/p0f/Makefile
+++ b/net-mgmt/p0f/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: p0f
-# Date created: 2000-06-12
-# Whom: Trevor Johnson
-#
+# Created by: Trevor Johnson
# $FreeBSD$
-#
PORTNAME= p0f
-PORTVERSION= 3.05b
+PORTVERSION= 3.06b
CATEGORIES= net-mgmt security
MASTER_SITES= http://lcamtuf.coredump.cx/p0f3/releases/ \
http://fossies.org/unix/privat/
@@ -16,16 +12,17 @@ MAINTAINER= fbsd-ports@opsec.eu
COMMENT= Passive OS fingerprinting tool
LICENSE= LGPL21
-LICENSE_FILE= ${WRKSRC}/docs/COPYING
PLIST_FILES= bin/p0f bin/p0f-client bin/p0f-sendsyn \
bin/p0f-sendsyn6 etc/p0f.fp
-PORTDOCS= COPYING ChangeLog README TODO existential-notes.txt \
+PORTDOCS= ChangeLog README TODO existential-notes.txt \
extra-sigs.txt
MAKE_JOBS_SAFE= yes
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/README
@${REINPLACE_CMD} -e 's|p0f.fp|${PREFIX}/etc/p0f.fp|g' ${WRKSRC}/config.h
@@ -36,7 +33,7 @@ do-install:
.endfor
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for ii in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${ii} ${DOCSDIR}
diff --git a/net-mgmt/p0f/distinfo b/net-mgmt/p0f/distinfo
index 0d047f73f014..5a6038608174 100644
--- a/net-mgmt/p0f/distinfo
+++ b/net-mgmt/p0f/distinfo
@@ -1,2 +1,2 @@
-SHA256 (p0f-3.05b.tgz) = c4663e669fe43ef4f36f1f5935c4fab571ef19838c4aed90cf3b8bc2264f6b3b
-SIZE (p0f-3.05b.tgz) = 91902
+SHA256 (p0f-3.06b.tgz) = d151931be2557ac45f9baa0a9384b8643979f4227c391ed395792874f2c6cde7
+SIZE (p0f-3.06b.tgz) = 92054