Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a41ebbd2ab | ||
|
|
94cd0795b6 | ||
| 441fb36941 |
11 changed files with 1 additions and 673 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
wicd-1.7.3.tar.gz
|
||||
/wicd-1.7.4.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
# This D-Bus service activation file is only for systemd support since
|
||||
# an auto-activated wicd would be quite surprising for those people
|
||||
# who have wicd installed but turned off. Thus the Exec path available to
|
||||
# D-Bus is /bin/false, but systemd knows the real Exec path due to the
|
||||
# wicd systemd .service file.
|
||||
|
||||
[D-BUS Service]
|
||||
Name=org.wicd.daemon
|
||||
Exec=/bin/false
|
||||
User=root
|
||||
SystemdService=dbus-org.wicd.daemon.service
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
aaa2e9f5320849e0b5d053099a6f0007 wicd-1.7.4.tar.gz
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
diff -up wicd-1.7.2.4/in/other=wicd.conf.in.dbus wicd-1.7.2.4/in/other=wicd.conf.in
|
||||
--- wicd-1.7.2.4/in/other=wicd.conf.in.dbus 2011-09-18 04:48:13.000000000 -0400
|
||||
+++ wicd-1.7.2.4/in/other=wicd.conf.in 2014-06-30 10:29:35.968246038 -0400
|
||||
@@ -7,41 +7,34 @@
|
||||
<allow own="org.wicd.daemon"/>
|
||||
<allow send_destination="org.wicd.daemon"/>
|
||||
<allow send_interface="org.wicd.daemon"/>
|
||||
- <allow send_destination="org.wicd.daemon.wireless"/>
|
||||
- <allow send_interface="org.wicd.daemon.wireless"/>
|
||||
- <allow send_destination="org.wicd.daemon.wired"/>
|
||||
- <allow send_interface="org.wicd.daemon.wired"/>
|
||||
+ <allow send_destination="org.wicd.daemon.wireless"/>
|
||||
+ <allow send_interface="org.wicd.daemon.wireless"/>
|
||||
+ <allow send_destination="org.wicd.daemon.wired"/>
|
||||
+ <allow send_interface="org.wicd.daemon.wired"/>
|
||||
</policy>
|
||||
|
||||
- <policy context="default">
|
||||
- <deny own="org.wicd.daemon"/>
|
||||
- </policy>
|
||||
-
|
||||
- <!-- This Unix group will have permission to use Wicd's gui -->
|
||||
- <policy group="%WICDGROUP%">
|
||||
+ <policy group="users">
|
||||
+ <allow own="org.wicd.daemon"/>
|
||||
<allow send_destination="org.wicd.daemon"/>
|
||||
<allow send_interface="org.wicd.daemon"/>
|
||||
- <allow send_interface="org.freedesktop.DBus.Introspectable"/>
|
||||
- <!-- The Introspectable allow shouldn't be needed here, but
|
||||
- it seems that a few distributions aren't yet allowing
|
||||
- it in their hal configs, and we need it here, so... -->
|
||||
+ <allow send_destination="org.wicd.daemon.wireless"/>
|
||||
+ <allow send_interface="org.wicd.daemon.wireless"/>
|
||||
+ <allow send_destination="org.wicd.daemon.wired"/>
|
||||
+ <allow send_interface="org.wicd.daemon.wired"/>
|
||||
</policy>
|
||||
|
||||
- <!-- Comment the block below if you do not want all users logged in
|
||||
- locally to have permission to use wicd-client. This ignores the
|
||||
- group based permission model defined above for the "%WICDGROUP%"
|
||||
- group. Note that this only applies if you are using ConsoleKit -
|
||||
- if you do not have ConsoleKit installed and in use, then this
|
||||
- block makes no difference either way. -->
|
||||
+ <policy context="default">
|
||||
+ <deny own="org.wicd.daemon"/>
|
||||
+ </policy>
|
||||
|
||||
<policy at_console="true">
|
||||
<allow send_destination="org.wicd.daemon"/>
|
||||
<allow send_interface="org.wicd.daemon"/>
|
||||
- <allow send_destination="org.wicd.daemon.wireless"/>
|
||||
- <allow send_interface="org.wicd.daemon.wireless"/>
|
||||
- <allow send_destination="org.wicd.daemon.wired"/>
|
||||
- <allow send_interface="org.wicd.daemon.wired"/>
|
||||
- <allow send_interface="org.freedesktop.DBus.Introspectable"/>
|
||||
+ <allow send_destination="org.wicd.daemon.wireless"/>
|
||||
+ <allow send_interface="org.wicd.daemon.wireless"/>
|
||||
+ <allow send_destination="org.wicd.daemon.wired"/>
|
||||
+ <allow send_interface="org.wicd.daemon.wired"/>
|
||||
+ <allow send_interface="org.freedesktop.DBus.Introspectable"/>
|
||||
</policy>
|
||||
|
||||
</busconfig>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -up wicd-1.7.3/wicd/wicd-daemon.py.orig wicd-1.7.3/wicd/wicd-daemon.py
|
||||
--- wicd-1.7.3/wicd/wicd-daemon.py.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/wicd/wicd-daemon.py 2015-04-09 10:27:54.203884159 -0400
|
||||
@@ -835,7 +835,7 @@ class WicdDaemon(dbus.service.Object, ob
|
||||
pass
|
||||
|
||||
@dbus.service.signal(dbus_interface='org.wicd.daemon', signature='')
|
||||
- def DaemonClosing(self):
|
||||
+ def DaemonClosing(self, arg1=None, arg2=None):
|
||||
""" Emits a signal indicating the daemon will be closing. """
|
||||
# By default, disconnect network links on close.
|
||||
if not self.keep_connection:
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
diff -up wicd-1.7.3/cli/wicd-cli.py.orig wicd-1.7.3/cli/wicd-cli.py
|
||||
--- wicd-1.7.3/cli/wicd-cli.py.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/cli/wicd-cli.py 2015-04-09 10:25:48.171078635 -0400
|
||||
@@ -61,6 +61,10 @@ if not daemon:
|
||||
'Please make sure the wicd service is running.'
|
||||
sys.exit(3)
|
||||
|
||||
+if daemon is None:
|
||||
+ print 'Error connecting to wicd via D-Bus. Please make sure the wicd service is running.'
|
||||
+ sys.exit(3)
|
||||
+
|
||||
parser = optparse.OptionParser()
|
||||
|
||||
parser.add_option('--network', '-n', type='int', default=-1)
|
||||
diff -up wicd-1.7.3/curses/wicd-curses.py.orig wicd-1.7.3/curses/wicd-curses.py
|
||||
--- wicd-1.7.3/curses/wicd-curses.py.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/curses/wicd-curses.py 2015-04-09 10:25:48.184078719 -0400
|
||||
@@ -1277,6 +1277,10 @@ def setup_dbus(force=True):
|
||||
'Please make sure the wicd service is running.'
|
||||
sys.exit(3)
|
||||
|
||||
+ if daemon is None:
|
||||
+ print 'Error connecting to wicd via D-Bus. Please make sure the wicd service is running.'
|
||||
+ sys.exit(3)
|
||||
+
|
||||
netentry_curses.dbus_init(dbus_ifaces)
|
||||
return True
|
||||
|
||||
diff -up wicd-1.7.3/gtk/gui.py.orig wicd-1.7.3/gtk/gui.py
|
||||
--- wicd-1.7.3/gtk/gui.py.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/gtk/gui.py 2015-04-09 10:25:48.184078719 -0400
|
||||
@@ -183,6 +183,17 @@ class appGui(object):
|
||||
d.run()
|
||||
sys.exit(1)
|
||||
|
||||
+ if daemon is None:
|
||||
+ errmsg = "Error connecting to wicd service via D-Bus." + \
|
||||
+ "Please ensure the wicd service is running."
|
||||
+ d = gtk.MessageDialog(parent=None,
|
||||
+ flags=gtk.DIALOG_MODAL,
|
||||
+ type=gtk.MESSAGE_ERROR,
|
||||
+ buttons=gtk.BUTTONS_OK,
|
||||
+ message_format=errmsg)
|
||||
+ d.run()
|
||||
+ sys.exit(1)
|
||||
+
|
||||
self.tray = tray
|
||||
|
||||
gladefile = os.path.join(wpath.gtk, "wicd.ui")
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
diff -up wicd-1.7.3/in/man=wicd-curses.8.in.orig wicd-1.7.3/in/man=wicd-curses.8.in
|
||||
--- wicd-1.7.3/in/man=wicd-curses.8.in.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/in/man=wicd-curses.8.in 2015-04-09 10:24:30.923580121 -0400
|
||||
@@ -60,10 +60,6 @@ Raise the Ad-Hoc network creation dialog
|
||||
.BR X
|
||||
Show the list of saved wireless networks, to be able to remove them
|
||||
|
||||
-.SH "FILES"
|
||||
-.TP
|
||||
-.I ~/.wicd/WHEREAREMYFILES
|
||||
-Reminder that your network configuration files are not here ;-)
|
||||
.PP
|
||||
.SH "SEE ALSO"
|
||||
.BR wicd-client (1),
|
||||
diff -up wicd-1.7.3/in/scripts=wicd-client.in.orig wicd-1.7.3/in/scripts=wicd-client.in
|
||||
--- wicd-1.7.3/in/scripts=wicd-client.in.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/in/scripts=wicd-client.in 2015-04-09 10:24:30.923580121 -0400
|
||||
@@ -3,10 +3,6 @@
|
||||
if [ ! -d "$HOME/.wicd" ]; then
|
||||
mkdir -p "$HOME/.wicd"
|
||||
fi
|
||||
-# Make sure the user knows WHEREAREMYFILES ;-)
|
||||
-if [ -e "%VARLIB%WHEREAREMYFILES" ] && [ ! -L "$HOME/.wicd/WHEREAREMYFILES" ]; then
|
||||
- ln -s "%VARLIB%WHEREAREMYFILES" "$HOME/.wicd/WHEREAREMYFILES"
|
||||
-fi
|
||||
if [ "$DISPLAY" = "" ]; then
|
||||
BOLD=$(tput bold)
|
||||
BLUE=$(tput setaf 4)
|
||||
diff -up wicd-1.7.3/in/scripts=wicd-curses.in.orig wicd-1.7.3/in/scripts=wicd-curses.in
|
||||
--- wicd-1.7.3/in/scripts=wicd-curses.in.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/in/scripts=wicd-curses.in 2015-04-09 10:24:30.924580127 -0400
|
||||
@@ -2,8 +2,5 @@
|
||||
if [ ! -d "$HOME/.wicd" ]; then
|
||||
mkdir -p "$HOME/.wicd"
|
||||
fi
|
||||
-if [ -e "%VARLIB%WHEREAREMYFILES" ] && [ ! -L "$HOME/.wicd/WHEREAREMYFILES" ]; then
|
||||
- ln -s "%VARLIB%WHEREAREMYFILES" "$HOME/.wicd/WHEREAREMYFILES"
|
||||
-fi
|
||||
|
||||
exec %PYTHON% -O %SHARE%curses/wicd-curses.py $@
|
||||
diff -up wicd-1.7.3/in/scripts=wicd-gtk.in.orig wicd-1.7.3/in/scripts=wicd-gtk.in
|
||||
--- wicd-1.7.3/in/scripts=wicd-gtk.in.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/in/scripts=wicd-gtk.in 2015-04-09 10:24:30.924580127 -0400
|
||||
@@ -4,9 +4,5 @@
|
||||
if [ ! -d "$HOME/.wicd" ]; then
|
||||
mkdir -p "$HOME/.wicd"
|
||||
fi
|
||||
-# Make sure the user knows WHEREAREMYFILES ;-)
|
||||
-if [ -e "/var/lib/wicd/WHEREAREMYFILES" ] && [ ! -L "$HOME/.wicd/WHEREAREMYFILES" ]; then
|
||||
- ln -s "/var/lib/wicd/WHEREAREMYFILES" "$HOME/.wicd/WHEREAREMYFILES"
|
||||
-fi
|
||||
|
||||
exec %PYTHON% -O %SHARE%gtk/wicd-client.py $@
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
diff -up wicd-1.7.3/wicd/wicd-daemon.py.orig wicd-1.7.3/wicd/wicd-daemon.py
|
||||
--- wicd-1.7.3/wicd/wicd-daemon.py.orig 2015-04-09 13:13:54.419639555 -0400
|
||||
+++ wicd-1.7.3/wicd/wicd-daemon.py 2015-04-09 13:14:28.473858534 -0400
|
||||
@@ -1111,7 +1111,7 @@ class WirelessDaemon(dbus.service.Object
|
||||
def SetWirelessProperty(self, netid, prop, value):
|
||||
""" Sets property to value in network specified. """
|
||||
# We don't write script settings here.
|
||||
- prop = misc.sanitize_config(prop)
|
||||
+ prop = misc.sanitize_config(str(prop))
|
||||
if prop.endswith('script'):
|
||||
print 'Setting script properties through the daemon' \
|
||||
+ ' is not permitted.'
|
||||
@@ -1321,7 +1321,7 @@ class WirelessDaemon(dbus.service.Object
|
||||
@dbus.service.method('org.wicd.daemon.wireless')
|
||||
def SaveWirelessNetworkProperty(self, nid, option):
|
||||
""" Writes a particular wireless property to disk. """
|
||||
- option = misc.sanitize_config(option)
|
||||
+ option = misc.sanitize_config(str(option))
|
||||
if option.endswith("script"):
|
||||
print 'You cannot save script information to disk through ' + \
|
||||
'the daemon.'
|
||||
@@ -1488,7 +1488,7 @@ class WiredDaemon(dbus.service.Object, o
|
||||
def SetWiredProperty(self, prop, value):
|
||||
""" Sets the given property to the given value. """
|
||||
if self.WiredNetwork:
|
||||
- prop = misc.sanitize_config(prop)
|
||||
+ prop = misc.sanitize_config(str(prop))
|
||||
if prop.endswith('script'):
|
||||
print 'Setting script properties through the daemon' \
|
||||
+ ' is not permitted.'
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
diff -up wicd-1.7.3/curses/netentry_curses.py.orig wicd-1.7.3/curses/netentry_curses.py
|
||||
--- wicd-1.7.3/curses/netentry_curses.py.orig 2014-12-21 14:40:46.000000000 -0500
|
||||
+++ wicd-1.7.3/curses/netentry_curses.py 2015-04-09 13:18:04.624248481 -0400
|
||||
@@ -340,8 +340,7 @@ class WiredSettingsDialog(AdvancedSettin
|
||||
self.set_values()
|
||||
|
||||
self.prof_name = name
|
||||
- title = _('Configuring preferences for wired profile "$A"'). \
|
||||
- replace('$A', self.prof_name)
|
||||
+ title = ' '.join([_('Configuring preferences for wired profile'), self.prof_name])
|
||||
self._w.header = urwid.Text(('header', title), align='right')
|
||||
|
||||
self.set_values()
|
||||
@@ -502,9 +501,9 @@ class WirelessSettingsDialog(AdvancedSet
|
||||
self.encrypt_types = misc.LoadEncryptionMethods()
|
||||
self.set_values()
|
||||
|
||||
- title = _('Configuring preferences for wireless network "$A" ($B)'). \
|
||||
- replace('$A', wireless.GetWirelessProperty(networkID, 'essid')). \
|
||||
- replace('$B', wireless.GetWirelessProperty(networkID, 'bssid'))
|
||||
+ title = ' '.join([_('Configuring preferences for wireless network'),
|
||||
+ wireless.GetWirelessProperty(networkID,'essid'),
|
||||
+ "(%s)" % wireless.GetWirelessProperty(networkID,'bssid')])
|
||||
self._w.header = urwid.Text(('header', title), align='right')
|
||||
|
||||
def set_values(self):
|
||||
426
wicd.spec
426
wicd.spec
|
|
@ -1,426 +0,0 @@
|
|||
%define debug_package %{nil}
|
||||
|
||||
Name: wicd
|
||||
Version: 1.7.4
|
||||
Release: 9%{?dist}
|
||||
Summary: Wireless and wired network connection manager
|
||||
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
URL: https://launchpad.net/wicd/
|
||||
Source0: https://launchpad.net/wicd/1.7/%{version}/+download/%{name}-%{version}.tar.gz
|
||||
Source1: org.wicd.daemon.service
|
||||
|
||||
Patch0: wicd-1.7.3-remove-WHEREAREMYFILES.patch
|
||||
Patch1: wicd-1.7.3-dbus-failure.patch
|
||||
Patch2: wicd-1.7.2.4-dbus-policy.patch
|
||||
Patch3: wicd-1.7.3-DaemonClosing.patch
|
||||
Patch4: wicd-1.7.3-unicode.patch
|
||||
Patch5: wicd-1.7.3-sanitize.patch
|
||||
|
||||
%{?systemd_requires}
|
||||
BuildRequires: babel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Wicd is designed to give the user as much control over behavior of network
|
||||
connections as possible. Every network, both wired and wireless, has its
|
||||
own profile with its own configuration options and connection behavior.
|
||||
Wicd will try to automatically connect only to networks the user specifies
|
||||
it should try, with a preference first to a wired network, then to wireless.
|
||||
|
||||
This package provides the architecture-dependent components of wicd.
|
||||
|
||||
%package common
|
||||
Summary: Wicd common files
|
||||
Group: System Environment/Base
|
||||
BuildArch: noarch
|
||||
Requires: dbus
|
||||
Requires: python2-dbus
|
||||
Requires: dhclient
|
||||
Requires: ethtool
|
||||
Requires: iproute
|
||||
Requires: logrotate
|
||||
Requires: net-tools
|
||||
Requires: wireless-tools
|
||||
Requires: wpa_supplicant
|
||||
Requires: pygobject2
|
||||
|
||||
%description common
|
||||
This package provides the main wicd daemon and the wicd-cli front-end.
|
||||
|
||||
%package curses
|
||||
Summary: Curses client for wicd
|
||||
Group: Applications/System
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
Requires: python2-urwid >= 0.9.8.3
|
||||
Requires: %{name}-gtk = %{version}-%{release}
|
||||
|
||||
%description curses
|
||||
Client program for wicd that uses a curses interface.
|
||||
|
||||
%package gtk
|
||||
Summary: GTK+ client for wicd
|
||||
Group: Applications/Internet
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
Requires: python2-notify
|
||||
Requires: pygtk2-libglade >= 2.10
|
||||
|
||||
%description gtk
|
||||
Client program for wicd that uses a GTK+ interface.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# Remove the WHEREAREMYFILES and resetting of ~/.wicd/WHEREAREMYFILES
|
||||
# This is pointless. The documentation can just provide WHEREAREMYFILES,
|
||||
# which we do in this package.
|
||||
%patch0 -p1
|
||||
|
||||
# Handle D-Bus connection failures a little better
|
||||
%patch1 -p1
|
||||
|
||||
# Allow users at the console to control wicd
|
||||
%patch2 -p1
|
||||
|
||||
# Work around bug in DaemonClosing() calls
|
||||
%patch3 -p1
|
||||
|
||||
# Unicode string handling problems
|
||||
%patch4 -p1 -b .orig
|
||||
|
||||
# Prevent crash when saving network settings
|
||||
# Upstream bug report and patch:
|
||||
# https://bugs.launchpad.net/wicd/+bug/993912
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
rm -f po/ast.po
|
||||
%{__python2} setup.py configure \
|
||||
--distro redhat \
|
||||
--lib %{_libdir} \
|
||||
--share %{_datadir}/wicd \
|
||||
--etc %{_sysconfdir}/wicd \
|
||||
--bin %{_bindir} \
|
||||
--log %{_localstatedir}/log \
|
||||
--systemd %{_unitdir} \
|
||||
--no-install-init \
|
||||
--no-install-pmutils \
|
||||
--no-install-gnome-shell-extensions
|
||||
%{__python2} setup.py build
|
||||
%{__python2} setup.py compile_translations
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install --skip-build --no-compile --root %{buildroot}
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/backends/be-external.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/backends/be-ioctl.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/cli/wicd-cli.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/curses/curses_misc.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/curses/netentry_curses.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/curses/prefs_curses.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/daemon/wicd-daemon.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/gtk/gui.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/gtk/prefs.py
|
||||
sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/wicd/gtk/wicd-client.py
|
||||
|
||||
rm -f %{buildroot}%{_localstatedir}/lib/wicd/WHEREAREMYFILES
|
||||
rm -rf %{buildroot}%{_datadir}/doc
|
||||
find %{buildroot} -type f -name ".empty_on_purpose" | xargs rm
|
||||
|
||||
for lib in %{buildroot}%{python2_sitelib}/wicd/*.py ; do
|
||||
sed '/\/usr\/bin\/env/d' $lib > $lib.new &&
|
||||
touch -r $lib $lib.new &&
|
||||
mv $lib.new $lib
|
||||
done
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
|
||||
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/dbus-1/system-services/org.wicd.daemon.service
|
||||
|
||||
mv %{buildroot}%{_sysconfdir}/logrotate.d/%{name}.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||
|
||||
desktop-file-install \
|
||||
--remove-category="Application" \
|
||||
--delete-original \
|
||||
--dir=%{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/wicd.desktop
|
||||
|
||||
desktop-file-install \
|
||||
--dir=%{buildroot}%{_sysconfdir}/xdg/autostart \
|
||||
%{buildroot}%{_sysconfdir}/xdg/autostart/wicd-tray.desktop
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%post common
|
||||
%systemd_post wicd.service
|
||||
|
||||
%preun common
|
||||
%systemd_preun wicd.service
|
||||
|
||||
%postun common
|
||||
%systemd_postun_with_restart wicd.service
|
||||
|
||||
%files
|
||||
%doc AUTHORS CHANGES LICENSE NEWS README other/WHEREAREMYFILES
|
||||
|
||||
%files common -f %{name}.lang
|
||||
%dir %{python2_sitelib}/wicd
|
||||
%dir %{_sysconfdir}/wicd
|
||||
%dir %{_sysconfdir}/wicd/encryption
|
||||
%dir %{_sysconfdir}/wicd/encryption/templates
|
||||
%dir %{_sysconfdir}/wicd/scripts
|
||||
%dir %{_sysconfdir}/wicd/scripts/postconnect
|
||||
%dir %{_sysconfdir}/wicd/scripts/postdisconnect
|
||||
%dir %{_sysconfdir}/wicd/scripts/preconnect
|
||||
%dir %{_sysconfdir}/wicd/scripts/predisconnect
|
||||
%{_sysconfdir}/acpi/resume.d/80-wicd-connect.sh
|
||||
%{_sysconfdir}/acpi/suspend.d/50-wicd-suspend.sh
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/wicd
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/wicd.conf
|
||||
%config(noreplace) %{_sysconfdir}/wicd/dhclient.conf.template.default
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/active
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/active_wired
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/eap
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/eap-tls
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/leap
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/peap
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/peap-tkip
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/psu
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/ttls
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wep-hex
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wep-passphrase
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wep-shared
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wired_8021x
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wpa
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wpa-psk
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wpa-psk-hex
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wpa-peap
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wpa2-leap
|
||||
%config(noreplace) %{_sysconfdir}/wicd/encryption/templates/wpa2-peap
|
||||
%{_unitdir}/wicd.service
|
||||
%{python2_sitelib}/wicd/*
|
||||
%{python2_sitelib}/wicd-%{version}*.egg-info
|
||||
%{_bindir}/wicd-cli
|
||||
%{_bindir}/wicd-client
|
||||
%{_sbindir}/wicd
|
||||
%{_datadir}/applications/wicd.desktop
|
||||
%{_datadir}/dbus-1/system-services/org.wicd.daemon.service
|
||||
%{_datadir}/man/man1/wicd-client.1*
|
||||
%{_datadir}/man/man5/wicd-manager-settings.conf.5*
|
||||
%{_datadir}/man/man5/wicd-wired-settings.conf.5*
|
||||
%{_datadir}/man/man5/wicd-wireless-settings.conf.5*
|
||||
%{_datadir}/man/man8/wicd-cli.8*
|
||||
%{_datadir}/man/man8/wicd.8*
|
||||
%lang(nl) %{_datadir}/man/nl/man1/wicd-client.1*
|
||||
%lang(nl) %{_datadir}/man/nl/man5/wicd-manager-settings.conf.5*
|
||||
%lang(nl) %{_datadir}/man/nl/man5/wicd-wired-settings.conf.5*
|
||||
%lang(nl) %{_datadir}/man/nl/man5/wicd-wireless-settings.conf.5*
|
||||
%lang(nl) %{_datadir}/man/nl/man8/wicd.8*
|
||||
%dir %{_datadir}/wicd
|
||||
%dir %{_datadir}/wicd/backends
|
||||
%dir %{_datadir}/wicd/cli
|
||||
%dir %{_datadir}/wicd/daemon
|
||||
%{_datadir}/wicd/backends/*
|
||||
%{_datadir}/wicd/cli/*
|
||||
%{_datadir}/wicd/daemon/*
|
||||
%dir %{_localstatedir}/lib/wicd
|
||||
%dir %{_localstatedir}/lib/wicd/configurations
|
||||
|
||||
%files curses
|
||||
%dir %{_datadir}/wicd/curses
|
||||
%{_datadir}/wicd/curses/*
|
||||
%{_bindir}/wicd-curses
|
||||
%{_datadir}/man/man8/wicd-curses.8*
|
||||
%lang(nl) %{_datadir}/man/nl/man8/wicd-curses.8*
|
||||
|
||||
%files gtk
|
||||
%dir %{_datadir}/wicd/gtk
|
||||
%{_sysconfdir}/xdg/autostart/wicd-tray.desktop
|
||||
%{_datadir}/pixmaps/wicd-gtk.xpm
|
||||
%{_datadir}/wicd/gtk/*
|
||||
%{_bindir}/wicd-gtk
|
||||
%{_datadir}/icons/hicolor/*/apps/wicd-gtk.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/wicd-gtk.svg
|
||||
%dir %{_datadir}/wicd/icons
|
||||
%{_datadir}/wicd/icons/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 24 2018 David Cantrell <dcantrell@redhat.com> - 1.7.4-8
|
||||
- Get wicd building correctly under rawhide again (#1606676)
|
||||
- Fix %%{_unitdir} usage in the spec file
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.7.4-7
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7.4-5
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Nov 08 2016 Filipe Rosset <rosset.filipe@gmail.com> - 1.7.4-1
|
||||
- Rebuilt for new upstream release 1.7.4 fixes rhbz #1301799
|
||||
- Fixes rhbz #1308240
|
||||
|
||||
* Tue Nov 08 2016 Filipe Rosset <rosset.filipe@gmail.com> - 1.7.3-5
|
||||
- Spec cleanup
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-4
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Apr 09 2015 David Cantrell <dcantrell@redhat.com> - 1.7.3-1
|
||||
- Upgrade to wicd-1.7.3 (#1176990)
|
||||
|
||||
* Thu Apr 09 2015 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-16
|
||||
- Remove dependency on pm-utils (#1208313)
|
||||
|
||||
* Tue Nov 25 2014 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-15
|
||||
- self.prog_name -> self.prof_name in netentry_curses.py (#1162118)
|
||||
|
||||
* Mon Sep 29 2014 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-14
|
||||
- Remove check for daemon patch (#1074315)
|
||||
|
||||
* Thu Sep 25 2014 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-13
|
||||
- Fix string.translate() usage in misc.py (#1005515)
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2.4-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Wed Jul 02 2014 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-11
|
||||
- Prevent crash when saving network settings (#996693)
|
||||
|
||||
* Mon Jun 30 2014 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-10
|
||||
- Do not assume wicd-daemon is running when wicd-client runs (#1074315)
|
||||
- Fix wicd-curses crash on startup (#894646)
|
||||
- Edit default D-Bus policy file to allow 'users' group members to run
|
||||
wicd client programs (#1074372)
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2.4-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Dec 09 2013 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-8
|
||||
- Apply upstream patch to fix exception when changing properties in
|
||||
wicd-gtk (#981667)
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Mon Apr 01 2013 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-6
|
||||
- systemd_post_with_restart -> systemd_postun_with_restart (#901753)
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2.4-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Oct 23 2012 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-4
|
||||
- Fix some Unicode string handling and display problems (#845749)
|
||||
|
||||
* Tue Oct 23 2012 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-3
|
||||
- Use new systemd macros in trigger scripts (#850367)
|
||||
|
||||
* Thu Aug 02 2012 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-2
|
||||
- Updated duplicate logrotate file fix (#820139)
|
||||
|
||||
* Thu Aug 02 2012 David Cantrell <dcantrell@redhat.com> - 1.7.2.4-1
|
||||
- Upgrade to wicd-1.7.2.4
|
||||
- Remove duplicate logrotate file (#820139)
|
||||
- The curses package requires some code from the gtk module, so add explicit
|
||||
dependency (#831309)
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Apr 13 2012 David Cantrell <dcantrell@redhat.com> - 1.7.2.1-1
|
||||
- Upgrade to wicd-1.7.2.1 to fix CVE-2012-2095 (#811763)
|
||||
|
||||
* Mon Mar 26 2012 David Cantrell <dcantrell@redhat.com> - 1.7.1-5
|
||||
- Remove our wicd.service file, this is provided by upstream now
|
||||
|
||||
* Mon Mar 26 2012 David Cantrell <dcantrell@redhat.com> - 1.7.1-4
|
||||
- Make sure systemd unit files go to /usr/lib/systemd
|
||||
- Stop mangling logfile.py so bytecompiling will actually work
|
||||
- 91wicd -> 55wicd
|
||||
- Pick up new encryption template files in the %%files list
|
||||
|
||||
* Thu Mar 22 2012 David Cantrell <dcantrell@redhat.com> - 1.7.1-3
|
||||
- BR babel
|
||||
- Remove po/ast.po because babel doesn't understand it
|
||||
|
||||
* Thu Mar 22 2012 David Cantrell <dcantrell@redhat.com> - 1.7.1-2
|
||||
- Ensure wpath.etc is set to /etc/wicd, not /etc/dhcp (#754412)
|
||||
- Initialize child_pid to None in wicd-daemon.py (#798692)
|
||||
- Make wicd-gtk subpackage require notify-python (#748258)
|
||||
- Work around no-op problem in DaemonClosing calls (#740317)
|
||||
|
||||
* Fri Feb 10 2012 David Cantrell <dcantrell@redhat.com> - 1.7.1-1
|
||||
- Upgrade to wicd-1.7.1 final release (#789380)
|
||||
- Have wicd-common require pygobject2 (#754416)
|
||||
- Remove patches that have been incorporated upstream
|
||||
|
||||
* Fri Jan 27 2012 David Cantrell <dcantrell@redhat.com> - 1.7.1b2-0.3
|
||||
- Fix CVE-2012-0813 (#785147)
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-0.2.b2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri Aug 19 2011 David Cantrell <dcantrell@redhat.com> - 1.7.1b2-0.1
|
||||
- Upgrade to wicd-1.7.1b2
|
||||
|
||||
* Fri Aug 19 2011 David Cantrell <dcantrell@redhat.com> - 1.7.0-9
|
||||
- Initialize appGui._wired_showing in __init__ (#723553)
|
||||
- Make sure check and message in wicd-cli are a lambda (#712435)
|
||||
- Correct systemd unit file for wicd, add D-Bus service file (#699116)
|
||||
- Move docs to the wicd-common subpackage
|
||||
- Correct /etc/dbus-1/system.d/wicd.conf (#699116)
|
||||
|
||||
* Mon May 09 2011 Bill Nottingham <notting@redhat.com> - 1.7.0-8
|
||||
- fix systemd scriptlets for upgrade
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sat Jan 15 2011 David Cantrell <dcantrell@redhat.com> - 1.7.0-6
|
||||
- Correct typo with _systemd_unitdir macro usage in spec file
|
||||
|
||||
* Sat Jan 15 2011 David Cantrell <dcantrell@redhat.com> - 1.7.0-5
|
||||
- Replace existing init script with systemd unit file (#661226)
|
||||
|
||||
* Fri Oct 22 2010 David Cantrell <dcantrell@redhat.com> - 1.7.0-4
|
||||
- Use cPickle instead of deepcopy in configmanager.py (#645251)
|
||||
|
||||
* Wed Aug 25 2010 David Cantrell <dcantrell@redhat.com> - 1.7.0-3
|
||||
- Remove hard dependency on the base package by wicd-common. The
|
||||
base package is arch-specific and contains optional components
|
||||
for wicd. If it is present, wicd will make use of it, but it is
|
||||
not required for normal functionality.
|
||||
|
||||
* Fri Jul 30 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.7.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Mon Jun 21 2010 David Cantrell <dcantrell@redhat.com> - 1.7.0-1
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue