[Python-apps-commits] r2097 - in packages/wicd/trunk (21 files)

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Wed Dec 24 00:12:11 UTC 2008


    Date: Wednesday, December 24, 2008 @ 00:12:10
  Author: hanska-guest
Revision: 2097

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/wicd/trunk/debian/
  packages/wicd/trunk/debian/README.Debian
  packages/wicd/trunk/debian/changelog
  packages/wicd/trunk/debian/compat
  packages/wicd/trunk/debian/control
  packages/wicd/trunk/debian/copyright
  packages/wicd/trunk/debian/docs
  packages/wicd/trunk/debian/init
  packages/wicd/trunk/debian/links
  packages/wicd/trunk/debian/menu
  packages/wicd/trunk/debian/patches/
  packages/wicd/trunk/debian/patches/01-fix_desktop_file.patch
  packages/wicd/trunk/debian/patches/02-fix_logfile_perms.patch
  packages/wicd/trunk/debian/patches/03-fix_lintian_manpage_warning.patch
  packages/wicd/trunk/debian/patches/series
  packages/wicd/trunk/debian/postinst
  packages/wicd/trunk/debian/postrm
  packages/wicd/trunk/debian/prerm
  packages/wicd/trunk/debian/rules
  packages/wicd/trunk/debian/watch
  packages/wicd/trunk/debian/wicd-client.xpm


Property changes on: packages/wicd/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/wicd/trunk/debian/README.Debian
===================================================================
--- packages/wicd/trunk/debian/README.Debian	                        (rev 0)
+++ packages/wicd/trunk/debian/README.Debian	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,13 @@
+wicd for Debian
+---------------
+
+If Wicd fails to connect after you install it, make sure that the only 
+entry in your /etc/network/interfaces file is
+
+    auto lo
+    iface lo inet loopback
+
+You can change the contents of this file by using various editors, but
+remember: you have to be root!
+
+ -- David Paleino <d.paleino at gmail.com>  Thu, 11 Sep 2008 18:46:23 +0200

