Compare commits
45 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d6c6f4c34 | ||
|
|
d6a77efe6a | ||
|
|
4c12cb1e6e | ||
|
|
3634dbf34a | ||
|
|
34de998fa5 | ||
|
|
0f55e8f5bc | ||
| ce3ffffcaa | |||
| 8f886592a1 | |||
|
|
309dcea9b0 | ||
|
|
6201ac3d44 | ||
|
|
f92a16e46c | ||
|
|
8fabe216d1 | ||
|
|
592d7b818e | ||
|
|
3a4388ad44 | ||
|
|
0408acc69a | ||
|
|
f7541cd329 | ||
|
|
8f6842cef6 | ||
|
|
611d57f954 | ||
|
|
eb228f073e | ||
|
|
676b7d2081 | ||
|
|
ba72a634dc | ||
| 48d82ed33c | |||
|
|
1b8a48d522 | ||
|
|
54686f43ec | ||
|
|
77633a18f5 | ||
|
|
2eab0e5e90 | ||
|
|
3dfad6290d | ||
|
|
bb595b827e | ||
|
|
1c9e23ce64 | ||
|
|
53bead6e89 | ||
|
|
6cc8f4a904 | ||
|
|
c44b1e7280 | ||
|
|
dad8f18fb9 | ||
|
|
d877e005de | ||
|
|
873487e673 | ||
|
|
d0f284dce9 | ||
| d8b7b57b12 | |||
|
|
83d323c253 | ||
|
|
a132966860 | ||
|
|
c46d46ff3d | ||
|
|
1f6e35a4a5 | ||
|
|
9cf207b852 | ||
|
|
64d355ca65 | ||
|
|
9c44cc124a | ||
|
|
9573a6982e |
12 changed files with 1 additions and 230 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
wlassistant-0.5.4a.tar.bz2
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
no one uses this anymore and its python2 only
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
4623b498ac42839d08c631c500f18f8b wlassistant-0.5.7.tar.bz2
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -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'] )
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
USER=root
|
||||
PROGRAM=/usr/bin/wlassistant
|
||||
SESSION=true
|
||||
|
|
@ -1,12 +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;SystemSetup;System;
|
||||
StartupNotify=true
|
||||
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#%PAM-1.0
|
||||
auth sufficient pam_rootok.so
|
||||
auth sufficient pam_timestamp.so
|
||||
auth required pam_stack.so service=system-auth
|
||||
session required pam_permit.so
|
||||
session optional pam_xauth.so
|
||||
session optional pam_timestamp.so
|
||||
account required pam_permit.so
|
||||
113
wlassistant.spec
113
wlassistant.spec
|
|
@ -1,113 +0,0 @@
|
|||
Name: wlassistant
|
||||
Version: 0.5.7
|
||||
Release: 1%{?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: kdebase-devel, desktop-file-utils, wireless-tools-devel, scons
|
||||
BuildRequires: qt-devel, gettext
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
Requires: usermode, wireless-tools, net-tools, dhclient
|
||||
Patch0: wlassistant-0.5.5-rpath.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
|
||||
|
||||
%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
|
||||
* 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue