Commit 6b5a478e authored by Thiago H. S. Picharski's avatar Thiago H. S. Picharski

Merge remote branch 'le-pregao-712010/master'

Signed-off-by: default avatarThiago H. S. Picharski <thsp08@c3sl.ufpr.br>
parents 691ddf64 15908c4e
#!/bin/bash
# gerar.sh
# Copyright (c) 2006 by Bruno Ribas <ribas@ufpr.br>
DIRTMP=$(mktemp -d)
VERSAO=$(cat VERSAO)
#arrumar versao
#$1 tipo de incremento
MAJOR=$(echo $VERSAO| cut -d'.' -f1)
MINOR=$(echo $VERSAO| cut -d'.' -f2)
REVISION=$(echo $VERSAO| cut -d'.' -f3)
case $1 in
Minor)
((MINOR++))
REVISION=0
;;
Major)
((MAJOR++))
MINOR=0
REVISION=0
;;
help)
echo "Uso: $0 Major|Minor|Revision"
echo ' Major - Altera versao Major'
echo ' Minor - Altera versao Minor'
exit
;;
*)
((REVISION++))
;;
esac
VERSAO="${MAJOR}.${MINOR}.${REVISION}"
echo "$VERSAO" > VERSAO
#Compila a documentacao do pacote no diretorio doc/
#cd doc/
#hevea -text *.tex
#hevea -text *.tex
#cd ../
cp -r pacote $DIRTMP
#Copia a documentacao compilada para dentro do pacote.
#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-*
cd $DIRTMP
find . -name ".svn" -exec rm -rf {} \; &>/dev/null
sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control
fakeroot dpkg -b pacote .
cd -
cp $DIRTMP/*deb .
rm -rf $DIRTMP
# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1
Package: le-pregao-712010
Version: 0.0.12
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Architecture: i386
Section: main
Priority: important
Depends: linux-image-2.6.32-29-generic-pae
Description: Especific changes to make LE4.0 work on "Pregao 71/2010"
#!/bin/bash
# Copyright (C) 2004-2011 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-pregao-712010
#
# le-pregao-712010 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
echo "Running depmod..."
/sbin/depmod -a 2.6.32-29-generic-pae
echo "Loading module rt3562sta"
modprobe rt3562sta || true
echo "Restarting network interfaces"
/etc/init.d/networking restart || true
# Set cups at complain mode and start cups
aa-complain cupsd
/etc/init.d/cups start
exit 0
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-pregao-712010
#
# le-pregao-712010 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
echo "Running depmod..."
/sbin/depmod -a 2.6.32-29-generic-pae
echo "Restarting network interfaces"
/etc/init.d/networking restart || true
exit 0
#!/bin/bash
# Copyright (C) 2004-2011 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-pregao-712010
#
# le-pregao-712010 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
echo "Stopping apparmor..."
/etc/init.d/apparmor stop
echo "Stopping cups"
/etc/init.d/cups stop
rm -rf /etc/sysctl.d/*
exit 0
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-pregao-712010
#
# le-pregao-712010 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
echo "Unloading module rt3562sta"
rmmod rt3562sta || true
exit 0
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=
ChannelGeography=1
SSID=Dennis2860AP
NetworkType=Infra
WirelessMode=5
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=1
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=0
HT_MpduDensity=4
HT_BW=1
HT_AutoBA=1
HT_BADecline=0
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
HT_DisallowTKIP=1
HT_STBC=0
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
CarrierDetect=0
AntDiversity=0
BeaconLostTime=4
PSP_XLINK_MODE=0
# Video/audio capture device configuration
# Used only on Linux Educational server
options em28xx card=2
# This sysctl sets the default value of the IPV6_V6ONLY socket option.
#
# When disabled, IPv6 sockets will also be able to send and receive IPv4
# traffic with addresses in the form ::ffff:192.0.2.1 and daemons listening
# on IPv6 sockets will also accept IPv4 connections.
#
# When IPV6_V6ONLY is enabled, daemons interested in both IPv4 and IPv6
# connections must open two listening sockets.
# This is the default behaviour of almost all modern operating systems.
net.ipv6.bindv6only = 0
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-pregao-712010
#
# le-pregao-712010 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
CONFIG="$HOME/.kde/share/config/networkmanagementrc"
uuid=$(ls /usr/share/kde4/apps/networkmanagement/connections/)
if test ! -d "$HOME/.kde/share/apps/networkmanagement/connections"; then
mkdir -p "$HOME/.kde/share/apps/networkmanagement/connections"
fi
for con in $uuid; do
ln -sf /usr/share/kde4/apps/networkmanagement/connections/$con \
$HOME/.kde/share/apps/networkmanagement/connections/$con
done
name=$(kreadconfig --file $CONFIG --group Connection_$uuid --key Name)
if [[ $name != "proinfo71" ]]; then
kwriteconfig --file $CONFIG --group Connection_$uuid \
--key Name proinfo71
kwriteconfig --file $CONFIG --group Connection_$uuid \
--key Type 802-11-wireless
fi
old=$(kreadconfig --file $CONFIG --group General --key Connections)
for net in $uuid; do
if ! grep -q "Connections=.*$net.*" $CONFIG; then
if test "$old" == ""; then
kwriteconfig --file $CONFIG --group General \
--key Connections $uuid
else
kwriteconfig --file $CONFIG --group General \
--key Connections $old,$uuid
fi
fi
done
chown -R --reference="$HOME" "$HOME/.kde"
[802-11-wireless]
band=bg
bssid=
channel=0
macaddress=
mode=infrastructure
mtu=0
rate=0
security=802-11-wireless-security
seenbssids=
ssid=proinfo71
txpower=0
[802-11-wireless-security]
authalg=none
group=
keymgmt=WPAPSK
leappassword=
leapusername=
pairwise=
proto=
psk=proinfourbano712010
securityType=WpaPsk
wepkey0=
wepkey1=
wepkey2=
wepkey3=
weppassphrase=
weptxkeyindex=0
[connection]
autoconnect=true
icon=network-wireless
id=proinfo71
timestamp=
type=802-11-wireless
uuid={88f47d3f-d98e-41ad-b90a-a4bd37bf50d5}
[ipv4]
addresses=
dhcpclientid=
dhcphostname=
dns=
dnssearch=
ignoreautoroute=false
ignoredhcpdns=false
method=Automatic
neverdefault=false
routes=
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment