summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2012-01-30 14:59:36 +0000
committerThomas Kahle <tomka@gentoo.org>2012-01-30 14:59:36 +0000
commit6bf120167bd09bf078a4e587f8e8350792c56376 (patch)
treee4cad950a7c6743e535aa899b418336bcf2d79dd /net-misc/wicd
parentAdding emul-linux-x86-xlibs depends. (diff)
downloadgentoo-2-6bf120167bd09bf078a4e587f8e8350792c56376.tar.gz
gentoo-2-6bf120167bd09bf078a4e587f8e8350792c56376.tar.bz2
gentoo-2-6bf120167bd09bf078a4e587f8e8350792c56376.zip
Remove some old versions
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/wicd')
-rw-r--r--net-misc/wicd/ChangeLog8
-rw-r--r--net-misc/wicd/files/fix-ad-hoc-networking.patch11
-rw-r--r--net-misc/wicd/files/wicd-1.7.1_beta2-urwid-1.0.patch20
-rw-r--r--net-misc/wicd/wicd-1.7.1_beta2-r3.ebuild106
-rw-r--r--net-misc/wicd/wicd-1.7.1_beta2-r6.ebuild116
-rw-r--r--net-misc/wicd/wicd-1.7.1_beta2-r7.ebuild118
-rw-r--r--net-misc/wicd/wicd-1.7.1_pre20111210.ebuild119
7 files changed, 7 insertions, 491 deletions
diff --git a/net-misc/wicd/ChangeLog b/net-misc/wicd/ChangeLog
index 95ed87aebb95..6d38b78d40b7 100644
--- a/net-misc/wicd/ChangeLog
+++ b/net-misc/wicd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/wicd
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.108 2012/01/29 12:23:34 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.109 2012/01/30 14:59:36 tomka Exp $
+
+ 30 Jan 2012; Thomas Kahle <tomka@gentoo.org> -wicd-1.7.1_beta2-r3.ebuild,
+ -wicd-1.7.1_beta2-r6.ebuild, -wicd-1.7.1_beta2-r7.ebuild,
+ -wicd-1.7.1_pre20111210.ebuild, -files/wicd-1.7.1_beta2-urwid-1.0.patch,
+ -files/fix-ad-hoc-networking.patch:
+ Remove some old versions
29 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
wicd-1.7.1_pre20120127.ebuild:
diff --git a/net-misc/wicd/files/fix-ad-hoc-networking.patch b/net-misc/wicd/files/fix-ad-hoc-networking.patch
deleted file mode 100644
index 344e51a6cb8c..000000000000
--- a/net-misc/wicd/files/fix-ad-hoc-networking.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- wicd-1.7.0/wicd/wnettools.py 2010-01-15 12:49:11.000000000 +0800
-+++ wicd-1.7.0.patched/wicd/wnettools.py 2010-12-12 03:50:31.000000000 +0800
-@@ -59,7 +59,7 @@ wpa2_pattern = re.compile('(WPA2)', _re_
-
- #iwconfig-only regular expressions.
- ip_pattern = re.compile(r'inet [Aa]d?dr[^.]*:([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
--bssid_pattern = re.compile('.*Access Point: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
-+bssid_pattern = re.compile('.*[(Access Point)|(Cell)]: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
- bitrate_pattern = re.compile('.*Bit Rate[=:](.*?/s)', _re_mode)
- opmode_pattern = re.compile('.*Mode:(.*?) ', _re_mode)
- authmethods_pattern = re.compile('.*Authentication capabilities :\n(.*?)Current', _re_mode)
diff --git a/net-misc/wicd/files/wicd-1.7.1_beta2-urwid-1.0.patch b/net-misc/wicd/files/wicd-1.7.1_beta2-urwid-1.0.patch
deleted file mode 100644
index b1b5abc02795..000000000000
--- a/net-misc/wicd/files/wicd-1.7.1_beta2-urwid-1.0.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- /usr/share/wicd/curses/wicd-curses.py.old 2011-10-01 14:54:47.478406517 +0400
-+++ /usr/share/wicd/curses/wicd-curses.py 2011-10-01 14:49:50.781273004 +0400
-@@ -241,7 +241,7 @@
- # Don't stop because someone let go of the mouse on the frame
- mouse_release = False
- for k in keys:
-- if urwid.is_mouse_event(k) and k[0] == "mouse release":
-+ if urwid.util.is_mouse_event(k) and k[0] == "mouse release":
- mouse_release = True
- break
- if mouse_release :
-@@ -882,7 +882,7 @@
- data[4], False)
-
- for k in keys:
-- if urwid.is_mouse_event(k):
-+ if urwid.util.is_mouse_event(k):
- event, button, col, row = k
- self.frame.mouse_event( self.size,
- event, button, col, row,
diff --git a/net-misc/wicd/wicd-1.7.1_beta2-r3.ebuild b/net-misc/wicd/wicd-1.7.1_beta2-r3.ebuild
deleted file mode 100644
index 87aeaf2253bc..000000000000
--- a/net-misc/wicd/wicd-1.7.1_beta2-r3.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2-r3.ebuild,v 1.7 2011/10/27 21:04:41 tomka Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="ncurses? xml"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
-
-inherit eutils distutils
-
-MY_P=${P/_beta/b}
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A lightweight wired and wireless network manager for Linux"
-HOMEPAGE="http://wicd.sourceforge.net/"
-SRC_URI="http://downloads.wicd.net/src/testing/1.7.x/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils"
-
-DEPEND=""
-# Maybe virtual/dhcp would work, but there are enough problems with
-# net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered
-# first if none are installed.
-RDEPEND="
- dev-python/dbus-python
- X? ( gtk? ( dev-python/pygtk
- || (
- x11-libs/gksu
- kde-base/kdesu
- )
- )
- )
- || (
- net-misc/dhcpcd
- net-misc/dhcp
- net-misc/pump
- )
- net-wireless/wireless-tools
- net-wireless/wpa_supplicant
- || (
- sys-apps/net-tools
- sys-apps/ethtool
- )
- !gtk? ( dev-python/pygobject:2 )
- ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
- libnotify? ( dev-python/notify-python )
- ncurses? (
- >=dev-python/urwid-0.9.9.1
- <dev-python/urwid-1.0.0
- dev-python/pygobject:2
- )
- pm-utils? ( >=sys-power/pm-utils-1.1.1 )
- "
-DOCS="CHANGES NEWS AUTHORS README"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-init.patch
- python_copy_sources
-}
-
-src_configure() {
- local myconf
- use gtk || myconf="${myconf} --no-install-gtk"
- use libnotify || myconf="${myconf} --no-use-notifications"
- use ncurses || myconf="${myconf} --no-install-ncurses"
- use pm-utils || myconf="${myconf} --no-install-pmutils"
- configuration() {
- $(PYTHON) ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
- }
- python_execute_function -s configuration
-}
-
-src_install() {
- distutils_src_install
- keepdir /var/lib/wicd/configurations \
- || die "keepdir failed, critical for this app"
- keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \
- || die "keepdir failed, critical for this app"
- keepdir /var/log/wicd \
- || die "keepdir failed, critical for this app"
- use nls || rm -rf "${D}"/usr/share/locale
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- elog "You may need to restart the dbus service after upgrading wicd."
- echo
- elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
- elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
- elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
- elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
- # Maintainer's note: the consolekit use flag short circuits a dbus rule and
- # allows the connection. Else, you need to be in the group.
- if ! has_version sys-auth/pambase[consolekit]; then
- ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
- ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
- fi
-}
diff --git a/net-misc/wicd/wicd-1.7.1_beta2-r6.ebuild b/net-misc/wicd/wicd-1.7.1_beta2-r6.ebuild
deleted file mode 100644
index 507ab93003b7..000000000000
--- a/net-misc/wicd/wicd-1.7.1_beta2-r6.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2-r6.ebuild,v 1.4 2011/10/27 21:04:41 tomka Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="ncurses? xml"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
-
-inherit eutils distutils
-
-MY_P=${P/_beta/b}
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A lightweight wired and wireless network manager for Linux"
-HOMEPAGE="http://wicd.sourceforge.net/"
-SRC_URI="http://downloads.wicd.net/src/testing/1.7.x/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils"
-
-DEPEND=""
-# Maybe virtual/dhcp would work, but there are enough problems with
-# net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered
-# first if none are installed.
-RDEPEND="
- dev-python/dbus-python
- X? ( gtk? ( dev-python/pygtk
- || (
- x11-libs/gksu
- kde-base/kdesu
- )
- )
- )
- || (
- net-misc/dhcpcd
- net-misc/dhcp
- net-misc/pump
- )
- net-wireless/wireless-tools
- net-wireless/wpa_supplicant
- || (
- sys-apps/net-tools
- sys-apps/ethtool
- )
- !gtk? ( dev-python/pygobject:2 )
- ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
- libnotify? ( dev-python/notify-python )
- ncurses? (
- >=dev-python/urwid-0.9.9.1
- <dev-python/urwid-1.0.0
- dev-python/pygobject:2
- )
- pm-utils? ( >=sys-power/pm-utils-1.1.1 )
- "
-DOCS="CHANGES NEWS AUTHORS README"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-init.patch
- epatch "${FILESDIR}"/${PN}-init-sve-start.patch
- # Fix ad-hoc networking (bug 351337)
- epatch "${FILESDIR}"/fix-ad-hoc-networking.patch
- # Add a template for hex psk's and wpa (Bug 306423)
- epatch "${FILESDIR}"/add-wpa-psk-hex-template.patch
- # get rid of opts variable to fix bug 381885
- sed -i "/opts/d" "in/init=gentoo=wicd.in"
- # Need to ensure that generated scripts use Python 2 at run time.
- sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \
- -i setup.py || die "sed failed"
- python_copy_sources
-}
-
-src_configure() {
- local myconf
- use gtk || myconf="${myconf} --no-install-gtk"
- use libnotify || myconf="${myconf} --no-use-notifications"
- use ncurses || myconf="${myconf} --no-install-ncurses"
- use pm-utils || myconf="${myconf} --no-install-pmutils"
- configuration() {
- $(PYTHON) ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
- }
- python_execute_function -s configuration
-}
-
-src_install() {
- distutils_src_install
- keepdir /var/lib/wicd/configurations \
- || die "keepdir failed, critical for this app"
- keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \
- || die "keepdir failed, critical for this app"
- keepdir /var/log/wicd \
- || die "keepdir failed, critical for this app"
- use nls || rm -rf "${D}"/usr/share/locale
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- elog "You may need to restart the dbus service after upgrading wicd."
- echo
- elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
- elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
- elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/rc.conf"
- elog "(For example, rc_hotplug=\"!net.eth* !net.wlan*\")"
- # Maintainer's note: the consolekit use flag short circuits a dbus rule and
- # allows the connection. Else, you need to be in the group.
- if ! has_version sys-auth/pambase[consolekit]; then
- ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
- ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
- fi
-}
diff --git a/net-misc/wicd/wicd-1.7.1_beta2-r7.ebuild b/net-misc/wicd/wicd-1.7.1_beta2-r7.ebuild
deleted file mode 100644
index 2d83d1067b6b..000000000000
--- a/net-misc/wicd/wicd-1.7.1_beta2-r7.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_beta2-r7.ebuild,v 1.4 2011/11/22 19:32:58 tomka Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="ncurses? xml"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
-
-inherit eutils distutils
-
-MY_P=${P/_beta/b}
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A lightweight wired and wireless network manager for Linux"
-HOMEPAGE="http://wicd.sourceforge.net/"
-SRC_URI="http://downloads.wicd.net/src/testing/1.7.x/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils"
-
-DEPEND=""
-# Maybe virtual/dhcp would work, but there are enough problems with
-# net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered
-# first if none are installed.
-RDEPEND="
- dev-python/dbus-python
- X? ( gtk? ( dev-python/pygtk
- || (
- x11-libs/gksu
- kde-base/kdesu
- )
- )
- )
- || (
- net-misc/dhcpcd
- net-misc/dhcp
- net-misc/pump
- )
- net-wireless/wireless-tools
- net-wireless/wpa_supplicant
- || (
- <sys-apps/net-tools-1.60_p201111202031570500
- >=sys-apps/net-tools-1.60_p201111202031570500[old-output]
- sys-apps/ethtool
- )
- !gtk? ( dev-python/pygobject:2 )
- ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
- libnotify? ( dev-python/notify-python )
- ncurses? (
- >=dev-python/urwid-1.0.0
- dev-python/pygobject:2
- )
- pm-utils? ( >=sys-power/pm-utils-1.1.1 )
- "
-DOCS="CHANGES NEWS AUTHORS README"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-init.patch
- # Fix urwid calls
- epatch "${FILESDIR}/${P}"-urwid-1.0.patch
- epatch "${FILESDIR}"/${PN}-init-sve-start.patch
- # Fix ad-hoc networking (bug 351337)
- epatch "${FILESDIR}"/fix-ad-hoc-networking.patch
- # Add a template for hex psk's and wpa (Bug 306423)
- epatch "${FILESDIR}"/add-wpa-psk-hex-template.patch
- # get rid of opts variable to fix bug 381885
- sed -i "/opts/d" "in/init=gentoo=wicd.in"
- # Need to ensure that generated scripts use Python 2 at run time.
- sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \
- -i setup.py || die "sed failed"
- python_copy_sources
-}
-
-src_configure() {
- local myconf
- use gtk || myconf="${myconf} --no-install-gtk"
- use libnotify || myconf="${myconf} --no-use-notifications"
- use ncurses || myconf="${myconf} --no-install-ncurses"
- use pm-utils || myconf="${myconf} --no-install-pmutils"
- configuration() {
- $(PYTHON) ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
- }
- python_execute_function -s configuration
-}
-
-src_install() {
- distutils_src_install
- keepdir /var/lib/wicd/configurations \
- || die "keepdir failed, critical for this app"
- keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \
- || die "keepdir failed, critical for this app"
- keepdir /var/log/wicd \
- || die "keepdir failed, critical for this app"
- use nls || rm -rf "${D}"/usr/share/locale
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- elog "You may need to restart the dbus service after upgrading wicd."
- echo
- elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
- elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
- elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/rc.conf"
- elog "(For example, rc_hotplug=\"!net.eth* !net.wlan*\")"
- # Maintainer's note: the consolekit use flag short circuits a dbus rule and
- # allows the connection. Else, you need to be in the group.
- if ! has_version sys-auth/pambase[consolekit]; then
- ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
- ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
- fi
-}
diff --git a/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild b/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild
deleted file mode 100644
index 71504de86da9..000000000000
--- a/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20111210.ebuild,v 1.4 2011/12/30 09:42:08 tomka Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="ncurses? xml"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
-
-inherit eutils distutils systemd
-
-MY_PV="${PN}-1.7.1"
-S="${WORKDIR}/${MY_PV}"
-
-DESCRIPTION="A lightweight wired and wireless network manager for Linux"
-HOMEPAGE="http://wicd.sourceforge.net/"
-SRC_URI="http://dev.gentoo.org/~tomka/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils"
-
-DEPEND=""
-# Maybe virtual/dhcp would work, but there are enough problems with
-# net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered
-# first if none are installed.
-RDEPEND="
- dev-python/dbus-python
- X? ( gtk? ( dev-python/pygtk
- || (
- x11-libs/gksu
- kde-base/kdesu
- )
- )
- )
- || (
- net-misc/dhcpcd
- net-misc/dhcp
- net-misc/pump
- )
- net-wireless/wireless-tools
- net-wireless/wpa_supplicant
- || (
- sys-apps/net-tools
- sys-apps/ethtool
- )
- !gtk? ( dev-python/pygobject:2 )
- ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
- libnotify? ( dev-python/notify-python )
- ncurses? (
- dev-python/urwid
- dev-python/pygobject:2
- )
- pm-utils? ( >=sys-power/pm-utils-1.1.1 )
- "
-DOCS="CHANGES NEWS AUTHORS README"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.7.1_beta2-init.patch
- epatch "${FILESDIR}"/${PN}-init-sve-start.patch
- # Add a template for hex psk's and wpa (Bug 306423)
- epatch "${FILESDIR}"/${P}-wpa-psk-hex-template.patch
- # get rid of opts variable to fix bug 381885
- sed -i "/opts/d" "in/init=gentoo=wicd.in"
- # Need to ensure that generated scripts use Python 2 at run time.
- sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \
- -i setup.py || die "sed failed"
- python_copy_sources
-}
-
-src_configure() {
- local myconf
- use gtk || myconf="${myconf} --no-install-gtk"
- use libnotify || myconf="${myconf} --no-use-notifications"
- use ncurses || myconf="${myconf} --no-install-ncurses"
- use pm-utils || myconf="${myconf} --no-install-pmutils"
- configuration() {
- $(PYTHON) ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
- }
- python_execute_function -s configuration
-}
-
-src_install() {
- distutils_src_install
- keepdir /var/lib/wicd/configurations \
- || die "keepdir failed, critical for this app"
- keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \
- || die "keepdir failed, critical for this app"
- keepdir /var/log/wicd \
- || die "keepdir failed, critical for this app"
- use nls || rm -rf "${D}"/usr/share/locale
- systemd_dounit "${S}/other/wicd.service"
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
-
- elog "You may need to restart the dbus service after upgrading wicd."
- echo
- elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
- elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
- elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/rc.conf"
- elog "(For example, rc_hotplug=\"!net.eth* !net.wlan*\")"
- # Maintainer's note: the consolekit use flag short circuits a dbus rule and
- # allows the connection. Else, you need to be in the group.
- if ! has_version sys-auth/pambase[consolekit]; then
- ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
- ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
- fi
- ewarn "If you upgrade from earlier versions, then be sure to check"
- ewarn "your connection settings. New versions parse old settings"
- ewarn "differently, so your DHCP hostname and passphrase could appear"
- ewarn "enclosed in ['square brackets in quotes']. In this case just"
- ewarn "remove the offending brackets and quotes."
-}