summaryrefslogtreecommitdiff
path: root/app-admin/quickswitch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/quickswitch
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/quickswitch')
-rw-r--r--app-admin/quickswitch/Manifest5
-rw-r--r--app-admin/quickswitch/metadata.xml10
-rw-r--r--app-admin/quickswitch/quickswitch-1.05.ebuild38
3 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/quickswitch/Manifest b/app-admin/quickswitch/Manifest
new file mode 100644
index 000000000000..441d7a707465
--- /dev/null
+++ b/app-admin/quickswitch/Manifest
@@ -0,0 +1,5 @@
+DIST quickswitch-1.05.tar.gz 20218 SHA256 88dc6cff47fc9555064bd368bed8aad6d817a885743775b99ef9fe2c90b7f29e SHA512 dfb6b952e06d03834b22ad1abe415499bc3f231dcfee0b551ceadc4c020604b2574b70fff03ffb7099913d77e49c545ee44d51f9f7651c4fba113b0503c3bd26 WHIRLPOOL b3284add168e12941e78a872f27a9cae19700df6448427aa023a8f41025e97ff7a59cd95ffe97d652dc274d212b336f5dbcb9047ce2f6a52798880ef5e78238f
+EBUILD quickswitch-1.05.ebuild 1055 SHA256 a6e14b0cc4f1691e0ee807f6f3b278beef9edad415a122c6f59755c9aa9cef8d SHA512 b4e92d4b4f036148e8374e364e13b666d308a27c7146ed574b6859ab3eef103f0d615960e07390a7535ef22eacabbc93eae753bf6c865c09417a6f8cbd0fbde4 WHIRLPOOL 0a83e7c0a94dbf92d49c6228b6bd0da14374254942f01edcf2ee5eeca6067bac15197fd29982c2dbd7fc1e4e047c5f81fb59b3ef242c6231ebbde8dec218fdb6
+MISC ChangeLog 2533 SHA256 884a5955798ec8796e9911305c9ef214aa57e6bfacdc8164dcc96a0410837d6b SHA512 a7fd8cdb33bb7d2ee31c4e1513211b0ce42794e376a47ae7a4bfb6ea8e98bb5b06a2654cd499ccd16a2aca1bf7408d0cdb0f3fa57ddb68790bcaafba965b3f5f WHIRLPOOL 7de327e23d2b7c6df1364d45a9747c7423ca04ecbcb6e29dbd12bfad775ee4b2ee3ba6d80726aeeaa3e7aac9f66e754901b1d09481ef5b16f407172d155d1bcd
+MISC ChangeLog-2015 3402 SHA256 243798858b4692e7359437ea5d6cab3531516588ab06a35fb3043c3ab2a77493 SHA512 253de813eba135822024f51c2b2e17cfcbd75586a4e04cd2758ecc884e257888d9cd4c7c93dac5dff396df2bc742446ef4934367d37631d4520d82b254b45bb1 WHIRLPOOL f29bfbd5c553adb503849edac24ab5bc53195cbf43f72183b7ea0e3e578a839181e96b62c759a526e58bd78b9fe9f48fd7174d0bebc65fa7bc3b19b976dfff4d
+MISC metadata.xml 377 SHA256 96c917510f4ecdf046985096725e87142224a13adacdd406e8eefbef36418549 SHA512 05f90b3b4a18647e32f7c3f3029822fefb7aef4cbdbd2f6e74a8f2799e5a42f7f5546307c792aa4bf366536b4d7c1eeef6b4cc1a6b4d6f84d0ac16e5e77a8c88 WHIRLPOOL 619fa750f287bbb2c5f93b469a962c5143b55896fd3b8d429e6a2675baa5a1aa9684031daf5be44c0589acbad266abc57fc833f8ab53f60d72ad4181084bd737
diff --git a/app-admin/quickswitch/metadata.xml b/app-admin/quickswitch/metadata.xml
new file mode 100644
index 000000000000..5438d3107a0d
--- /dev/null
+++ b/app-admin/quickswitch/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>A utility for linux laptop users to use multiple network
+ profiles, and switch effortlessly.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">quickswitch</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/quickswitch/quickswitch-1.05.ebuild b/app-admin/quickswitch/quickswitch-1.05.ebuild
new file mode 100644
index 000000000000..ab9f3d539ebe
--- /dev/null
+++ b/app-admin/quickswitch/quickswitch-1.05.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+IUSE="ncurses"
+
+DESCRIPTION="Utility to switch network profiles on the fly"
+SRC_URI="mirror://sourceforge/quickswitch/${P}.tar.gz"
+HOMEPAGE="http://quickswitch.sf.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc s390 amd64"
+
+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
+ if use ncurses; then
+ dobin 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:/usr/local/sbin/iwconfig:/sbin/iwconfig:" \
+ /etc/quickswitch/switchto.conf.sample
+ dodoc README
+}