diff options
author | 2007-02-01 21:03:56 +0000 | |
---|---|---|
committer | 2007-02-01 21:03:56 +0000 | |
commit | 2537f6dc8645d912c7a6a31c9476d3719053c348 (patch) | |
tree | f8474a56eb9b52400bcdd61ce84d70c6e9996880 /net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild | |
parent | New ebuild. Fix partially bug #58213 (diff) | |
download | historical-2537f6dc8645d912c7a6a31c9476d3719053c348.tar.gz historical-2537f6dc8645d912c7a6a31c9476d3719053c348.tar.bz2 historical-2537f6dc8645d912c7a6a31c9476d3719053c348.zip |
cleanup
Package-Manager: portage-2.1.2-r1
Diffstat (limited to 'net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild')
-rw-r--r-- | net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild b/net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild index f919e6937bbb..47d9c26e504b 100644 --- a/net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild +++ b/net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild @@ -1,28 +1,22 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild,v 1.10 2006/11/23 19:43:25 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/aimsniff/aimsniff-0.9-r1.ebuild,v 1.11 2007/02/01 21:03:55 jokey Exp $ -inherit webapp eutils - -IUSE="samba mysql apache2 http" +inherit eutils webapp MY_P="${P}d" WAS_VER="0.1.2b" - DESCRIPTION="Utility for monitoring and archiving AOL Instant Messenger messages across a network" HOMEPAGE="http://www.aimsniff.com/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz http? ( mirror://sourceforge/${PN}/was-${WAS_VER}.tar.gz )" -RESTRICT="nomirror" - LICENSE="GPL-2" KEYWORDS="~amd64 x86 ~ppc" +#SLOT empty due to webapp +IUSE="samba mysql apache2 http" -S=${WORKDIR}/${MY_P} - -# We need >= perl-5.8.4 for GDBM_File -DEPEND=">=dev-lang/perl-5.8.4 +DEPEND="dev-lang/perl dev-perl/Net-Pcap dev-perl/NetPacket dev-perl/Unicode-String @@ -34,6 +28,11 @@ DEPEND=">=dev-lang/perl-5.8.4 mysql? ( virtual/mysql dev-perl/DBD-mysql ) samba? ( net-fs/samba ) http? ( apache2? ( =net-www/apache-2* ) !apache2? ( =net-www/apache-1* ) )" +RDEPEND=${DEPEND} + +RESTRICT="nomirror" + +S=${WORKDIR}/${MY_P} pkg_setup() { if use http @@ -64,15 +63,15 @@ src_install() { dodoc README.WAS rm -rf ../was-${WAS_VER}/docs - mv ../was-${WAS_VER}/ ${D}${MY_HTDOCSDIR}/was + mv ../was-${WAS_VER}/ "${D}"${MY_HTDOCSDIR}/was webapp_serverowned ${MY_HTDOCSDIR}/was # This file needs to be serverowned as the server won't be able to write to it if it were - # webapp_configfile'ed. + # webapp_configfile'ed. webapp_serverowned ${MY_HTDOCSDIR}/was/.config.php - for phpfile in `ls -a ${D}${MY_HTDOCSDIR}/was/ | grep ".php$"`; do + for phpfile in `ls -a "${D}"${MY_HTDOCSDIR}/was/ | grep ".php$"`; do webapp_runbycgibin php ${MY_HTDOCSDIR}/was/${phpfile} done @@ -81,7 +80,6 @@ src_install() { } pkg_postinst() { - if use mysql then echo |