summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-07-27 18:45:05 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-07-27 18:45:05 +0000
commit3c140bb3585658d97dfaa15aa478fe67afb83d2c (patch)
tree3da43912c5ef3accfe1ecc29f108c1344e7d872c /net-analyzer/aimsniff
parentinitial import (diff)
downloadhistorical-3c140bb3585658d97dfaa15aa478fe67afb83d2c.tar.gz
historical-3c140bb3585658d97dfaa15aa478fe67afb83d2c.tar.bz2
historical-3c140bb3585658d97dfaa15aa478fe67afb83d2c.zip
initial import
Diffstat (limited to 'net-analyzer/aimsniff')
-rw-r--r--net-analyzer/aimsniff/Manifest3
-rw-r--r--net-analyzer/aimsniff/aimsniff-0.8.ebuild54
-rw-r--r--net-analyzer/aimsniff/files/digest-aimsniff-0.82
3 files changed, 58 insertions, 1 deletions
diff --git a/net-analyzer/aimsniff/Manifest b/net-analyzer/aimsniff/Manifest
index ad273e783f42..67977b2118b8 100644
--- a/net-analyzer/aimsniff/Manifest
+++ b/net-analyzer/aimsniff/Manifest
@@ -1,2 +1,3 @@
-MD5 52cdfa3022d87fa123f2657c510717ba aimsniff-0.8.ebuild 2422
+MD5 8a37e5f90c0d8e54e91ca93c45950055 aimsniff-0.8.ebuild 2375
+MD5 11036d1a4cfe70cf98090bbd2dbe96b2 ChangeLog 382
MD5 f62848279163f070089d6c81eb98260a files/digest-aimsniff-0.8 124
diff --git a/net-analyzer/aimsniff/aimsniff-0.8.ebuild b/net-analyzer/aimsniff/aimsniff-0.8.ebuild
new file mode 100644
index 000000000000..549370b0deb4
--- /dev/null
+++ b/net-analyzer/aimsniff/aimsniff-0.8.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# /space/gentoo/cvsroot/gentoo-x86
+
+DEPEND="dev-lang/perl
+ dev-perl/Net-Pcap
+ dev-perl/NetPacket
+ dev-perl/Unicode-String
+ dev-perl/FileHandle-Rollback
+ dev-perl/Proc-Daemon
+ mysql? ( dev-perl/DBI
+ dev-db/mysql )
+ samba? ( net-fs/samba )"
+DESCRIPTION="AIM Sniff is a utility for monitoring and archiving AOL Instant Messenger messages across a network."
+HOMEPAGE="http://www.aimsniff.com"
+IUSE="samba mysql apache2"
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://sourceforge/${PN}/was_0.1.1b.tar.gz"
+
+src_install() {
+ use apache2 || HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`" \
+ HTTPD_USER="`grep '^User' /etc/apache/conf/commonapache.conf | cut -d \ -f2`" \
+ HTTPD_GROUP="`grep '^Group' /etc/apache/conf/commonapache.conf | cut -d \ -f2`"
+ use apache2 && HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache2.conf | cut -d\ -f2`" \
+ HTTPD_USER="`grep '^User' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`" \
+ HTTPD_GROUP="`grep '^Group' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`"
+
+ [ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs"
+ [ -z "${HTTPD_USER}" ] && HTTPD_USER="apache"
+ [ -z "${HTTPD_GROUP}" ] && HTTPD_GROUP="apache"
+
+ dodir /etc/${PN}
+ cp aimSniff.pl aimsniff
+ dosbin aimsniff
+ cp aimsniff.config table.struct ${D}etc/${PN}
+ dodoc README ChangeLog
+ #Installing Web-Frontend
+ dodir ${HTTPD_ROOT}
+ mv ../was ${D}${HTTPD_ROOT} \
+ && cd ${D}${HTTPD_ROOT} \
+ && chown -R ${HTTPD_USER}.${HTTPD_GROUP} *|| ewarn "check web-frontend in ${HTTPD_ROOT}"
+}
+pkg_postinst() {
+ einfo "Go to http://${HOSTNAME}/was/ to check if everything works."
+ use mysql && einfo "If you plan to use the database dump feature, you'll have to load the table.struct file into mysql." \
+ && einfo "To do this run the following command 'mysql < /etc/${PN}/table.struct'." \
+ && einfo "This will create a database named 'aim' with all the right tables." \
+ && einfo "After that use: 'GRANT ALL ON aim.* TO username@hostname IDENTIFIED BY 'password';'" \
+ && einfo "and go to http://${HOSTNAME}/was/admin.php to fill in the blanks."
+ use samba && einfo "--SMB <-Turn SMB lookups 'on' to get NT domain usernames with AIM logins, Off by default."
+}
+
diff --git a/net-analyzer/aimsniff/files/digest-aimsniff-0.8 b/net-analyzer/aimsniff/files/digest-aimsniff-0.8
new file mode 100644
index 000000000000..476b85136140
--- /dev/null
+++ b/net-analyzer/aimsniff/files/digest-aimsniff-0.8
@@ -0,0 +1,2 @@
+MD5 4405ea76468889f42e8caedad5b7f295 aimsniff-0.8.tar.gz 14090
+MD5 3cf59ffb6b0abc4639762471ebc50c40 was_0.1.1b.tar.gz 68073