network/wicd: Removed from 12.2 repository

This commit is contained in:
Heinz Wiesinger 2010-05-12 11:47:57 +02:00
parent 85895418fc
commit 9006ec9ba6
6 changed files with 0 additions and 206 deletions

View file

@ -1,23 +0,0 @@
wicd is a wired and wireless network manager for Linux.
Some features include:
- Ability to connect to wired and wireless networks
- Profiles for each wireless network and wired network
- Many encryption schemes, some of which include WEP/WPA/WPA2
- Compatible with wireless-tools
You will need to start the wicd service at boot by adding the following
to your /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.wicd ]; then
/etc/rc.d/rc.wicd start
fi
This should default to using dhcpcd after installation unless you have a
previous installation that uses dhclient; in that case, you will have a
.new file lying around in /etc/wicd/ to remove.
You need to stop wicd before upgrading the package if you have a previous
version installed, and be sure to restart it after the upgrade.
If you are upgrading from wicd-1.4.x, the migration script might be useful.
However, it is untested and comes with no guarantees - back up first.

View file

@ -1,50 +0,0 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
# Keep same perms on rc.wicd.new:
if [ -e etc/rc.d/rc.wicd ]; then
cp -a etc/rc.d/rc.wicd etc/rc.d/rc.wicd.new.incoming
cat etc/rc.d/rc.wicd.new > etc/rc.d/rc.wicd.new.incoming
mv etc/rc.d/rc.wicd.new.incoming etc/rc.d/rc.wicd.new
else
chmod 0755 etc/rc.d/rc.wicd.new
fi
# Reload messagebus service
if [ -x etc/rc.d/rc.messagebus ]; then
chroot . /etc/rc.d/rc.messagebus reload
fi
# Update desktop menu
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
# Update icon cache if one exists
if [ -r usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -t -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
config etc/rc.d/rc.wicd.new
config etc/wicd/manager-settings.conf.new
rm -f usr/lib/python2.5/site-packages/wicd/*.pyc 2>/dev/null
echo
echo "You need to kill the wicd client (tray icon),"
echo "then restart the wicd daemon (run '/etc/rc.d/rc.wicd restart'),"
echo "then restart the tray icon (run 'wicd-client &' as normal user)."
echo

View file

@ -1,24 +0,0 @@
#!/bin/sh
WICD14=${WICD14:-/opt/wicd}
WICD15_etc=${WICD15:-/etc/wicd}
WICD15_var=${WICD15:-/var/lib/wicd}
for config in \
manager-settings.conf \
wired-settings.conf \
wireless-settings.conf ;
do \
if [ -e ${WICD14}/data/$config ]; then
cp -a ${WICD14}/data/$config ${WICD15_etc}/$config
fi ;
done
if [ "$(ls ${WICD14}/encryption/configurations/ | wc -l)" -gt 0 ]; then
for config in \
${WICD14}/encryption/configurations/* ;
do \
cp -a $config ${WICD15_var}/configurations ;
done
fi

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
wicd: wicd (network manager for linux)
wicd:
wicd: wicd is a wired and wireless network manager for Linux.
wicd: Some features include:
wicd: - Ability to connect to wired and wireless networks
wicd: - Profiles for each wireless network and wired network
wicd: - Many encryption schemes, some of which include WEP/WPA/WPA2
wicd: - Compatible with wireless-tools
wicd:
wicd: Homepage: http://wicd.sourceforge.net
wicd:

View file

@ -1,82 +0,0 @@
#!/bin/sh
# Copyright 2008 Robby Workman Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# I should give a big thanks to Adam Blackburn and Dan O'Reilly (wicd devs)
# for their outstanding work on this, not the least of which was their
# cooperation in making it very Slackware-friendly. Thanks, guys!
PRGNAM=wicd
VERSION=${VERSION:-1.5.4}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PMUTILS=${PMUTILS:-NO}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
python setup.py configure
python setup.py install --root=$PKG
# This sets dhcpcd as the default dhcp client in the Preferences dialog
cat << EOF > $PKG/etc/wicd/manager-settings.conf.new
[Settings]
dhcp_client = 2
EOF
# Don't clobber init script on upgrade
mv $PKG/etc/rc.d/rc.wicd $PKG/etc/rc.d/rc.wicd.new
# Compress the man pages and add a couple of things to the package docs
find $PKG/usr/man -type f -exec gzip -9 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
# If pm-utils is installed, or the user wants support for it later, then
# we'll install the hook; otherwise, this defaults to NO
if ls /var/log/packages/pm-utils-* 1>/dev/null 2>/dev/null ; then
PMUTILS=YES
fi
if [ "$PMUTILS" = "YES" ]; then
mkdir -p $PKG/usr/lib/pm-utils/sleep.d
cp -a other/55-wicd $PKG/usr/lib/pm-utils/sleep.d
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -1,8 +0,0 @@
PRGNAM="wicd"
VERSION="1.5.4"
HOMEPAGE="http://wicd.net/"
DOWNLOAD="http://downloads.sourceforge.net/wicd/wicd-1.5.4.tar.gz"
MD5SUM="2a2d120aecded75d4c07fcc4426098f6"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Michiel dsomero"