Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

35 commits

Author SHA1 Message Date
4d6c6f4c34 no one uses this anymore and its python2 only 2019-08-01 13:59:27 -04:00
Fedora Release Engineering
d6a77efe6a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:35:15 +00:00
4c12cb1e6e cleanup optflags goop 2019-06-05 11:15:18 -04:00
3634dbf34a fix code to compile with current scons 2019-06-05 11:06:53 -04:00
Tim Landscheidt
34de998fa5 Remove obsolete requirements for %post/%postun scriptlets 2019-03-07 19:59:05 +00:00
Fedora Release Engineering
0f55e8f5bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:49:17 +00:00
ce3ffffcaa Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 06:17:40 +01:00
8f886592a1 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:54 +01:00
309dcea9b0 fixed iproute patch to properly use CIDR. Not that you would have EVER noticed. 2018-12-07 14:05:43 -05:00
6201ac3d44 use ip instead of old net-tools. Not that you care. No one uses this dinosaur. 2018-12-07 13:54:54 -05:00
f92a16e46c force python2 2018-07-24 10:52:22 -04:00
8fabe216d1 add BuildRequires: gcc-c++ 2018-07-24 10:23:57 -04:00
Fedora Release Engineering
592d7b818e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:55:04 +00:00
Fedora Release Engineering
3a4388ad44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:02:17 +00:00
Fedora Release Engineering
0408acc69a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:19:57 +00:00
Fedora Release Engineering
f7541cd329 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:41:01 +00:00
8f6842cef6 fix desktop file (resolves FTBFS) 2017-02-20 12:43:49 -05:00
Fedora Release Engineering
611d57f954 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:27:25 +00:00
Fedora Release Engineering
eb228f073e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:04:55 +00:00
Dennis Gilmore
676b7d2081 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:28:52 +00:00
Kalev Lember
ba72a634dc Rebuilt for GCC 5 C++11 ABI change 2015-05-02 18:36:16 +02:00
48d82ed33c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:43:23 +00:00
Dennis Gilmore
1b8a48d522 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:40:01 -05:00
Dennis Gilmore
54686f43ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:03:32 -05:00
Parag Nemade
77633a18f5 Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- Cleanup spec as per recently changed packaging guidelines
2013-02-10 22:22:24 +05:30
Dennis Gilmore
2eab0e5e90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 22:43:39 -05:00
Dennis Gilmore
3dfad6290d - Rebuilt for c++ ABI breakage 2012-02-28 14:34:32 -06:00
Dennis Gilmore
bb595b827e - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:22:21 -06:00
Dennis Gilmore
1c9e23ce64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 20:47:33 -06:00
Fedora Release Engineering
53bead6e89 dist-git conversion 2010-07-29 15:22:28 +00:00
6cc8f4a904 fix FTBFS 2010-02-19 20:14:25 +00:00
Bill Nottingham
c44b1e7280 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:15 +00:00
Jesse Keating
dad8f18fb9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 07:19:16 +00:00
d877e005de fix ppc compile 2009-03-13 18:23:21 +00:00
Jesse Keating
873487e673 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 18:51:13 +00:00
15 changed files with 1 additions and 387 deletions

View file

@ -1,2 +0,0 @@
wlassistant-0.5.6.tar.bz2
wlassistant-0.5.7.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wlassistant
# $Id$
NAME := wlassistant
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
no one uses this anymore and its python2 only

View file

@ -1 +0,0 @@
4623b498ac42839d08c631c500f18f8b wlassistant-0.5.7.tar.bz2

View file

@ -1,15 +0,0 @@
--- wlassistant-0.5.4a/src/wlassistant.desktop.orig 2005-09-01 23:23:44.000000000 -0500
+++ wlassistant-0.5.4a/src/wlassistant.desktop 2005-09-04 20:00:41.000000000 -0500
@@ -3,7 +3,10 @@
Name=Wireless Assistant
Comment[pl]=Program do obsługi sieci bezprzewodowych
Comment[es]=Aplicación para buscar redes inalámbricas
-Exec=sudo wlassistant
-Icon=wlassistant
+Comment=Application to look for wireless networks
+Exec=/usr/sbin/wlassistant
+Icon=/usr/share/icons/hicolor/32x32/apps/wlassistant.png
Type=Application
+Categories=Application;SystemSetup;System;
+StartupNotify=true

View file

