summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 12:12:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 12:12:37 +0000
commit64b39075252c8d60845c49491a64950f8a915da4 (patch)
tree4125f9391b6d44ab8afd7263a56cfc2c166d4323 /security
parentNew port for ELAN SC520 watchdog (diff)
New port: An MSN Messenger event/message sniffer
An MSN Messenger event/message sniffer based on the pcap library PR: ports/55262 Submitted by: Nicolas Gieczewski <nick@n0sp4m.nixsoftware.com>
Diffstat (limited to 'security')
-rw-r--r--security/IMHear/Makefile33
-rw-r--r--security/IMHear/distinfo1
-rw-r--r--security/IMHear/files/patch-Makefile6
-rw-r--r--security/IMHear/pkg-descr9
-rw-r--r--security/IMHear/pkg-message.in16
-rw-r--r--security/IMHear/pkg-plist4
-rw-r--r--security/Makefile1
7 files changed, 70 insertions, 0 deletions
diff --git a/security/IMHear/Makefile b/security/IMHear/Makefile
new file mode 100644
index 000000000000..bb7a52e04b6c
--- /dev/null
+++ b/security/IMHear/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: IMHear
+# Date created: 04 August 2003
+# Whom: Nicolas Gieczewski
+#
+# $FreeBSD$
+#
+
+PORTNAME= IMHear
+PORTVERSION= 1.0
+CATEGORIES= security
+MASTER_SITES= http://repository.nixsoftware.com/ports/
+
+MAINTAINER= ports@nixsoftware.com
+COMMENT= An MSN Messenger event/message sniffer
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+NO_INSTALL_MANPAGES=yes
+
+pre-install:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message.in > ${PKGMESSAGE}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/hear ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/msn_protocol_10.html ${PREFIX}/share/doc/${PORTNAME}
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/security/IMHear/distinfo b/security/IMHear/distinfo
new file mode 100644
index 000000000000..a6d326957810
--- /dev/null
+++ b/security/IMHear/distinfo
@@ -0,0 +1 @@
+MD5 (IMHear-1.0.tar.gz) = 47ddcf45aab7f7ed9c485a750fe89d2b
diff --git a/security/IMHear/files/patch-Makefile b/security/IMHear/files/patch-Makefile
new file mode 100644
index 000000000000..f72e22060998
--- /dev/null
+++ b/security/IMHear/files/patch-Makefile
@@ -0,0 +1,6 @@
+--- Makefile.orig Mon Oct 6 05:09:39 2003
++++ Makefile Mon Oct 6 05:09:48 2003
+@@ -1,2 +1,2 @@
+ all: hear.c
+- gcc -o hear hear.c -lpcap
++ ${CC} ${CFLAGS} -o hear hear.c -lpcap
diff --git a/security/IMHear/pkg-descr b/security/IMHear/pkg-descr
new file mode 100644
index 000000000000..339902e68c66
--- /dev/null
+++ b/security/IMHear/pkg-descr
@@ -0,0 +1,9 @@
+IMHear is an MSN Messenger sniffer based on the pcap library
+that listens on a physical network interface (usually on a LAN
+router or gateway) and displays, and optionally logs, all events
+and messages.
+
+WWW: http://mathpost.la.asu.edu/~hai/hear/
+
+- Nicolas Gieczewski
+nick@nixsoftware.com
diff --git a/security/IMHear/pkg-message.in b/security/IMHear/pkg-message.in
new file mode 100644
index 000000000000..8d9daa5379ae
--- /dev/null
+++ b/security/IMHear/pkg-message.in
@@ -0,0 +1,16 @@
+
+****************************************************************
+*
+* IMHear only logs to the console by default. To get it
+* to generate log files, a `log' directory must be manually
+* created within the directory from which hear is run. For
+* more information, please refer to the README file.
+*
+* To start IMHear, run:
+* %%PREFIX%%/bin/hear
+*
+* For documentation, refer to:
+* %%PREFIX%%/share/doc/IMHear/README
+*
+****************************************************************
+
diff --git a/security/IMHear/pkg-plist b/security/IMHear/pkg-plist
new file mode 100644
index 000000000000..47f41fb8b278
--- /dev/null
+++ b/security/IMHear/pkg-plist
@@ -0,0 +1,4 @@
+bin/hear
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/msn_protocol_10.html
+@dirrm %%PORTDOCS%%%%DOCSDIR%%
diff --git a/security/Makefile b/security/Makefile
index d5564eed2311..a812aee228a6 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -3,6 +3,7 @@
SUBDIR += ADMsmb
SUBDIR += ADMsnmp
+ SUBDIR += IMHear
SUBDIR += aafid2
SUBDIR += acid
SUBDIR += aescrypt