summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Alexandratos <jerrya@gentoo.org>2001-12-07 18:00:05 +0000
committerJerry Alexandratos <jerrya@gentoo.org>2001-12-07 18:00:05 +0000
commitbba066a3c580155faf0e39d7ef1c28871d51160d (patch)
tree020f712cfc07953b50627e98201d4327d905ef8f /app-admin/quickswitch
parentDon't start qmail automatically, added .keep files to the file hierarchy, (diff)
downloadgentoo-2-bba066a3c580155faf0e39d7ef1c28871d51160d.tar.gz
gentoo-2-bba066a3c580155faf0e39d7ef1c28871d51160d.tar.bz2
gentoo-2-bba066a3c580155faf0e39d7ef1c28871d51160d.zip
Program to change network settings on the fly...
Extremely useful for laptop users.
Diffstat (limited to 'app-admin/quickswitch')
-rw-r--r--app-admin/quickswitch/files/digest-quickswitch-0.101
-rw-r--r--app-admin/quickswitch/quickswitch-0.10.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/app-admin/quickswitch/files/digest-quickswitch-0.10 b/app-admin/quickswitch/files/digest-quickswitch-0.10
new file mode 100644
index 000000000000..9ab33a6f1312
--- /dev/null
+++ b/app-admin/quickswitch/files/digest-quickswitch-0.10
@@ -0,0 +1 @@
+MD5 675669d2925e18e766daeef274e08eb6 quickswitch-0.10.tar.gz 16384
diff --git a/app-admin/quickswitch/quickswitch-0.10.ebuild b/app-admin/quickswitch/quickswitch-0.10.ebuild
new file mode 100644
index 000000000000..84173423bef8
--- /dev/null
+++ b/app-admin/quickswitch/quickswitch-0.10.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Jerry A! <jerry@thehutt.org>
+# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-0.10.ebuild,v 1.1 2001/12/07 18:00:05 jerrya Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Utility to switch network profiles on the fly"
+SRC_URI="http://prdownloads.sourceforge.net/quickswitch/${P}.tar.gz"
+
+HOMEPAGE="http://edgesolutions.ca/"
+
+DEPEND=">=sys-devel/perl-5.6.0"
+
+
+src_install () {
+ dobin switchto
+ dosed "s:/etc/switch.conf:/etc/quickswitch/switch.conf:" /usr/bin/switchto
+ dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" /usr/bin/switchto
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/net-switchto.rc6 net-switchto
+
+ dodir /etc/quickswitch
+ insinto /etc/quickswitch
+ newins switch.conf switch.conf.sample
+
+ dodoc README LICENSE
+}