summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/quickswitch/ChangeLog8
-rw-r--r--app-admin/quickswitch/quickswitch-1.02.ebuild25
-rw-r--r--app-admin/quickswitch/quickswitch-1.05.ebuild20
3 files changed, 35 insertions, 18 deletions
diff --git a/app-admin/quickswitch/ChangeLog b/app-admin/quickswitch/ChangeLog
index 604a6b71992b..96cab9060550 100644
--- a/app-admin/quickswitch/ChangeLog
+++ b/app-admin/quickswitch/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/quickswitch
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/ChangeLog,v 1.9 2003/11/28 23:08:01 lu_zero Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/ChangeLog,v 1.10 2004/02/22 22:11:55 lu_zero Exp $
+
+ 22 Feb 2004; Luca Barbato <lu_zero@gentoo.org> quickswitch-1.02.ebuild,
+ quickswitch-1.05.ebuild:
+ Fixed the configuration example as requested in bug #41975
*quickswitch-1.05 (29 Nov 2003)
diff --git a/app-admin/quickswitch/quickswitch-1.02.ebuild b/app-admin/quickswitch/quickswitch-1.02.ebuild
index c0316be55e34..414f355b26c4 100644
--- a/app-admin/quickswitch/quickswitch-1.02.ebuild
+++ b/app-admin/quickswitch/quickswitch-1.02.ebuild
@@ -1,35 +1,40 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.02.ebuild,v 1.4 2004/02/22 17:42:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.02.ebuild,v 1.5 2004/02/22 22:11:55 lu_zero Exp $
IUSE="ncurses"
-MY_PN="quickwitch"
-MY_P="${MY_PN}-${PV/_/}"
-S=${WORKDIR}/${MY_PN}
DESCRIPTION="Utility to switch network profiles on the fly"
-SRC_URI="mirror://sourceforge/quickswitch/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge/quickswitch/${P}.tar.gz"
HOMEPAGE="http://quickswitch.sf.net"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc"
+KEYWORDS="~x86 ~ppc ~sparc "
DEPEND=">=dev-lang/perl-5.6.0"
RDEPEND="ncurses? ( dev-perl/CursesWidgets )"
src_install() {
dobin switchto
- dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switchto
- dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" /usr/bin/switchto
+ dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" \
+ /usr/bin/switchto
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" \
+ /usr/bin/switchto
if [ "`use ncurses`" ]; then
dobin switcher
- dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switcher
+ dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" \
+ /usr/bin/switcher
fi
dodir /etc/quickswitch
insinto /etc/quickswitch
newins switchto.conf switchto.conf.sample
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" \
+ /etc/quickswitch/switchto.conf.sample
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" \
+ /etc/quickswitch/switchto.conf
+
dodoc README LICENSE
}
diff --git a/app-admin/quickswitch/quickswitch-1.05.ebuild b/app-admin/quickswitch/quickswitch-1.05.ebuild
index b939b29291bc..171f004ebaa7 100644
--- a/app-admin/quickswitch/quickswitch-1.05.ebuild
+++ b/app-admin/quickswitch/quickswitch-1.05.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.05.ebuild,v 1.2 2004/02/22 17:42:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.05.ebuild,v 1.3 2004/02/22 22:11:55 lu_zero Exp $
IUSE="ncurses"
@@ -10,23 +10,31 @@ HOMEPAGE="http://quickswitch.sf.net"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc ~sparc"
+KEYWORDS="~x86 ~ppc ~sparc "
DEPEND=">=dev-lang/perl-5.6.0"
RDEPEND="ncurses? ( dev-perl/CursesWidgets )"
src_install() {
dobin switchto
- dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switchto
- dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" /usr/bin/switchto
+ dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" \
+ /usr/bin/switchto
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" \
+ /usr/bin/switchto
if [ "`use ncurses`" ]; then
dobin switcher
- dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switcher
+ dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" \
+ /usr/bin/switcher
fi
dodir /etc/quickswitch
insinto /etc/quickswitch
newins switchto.conf switchto.conf.sample
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" \
+ /etc/quickswitch/switchto.conf.sample
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" \
+ /etc/quickswitch/switchto.conf
+
dodoc README LICENSE
}