From 299161db6297038a2618ea788cd619bb32f8796a Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 8 Sep 2009 12:39:01 +0000 Subject: Fix for linux-info change to give more suitable warnings when kernel sources are not present. (Portage version: 2.2_rc40/cvs/Linux x86_64) --- net-dialup/ppp/ChangeLog | 7 ++++++- net-dialup/ppp/ppp-2.4.4-r23.ebuild | 4 ++-- net-dialup/ppp/ppp-2.4.4-r24.ebuild | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'net-dialup/ppp') diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog index a36df6f17a6a..da191933493f 100644 --- a/net-dialup/ppp/ChangeLog +++ b/net-dialup/ppp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/ppp # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.244 2009/08/16 09:06:24 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.245 2009/09/08 12:39:01 robbat2 Exp $ + + 08 Sep 2009; Robin H. Johnson ppp-2.4.4-r23.ebuild, + ppp-2.4.4-r24.ebuild: + Fix for linux-info change to give more suitable warnings when kernel + sources are not present. 16 Aug 2009; Alin Năstac ppp-2.4.4-r24.ebuild: Readd scripts to gentoo tarball (#281591). diff --git a/net-dialup/ppp/ppp-2.4.4-r23.ebuild b/net-dialup/ppp/ppp-2.4.4-r23.ebuild index 8a0c3617a98c..726258af5c6d 100644 --- a/net-dialup/ppp/ppp-2.4.4-r23.ebuild +++ b/net-dialup/ppp/ppp-2.4.4-r23.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.4-r23.ebuild,v 1.1 2009/06/23 06:25:07 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.4-r23.ebuild,v 1.2 2009/09/08 12:39:01 robbat2 Exp $ EAPI="2" @@ -230,7 +230,7 @@ src_install() { } pkg_postinst() { - if get_version ; then + if linux-info_get_any_version ; then echo ewarn "If the following test report contains a missing kernel configuration option that you need," ewarn "you should reconfigure and rebuild your kernel before running pppd." diff --git a/net-dialup/ppp/ppp-2.4.4-r24.ebuild b/net-dialup/ppp/ppp-2.4.4-r24.ebuild index ce826d603777..d2d233fd86ba 100644 --- a/net-dialup/ppp/ppp-2.4.4-r24.ebuild +++ b/net-dialup/ppp/ppp-2.4.4-r24.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.4-r24.ebuild,v 1.2 2009/08/16 09:06:24 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.4-r24.ebuild,v 1.3 2009/09/08 12:39:01 robbat2 Exp $ EAPI="2" @@ -231,7 +231,7 @@ src_install() { } pkg_postinst() { - if get_version ; then + if linux-info_get_any_version ; then echo ewarn "If the following test report contains a missing kernel configuration option that you need," ewarn "you should reconfigure and rebuild your kernel before running pppd." -- cgit v1.2.3-65-gdbad