Added wicd-1.6.2.2 build template.
--HG-- extra : convert_revision : 289e7b188e77d8db0f44470cdc5573a928312ee5
This commit is contained in:
parent
f7e8080e14
commit
bf379a66de
4 changed files with 106 additions and 0 deletions
25
srcpkgs/wicd/INSTALL
Normal file
25
srcpkgs/wicd/INSTALL
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
#
|
||||||
|
# This script will suggest the user to remove services that could
|
||||||
|
# interfere with wicd at startup.
|
||||||
|
#
|
||||||
|
case "${ACTION}" in
|
||||||
|
pre)
|
||||||
|
;;
|
||||||
|
post)
|
||||||
|
cat << _EOF
|
||||||
|
=====================================================================
|
||||||
|
|
||||||
|
Please note that wicd does not require to have dhcpcd and/or
|
||||||
|
wpa_supplicant services running at boot. If you are using them at
|
||||||
|
boot, please disable them before using wicd. You can do that with:
|
||||||
|
|
||||||
|
$ /etc/init.d/<service> stop
|
||||||
|
$ rc-update del <service> default
|
||||||
|
|
||||||
|
ATTENTION: to make wicd work for your user, it must be a member
|
||||||
|
of the 'users' group.
|
||||||
|
|
||||||
|
=====================================================================
|
||||||
|
_EOF
|
||||||
|
;;
|
||||||
|
esac
|
11
srcpkgs/wicd/files/wicd.desktop
Normal file
11
srcpkgs/wicd/files/wicd.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=Application;Network;Internet;
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=/usr/bin/wicd-client
|
||||||
|
GenericName=Network Manager
|
||||||
|
Icon=wicd-client.png
|
||||||
|
Comment=Manage Wired/Wireless Networks
|
||||||
|
Name=Wicd
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
10
srcpkgs/wicd/files/wicd.rc
Normal file
10
srcpkgs/wicd/files/wicd.rc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/sbin/runscript
|
||||||
|
|
||||||
|
command=/usr/sbin/wicd
|
||||||
|
pidfile=/var/run/wicd/wicd.pid
|
||||||
|
|
||||||
|
depend()
|
||||||
|
{
|
||||||
|
need dbus
|
||||||
|
need hal
|
||||||
|
}
|
60
srcpkgs/wicd/template
Normal file
60
srcpkgs/wicd/template
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
# Template file for 'wicd'
|
||||||
|
pkgname=wicd
|
||||||
|
version=1.6.2.2
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||||
|
build_style=custom-install
|
||||||
|
short_desc="Open source wired and wireless network manager"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=2ca57c71a2415fa0d971dcecdb5541a1f93a80fc7756e46923d166591d97de23
|
||||||
|
long_desc="
|
||||||
|
Wicd is an open source wired and wireless network manager for Linux
|
||||||
|
which aims to provide a simple interface to connect to networks with a
|
||||||
|
wide variety of settings.
|
||||||
|
|
||||||
|
Some of Wicd's features include:
|
||||||
|
* No Gnome dependencies (although it does require GTK), so it is easy to
|
||||||
|
use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
|
||||||
|
* Ability to connect to wired (Ethernet only, no PPPoE/DSL support yet)
|
||||||
|
and wireless networks
|
||||||
|
* Profiles for each wireless network and wired network
|
||||||
|
* Many encryption schemes, some of which include WEP/WPA/WPA2 (and you
|
||||||
|
can add your own)
|
||||||
|
* Remains compatible with wireless-tools
|
||||||
|
* Tray icon showing network activity and signal strength
|
||||||
|
* A full-featured console interface"
|
||||||
|
|
||||||
|
keep_empty_dirs=yes
|
||||||
|
noarch=yes
|
||||||
|
conf_files="
|
||||||
|
/etc/dbus-1/system.d/wicd.conf
|
||||||
|
/etc/wicd/encryption/templates/active"
|
||||||
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||||
|
openrc_services="wicd default"
|
||||||
|
|
||||||
|
Add_dependency full dbus-python
|
||||||
|
Add_dependency full pygtk
|
||||||
|
Add_dependency full dhcpcd
|
||||||
|
Add_dependency full wpa_supplicant
|
||||||
|
Add_dependency full wireless_tools
|
||||||
|
Add_dependency full ethtool
|
||||||
|
Add_dependency full shared-mime-info
|
||||||
|
Add_dependency full python-urwid
|
||||||
|
Add_dependency full hicolor-icon-theme
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
cd ${wrksrc} || return 1
|
||||||
|
python setup.py configure --no-install-init \
|
||||||
|
--resume=/usr/share/wicd/scripts \
|
||||||
|
--suspend=/usr/share/wicd/scripts || return 1
|
||||||
|
python setup.py install --root=${DESTDIR} || return 1
|
||||||
|
|
||||||
|
install -D -m755 ${FILESDIR}/wicd.rc \
|
||||||
|
${DESTDIR}/etc/init.d/wicd || return 1
|
||||||
|
install -d ${DESTDIR}/usr/share/applications || return 1
|
||||||
|
install -m644 ${FILESDIR}/wicd.desktop \
|
||||||
|
${DESTDIR}/usr/share/applications || return 1
|
||||||
|
install -d ${DESTDIR}/usr/lib/wicd || return 1
|
||||||
|
install -D -m755 build/lib/wicd/*.py \
|
||||||
|
${DESTDIR}/usr/lib/wicd || return 1
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue