summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Strode <rstrode@fedoraproject.org>2005-04-26 15:54:15 +0000
committerRay Strode <rstrode@fedoraproject.org>2005-04-26 15:54:15 +0000
commit3c5892e56b2378753fb95477ba23e72f97f959bf (patch)
treec63af51e533b5629876ee4af871e24d17da268a8
parent0f6d045a54e4e87c8c32cac7138ecfcc23f0dc40 (diff)
downloadgnome-applets-3c5892e56b2378753fb95477ba23e72f97f959bf.tar.gz
gnome-applets-3c5892e56b2378753fb95477ba23e72f97f959bf.tar.xz
gnome-applets-3c5892e56b2378753fb95477ba23e72f97f959bf.zip
- Add back old patch to change ppp connect/disconnect commands (bug 147675)gnome-applets-2_10_1-5
-rw-r--r--gnome-applets-2.3.6-ppp-command.patch20
-rw-r--r--gnome-applets.spec9
2 files changed, 28 insertions, 1 deletions
diff --git a/gnome-applets-2.3.6-ppp-command.patch b/gnome-applets-2.3.6-ppp-command.patch
new file mode 100644
index 0000000..dcfbbbc
--- /dev/null
+++ b/gnome-applets-2.3.6-ppp-command.patch
@@ -0,0 +1,20 @@
+--- gnome-applets-2.3.6/modemlights/modemlights.schemas.in 2003-08-18 14:18:22.000000000 +0200
++++ gnome-applets-2.3.6/modemlights/modemlights.schemas.in 2003-08-18 14:18:59.000000000 +0200
+@@ -27,7 +27,7 @@
+ <key>/schemas/apps/modemlights/prefs/connect</key>
+ <owner>modemlights_applet2</owner>
+ <type>string</type>
+- <default>pppon</default>
++ <default>/sbin/ifup ppp0</default>
+ <locale name="C">
+ <short>Command executed when connecting</short>
+ <long></long>
+@@ -38,7 +38,7 @@
+ <key>/schemas/apps/modemlights/prefs/disconnect</key>
+ <owner>modemlights_applet2</owner>
+ <type>string</type>
+- <default>pppoff</default>
++ <default>/sbin/ifdown ppp0</default>
+ <locale name="C">
+ <short>Command executed when disconnecting</short>
+ <long></long>
diff --git a/gnome-applets.spec b/gnome-applets.spec
index ad4573d..ff86531 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -19,7 +19,7 @@
Summary: Small applications for the GNOME panel.
Name: gnome-applets
Version: 2.10.1
-Release: 4
+Release: 5
Epoch: 1
License: GPL
Group: User Interface/Desktops
@@ -28,6 +28,7 @@ Source1: gnome-applets-2.9.3.1-modemlights.tar.bz2
Patch0: gnome-applets-2.10.1-use-old-modemlights.patch
Patch1: gnome-applets-2.10.1-fix-docs-error.patch
Patch2: gnome-applets-2.10.1-use-builtin-apm.patch
+Patch3: gnome-applets-2.3.6-ppp-command.patch
URL: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -75,6 +76,8 @@ cp gswitchit/gswitchit-applet.png gswitchit/gswitchit-properties-capplet.png
rm -rf modemlights
tar xjf %{SOURCE1}
+%patch3 -p1 -b .ppp-command
+
autoconf
%build
@@ -153,6 +156,10 @@ fi
%{_libdir}/pkgconfig/gswitchit.pc
%changelog
+* Tue Apr 26 2005 Ray Strode <rstrode@redhat.com> 1:2.10.1-5
+- Add back old patch to change ppp connect/disconnect commands
+ (bug 147675)
+
* Wed Apr 20 2005 Ray Strode <rstrode@redhat.com> 1:2.10.1-4
- Use builtin copy of apmlib instead of adding an external dependency
(bug 155125)