@ -1,21 +0,0 @@
--- wlassistant-0.5.4a/configure.BAD 2005-09-04 19:32:40.000000000 -0500
+++ wlassistant-0.5.4a/configure 2005-09-04 19:33:10.000000000 -0500
@@ -29220,17 +29220,8 @@
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
- KDE_RPATH="-R \$(kde_libraries)"
-
if test -n "$qt_libraries"; then
- KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
- fi
- if test -n "$X_LDFLAGS"; then
- X_RPATH="-R \$(x_libraries)"
- KDE_RPATH="$KDE_RPATH $X_RPATH"
- fi
- if test -n "$KDE_EXTRA_RPATH"; then
- KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
+ KDE_RPATH="-R \$(qt_libraries)"
fi
fi

View file

@ -1,24 +0,0 @@
--- wlassistant-0.5.5/src/wlassistant.cpp.BAD 2006-09-11 10:27:30.000000000 -0500
+++ wlassistant-0.5.5/src/wlassistant.cpp 2006-09-11 10:30:22.000000000 -0500
@@ -973,13 +973,18 @@
{
WANetParams empty;
QString o = runCommand( Commands.cmd( "iwconfig_status", empty ) );
- QStringList ol = QStringList::split("\n\n", o);
+ QStringList ol = QStringList::split("\n\n", o); // do we really need two
int c = ol.count();
QStringList ifList = QStringList();
for (int i = 0; i < c; i++) {
o = ol[i];
- if ( o.find("no wireless extensions")==-1 ) //string not found
- ifList << o.left(o.find(" "));
+ if ( o.find("no wireless extensions")==-1 ) {
+ if ( o.find("Warning:") == -1 ) {
+ QString interface = o.left(o.find(" "));
+ if ( interface.length() > 1 )
+ ifList << interface;
+ }
+ }
}
return ifList;
}

View file

@ -1,14 +0,0 @@
--- wlassistant-0.5.5/bksys/kde.py.BAD 2006-02-28 19:00:25.000000000 -0600
+++ wlassistant-0.5.5/bksys/kde.py 2006-02-28 19:01:14.000000000 -0600
@@ -25,10 +25,7 @@
lenv.Append( CPPFLAGS = '-DQT_NO_TRANSLATION' )
if 'rpath' in _flags:
## Use this to set rpath - this may cause trouble if folders are moved (chrpath)
- kdelibpaths=[]
- if lenv['KDELIBPATH'] == lenv['KDELIB']: kdelibpaths = [lenv['KDELIB']]
- else: kdelibpaths = [lenv['KDELIBPATH'], lenv['KDELIB']]
- lenv.Append( RPATH = [lenv['QTLIBPATH'], lenv['KDEMODULE']]+kdelibpaths )
+ lenv.Append( RPATH = [lenv['QTLIBPATH'], lenv['KDEMODULE']] )
if 'thread' in _flags:
## Uncomment the following if you need threading support
lenv.KDEaddflags_cxx( ['-DQT_THREAD_SUPPORT', '-D_REENTRANT'] )

View file

@ -1,18 +0,0 @@
--- wlassistant-0.5.6/src/wlassistant.cpp.BAD 2007-01-18 13:07:25.000000000 -0600
+++ wlassistant-0.5.6/src/wlassistant.cpp 2007-01-18 13:09:54.000000000 -0600
@@ -1074,8 +1074,13 @@
QStringList ifList = QStringList();
for (int i = 0; i < c; i++) {
o = ol[i];
- if ( o.find("no wireless extensions")==-1 ) //string not found
- ifList << o.left(o.find(" "));
+ if ( o.find("no wireless extensions")==-1 ) {
+ if ( o.find("Warning:") == -1 ) {
+ QString interface = o.left(o.find(" "));
+ if ( interface.length() > 1 )
+ ifList << interface;
+ }
+ }
}
return ifList;
}

View file

