jer 14/06/30 16:10:52 Modified: ChangeLog driftnet-0.1.6_p20090401.ebuild Log: Move the rest of the ebuild to EAPI 5 too. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.44 net-analyzer/driftnet/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/driftnet/ChangeLog?rev=1.44&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/driftnet/ChangeLog?rev=1.44&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/driftnet/ChangeLog?r1=1.43&r2=1.44 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- ChangeLog 6 Jan 2014 02:21:09 -0000 1.43 +++ ChangeLog 30 Jun 2014 16:10:52 -0000 1.44 @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/driftnet # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.43 2014/01/06 02:21:09 steev Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.44 2014/06/30 16:10:52 jer Exp $ + + 30 Jun 2014; Jeroen Roovers <j...@gentoo.org> driftnet-0.1.6_p20090401.ebuild: + Move the rest of the ebuild to EAPI 5 too. 06 Jan 2014; Steev Klimaszewski <st...@gentoo.org> driftnet-0.1.6_p20090401.ebuild: 1.10 net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild?rev=1.10&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild?rev=1.10&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild?r1=1.9&r2=1.10 Index: driftnet-0.1.6_p20090401.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- driftnet-0.1.6_p20090401.ebuild 6 Jan 2014 02:21:09 -0000 1.9 +++ driftnet-0.1.6_p20090401.ebuild 30 Jun 2014 16:10:52 -0000 1.10 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.9 2014/01/06 02:21:09 steev Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.10 2014/06/30 16:10:52 jer Exp $ EAPI=5 inherit eutils flag-o-matic toolchain-funcs @@ -38,24 +38,24 @@ src_compile() { export CC=$(tc-getCC) if use gtk; then - emake || die "gtk+ build failed" - mv driftnet driftnet-gtk - make clean || die + emake + mv driftnet driftnet-gtk || die + emake clean fi # build a non-gtk version for all users sed -i 's:^\(.*gtk.*\)$:#\1:g' Makefile || die "sed disable gtk failed" append-flags -DNO_DISPLAY_WINDOW - emake || die "emake failed" + emake } src_install () { - dosbin driftnet || die "dobin failed" - doman driftnet.1 || die "doman failed" + dosbin driftnet + doman driftnet.1 - use gtk && { dosbin driftnet-gtk || die "dosbin failed (gtk)" ; } + use gtk && dosbin driftnet-gtk - dodoc CHANGES CREDITS README TODO || die "dodoc failed" + dodoc CHANGES CREDITS README TODO if use suid ; then elog "marking the no-display driftnet as setuid root."