summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-07-31 18:08:55 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-07-31 18:08:55 +0000
commitc50873efd5b5a0a4994647abf31956b98b3afdda (patch)
treefcde46da7bf25cc504ff4be9d97b90eb812a5df0
parentInitial version. (diff)
downloadgentoo-2-c50873efd5b5a0a4994647abf31956b98b3afdda.tar.gz
gentoo-2-c50873efd5b5a0a4994647abf31956b98b3afdda.tar.bz2
gentoo-2-c50873efd5b5a0a4994647abf31956b98b3afdda.zip
Initial commit of net-misc/wicd, originally in the sunrise overlay
(Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686)
-rw-r--r--net-misc/wicd/ChangeLog17
-rw-r--r--net-misc/wicd/Manifest8
-rw-r--r--net-misc/wicd/files/wicd-1.4.2-init.d23
-rw-r--r--net-misc/wicd/files/wicd-1.5.0_rc5-init.d24
-rw-r--r--net-misc/wicd/metadata.xml8
-rw-r--r--net-misc/wicd/wicd-1.4.2.ebuild37
-rw-r--r--net-misc/wicd/wicd-1.5.0_rc11.ebuild51
7 files changed, 168 insertions, 0 deletions
diff --git a/net-misc/wicd/ChangeLog b/net-misc/wicd/ChangeLog
new file mode 100644
index 000000000000..775962815bc2
--- /dev/null
+++ b/net-misc/wicd/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for net-misc/wicd
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.1 2008/07/31 18:08:54 darkside Exp $
+
+*wicd-1.5.0_rc11 (31 Jul 2008)
+*wicd-1.4.2 (31 Jul 2008)
+
+ 31 Jul 2008; Jeremy Olexa <darkside@gentoo.org> +files/wicd-1.4.2-init.d,
+ +files/wicd-1.5.0_rc5-init.d, +metadata.xml, +wicd-1.4.2.ebuild,
+ +wicd-1.5.0_rc11.ebuild:
+ Initial commit of net-misc/wicd, many thanks to the original authors in bug
+ #198281 (too many to list)
+
+ wicd-1.4.2 is the upstream "stable" version and a stable candidate for Gentoo.
+ I still need to work on the init scripts, they aren't quite complete yet, in
+ my opinion. I also am pondering the addition of USE flags for dhcp clients.
+
diff --git a/net-misc/wicd/Manifest b/net-misc/wicd/Manifest
new file mode 100644
index 000000000000..355d39eee8f9
--- /dev/null
+++ b/net-misc/wicd/Manifest
@@ -0,0 +1,8 @@
+AUX wicd-1.4.2-init.d 434 RMD160 c221d8e1ceeec9577f06d256e7fee498b7d736d4 SHA1 d834f5edd20dbfa9df5d8655b2b1d3369a4d9179 SHA256 485a5bd84230996eac3f29569ab99edde336d5bf4f41be7fc570b1d68dd7b4a2
+AUX wicd-1.5.0_rc5-init.d 424 RMD160 f9c12319678d7af37856a8c48b4789c3ca2cfebd SHA1 74a8882f05c8ed23805a5577e795a07039c35908 SHA256 d61b5280440853ad32a683aded8d4f51c81907248fc0e1d75762cede3db63803
+DIST wicd-1.5.0rc11.tar.gz 178977 RMD160 8142e1ebd2981ffaaa6690d7a83c1d66b3a349a6 SHA1 e7b9b18f170ea0e92842100b79e527e8a4c7b157 SHA256 afd149a01eb0f7e538c5d37a47664083744db18f5e408e493b7c410192cb13f9
+DIST wicd_1.4.2-src.tar.bz2 144442 RMD160 1e379366670ea800e713ece537aa8d582fc17f1e SHA1 c791ef6b76ca5adebb1d515265abe3ed78447347 SHA256 8d64954bbf56bbc7597639d5472c7cdf7b1f73120b6453225f17a766c6c7794c
+EBUILD wicd-1.4.2.ebuild 867 RMD160 ccdf9f7fc043a754cfd6eb26d8d0cda8fb521b2d SHA1 d4556a917b552c0c7e1a541f64cfd194d15f69ad SHA256 cd27bcdcb9ff9f180205969a7358724947e01e732bf5b834c48f07378efc806a
+EBUILD wicd-1.5.0_rc11.ebuild 1130 RMD160 619811c8910503e9fd141bc5f0c42da5a18faff6 SHA1 5b485e7e93ea62bb92f255efd7061989dbfc627b SHA256 6cc7bf3ec24bc58c95c28ad6841cd703c765da0c4885768cad98d2ff8f5d095c
+MISC ChangeLog 689 RMD160 b311078b966d8aab584e2419768d7b8c272ede60 SHA1 ce979b959e6b418035cd477b29c50b2cd1ffda0e SHA256 7cef22cc672aa4ea15c8ad2e97c571b2cb1d093a62611c0318f5bd89fa77a6ee
+MISC metadata.xml 224 RMD160 ef4cc3054936a3572ec992bcceee2519eddcba46 SHA1 3b0afde57f521aa4f834fed82806e79be3530c3e SHA256 fc3ff3b3ec6fac6a93feff4a2692f42f8abd9e7b5741d81a272a820d40092b73
diff --git a/net-misc/wicd/files/wicd-1.4.2-init.d b/net-misc/wicd/files/wicd-1.4.2-init.d
new file mode 100644
index 000000000000..9c056045cb67
--- /dev/null
+++ b/net-misc/wicd/files/wicd-1.4.2-init.d
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+opts="start stop restart"
+
+WICD_DAEMON="/opt/wicd/daemon.py"
+
+depend() {
+ need dbus
+}
+
+start() {
+ ebegin "Starting wicd daemon"
+ start-stop-daemon --start --exec $WICD_DAEMON &>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping wicd daemon"
+ start-stop-daemon --stop --exec $WICD_DAEMON &>/dev/null
+ eend $?
+}
diff --git a/net-misc/wicd/files/wicd-1.5.0_rc5-init.d b/net-misc/wicd/files/wicd-1.5.0_rc5-init.d
new file mode 100644
index 000000000000..f4083beeb8db
--- /dev/null
+++ b/net-misc/wicd/files/wicd-1.5.0_rc5-init.d
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+opts="start stop restart"
+
+WICD_DAEMON=/usr/sbin/wicd
+WICD_PIDFILE=/var/run/wicd/wicd.pid
+
+depend() {
+ need dbus
+}
+
+start() {
+ ebegin "Starting wicd daemon"
+ $WICD_DAEMON &>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping wicd daemon"
+ start-stop-daemon --stop --pidfile "$WICD_PIDFILE"
+ eend $?
+}
diff --git a/net-misc/wicd/metadata.xml b/net-misc/wicd/metadata.xml
new file mode 100644
index 000000000000..a58bf8266ebc
--- /dev/null
+++ b/net-misc/wicd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>darkside@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/wicd/wicd-1.4.2.ebuild b/net-misc/wicd/wicd-1.4.2.ebuild
new file mode 100644
index 000000000000..5184975bdc9e
--- /dev/null
+++ b/net-misc/wicd/wicd-1.4.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.4.2.ebuild,v 1.1 2008/07/31 18:08:54 darkside Exp $
+
+MY_P="${PN}_${PV}-src"
+DESCRIPTION="A lightweight wired and wireless network manager for Linux"
+HOMEPAGE="http://wicd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-python/dbus-python
+ dev-python/pygtk
+ net-misc/dhcp
+ net-wireless/wireless-tools
+ net-wireless/wpa_supplicant
+ sys-apps/ethtool"
+
+src_install() {
+ mv "${WORKDIR}"/* "${D}" || die "Copy failed"
+ newinitd "${FILESDIR}/${P}-init.d wicd"
+}
+
+pkg_postinst() {
+ elog "Make sure dbus is in the same runlevel"
+ elog "as the wicd initscript"
+ elog
+ elog "Start the WICD GUI using:"
+ elog " /opt/wicd/gui.py"
+ elog
+ elog "Display the tray icon by running:"
+ elog " /opt/wicd/tray.py"
+}
diff --git a/net-misc/wicd/wicd-1.5.0_rc11.ebuild b/net-misc/wicd/wicd-1.5.0_rc11.ebuild
new file mode 100644
index 000000000000..02d743fa6167
--- /dev/null
+++ b/net-misc/wicd/wicd-1.5.0_rc11.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.5.0_rc11.ebuild,v 1.1 2008/07/31 18:08:54 darkside Exp $
+
+inherit distutils
+
+MY_P="${P/_rc/rc}"
+DESCRIPTION="A lightwieght wired and wireless network manager for Linux"
+HOMEPAGE="http://wicd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-python/dbus-python
+ dev-python/pygtk
+ || (
+ net-misc/dhcp
+ net-misc/dhcpcd
+ net-misc/pump
+ )
+ net-wireless/wireless-tools
+ net-wireless/wpa_supplicant
+ || (
+ sys-apps/ethtool
+ sys-apps/net-tools
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ ${python} ./setup.py configure --no-install-init --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+ newinitd "${FILESDIR}/${P}-init.d" wicd
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ elog "Note: commands have changed since previous versions of WICD"
+ elog "Start the WICD GUI using:"
+ elog " /usr/bin/wicd-client"
+ einfo
+ elog "You may need to restart the dbus service after upgrading wicd."
+}