aboutsummaryrefslogtreecommitdiffstats
path: root/security/IMHear
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 20:12:37 +0800
committeredwin <edwin@FreeBSD.org>2003-10-06 20:12:37 +0800
commit80ec6775957ce781eabf988da4e4fae3e85c0ee4 (patch)
treebfa39318732f0c9651feba89cb1a05ccbe70e586 /security/IMHear
parent67a67cb1e6f31151fcaf9d6b2c3e86090086f982 (diff)
downloadfreebsd-ports-gnome-80ec6775957ce781eabf988da4e4fae3e85c0ee4.tar.gz
freebsd-ports-gnome-80ec6775957ce781eabf988da4e4fae3e85c0ee4.tar.zst
freebsd-ports-gnome-80ec6775957ce781eabf988da4e4fae3e85c0ee4.zip
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/IMHear')
-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
6 files changed, 69 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%%