Added: packages/wicd/trunk/debian/changelog
===================================================================
--- packages/wicd/trunk/debian/changelog	                        (rev 0)
+++ packages/wicd/trunk/debian/changelog	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,25 @@
+wicd (1.5.6-1) unstable; urgency=low
+
+  * New upstream release (Closes: #503737)
+  * debian/control:
+    - added some runtime dependencies (not really, but used by most 
+      users) to wicd (Closes: #503739)
+    - DM-Upload-Allowed flag set
+    - added Conflicts: network-manager (Closes: #509051)
+    - added Suggests on pm-utils, since we now also have those
+      functionalities
+  * debian/postrm added:
+    - removes runtime-generated files (Closes: #503747)
+  * debian/patches:
+    - 02-fix_logfile_perms.patch added, sets permissions of 
+      /var/log/wicd/wicd.log to root:adm (Closes: #503749)
+    - 03-fix_lintian_manpage_warning.patch added, gives a more
+      meaningful whatis entry
+
+ -- David Paleino <d.paleino at gmail.com>  Tue, 23 Dec 2008 16:35:32 +0100
+
+wicd (1.5.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #465870)
+
+ -- David Paleino <d.paleino at gmail.com>  Sun, 14 Sep 2008 11:43:47 +0200

Added: packages/wicd/trunk/debian/compat
===================================================================
--- packages/wicd/trunk/debian/compat	                        (rev 0)
+++ packages/wicd/trunk/debian/compat	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1 @@
+7

Added: packages/wicd/trunk/debian/control
===================================================================
--- packages/wicd/trunk/debian/control	                        (rev 0)
+++ packages/wicd/trunk/debian/control	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,40 @@
+Source: wicd
+Section: net
+Priority: optional
+Maintainer: David Paleino <d.paleino at gmail.com>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7), python, quilt
+Build-Depends-Indep: python-support
+Standards-Version: 3.8.0
+Homepage: http://wicd.sourceforge.net/
+Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/wicd/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/wicd/trunk
+
+Package: wicd
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+ python-gtk2,
+ python-dbus,
+ wpasupplicant,
+ python-glade2,
+ wireless-tools,
+ dhcpd | dhcp3-client | pump,
+ net-tools | ethtool,
+ net-tools | iproute
+Suggests: pm-utils
+Conflicts: network-manager
+Description: wired and wireless network manager
+ Wicd is an open source wired and wireless network manager which
+ aims to provide a simple interface to connect to networks with a 
+ wide variety of settings.
+ .
+ Some of Wicd's features include:
+ .
+  1. No GNOME dependencies (although it does require GTK+), so it is
+     easy to use in Xfce, Fluxbox, Openbox, Enlightenment, etc.
+  2. Ability to connect to wired and wireless networks
+  3. Profiles for each wireless network and wired network
+  4. Many encryption schemes, some of which include WEP/WPA/WPA2 (and
+     you can add your own)
+  5. Remains compatible with wireless-tools
+  6. Tray icon showing network activity and signal strength 

Added: packages/wicd/trunk/debian/copyright
===================================================================
--- packages/wicd/trunk/debian/copyright	                        (rev 0)
+++ packages/wicd/trunk/debian/copyright	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,68 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Name: Wicd
+Upstream-Maintainer: Adam Blackburn <compwiz18 at users.sourceforge.net>
+ Dan O'Reilly <oreilldf at gmail.com>
+Upstream-Source: https://sourceforge.net/project/showfiles.php?group_id=194573
+Packaged-By: David Paleino <d.paleino at gmail.com>
+Packaged-Date: Thu, 11 Sep 2008 19:35:30 +0200
+
+Files: debian/*
+Copyright: © 2008, David Paleino <d.paleino at gmail.com>
+License: GPL-2+
+
+Files: in/init\=gentoo\=wicd.in
+ init/gentoo/wicd
+Copyright: © 1996-2006, Gentoo Foundation
+License: GPL-2
+
+Files: in/man\=wicd.8.in
+ in/man\=wicd-manager-settings.conf.5.in
+ in/man\=wicd-wired-settings.conf.5.in
+ in/man\=wicd-wireless-settings.conf.5.in
+Copyright: © Robby Workman <rworkman at slackware.com>
+License: GPL-2+
+
+Files: wicd/networking.py
+ wicd/wicd-daemon.py
+ wicd/wnettools.py
+Copyright: © 2007-2008, Adam Blackburn <compwiz18 at users.sourceforge.net>
+Copyright: © 2007-2008, Dan O'Reilly <oreilldf at gmail.com>
+Copyright: © 2007-2008, Byron Hillis <b_hillis at optusnet.com.au>
+License: GPL-2+
+
+Files: uninstall.sh
+Copyright: © 2008, Robby Workman <rworkman at slackware.com>
+Copyright: © 2008, Alan Hicks <alan at slackware.com>
+License: BSD-1
+
+Files: *
+Copyright: © 2007-2008, Adam Blackburn <compwiz18 at users.sourceforge.net>
+Copyright: © 2007-2008, Dan O'Reilly <oreilldf at gmail.com>
+License: GPL-2+
+
+License: GPL-2+
+License: GPL-2
+ On Debian systems the full text of the GNU General Public License can 
+ be found in the `/usr/share/common-licenses/GPL' file.
+
+License: BSD-1
+ # Copyright 2008 Robby Workman <rworkman at slackware.com>, Northport, AL, USA
+ # Copyright 2008 Alan Hicks <alan at slackware.com>, Lizella, GA, 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.

Added: packages/wicd/trunk/debian/docs
===================================================================
--- packages/wicd/trunk/debian/docs	                        (rev 0)
+++ packages/wicd/trunk/debian/docs	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,2 @@
+README
+AUTHORS

Added: packages/wicd/trunk/debian/init
===================================================================
--- packages/wicd/trunk/debian/init	                        (rev 0)
+++ packages/wicd/trunk/debian/init	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,159 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          wicd
+# Required-Start:    dbus
+# Required-Stop:     
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Starts and stops Wicd
+# Description:       Starts and stops Wicd, a network manager
+### END INIT INFO
+
+# Author: Adam Blackburn <compwiz18 at users.sourceforge.net>
+#
+
+# Do NOT "set -e"
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/usr/sbin:/usr/bin:/sbin:/bin
+DESC="Network connection manager"
+NAME=wicd
+DAEMON=/usr/sbin/$NAME
+DAEMON_ARGS=""
+PIDFILE=/var/run/wicd/wicd.pid
+SCRIPTNAME=/etc/init.d/wicd
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# Load the VERBOSE setting and other rcS variables
+[ -f /etc/default/rcS ] && . /etc/default/rcS
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+# Perhaps not the best idea
+# but a confirmation is nice
+# when starting/stopping the daemon
+VERBOSE=yes
+
+#
+# Function that starts the daemon/service
+#
+do_start()
+{
+	# Return
+	#   0 if daemon has been started
+	#   1 if daemon was already running
+	#   2 if daemon could not be started
+	#   vvvv -- don't do this -- vvvv
+	#   [ -e $PIDFILE ] && return 1
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON --test > /dev/null \
+		|| return 1
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON -- \
+		$DAEMON_ARGS > /dev/null 2> /dev/null\
+		|| return 2
+	# Add code here, if necessary, that waits for the process to be ready
+	# to handle requests from services started subsequently which depend
+	# on this one.  As a last resort, sleep for some time.
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+	# Return
+	#   0 if daemon has been stopped
+	#   1 if daemon was already stopped
+	#   2 if daemon could not be stopped
+	#   other if a failure occurred
+	start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+	RETVAL="$?"
+	[ "$RETVAL" = 2 ] && return 2
+	# Wait for children to finish too if this is a daemon that forks
+	# and if the daemon is only ever run from this initscript.
+	# If the above conditions are not satisfied then add some other code
+	# that waits for the process to drop all resources that could be
+	# needed by services started subsequently.  A last resort is to
+	# sleep for some time.
+	start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
+	[ "$?" = 2 ] && return 2
+	# Many daemons don't delete their pidfiles when they exit.
+	rm -f $PIDFILE
+	return "$RETVAL"
+}
+
+#
+# Function that sends a SIGHUP to the daemon/service
+#
+do_reload() {
+	#
+	# If the daemon can reload its configuration without
+	# restarting (for example, when it is sent a SIGHUP),
+	# then implement that here.
+	#
+	start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+	return 0
+}
+
+case "$1" in
+  start)
+	[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
+	do_start
+	case "$?" in
+		0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+	esac
+	;;
+  stop)
+	[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+	do_stop
+	case "$?" in
+		0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+	esac
+	;;
+  #reload|force-reload)
+	#
+	# If do_reload() is not implemented then leave this commented out
+	# and leave 'force-reload' as an alias for 'restart'.
+	#
+	#log_daemon_msg "Reloading $DESC" "$NAME"
+	#do_reload
+	#log_end_msg $?
+	#;;
+  restart|force-reload)
+	#
+	# If the "reload" option is implemented then remove the
+	# 'force-reload' alias
+	#
+	log_daemon_msg "Restarting $DESC" "$NAME"
+	do_stop
+	case "$?" in
+	  0|1)
+		do_start
+		case "$?" in
+			0) log_end_msg 0 ;;
+			1) log_end_msg 1 ;; # Old process is still running
+			*) log_end_msg 1 ;; # Failed to start
+		esac
+		;;
+	  *)
+	  	# Failed to stop
+		log_end_msg 1
+		;;
+	esac
+	;;
+  *)
+	#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+	exit 3
+	;;
+esac
+
+:

Added: packages/wicd/trunk/debian/links
===================================================================
--- packages/wicd/trunk/debian/links	                        (rev 0)
+++ packages/wicd/trunk/debian/links	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1 @@
+usr/share/man/man8/wicd.8	usr/share/man/man8/wicd-client.8

Added: packages/wicd/trunk/debian/menu
===================================================================
--- packages/wicd/trunk/debian/menu	                        (rev 0)
+++ packages/wicd/trunk/debian/menu	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,5 @@
+?package(wicd):\
+ needs="X11" \
+ section="Applications/Network/Monitoring" \
+ title="WICD" command="/usr/bin/wicd-client" \
+ icon="/usr/share/pixmaps/wicd.xpm"

Added: packages/wicd/trunk/debian/patches/01-fix_desktop_file.patch
===================================================================
--- packages/wicd/trunk/debian/patches/01-fix_desktop_file.patch	                        (rev 0)
+++ packages/wicd/trunk/debian/patches/01-fix_desktop_file.patch	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,19 @@
+Remove deprecated Encoding line.
+--- wicd.orig/other/wicd-tray.desktop
++++ wicd/other/wicd-tray.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Categories=Application;Network;
+-Encoding=UTF-8
+ Exec=wicd-client
+ GenericName=Network Manager
+ Icon=wicd-client
+--- wicd.orig/other/wicd.desktop
++++ wicd/other/wicd.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Categories=Application;Network;
+-Encoding=UTF-8
+ Exec=wicd-client --no-tray
+ GenericName=Network Manager
+ Icon=wicd-client

Added: packages/wicd/trunk/debian/patches/02-fix_logfile_perms.patch
===================================================================
--- packages/wicd/trunk/debian/patches/02-fix_logfile_perms.patch	                        (rev 0)
+++ packages/wicd/trunk/debian/patches/02-fix_logfile_perms.patch	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,18 @@
+Let the users of group "adm" read the logs
+--- trunk.orig/wicd/wicd-daemon.py
++++ trunk/wicd/wicd-daemon.py
+@@ -79,9 +79,12 @@
+             os.chmod(wpath.log, 755)
+         self.file = open(wpath.log + 'wicd.log', 'w')
+         try:
+-            os.chmod(wpath.log + 'wicd.log', 0600)
++            os.chmod(wpath.log + 'wicd.log', 0640)
++            import grp
++            group = grp.getgrnam("adm")
++            os.chown(wpath.log + 'wicd.log', 0, group[2])
+         except:
+-            print 'unable to chmod the log 0600'
++            print 'unable to chmod the log 0640'
+         self.eol = True
+ 
+     def __del__(self):

Added: packages/wicd/trunk/debian/patches/03-fix_lintian_manpage_warning.patch
===================================================================
--- packages/wicd/trunk/debian/patches/03-fix_lintian_manpage_warning.patch	                        (rev 0)
+++ packages/wicd/trunk/debian/patches/03-fix_lintian_manpage_warning.patch	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,11 @@
+Fix whatis entry
+--- trunk.orig/man/wicd-client.1
++++ trunk/man/wicd-client.1
+@@ -1,6 +1,6 @@
+ .TH WICD-CLIENT "1" "September 2008" "wicd-client " "User Commands"
+ .SH NAME
+-wicd-client \- manual page for wicd-client 
++wicd-client \- frontend to the WICD daemon
+ .SH DESCRIPTION
+ wireless (and wired) connection daemon front\-end.
+ .SS "Arguments:"

Added: packages/wicd/trunk/debian/patches/series
===================================================================
--- packages/wicd/trunk/debian/patches/series	                        (rev 0)
+++ packages/wicd/trunk/debian/patches/series	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,3 @@
+01-fix_desktop_file.patch
+02-fix_logfile_perms.patch
+03-fix_lintian_manpage_warning.patch

Added: packages/wicd/trunk/debian/postinst
===================================================================
--- packages/wicd/trunk/debian/postinst	                        (rev 0)
+++ packages/wicd/trunk/debian/postinst	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,54 @@
+#!/bin/sh
+# postinst script for wicd
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+    	if [ -f /etc/init.d/wicd ]; then
+    		invoke-rc.d wicd stop
+    	fi
+    	
+    	if [ -e /etc/rc0.d/*wicd ]; then
+    		update-rc.d -f wicd remove >/dev/null
+    	fi
+    	
+    	#rm -f /opt/wicd/*.pyc
+    	
+    	# Add Wicd to the startup sequence
+    	# 80 to make sure that dbus is running when Wicd starts
+    	#if which update-rc.d >/dev/null ; then
+    	#	update-rc.d wicd defaults 80 20 >/dev/null
+    	#fi
+    	
+    	# Start the daemon
+    	if [ -f /etc/init.d/wicd ]; then
+    		invoke-rc.d wicd start
+		fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0

Added: packages/wicd/trunk/debian/postrm
===================================================================
--- packages/wicd/trunk/debian/postrm	                        (rev 0)
+++ packages/wicd/trunk/debian/postrm	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,43 @@
+#!/bin/sh
+# postrm script for wicd
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    purge)
+        rm -rf /etc/wicd
+        rm -rf /var/lib/wicd
+        rm -rf /var/log/wicd
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/wicd/trunk/debian/prerm
===================================================================
--- packages/wicd/trunk/debian/prerm	                        (rev 0)
+++ packages/wicd/trunk/debian/prerm	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,38 @@
+#!/bin/sh
+# prerm script for wicd
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    	if [ -f /etc/init.d/wicd ]; then
+    		invoke-rc.d wicd stop
+    	fi
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/wicd/trunk/debian/rules
===================================================================
--- packages/wicd/trunk/debian/rules	                        (rev 0)
+++ packages/wicd/trunk/debian/rules	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+configure: configure-stamp
+configure-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+	
+	python setup.py configure \
+		--no-install-docs
+	
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	python setup.py build
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	python setup.py clean
+	
+	find . \( -name "*.pyc" -o -name "*.pyo" \) -exec rm -rf {} \;
+	find ./init/ \( -name "wicd" -o -name "rc.wicd" \) -exec rm -rf {} \;
+	-rm -rf build/
+
+	dh_clean build-stamp configure-stamp \
+		wpath.py install.log os wicd/wpath.py \
+		man/*.8 man/*.5 scripts/* other/*.sh \
+		other/postinst
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	python setup.py install --root=$(CURDIR)/debian/wicd
+	install -m644 debian/wicd-client.xpm \
+		$(CURDIR)/debian/wicd/usr/share/pixmaps/wicd.xpm
+
+binary-arch: build install
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installinit
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_pysupport
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/wicd/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/wicd/trunk/debian/watch
===================================================================
--- packages/wicd/trunk/debian/watch	                        (rev 0)
+++ packages/wicd/trunk/debian/watch	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/wicd/wicd-(.*)\.tar\.gz

Added: packages/wicd/trunk/debian/wicd-client.xpm
===================================================================
--- packages/wicd/trunk/debian/wicd-client.xpm	                        (rev 0)
+++ packages/wicd/trunk/debian/wicd-client.xpm	2008-12-24 00:12:10 UTC (rev 2097)
@@ -0,0 +1,156 @@
+/* XPM */
+static char *wicd_client[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 118 2",
+"   c black",
+".  c #000100",
+"X  c #000200",
+"o  c #000300",
+"O  c #000301",
+"+  c #000401",
+"@  c #000501",
+"#  c #000601",
+"$  c #000801",
+"%  c #000901",
+"&  c #000902",
+"*  c #000B02",
+"=  c #000F02",
+"-  c #001303",
+";  c #001403",
+":  c #001804",
+">  c #001B04",
+",  c #001E05",
+"<  c #001F05",
+"1  c #002105",
+"2  c #002205",
+"3  c #002406",
+"4  c #002706",
+"5  c #002907",
+"6  c #002D07",
+"7  c #003008",
+"8  c #003108",
+"9  c #003408",
+"0  c #003509",
+"q  c #003709",
+"w  c #003809",
+"e  c #003909",
+"r  c #003A09",
+"t  c #003C0A",
+"y  c #003F0A",
+"u  c #00400A",
+"i  c #00420B",
+"p  c #00440B",
+"a  c #00450B",
+"s  c #00460B",
+"d  c #004A0C",
+"f  c #004C0C",
+"g  c #004E0D",
+"h  c #004F0D",
+"j  c #00520D",
+"k  c #00530D",
+"l  c #00570E",
+"z  c #00590E",
+"x  c #005D0F",
+"c  c #006110",
+"v  c #006410",
+"b  c #006510",
+"n  c #006811",
+"m  c #006A11",
+"M  c #006D11",
+"N  c #006E12",
+"B  c #007012",
+"V  c #007312",
+"C  c #007613",
+"Z  c #007913",
+"A  c #008115",
+"S  c #008215",
+"D  c #008315",
+"F  c #008616",
+"G  c #008716",
+"H  c #008A16",
+"J  c #008B16",
+"K  c #008C16",
+"L  c #008E17",
+"P  c #008F17",
+"I  c #009017",
+"U  c #009117",
+"Y  c #009518",
+"T  c #009D19",
+"R  c #00A01A",
+"E  c #00A61B",
+"W  c #00A71B",
+"Q  c #00A81B",
+"!  c #00A91B",
+"~  c #00AF1C",
+"^  c #00B01C",
+"/  c #00B11D",
+"(  c #00B21D",
+")  c #00B31D",
+"_  c #00B91E",
+"`  c #00BA1E",
+"'  c #00BB1E",
+"]  c #00BC1E",
+"[  c #00BF1F",
+"{  c #00C11F",
+"}  c #00C820",
+"|  c #00CA20",
+" . c #00CE21",
+".. c #00D222",
+"X. c #00D322",
+"o. c #00D422",
+"O. c #00D723",
+"+. c #00DB23",
+"@. c #00DC23",
+"#. c #00DD24",
+"$. c #00E024",
+"%. c #00E124",
+"&. c #00E725",
+"*. c #00ED26",
+"=. c #00EF26",
+"-. c #00EF27",
+";. c #00F127",
+":. c #00F227",
+">. c #00F427",
+",. c #00F527",
+"<. c #00F828",
+"1. c #00F928",
+"2. c #00FB28",
+"3. c #00FC29",
+"4. c #00FD29",
+"5. c #00FE29",
+"6. c #00FF29",
+"7. c None",
+/* pixels */
+"7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.  ;   7.7.7.7.7.7.7.7.7.7.7.7.7.7.  -   7.7.7.7.7.7.",
+"7.7.7.7.7.5 Q < 7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.> Q 6 7.7.7.7.7.",
+"7.7.7.7.a :.h 7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.s >.f 7.7.7.7.",
+"7.7.7.0 ,.'   7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.  ( <.t 7.7.7.",
+"7.7.* +.6.i 7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.e 6.%.= 7.7.",
+"7.7.Z 6.#.. 7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.  o.6.S 7.7.",
+"7.@ &.6.P 7.7.7.7.7.v l 7.7.7.7.7.7.7.7.j m 7.7.7.7.7.F 6.*.% 7.",
+"7.a 6.6.k 7.7.7.7.j { 7.7.7.7.7.7.7.7.7.7.` z 7.7.7.7.d 6.6.g 7.",
+"7.G 6.6.4 7.7.7.7.| C 7.7.7.7.7.7.7.7.7.7.B ..7.7.7.7., 6.6.I 7.",
+"  ) 6.6.& 7.7.7.y 6.u 7.7.7.        7.7.7.9 6.d 7.7.7.o 3.6.]   ",
+"  | 6.1.  7.7.7.M 6.7.7.7.            7.7.7.2.V 7.7.7.  -.6.X.  ",
+"   .6.<.  7.7.7.V 6.7.7.7.            7.7.7.<.Z 7.7.7.  =.6.O.  ",
+"  [ 6.6.$ 7.7.7.x 6.7 7.7.7.        7.7.7.1 6.b 7.7.7.X 2.6.}   ",
+"7.T 6.6.3 7.7.7.7.;.n 7.7.7.        7.7.7.c ,.7.7.7.7.> 6.6.E   ",
+"7.b 6.6.h 7.7.7.7.L W 7.7.7.        7.7.7.R Y 7.7.7.7.s 6.6.N 7.",
+"7.> 3.6.J 7.7.7.7.7.' s 7.7.        7.7.y [ 7.7.7.7.7.A 6.5.2 7.",
+"7.  ~ 6.O.  7.7.7.7.7.z O 7.        7.X l 7.7.7.7.7.   .6._   7.",
+"7.7.7 2.6.r 7.7.7.7.7.7.7.7.        7.7.7.7.7.7.7.7.8 6.4.q 7.7.",
+"7.7.  D 6./   7.7.7.7.7.7.7.        7.7.7.7.7.7.7.  Q 6.K   7.7.",
+"7.7.7.O ! 6.p 7.7.7.7.7.7.7.        7.7.7.7.7.7.7.t 5.^ @ 7.7.7.",
+"7.7.7.7.+ H $.: 7.7.7.7.7.7.        7.7.7.7.7.7.; @.U # 7.7.7.7.",
+"7.7.7.7.7.7.9 V $ 7.7.7.7.7.        7.7.7.7.7.# B w   7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.    7.7.7.7.        7.7.7.7.    7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.7.7.7.7.        7.7.7.7.7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.7.7.7.7.        7.7.7.7.7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.7.7.7.7.        7.7.7.7.7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.7.7.7.7.        7.7.7.7.7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.                        7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.                        7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.                        7.7.7.7.7.7.7.7.7.7.",
+"7.7.7.7.7.7.7.7.7.7.                        7.7.7.7.7.7.7.7.7.7."
+};




More information about the Python-apps-commits mailing list