sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Julien ROZO (72e593969e07dad1feed6cb7ca6dcfc3fe6fde8f)
- From: Julien ROZO <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Julien ROZO (72e593969e07dad1feed6cb7ca6dcfc3fe6fde8f)
- Date: Thu, 26 Feb 2009 03:55:15 -0600
GIT changes to master grimoire by Julien ROZO <julien AT rozo.org>:
ChangeLog | 7 +++++++
net/wicd/BUILD | 28 ++++++++++++++++++++++++++++
net/wicd/CONFIGURE | 10 ++++++++++
net/wicd/DEPENDS | 17 +++++++++++++++++
net/wicd/DETAILS | 15 +++++++++++++++
net/wicd/HISTORY | 4 ++++
net/wicd/INSTALL | 2 ++
net/wicd/init.d/wicd | 31 +++++++++++++++++++++++++++++++
utils/pm-utils/DEPENDS | 3 +++
utils/pm-utils/DETAILS | 14 ++++++++++++++
utils/pm-utils/HISTORY | 3 +++
11 files changed, 134 insertions(+)
New commits:
commit 72e593969e07dad1feed6cb7ca6dcfc3fe6fde8f
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>
wicd: new spell, a wired and wireless network manager
commit e7118bababac53e13b18f33cca1ca5687bafda65
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>
pm-utils: new spell, a small collection of scripts that handle suspend
and resume on behalf of HAL.
diff --git a/ChangeLog b/ChangeLog
index 7148072..04451df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-26 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * net/wicd: new spell, a wired and wireless network manager
+
+2009-02-25 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * utils/pm-utils: new spell, a small collection of scripts that
+ handle suspend and resume on behalf of HAL
+
2009-02-24 Treeve Jelbert <treeve AT sourcemage.org>
* mobile/libwbxml: renamed from wbxml2
diff --git a/net/wicd/BUILD b/net/wicd/BUILD
new file mode 100755
index 0000000..f2e3c3d
--- /dev/null
+++ b/net/wicd/BUILD
@@ -0,0 +1,28 @@
+cd $SOURCE_DIRECTORY &&
+OPTS="--lib=${INSTALL_ROOT}/usr/lib/${SPELL}/ \
+ --share=${INSTALL_ROOT}/usr/share/${SPELL}/ \
+ --etc=${INSTALL_ROOT}/etc/${SPELL}/ \
+ --images=${INSTALL_ROOT}/usr/share/pixmaps/${SPELL}/ \
+ --bin=${INSTALL_ROOT}/usr/bin/ \
+ --sbin=${INSTALL_ROOT}/usr/sbin/ \
+ --networks=${INSTALL_ROOT}/var/lib/${SPELL}/configurations/ \
+ --log=${INSTALL_ROOT}/var/log/${SPELL}/ \
+ --dbus=${INSTALL_ROOT}/etc/dbus-1/system.d/ \
+ --desktop=${INSTALL_ROOT}/usr/share/applications/ \
+ --icons=${INSTALL_ROOT}/usr/share/icons/hicolor/ \
+ --translations=${INSTALL_ROOT}/usr/share/locale/ \
+ --python=${INSTALL_ROOT}/usr/bin/python
+ --pidfile=${INSTALL_ROOT}/var/run/${SPELL}/${SPELL}.pid \
+ --no-install-init \
+ $OPTS" &&
+
+if [[ $WICD_KDEVER == "3.x" ]]; then
+ OPTS="--kdedir=`${INSTALL_ROOT}/usr/bin/kde-config --prefix` $OPTS"
+elif [[ $WICD_KDEVER == "4.x" ]]; then
+ OPTS="--kdedir=`${INSTALL_ROOT}/opt/kde4/bin/kde4-config --prefix` $OPTS"
+else
+ OPTS="--no-install-kde $OPTS"
+fi &&
+
+echo $OPTS
+python setup.py configure $OPTS
diff --git a/net/wicd/CONFIGURE b/net/wicd/CONFIGURE
new file mode 100755
index 0000000..90bf58c
--- /dev/null
+++ b/net/wicd/CONFIGURE
@@ -0,0 +1,10 @@
+config_query_option WICD_MAN "Install man pages ?" y \
+ "--mandir=${INSTALL_ROOT}/usr/share/man" \
+ "--no-install-man" &&
+
+config_query_option WICD_DOC "Install auxiliary documentation ?" y \
+
"--docdir=${INSTALL_ROOT}/usr/share/doc/$SPELL/" \
+ "--no-install-docs" &&
+
+config_query_list WICD_KDEVER "For which KDE version do you want to install
an autostart script ?" \
+ none 3.x 4.x
diff --git a/net/wicd/DEPENDS b/net/wicd/DEPENDS
new file mode 100755
index 0000000..741c4a3
--- /dev/null
+++ b/net/wicd/DEPENDS
@@ -0,0 +1,17 @@
+depends dbus &&
+depends pygtk2 &&
+
+optional_depends acpid "--resume=${INSTALL_ROOT}/etc/acpi/resume.d/ \
+ --suspend=${INSTALL_ROOT}/etc/acpi/suspend.d/" \
+ "--no-install-acpi" \
+ "to install the suspend.d and resume.d acpi scripts"
&&
+
+optional_depends pm-utils
"--pmutils=${INSTALL_ROOT}/usr/lib/pm-utils/sleep.d/" \
+ "--no-install-pmutils" \
+ "to install pm-utils hooks" &&
+
+if [[ $WICD_KDEVER == "3.x" ]]; then
+ depends kdebase
+elif [[ $WICD_KDEVER == "4.x" ]]; then
+ depends kdebase4
+fi
diff --git a/net/wicd/DETAILS b/net/wicd/DETAILS
new file mode 100755
index 0000000..97a323d
--- /dev/null
+++ b/net/wicd/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=wicd
+ VERSION=1.5.9
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=$SOURCEFORGE_URL/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:d25ad8dc1176e796682d630b7086ca634e0dae3fa5ea350134a01e21abd6eec682e2bbf6d9f7dae1a849b85093e54f1853b2a5b2bca0d3b9c2d2b5b6ed3fde66
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://wicd.sourceforge.net/"
+ LICENSE[0]=GPL
+ ENTERED=20090226
+ SHORT="wired and wireless network manager"
+cat << EOF
+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.
+EOF
diff --git a/net/wicd/HISTORY b/net/wicd/HISTORY
new file mode 100644
index 0000000..db61521
--- /dev/null
+++ b/net/wicd/HISTORY
@@ -0,0 +1,4 @@
+2009-02-26 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, INSTALL, HISTORY, init.d/wicd:
+ spell created
+
diff --git a/net/wicd/INSTALL b/net/wicd/INSTALL
new file mode 100755
index 0000000..9ac5900
--- /dev/null
+++ b/net/wicd/INSTALL
@@ -0,0 +1,2 @@
+cd $SOURCE_DIRECTORY &&
+python setup.py install --root=${INSTALL_ROOT}/
diff --git a/net/wicd/init.d/wicd b/net/wicd/init.d/wicd
new file mode 100644
index 0000000..a71b356
--- /dev/null
+++ b/net/wicd/init.d/wicd
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+PROGRAM="/usr/sbin/wicd"
+RUNLEVEL=3
+NEEDS="+network"
+
+PIDFILE="/var/run/wicd/wicd.pid"
+
+. /etc/init.d/smgl_init
+
+start() {
+ if [ -e $PIDFILE ]; then
+ echo "Wicd appears to already be running."
+ echo "If this is not the case, then remove "
+ echo "$PIDFILE and try again..."
+ exit 1
+ else
+ echo "Starting wicd daemon..."
+ $PROGRAM 2>/dev/null 1>&2
+ fi
+ evaluate_retval
+}
+
+stop() {
+ echo "Stopping wicd daemon..."
+ if [ -e $PIDFILE ]; then
+ kill $(cat $PIDFILE) 2>/dev/null
+ rm -f $PIDFILE 2>/dev/null
+ fi
+ evaluate_retval
+}
diff --git a/utils/pm-utils/DEPENDS b/utils/pm-utils/DEPENDS
new file mode 100755
index 0000000..7856b88
--- /dev/null
+++ b/utils/pm-utils/DEPENDS
@@ -0,0 +1,3 @@
+depends hal &&
+optional_depends xmlto "" "" "to build man pages"
+
diff --git a/utils/pm-utils/DETAILS b/utils/pm-utils/DETAILS
new file mode 100755
index 0000000..5d5430e
--- /dev/null
+++ b/utils/pm-utils/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=pm-utils
+ VERSION=1.2.4
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://${SPELL}.freedesktop.org/releases/${SOURCE}
+
SOURCE_HASH=sha512:2cc2f1dcd7c6b8e401bab3d2650502eafdd8ff27fec2724eb29a1eac41e3740ddf387e001eafe0433154353a86d93304aa653eee0554e7fe229cbe9fd2c714ab
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://pm-utils.freedesktop.org/"
+ LICENSE[0]=GPL
+ ENTERED=20090225
+ SHORT="scripts to handle suspend and resume via HAL"
+cat << EOF
+pm-utils is a small collection of scripts that handle suspend and resume on
+behalf of HAL.
+EOF
diff --git a/utils/pm-utils/HISTORY b/utils/pm-utils/HISTORY
new file mode 100644
index 0000000..1877732
--- /dev/null
+++ b/utils/pm-utils/HISTORY
@@ -0,0 +1,3 @@
+2009-02-25 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DEPENDS, DETAILS, HISTORY: spell created
+
- [SM-Commit] GIT changes to master grimoire by Julien ROZO (72e593969e07dad1feed6cb7ca6dcfc3fe6fde8f), Julien ROZO, 02/26/2009
Archive powered by MHonArc 2.6.24.