jer 14/12/13 20:58:24 Modified: ChangeLog Added: aimsniff-0.9d.ebuild Removed: aimsniff-0.9-r2.ebuild Log: EAPI bump. Set SF project homepage as HOMEPAGE (bug #532462). Fix $PV. (Portage version: 2.2.15/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key A792A613)
Revision Changes Path 1.36 net-analyzer/aimsniff/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/aimsniff/ChangeLog?rev=1.36&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/aimsniff/ChangeLog?rev=1.36&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/aimsniff/ChangeLog?r1=1.35&r2=1.36 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/aimsniff/ChangeLog,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- ChangeLog 18 Sep 2012 01:34:06 -0000 1.35 +++ ChangeLog 13 Dec 2014 20:58:24 -0000 1.36 @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/aimsniff -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/aimsniff/ChangeLog,v 1.35 2012/09/18 01:34:06 radhermit Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/aimsniff/ChangeLog,v 1.36 2014/12/13 20:58:24 jer Exp $ + +*aimsniff-0.9d (13 Dec 2014) + + 13 Dec 2014; Jeroen Roovers <[email protected]> -aimsniff-0.9-r2.ebuild, + +aimsniff-0.9d.ebuild: + EAPI bump. Set SF project homepage as HOMEPAGE (bug #532462). Fix $PV. 18 Sep 2012; Tim Harder <[email protected]> -aimsniff-0.9-r1.ebuild: Remove old. 1.1 net-analyzer/aimsniff/aimsniff-0.9d.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/aimsniff/aimsniff-0.9d.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/aimsniff/aimsniff-0.9d.ebuild?rev=1.1&content-type=text/plain Index: aimsniff-0.9d.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/aimsniff/aimsniff-0.9d.ebuild,v 1.1 2014/12/13 20:58:24 jer Exp $ EAPI=5 inherit eutils webapp eutils depend.apache WAS_VER="0.1.2b" DESCRIPTION="Utility for monitoring and archiving AOL Instant Messenger messages across a network" HOMEPAGE="http://sourceforge.net/projects/aimsniff/" SRC_URI=" mirror://sourceforge/${PN}/${P}.tar.gz http? ( mirror://sourceforge/${PN}/was-${WAS_VER}.tar.gz ) " LICENSE="GPL-2" KEYWORDS="~amd64 ppc x86" #SLOT empty due to webapp IUSE="samba mysql http" RDEPEND=" dev-lang/perl[gdbm] dev-perl/Net-Pcap dev-perl/NetPacket dev-perl/Unicode-String dev-perl/Proc-Daemon dev-perl/Proc-Simple dev-perl/DBI dev-perl/Unix-Syslog mysql? ( virtual/mysql dev-perl/DBD-mysql ) samba? ( net-fs/samba ) " want_apache2 http RESTRICT="mirror" pkg_setup() { depend.apache_pkg_setup http use http && webapp_pkg_setup } src_install() { use http && webapp_src_preinst newsbin aimSniff.pl aimsniff insinto /etc/${PN} doins aimsniff.config insinto /usr/share/doc/${PF} doins table.struct dodoc README ChangeLog if use http; then cp ../was-${WAS_VER}/docs/README README.WAS dodoc README.WAS rm -rf ../was-${WAS_VER}/docs 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_serverowned ${MY_HTDOCSDIR}/was/.config.php webapp_src_install fi newinitd "${FILESDIR}"/aimsniff.rc aimsniff } pkg_postinst() { if use mysql then echo elog "To create and enable the mysql database, please run: " elog "emerge --config =${PF}" if use http; then echo "To create and enable the mysql database, please run: emerge --config =${PF}" > apache-postinst webapp_postinst_txt en apache-postinst fi fi if use http; then elog elog "Go to http://${HOSTNAME}/was/admin.php to configure WAS." echo "Go to http://${HOSTNAME}/was/admin.php to configure WAS." > was-postinst webapp_postinst_txt en was-postinst fi } pkg_config() { echo einfo "Creating mysql database aimsniff using /usr/share/doc/${PF}/table.struct:" echo -n "Please enter your mysql root password: " read mysql_root /usr/bin/mysqladmin -p$mysql_root -u root create aimsniff /usr/bin/mysql -p$mysql_root -u root aimsniff < /usr/share/doc/${PF}/table.struct echo -n "Please enter your username that you want to connect to the database with: " read user echo -n "Please enter the password that you want to use for your database: " read password einfo "Granting permisions on database using 'GRANT ALL ON aimsniff.* TO $user IDENTIFIED BY '$password';'" echo "GRANT ALL ON aimsniff.* TO $user@localhost IDENTIFIED BY '$password';" | /usr/bin/mysql -p$mysql_root -u root aimsniff echo }