@ -1,67 +0,0 @@
diff -up wlassistant-0.5.7/src/watools.cpp.BAD wlassistant-0.5.7/src/watools.cpp
--- wlassistant-0.5.7/src/watools.cpp.BAD 2007-07-23 10:13:15.000000000 -0500
+++ wlassistant-0.5.7/src/watools.cpp 2007-07-23 10:16:48.000000000 -0500
@@ -23,6 +23,7 @@
#include <unistd.h> //provides readlink
#include <dirent.h>
#include <stdio.h> //to get values from /sys
+#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h> //inet_ntoa
@@ -178,6 +179,13 @@ int WATools::availableNetworks( const ch
_ifname = ifname;
if (iw_socket<0)
iw_socket = iw_sockets_open(); //get kernel socket
+ int flags;
+ flags = fcntl(iw_socket, F_GETFD);
+ if (flags == -1)
+ return 0;
+ flags |= FD_CLOEXEC;
+ if (fcntl(iw_socket, F_SETFD, flags) == -1)
+ return 0;
if (iw_socket<0)
return 0;
@@ -264,6 +272,13 @@ int WATools::doRequest( int request, str
_ifname = ifname;
if (iw_socket<0)
iw_socket = iw_sockets_open(); //get kernel socket
+ int flags;
+ flags = fcntl(iw_socket, F_GETFD);
+ if (flags == -1)
+ return 0;
+ flags |= FD_CLOEXEC;
+ if (fcntl(iw_socket, F_SETFD, flags) == -1)
+ return 0;
if (iw_socket<0)
return 0;
@@ -278,6 +293,13 @@ int WATools::doWirelessRequest( int requ
_ifname = ifname;
if (iw_socket<0)
iw_socket = iw_sockets_open(); //get kernel socket
+ int flags;
+ flags = fcntl(iw_socket, F_GETFD);
+ if (flags == -1)
+ return 0;
+ flags |= FD_CLOEXEC;
+ if (fcntl(iw_socket, F_SETFD, flags) == -1)
+ return 0;
if (iw_socket<0)
return 0;
@@ -292,6 +314,13 @@ int WATools::doWirelessStatisticsRequest
_ifname = ifname;
if (iw_socket<0)
iw_socket = iw_sockets_open();//get kernel socket
+ int flags;
+ flags = fcntl(iw_socket, F_GETFD);
+ if (flags == -1)
+ return 0;
+ flags |= FD_CLOEXEC;
+ if (fcntl(iw_socket, F_SETFD, flags) == -1)
+ return 0;
if (iw_socket<0)
return 0;

View file

@ -1,46 +0,0 @@
diff -up wlassistant-0.5.7/admin/generic.py.BAD wlassistant-0.5.7/admin/generic.py
--- wlassistant-0.5.7/admin/generic.py.BAD 2008-06-05 17:37:13.000000000 -0400
+++ wlassistant-0.5.7/admin/generic.py 2008-06-05 17:39:48.000000000 -0400
@@ -269,7 +269,8 @@ class genobj:
ret=self.env.Program(self.p_localtarget, self.p_localsource)
if not self.env.has_key('NOAUTOINSTALL'):
ins=self.env.bksys_install(self.instdir, ret)
- if self.perms: self.env.AddPostAction(ins, self.env.Chmod(ins, self.perms))
+ if ins and self.perms:
+ for i in ins: self.env.AddPostAction(ins, self.env.Chmod(str(i), self.perms))
elif self.type=='staticlib':
ret=self.env.StaticLibrary(self.p_localtarget, self.p_localsource)
@@ -476,7 +477,8 @@ def generate(env):
if not destfile: install_list = env.Install(lenv.join(basedir,subdir), lenv.make_list(files))
elif subdir: install_list = env.InstallAs(lenv.join(basedir,subdir,destfile), lenv.make_list(files))
else: install_list = env.InstallAs(lenv.join(basedir,destfile), lenv.make_list(files))
- if perms and install_list: lenv.AddPostAction(install_list, lenv.Chmod(install_list, perms))
+ if perms and install_list:
+ for i in install_list: lenv.AddPostAction(install_list, lenv.Chmod(lenv.Chmod(str(i), perms))
env.Alias('install', install_list)
return install_list
diff -up wlassistant-0.5.7/bksys/generic.py.BAD wlassistant-0.5.7/bksys/generic.py
--- wlassistant-0.5.7/bksys/generic.py.BAD 2008-06-05 17:40:14.000000000 -0400
+++ wlassistant-0.5.7/bksys/generic.py 2008-06-05 17:41:02.000000000 -0400
@@ -244,7 +244,8 @@ class genobj:
ret=self.env.Program(self.p_localtarget, self.p_localsource)
if not self.env.has_key('NOAUTOINSTALL'):
ins=self.env.bksys_install(self.instdir, ret)
- if self.perms: self.env.AddPostAction(ins, self.env.Chmod(ins, self.perms))
+ if ins and self.perms:
+ for i in ins: self.env.AddPostAction(ins, self.env.Chmod(str(i), self.perms))
elif self.type=='staticlib':
ret=self.env.StaticLibrary(self.p_localtarget, self.p_localsource)
@@ -462,7 +463,8 @@ def generate(env):
if not destfile: install_list = env.Install(lenv.join(basedir,subdir), lenv.make_list(files))
elif subdir: install_list = env.InstallAs(lenv.join(basedir,subdir,destfile), lenv.make_list(files))
else: install_list = env.InstallAs(lenv.join(basedir,destfile), lenv.make_list(files))
- if perms and install_list: lenv.AddPostAction(install_list, lenv.Chmod(install_list, perms))
+ if perms and install_list:
+ for i in install_list: lenv.AddPostAction(install_list, lenv.Chmod(str(i), perms))
env.Alias('install', install_list)
return install_list

View file

@ -1,3 +0,0 @@
USER=root
PROGRAM=/usr/bin/wlassistant
SESSION=true

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Wireless Assistant
Comment[pl]=Program do obsługi sieci bezprzewodowych
Comment[es]=Aplicación para buscar redes inalámbricas
Comment=Application to look for wireless networks
Exec=/usr/sbin/wlassistant
Icon=/usr/share/icons/hicolor/32x32/apps/wlassistant.png
Type=Application
Categories=Application;Settings
StartupNotify=true

View file

@ -1,4 +0,0 @@
#%PAM-1.0
auth include config-util
account include config-util
session include config-util

View file

@ -1,140 +0,0 @@
Name: wlassistant
Version: 0.5.7
Release: 8%{?dist}
License: GPLv2+
Group: Applications/System
Summary: Wireless network management tool
URL: http://wlassistant.sourceforge.net
Source0: http://download.sourceforge.net/wlassistant/wlassistant-%{version}.tar.bz2
Source1: wlassistant.console_apps
Source2: wlassistant.pamd
Source3: wlassistant.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdelibs3-devel, desktop-file-utils, wireless-tools-devel, scons
BuildRequires: gettext
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
Requires: usermode, wireless-tools, net-tools, dhclient, pam
Patch0: wlassistant-0.5.5-rpath.patch
Patch1: wlassistant-0.5.7-fd_cloexec.patch
Patch2: wlassistant-0.5.7-fix_scons_chmod_error.patch
%description
Wireless Assistant (wlassistant) is a small application that allows you to
connect to wireless networks.
MAIN FEATURES:
- WPA-PSK Encryption Support (WPA/WPA2)
- WEP Encryption Support
- Not Broadcasted ("hidden") ESSIDs Support
- Per Network (AP) Configuration Profiles
- Automatic (DHCP, both dhcpcd and dhclient) and manual configuration options.
- Connection status monitoring
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS\' | sed "s/ /',/g" | sed "s/',/', '/g"`
sed -i "s|'-O2'|[$PARSED_OPT_FLAGS]|" bksys/generic.py
./configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/wlassistant
install -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/wlassistant
rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/wlassistant.desktop
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE3}
%find_lang %{name}
# We're going to use consolehelper, since this is a GUI app.
cd $RPM_BUILD_ROOT%{_sbindir}/
ln -s /usr/bin/consolehelper wlassistant
%post
update-desktop-database %{_datadir}/applications &> /dev/null
%postun
if [ "$1" = "0" ]; then
update-desktop-database %{_datadir}/applications &> /dev/null
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc doc/AUTHORS doc/COPYING doc/README doc/NEWS doc/TODO ChangeLog
%config(noreplace) %{_sysconfdir}/pam.d/wlassistant
%config(noreplace) %{_sysconfdir}/security/console.apps/wlassistant
%{_bindir}/wlassistant
%{_sbindir}/wlassistant
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/16x16/apps/wlassistant.png
%{_datadir}/icons/hicolor/32x32/apps/wlassistant.png
%changelog
* Thu Jun 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.7-8
- fix scons chmod error (resolve FTBFS)
* Tue Mar 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.7-7
- fix BuildRequires for kdelibs3-devel
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.7-6
- Autorebuild for GCC 4.3
* Sat Nov 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.7-5
- fix pam file to use console-apps pam tree, instead of its own
resolves 243240, 306041
* Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.7-4
- rebuild for ppc32
- license tag fix
* Mon Jul 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.7-3
- close file descriptors with FD_CLOEXEC, try to resolve bz 243509
* Wed May 23 2007 Christopher Aillon <caillon@redhat.com> 0.5.7-2
- Rebuild against newer libiw.so
* Tue Apr 10 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.7-1
- 0.5.7
* Thu Jan 18 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.6-1
- bump to 0.5.6
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.5-4
- fix bz 205886
* Mon Sep 4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.5-3
- add BR: gettext
* Mon Sep 4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.5-2
- fix BR: wireless-tools-devel for fc6+
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.5-1
- bump to 0.5.5
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.4a-3
- use .desktop file as SOURCE3 rather than screwing around with dos2unix
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.4a-2
- add BR: wireless-tools
* Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.4a-1
- initial package for Fedora Extras