Skip to content
Snippets Groups Projects
Commit ee9cdc78 authored by Thiago H. S. Picharski's avatar Thiago H. S. Picharski
Browse files

Merge remote branch 'le-base/master'

parents 2328163a a0e19655
No related branches found
No related tags found
No related merge requests found
Showing
with 485 additions and 0 deletions
1.2.5
#!/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-base
Version:
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Architecture: i386
Section: main
Priority: important
Conflicts: vlc (<< 1.0.6-1ubuntu1.4userful), vlc (>> 1.0.6-1ubuntu1.4userful),
vlc-nox (<< 1.0.6-1ubuntu1.4userful), vlc-nox (>> 1.0.6-1ubuntu1.4userful),
pulseaudio
Depends: acidrip, acl, acpi, adept, apmd, amsn,
apport-qt, aptoncd, audacity, avidemux, binfmt-support, binutils,
binutils-static, blinken, bluez-utils, cabextract,
cryptsetup, cups-pdf, cupsddk, cupsys, cupsys-bsd, cupsys-client,
cupsys-common, cupsys-driver-gutenprint, deborphan, debtags, diff,
dmz-cursor-theme, edict, enscript, ethtool, fdutils, ffmpeg,
freeglut3, gcc, gettext, gnuchess,
gparted, gpgsm, gstreamer0.10-ffmpeg, gstreamer0.10-pitfdll,
gstreamer0.10-plugins-bad, gstreamer0.10-plugins-bad-multiverse,
gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-ugly-multiverse, kcm-gtk,
hal-cups-utils, iamerican, java-common, jfsutils,
kanagram, kanjidic, kdenlive,
kbruch, plasma-widget-kbstate, kcron, kde-l10n-ptbr,
kde-icons-nuvola, kdebluetooth,
kdenetwork-filesharing, kgeography, kgeography-data, khangman, khelpcenter,
klavaro, kinfocenter,
kolourpaint4, kommander-kde3, konq-plugins,
kuser, kwin, libxine1-ffmpeg,
language-pack-kde-en, m4, mdetect,
mii-diag, mktemp, mplayer-skins, libk3b6-extracodecs,
myspell-en-us, netcat, ntpdate, nvidia-kernel-common, odbcinst1debian1,
openssh-blacklist, openssh-server, pdfedit, perl-suid, pia, pinentry-qt,
planner, policykit, poster, powermanagement-interface, powernowd, psutils,
python-dev, python-numeric, python-qt3, python-sip4, qca-tls, reiserfsprogs,
ruby, samba, scantv, smbfs, speedcrunch, squeak-vm, squeak-image3.9, ssh,
sysvutils, ttf-arabeyes, ttf-malayalam-fonts, ttf-sil-andika, tuxmath,
tuxpaint, tuxpaint-stamps-default, unixodbc, unrar, util-linux-locales,
v4l-conf, vim, vorbis-tools, wamerican, wbritish, webcam, wvdial,
xawtv, xbase-clients, xfsprogs, xresprobe, xsane, xserver-xorg-video-amd,
xserver-xorg-video-dummy, xserver-xorg-video-glint, xserver-xorg-video-via,
xulrunner-1.9, xutils-dev, kubuntu-desktop, geogebra, mconverter, muan-pt,
vlc-nox (= 1.0.6-1ubuntu1.4userful), vlc (= 1.0.6-1ubuntu1.4userful), xournal,
kde-printer-applet, gstreamer0.10-alsa, kvkbd, libdvdread4, kate
Description: Base installation for Linux Educacional
#!/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-base
#
# le-base 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.
# Function to set selections
setselections() {
selfile=$1
# Wait until it works
while ! dpkg --set-selections < ${selfile} &>/dev/null ; do
sleep 1
done
rm -f ${selfile}
}
# Hold VLC
sels=$(mktemp)
auxfile=$(mktemp)
dpkg --get-selections \* > ${sels}
awk '{if ($1 ~ /^vlc/) {print $1"\thold"} else { print $0} }' ${sels} >\
${auxfile}
rm -f ${sels}
setselections ${auxfile} & disown
# Set le-setbiostime to run during boot
update-rc.d le-setbiostime defaults 90
# Set the locale to Brazilian Portuguese
locale-gen pt_BR.UTF-8
update-locale LANG=pt_BR.UTF-8
# Update grub
update-grub
#!/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-base
#
# le-base 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.
# The KDE default configuration path
KDEDEFAULT="/usr/share/kubuntu-default-settings/kde4-profile/default"
APPMERGED="/etc/xdg/menus/applications-merged"
APPPATH="/usr/share/applications"
# The autostart path
AUTOSTART="/usr/share/autostart"
# Files to divert
DIVERTS="
/etc/default/ntpdate \
/etc/default/grub \
/etc/update-motd.d/00-header \
/etc/update-motd.d/10-help-text \
/usr/lib/update-notifier/update-motd-cpu-checker \
/etc/security/limits.conf \
/etc/issue \
/etc/issue.net \
/etc/legal \
/etc/lsb-release \
/usr/share/locale-langpack/pt_BR/LC_MESSAGES/\
plasma_applet_networkmanagement.mo \
$KDEDEFAULT/share/config/kwalletrc \
$KDEDEFAULT/share/config/nepomukserverrc \
$AUTOSTART/kbluetooth.desktop \
$AUTOSTART/klipper.desktop \
$AUTOSTART/krunner.desktop \
$APPMERGED/wine.menu \
$APPPATH/kde/kresources.desktop \
$APPPATH/kde/kmdr-editor.desktop \
$APPPATH/wine-browsedrive.desktop \
/usr/share/applnk/.hidden/kmdr-executor.desktop
"
if [[ "$1" != "upgrade" ]]; then
for file in $DIVERTS; do
rm -f ${file}
dpkg-divert --package le-base --remove --rename \
--divert ${file}{.real,}
done
fi
# Unset le-setbiostime to not run during boot
update-rc.d -f le-setbiostime remove
#!/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-base
#
# le-base 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.
# The KDE default configuration path
KDEDEFAULT="/usr/share/kubuntu-default-settings/kde4-profile/default"
APPMERGED="/etc/xdg/menus/applications-merged"
APPPATH="/usr/share/applications"
# The autostart path
AUTOSTART="/usr/share/autostart"
# Files to divert
DIVERTS="
/etc/default/ntpdate \
/etc/default/grub \
/etc/update-motd.d/00-header \
/etc/update-motd.d/10-help-text \
/usr/lib/update-notifier/update-motd-cpu-checker \
/etc/security/limits.conf \
/etc/issue \
/etc/issue.net \
/etc/legal \
/etc/lsb-release \
/usr/share/locale-langpack/pt_BR/LC_MESSAGES/\
plasma_applet_networkmanagement.mo \
$KDEDEFAULT/share/config/kwalletrc \
$KDEDEFAULT/share/config/nepomukserverrc \
$AUTOSTART/kbluetooth.desktop \
$AUTOSTART/klipper.desktop \
$AUTOSTART/krunner.desktop \
$APPMERGED/wine.menu \
$APPPATH/kde/kresources.desktop \
$APPPATH/kde/kmdr-editor.desktop \
$APPPATH/wine-browsedrive.desktop \
/usr/share/applnk/.hidden/kmdr-executor.desktop
"
# Divert files
for file in $DIVERTS; do
dpkg-divert --package le-base --add --rename \
--divert ${file}{.real,}
done
if ! groupadd -fr freeze; then
abort "Error while creating the group freeze."
fi
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`echo $(lsb_release -i -s -r 2> /dev/null || echo Debian)`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# This file was replaced by le-base.
# Do not use /etc/ntp.conf (use this file instead)
NTPDATE_USE_NTP_CONF=no
# Set the NTP server
NTPSERVERS="ntp.pop-pr.rnp.br"
# Pass -b to avoid using incremental adjustments
NTPOPTIONS="-b"
#!/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-base
#
# le-base 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.
# Just set the BIOS time
hwclock -u --systohc
Linux Educacional 4.0 \n \l
Linux Educacional 4.0
4.0
The programs included with the Linux Educacional system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Linux Educacional comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
DISTRIB_ID="Linux Educacional"
DISTRIB_RELEASE=4.0
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Linux Educacional 4.0"
# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>
#
#Where:
#<domain> can be:
# - an user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
#
#<type> can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#
#<item> can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open files
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
# - chroot - change root to directory (Debian-specific)
#
#<domain> <type> <item> <value>
#
# Limits used by Linux Educacional
* hard nproc 128
* hard priority 5
# End of file
[General]
AutomountEnabled=true
AutomountOnLogin=true
AutomountOnPlugin=true
AutomountUnknownDevices=true
[$Version]
update_info=kded.upd:kde3.0
[Module-device_automounter]
autoload=true
[Module-dnssdwatcher]
autoload=true
[Module-khotkeys]
autoload=true
[Module-ktimezoned]
autoload=true
[Module-nepomuksearchmodule]
autoload=false
[Module-networkmanagement]
autoload=true
[Module-networkstatus]
autoload=true
[Module-networkwatcher]
autoload=true
[Module-powerdevil]
autoload=true
[Module-randrmonitor]
autoload=true
[Module-remotedirnotify]
autoload=true
[Module-solidautoeject]
autoload=true
[Module-statusnotifierwatcher]
autoload=true
[DirWatch]
PollInterval=60000
[Auto Allow]
kdewallet=kwalletmanager
[Auto Deny]
kdewallet=
[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=kdewallet
Enabled=false
First Use=false
Idle Timeout=10
Launch Manager=false
Leave Manager Open=false
Leave Open=true
Prompt on Open=true
Use One Wallet=true
[Basic Settings]
Configured repositories=main
Soprano Backend=virtuosobackend
Start Nepomuk=false
[Service-nepomukstrigiservice]
autostart=false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment