Line 1... |
Line 1... |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# $Id: alcasar-urpmi.sh 835 2012-03-11 22:21:27Z richard $
|
2 |
# $Id: alcasar-urpmi.sh 838 2012-03-14 22:56:41Z richard $
|
3 |
|
3 |
|
4 |
# alcasar-urpmi.sh
|
4 |
# alcasar-urpmi.sh
|
5 |
# by Franck BOUIJOUX and Richard REY
|
5 |
# by Franck BOUIJOUX and Richard REY
|
6 |
# This script is distributed under the Gnu General Public License (GPL)
|
6 |
# This script is distributed under the Gnu General Public License (GPL)
|
7 |
|
7 |
|
Line 9... |
Line 9... |
9 |
# configure the RPM repository
|
9 |
# configure the RPM repository
|
10 |
|
10 |
|
11 |
VERSION="2010.2"
|
11 |
VERSION="2010.2"
|
12 |
ARCH="i586"
|
12 |
ARCH="i586"
|
13 |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
|
13 |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
|
14 |
PACKAGES="freeradius freeradius-mysql freeradius-ldap freeradius-web apache-mpm-prefork apache-mod_ssl apache-mod_php squid dansguardian postfix MySQL logwatch ntp awstats cdrecord buffer vim-enhanced bind-utils arpscan ulogd openssh-server php-xml php-ldap pam_ccreds rng-utils lsb-release dnsmasq sudo syslinux cronie-anacron pciutils clamav pm-fallback-policy "
|
14 |
PACKAGES="freeradius freeradius-mysql freeradius-ldap freeradius-web apache-mpm-prefork apache-mod_ssl apache-mod_php squid dansguardian postfix MySQL logwatch ntp awstats buffer vim-enhanced bind-utils arpscan ulogd openssh-server php-xml php-ldap pam_ccreds rng-utils lsb-release dnsmasq sudo syslinux cronie-anacron pciutils clamav pm-fallback-policy "
|
15 |
|
15 |
|
16 |
rpm_repository_sync ()
|
16 |
rpm_repository_sync ()
|
17 |
{
|
17 |
{
|
18 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
18 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
19 |
{
|
19 |
{
|