The unified diff between revisions [c6aabce4..] and [4c238e6f..] is displayed below. It can also be downloaded as a raw diff.
#
#
# patch "README"
# from [c9d55876911561f98707c1b52810c6dd2f57a6f6]
# to [a5da5af310d640eb49eb65881f47d532231275ca]
#
# patch "debian/changelog"
# from [b2277f259ffcdb24def5a7e58816473cc014d957]
# to [46d63674bc93e608cd6f6f47861fdee065f411da]
#
# patch "debian/control"
# from [ca7c1b945bc627bd58cd50156afe421ca7a9966f]
# to [effac33cf35748260669d0156d71229d2f6c9baa]
#
# patch "debian/files"
# from [8bc7f994e85549f07e2a9ee1a53a0b695cc023c2]
# to [d3dd04de8210b272fc51fedd23bc3803787868c6]
#
# patch "interapplet.py"
# from [a9e10bbf1adbce7431ec972777985407577d6ad6]
# to [2b1eea9ef9bf60dde04a6af6eb39406e93fe5c38]
#
# patch "interfaces.sample"
# from [3c8abb2b53efbcd53523668bd246f698963481dc]
# to [6852c8cc8328c0f37d7af7a0d43e76a69c49af87]
#
============================================================
--- README c9d55876911561f98707c1b52810c6dd2f57a6f6
+++ README a5da5af310d640eb49eb65881f47d532231275ca
@@ -11,17 +11,17 @@
to map to, it will immediately appear in the applet menus.
The main applet menu displays:
- any interface which has been defined as a "mapping" interface
- any interface which has the method "ppp" or "wvdial"
+ * any physical network interface (with some exclusions for interfaces such
+ as the loopback)
+ * any interface which has the method "ppp" or "wvdial"
-See interfaces.example for how to set up /etc/network/interfaces to play
-nicely with this program.
+See interfaces.example for how to set up /etc/network/interfaces to
+play nicely with this program. As a minimum you should have some virtual
+interfaces to which you can map your physical interfaces. If you wish
+the ifup and ifdown commands to work as if they had been called from
+interapplet, then you should specify the interapplet mapping script
+in your interfaces file.
- ** This applet requires you to having "mapping" interfaces configured
- ** that run the /usr/lib/interapplet/get-state.sh program. If you do
- ** not do this, the applet will do nothing, and no interfaces will
- ** show in the menu when you left-click.
-
Bug reports are welcome: please send them to grahame@angrygoats.net
with as much information as possible.
============================================================
--- debian/changelog b2277f259ffcdb24def5a7e58816473cc014d957
+++ debian/changelog 46d63674bc93e608cd6f6f47861fdee065f411da
@@ -1,3 +1,9 @@
+interapplet (0.02-1) unstable; urgency=low
+
+ * update to 0.02 release (see main software changelog for details
+
+ -- Grahame Bowland <grahame@angrygoats.net> Tue, 19 Apr 2005 23:09:12 +0800
+
interapplet (0.01-1) unstable; urgency=low
* Initial Release.
============================================================
--- debian/control ca7c1b945bc627bd58cd50156afe421ca7a9966f
+++ debian/control effac33cf35748260669d0156d71229d2f6c9baa
@@ -8,6 +8,6 @@ Depends: python-gtk2 (>= 2.6.0), python2
Package: interapplet
Architecture: all
Depends: python-gtk2 (>= 2.6.0), python2.4-gamin (>= 0.0.26),
- python-gnome2 (>= 2.10.0), python-gnome2-extras (>= 2.10.0)
+ python-gnome2 (>= 2.10.0), python-gnome2-extras (>= 2.10.0), gksu
Description: Interface configuration applet for GNOME
Written in Python and providing a GNOME panel applet.
============================================================
--- debian/files 8bc7f994e85549f07e2a9ee1a53a0b695cc023c2
+++ debian/files d3dd04de8210b272fc51fedd23bc3803787868c6
@@ -1 +1 @@
-interapplet_0.01-1_all.deb net optional
+interapplet_0.02-1_all.deb net optional
============================================================
--- interapplet.py a9e10bbf1adbce7431ec972777985407577d6ad6
+++ interapplet.py 2b1eea9ef9bf60dde04a6af6eb39406e93fe5c38
@@ -1,5 +1,22 @@
#!/usr/bin/python
+# InterApplet
+# Copyright (C) 2005 Grahame Bowland
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
import os
import sys
import re
@@ -381,7 +398,10 @@ class InterfaceApplet(gnomeapplet.Applet
def about_cb(self, widget, user=None):
about = gtk.AboutDialog()
about.set_name("InterApplet")
- about.set_version("0.01")
+ about.set_version("0.02")
+ about.set_comments("""\
+If you like InterApplet, mail me a postcard!
+PO BOX 3105, Broadway, Nedlands WA 6009, Australia""")
about.set_copyright("Copyright 2005 Grahame Bowland")
about.set_website("http://grahame.angrygoats.net/interapplet.shtml")
about.set_authors(["Grahame Bowland"])
============================================================
--- interfaces.sample 3c8abb2b53efbcd53523668bd246f698963481dc
+++ interfaces.sample 6852c8cc8328c0f37d7af7a0d43e76a69c49af87
@@ -7,6 +7,10 @@ mapping eth0
mapping eth0
script /usr/lib/interapplet/get-state.sh
+ # not required; this could be anything.
+ # specify this script to have ifup eth0 configure
+ # eth0 with the last virtual interface you specified using
+ # InterApplet
mapping eth1
script /usr/lib/interapplet/get-state.sh