/CHANGELOG |
---|
3,15 → 3,18 |
********** ALCASAR CHANGELOG ********** |
-------------------- 3.3.3 -------------------- |
NEWS |
- Linux Kernel 4.14.89 |
- Add Qwant in safesearch option for whitelist and blacklist |
- Improve install on a server with multiple network card (add internal interface selector instead of choosing the first one). |
- Improve install on a server with more than 2 network card (add internal interface selector instead of choosing the first one). |
- Use a custom blacklist & whitelist description file instead of the default one |
- Updating blacklist & "TOR nodes" custom list |
- Updating the WebSVN server to V2.5-dev with Tom patches (https://github.com/websvnphp/websvn/commits/master) |
- Write a new script to create the ISO file (mageiar) using docker |
BUGS |
- Keep custom blacklists when upgrading from dansguardian to e2guardian |
- Automatically launch database migration scripts after import user database. |
- Improve firewall rules for whitelist users |
- Improve firewall rules for whitelist users (anti-bypass) |
-------------------- 3.3.2 -------------------- |
NEWS |
/VERSION |
---|
1,0 → 0,0 |
3.3.2 |
3.3.3 |
/iso/old/config/auto_inst-x86_64-en.cfg.pl |
---|
0,0 → 1,243 |
#!/usr/bin/perl -cw |
# |
# Configuration file written by : |
# * Hamza ESSAYEGH (Querdos) |
# |
# /!\ Before putting this file in the iso, check the syntax with |
# `perl -cw auto_inst.cfg.pl` |
# |
# For more information about all options here, refer to the wiki: |
# https://wiki.mageia.org/en/Auto_inst |
# |
$o = { |
# Keyboard settings |
'keyboard' => { |
'GRP_TOGGLE' => '', |
'KEYBOARD' => 'us' |
}, |
# Locale setting |
# TODO: Check |
'locale' => { |
'lang' => 'en_US', |
'IM' => undef, |
'langs' => { |
'fr' => 1 |
}, |
'country' => 'US' |
}, |
# Security level: |
# * 2 is for standard |
# * 3 for High |
# * 4 for Higher |
# * 5 for Paranoïd |
'security' => 2, |
# Non admin user sysadmin |
'users' => [ |
{ |
'shell' => '/bin/bash', |
'realname' => 'sysadmin', |
'name' => 'sysadmin', |
'pw' => '$2a$08$0Y9PuTN.3A3T57duRBZ3YOd6LALzsRx/jEDCBiaVNBg/tA1YJvZIC', |
'groups' => [], |
} |
], |
# Authentication method |
'authentication' => { |
'shadow' => 1, |
'blowfish' => 1 |
}, |
# Superuser (root) definition |
'superuser' => { |
'shell' => '/bin/bash', |
'realname' => 'root', |
'pw' => '$2a$08$FJ4lI4royRd2crXB1yWvJO9BMMoBbbUw/YRX8kaQ/6zb/poOjTFM2', |
'home' => '/root', |
'uid' => '0', |
'gid' => '0' |
}, |
# Default packages for the new distribution |
# Basic package for a minimalist system, ALCASAR will handle |
# the rest |
# TODO: Default packages for x86_64 |
'default_packages' => [ |
'plymouth', |
'aria2', |
'netprofile', |
'sudo', |
'cdrkit', |
'sharutils', |
'ldetect', |
'alsa-utils', |
'pm-utils', |
'lsof', |
'ntfs-3g', |
'nscd', |
'bash-completion', |
'mageia-gfxboot-theme', |
'basesystem', |
'dhcp-client', |
'aoss', |
'kernel-desktop-latest', |
'dvd+rw-tools', |
'vim-minimal', |
'acpi', |
'locales-fr', |
'mandi-ifw', |
'grub', |
'lftp', |
'shorewall-ipv6', |
'usbutils', |
'rtlwifi-firmware', |
'kernel-firmware-nonfree', |
'iwlwifi-agn-ucode', |
'radeon-firmware', |
'ralink-firmware', |
'autologin', |
'wget', |
# Packages needed by alcasar |
'freeradius', |
'freeradius-mysql', |
'freeradius-ldap', |
'apache', |
'apache-mod_ssl', |
'apache-mod_php', |
'dansguardian', |
'postfix', |
'mariadb', |
'ntp', |
'bind-utils', |
'openssh-server', |
'php-xml', |
'php-ldap', |
'php-mysql', |
'php-mysqli', |
'php-mbstring', |
'php-sockets', |
'php-cli', |
'php-curl', |
'php-pdo_sqlite', |
'php-json', |
'rng-utils', |
'rsync', |
'clamav', |
'perl-rrdtool', |
'perl-MailTools', |
'perl-Socket6', |
'fail2ban', |
'gnupg', |
'ulogd', |
'pm-fallback-policy', |
'ipset', |
'cronie-anacron', |
'gammu', |
'usbutils', |
'locales-en', |
'usb_modeswitch', |
'tinyproxy', |
'vnstat', |
'php-gd', |
'sudo', |
'iftop', |
'man', |
'kernel-firmware-nonfree', |
'dos2unix' |
], |
# Partitionning : control the partitioning of the target system's |
# hard disk drives |
'partitioning' => { |
# Set to 1 if disk partitions are to be defined by the |
# option partitions |
'auto_allocate' => 1, |
# 1: all the existing partitions on ALL disks are to be cleared |
# and replaced |
# 0: the disks are to be left untouched or, you are goeing to |
# use "clear" instead |
'clearall' => 1 |
}, |
# Partitions option is used to define the partitions that are to be |
# created on the hard disk |
# TODO: SWAP for 64-bits |
'partitions' => [ |
# First partition, 5Go -> '/' -> ext4 |
{ |
'mntpoint' => '/', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Second partition, swap |
{ |
'mntpoint' => 'swap', |
'size' => 4000 << 11, |
'fs_type' => 'swap' |
}, |
# Third partition, 5Go -> '/tmp' |
{ |
'mntpoint' => '/tmp', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Fourth partition, 5Go -> '/home' -> ext4 |
{ |
'mntpoint' => '/home', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Fifth partition, /var with rest of the disk |
{ |
'mntpoint' => '/var', |
'size' => 10 << 11, |
'ratio' => 100, |
'fs_type' => 'ext4', |
} |
], |
# Interactive steps option |
# http://members.shaw.ca/mandrake/ -> section Replay Steps for |
# more informations |
'interactiveSteps' => [ |
# Select language(s) support to be installed. |
'selectLanguage', |
# Allows you to Accept or Refuse the License Agreement. |
'acceptLicense', |
# Select the time zone, GMT/Local hardware clock and if you |
# want NTP installed. |
'summary' |
], |
# Post installation script, executed as root in the installed |
# environments and not inside the DrakX installation program |
'postInstallNonRooted' => " |
# Copying Alcasar needed rpms |
tar -xf /tmp/image/install/alcasar/rpms-*.tar.gz -C /mnt/var/cache/urpmi/rpms |
# Copying Alcasar archive to the root directory |
tar -xf /tmp/image/install/alcasar/alcasar.tar.gz -C /mnt/root/ |
# Copying the first login script to the root directory |
cp /tmp/image/install/alcasar/first_login /mnt/root/ |
# Editing bashrc |
echo '[[ -f first_login ]] && bash first_login;' >> /mnt/root/.bashrc |
", |
# Exit without prompt after installation is finished |
# 0 - prompt the installer to re-boot and wait |
# 1 - reboot the computer automatically |
'autoExitInstall' => 1 |
}; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/iso/old/config/auto_inst-x86_64-fr.cfg.pl |
---|
0,0 → 1,237 |
#!/usr/bin/perl -cw |
# |
# Configuration file written by : |
# * Hamza ESSAYEGH (Querdos) |
# |
# /!\ Before putting this file in the iso, check the syntax with |
# `perl -cw auto_inst.cfg.pl` |
$o = { |
# Keyboard settings |
'keyboard' => { |
'GRP_TOGGLE' => '', |
'KEYBOARD' => 'fr' |
}, |
# Locale setting |
'locale' => { |
'lang' => 'fr', |
'IM' => undef, |
'langs' => { |
'fr' => 1 |
}, |
'country' => 'FR', |
'utf8' => 1 |
}, |
# Security level: |
# * 2 is for standard |
# * 3 for High |
# * 4 for Higher |
# * 5 for Paranoïd |
'security' => 2, |
# Non admin user sysadmin |
# TODO: Group for sysadmin ? |
'users' => [ |
{ |
'shell' => '/bin/bash', |
'realname' => 'sysadmin', |
'pwd' => '$2a$08$0Y9PuTN.3A3T57duRBZ3YOd6LALzsRx/jEDCBiaVNBg/tA1YJvZIC', |
'name' => 'sysadmin', |
'groups' => [], |
} |
], |
# Authentication method |
'authentication' => { |
'shadow' => 1, |
'blowfish' => 1 |
}, |
# Superuser (root) definition |
'superuser' => { |
'shell' => '/bin/bash', |
'realname' => 'root', |
'pw' => '$2a$08$FJ4lI4royRd2crXB1yWvJO9BMMoBbbUw/YRX8kaQ/6zb/poOjTFM2', |
'home' => '/root', |
'uid' => '0', |
'gid' => '0' |
}, |
# Default packages for the new distribution |
# Basic package for a minimalist system, ALCASAR will handle |
# the rest |
# TODO: Default packages for x86_64 |
'default_packages' => [ |
'plymouth', |
'aria2', |
'netprofile', |
'sudo', |
'cdrkit', |
'sharutils', |
'ldetect', |
'alsa-utils', |
'pm-utils', |
'lsof', |
'ntfs-3g', |
'nscd', |
'bash-completion', |
'mageia-gfxboot-theme', |
'basesystem', |
'dhcp-client', |
'aoss', |
'kernel-desktop-latest', |
'dvd+rw-tools', |
'vim-minimal', |
'acpi', |
'locales-fr', |
'mandi-ifw', |
'grub', |
'lftp', |
'shorewall-ipv6', |
'usbutils', |
'rtlwifi-firmware', |
'kernel-firmware-nonfree', |
'iwlwifi-agn-ucode', |
'radeon-firmware', |
'ralink-firmware', |
'autologin', |
'wget', |
# Packages needed by alcasar |
'freeradius', |
'freeradius-mysql', |
'freeradius-ldap', |
'apache', |
'apache-mod_ssl', |
'apache-mod_php', |
'dansguardian', |
'postfix', |
'mariadb', |
'ntp', |
'bind-utils', |
'openssh-server', |
'php-xml', |
'php-ldap', |
'php-mysql', |
'php-mysqli', |
'php-mbstring', |
'php-sockets', |
'php-cli', |
'php-curl', |
'php-pdo_sqlite', |
'php-json', |
'rng-utils', |
'rsync', |
'clamav', |
'perl-rrdtool', |
'perl-MailTools', |
'perl-Socket6', |
'fail2ban', |
'gnupg', |
'ulogd', |
'pm-fallback-policy', |
'ipset', |
'cronie-anacron', |
'gammu', |
'usbutils', |
'locales-en', |
'usb_modeswitch', |
'tinyproxy', |
'vnstat', |
'php-gd', |
'sudo', |
'iftop', |
'man', |
'kernel-firmware-nonfree', |
'dos2unix' |
], |
# Partitionning : control the partitioning of the target system's |
# hard disk drives |
'partitioning' => { |
# Set to 1 if disk partitions are to be defined by the |
# option partitions |
'auto_allocate' => 1, |
# 1: all the existing partitions on ALL disks are to be cleared |
# and replaced |
# 0: the disks are to be left untouched or, you are goeing to |
# use "clear" instead |
'clearall' => 1 |
}, |
# Partitions option is used to define the partitions that are to be |
# created on the hard disk |
# TODO: SWAP for 64-bits |
'partitions' => [ |
# First partition, 5Go -> '/' -> ext4 |
{ |
'mntpoint' => '/', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Second partition, swap |
{ |
'mntpoint' => 'swap', |
'size' => 4000 << 11, |
'fs_type' => 'swap' |
}, |
# Third partition, 5Go -> '/tmp' |
{ |
'mntpoint' => '/tmp', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Fourth partition, 5Go -> '/home' -> ext4 |
{ |
'mntpoint' => '/home', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Fifth partition, /var with rest of the disk |
{ |
'mntpoint' => '/var', |
'size' => 10 << 11, |
'ratio' => 100, |
'fs_type' => 'ext4', |
} |
], |
# Interactive steps option |
# http://members.shaw.ca/mandrake/ -> section Replay Steps for |
# more informations |
'interactiveSteps' => [ |
# Allows you to Accept or Refuse the License Agreement. |
'acceptLicense', |
# Select the time zone, GMT/Local hardware clock and if you |
# want NTP installed. |
'summary' |
], |
# Post installation script, executed as root in the installed |
# environments and not inside the DrakX installation program |
'postInstallNonRooted' => " |
# Copying Alcasar needed rpms |
tar -xf /tmp/image/install/alcasar/rpms-*.tar.gz -C /mnt/var/cache/urpmi/rpms |
# Copying Alcasar archive to the root directory |
tar -xf /tmp/image/install/alcasar/alcasar.tar.gz -C /mnt/root/ |
# Copying the first login script to the root directory |
cp /tmp/image/install/alcasar/first_login /mnt/root/ |
# Editing bashrc |
echo '[[ -f first_login ]] && bash first_login;' >> /mnt/root/.bashrc |
", |
# Exit without prompt after installation is finished |
# 0 - prompt the installer to re-boot and wait |
# 1 - reboot the computer automatically |
'autoExitInstall' => 1 |
}; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/iso/old/config/auto_inst-x86_64.cfg.pl |
---|
0,0 → 1,180 |
#!/usr/bin/perl -cw |
# |
# Configuration file written by : |
# * Hamza ESSAYEGH (Querdos) |
# |
# /!\ Before putting this file in the iso, check the syntax with |
# `perl -cw auto_inst.cfg.pl` |
$o = { |
# Security level: |
# * 2 is for standard |
# * 3 for High |
# * 4 for Higher |
# * 5 for Paranoïd |
'security' => 2, |
# Authentication method |
'authentication' => { |
'shadow' => 1, |
'blowfish' => 1 |
}, |
# Non admin user sysadmin |
'users' => [ |
{ |
'shell' => '/bin/bash', |
'realname' => 'sysadmin', |
'name' => 'sysadmin', |
'pw' => '$2a$08$0Y9PuTN.3A3T57duRBZ3YOd6LALzsRx/jEDCBiaVNBg/tA1YJvZIC', |
'groups' => [], |
} |
], |
# Superuser (root) definition |
'superuser' => { |
'shell' => '/bin/bash', |
'realname' => 'root', |
'pw' => '$2a$08$FJ4lI4royRd2crXB1yWvJO9BMMoBbbUw/YRX8kaQ/6zb/poOjTFM2', |
'home' => '/root', |
'uid' => '0', |
'gid' => '0' |
}, |
# Default packages for the new distribution |
# Basic package for a minimalist system |
'default_packages' => [ |
'plymouth', |
'aria2', |
'netprofile', |
'sudo', |
'cdrkit', |
'sharutils', |
'ldetect', |
'alsa-utils', |
'pm-utils', |
'lsof', |
'ntfs-3g', |
'nscd', |
'bash-completion', |
'mageia-gfxboot-theme', |
'basesystem', |
'dhcp-client', |
'aoss', |
'kernel-desktop-latest', |
'dvd+rw-tools', |
'vim-minimal', |
'vim-enhanced', |
'acpi', |
'locales-fr', |
'locales-en', |
'mandi-ifw', |
'grub', |
'lftp', |
'shorewall-ipv6', |
'usbutils', |
'rtlwifi-firmware', |
'kernel-firmware-nonfree', |
'iwlwifi-agn-ucode', |
'radeon-firmware', |
'ralink-firmware', |
'autologin', |
'wget' |
], |
# Partitionning : control the partitioning of the target system's |
# hard disk drives |
'partitioning' => { |
# Set to 1 if disk partitions are to be defined by the |
# option partitions |
'auto_allocate' => 1, |
# 1: all the existing partitions on ALL disks are to be cleared |
# and replaced |
# 0: the disks are to be left untouched or, you are goeing to |
# use "clear" instead |
'clearall' => 1 |
}, |
# Partitions option is used to define the partitions that are to be |
# created on the hard disk |
# TODO: SWAP for 64-bits |
'partitions' => [ |
# First partition, 5Go -> '/' -> ext4 |
{ |
'mntpoint' => '/', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Second partition, swap |
{ |
'mntpoint' => 'swap', |
'size' => 4000 << 11, |
'fs_type' => 'swap' |
}, |
# Third partition, 5Go -> '/tmp' |
{ |
'mntpoint' => '/tmp', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Fourth partition, 5Go -> '/home' -> ext4 |
{ |
'mntpoint' => '/home', |
'size' => 5000 << 11, |
'fs_type' => 'ext4' |
}, |
# Fifth partition, /var with rest of the disk |
{ |
'mntpoint' => '/var', |
'size' => 10 << 11, |
'ratio' => 100, |
'fs_type' => 'ext4', |
} |
], |
# Interactive steps option |
# http://members.shaw.ca/mandrake/ -> section Replay Steps for |
# more informations |
'interactiveSteps' => [ |
# Select language(s) support to be installed. |
'selectLanguage', |
# Do partitionning, comment this if you want to automate this step |
'doPartitionDisks', |
# Select the desired keyboard. |
'selectKeyboard', |
# Allows you to Accept or Refuse the License Agreement. |
'acceptLicense', |
# Select the time zone, GMT/Local hardware clock and if you |
# want NTP installed. |
'summary' |
], |
# Post installation script, executed as root in the installed |
# environments and not inside the DrakX installation program |
'postInstallNonRooted' => " |
# Copying Alcasar needed rpms |
tar -xf /tmp/image/install/alcasar/rpms-*.tar.gz -C /mnt/var/cache/urpmi/rpms |
# Copying Alcasar archive to the root directory |
tar -xf /tmp/image/install/alcasar/alcasar.tar.gz -C /mnt/root/ |
# Copying the first login script to the root directory |
cp /tmp/image/install/alcasar/first_login /mnt/root/ |
# Editing bashrc |
echo '[[ -f first_login ]] && bash first_login;' >> /mnt/root/.bashrc |
", |
# Exit without prompt after installation is finished |
# 0 - prompt the installer to re-boot and wait |
# 1 - reboot the computer automatically |
'autoExitInstall' => 1 |
}; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/iso/old/config/compssUsers.pl |
---|
0,0 → 1,294 |
package tmp::compssUsers; |
use lib qw(/usr/lib/libDrakX); |
use common; |
use install::pkgs; |
# perl_checker: use detect_devices |
my $low_resources = detect_devices::has_low_resources(); |
my $netbook_desktop = detect_devices::is_netbook_nettop(); |
my $light_desktop = detect_devices::need_light_desktop(); |
my $meta_class = $::o->{meta_class}; |
my $powerpack = $meta_class eq 'powerpack'; |
my $server = $meta_class eq 'server'; |
my $h = { |
N_("Workstation") => |
[ |
{ label => N_("Office Workstation"), |
descr => |
N_("Office programs: wordprocessors (LibreOffice Writer, Kword), spreadsheets (LibreOffice Calc, Kspread), PDF viewers, etc"), |
flags => [ qw(OFFICE SPELLCHECK PIM ARCHIVING ), if_(!$light_desktop, qw(PUBLISHING)) ], |
default_selected => 1, |
required => [ qw(libreoffice-writer abiword) ], |
}, |
if_(!$server, |
{ label => N_("Game station"), |
descr => N_("Amusement programs: arcade, boards, strategy, etc"), |
flags => [ qw(GAMES) ], |
}, |
{ label => N_("Multimedia station"), |
descr => N_("Sound and video playing/editing programs"), |
flags => [ qw(AUDIO VIDEO GRAPHICS VIDEO_EDITING) ], |
default_selected => 1, |
}, |
), |
{ label => N_("Internet station"), |
descr => N_("Set of tools to read and send mail and news (mutt, tin..) and to browse the Web"), |
flags => [ qw(NETWORKING_WWW NETWORKING_MAIL NETWORKING_NEWS COMMUNICATIONS NETWORKING_CHAT NETWORKING_FILE_TRANSFER NETWORKING_IRC NETWORKING_INSTANT_MESSAGING NETWORKING_DNS) ], |
default_selected => 1, |
}, |
if_(!$server, |
{ label => N_("Network Computer (client)"), |
descr => N_("Clients for different protocols including ssh"), |
flags => [ qw(NETWORKING_REMOTE_ACCESS NETWORKING_FILE) ], |
default_selected => $powerpack, |
required => [ qw(openssh-clients samba-client) ], |
}, |
{ label => N_("Configuration"), |
descr => N_("Tools to ease the configuration of your computer"), |
flags => [ qw(CONFIG) ], |
default_selected => 1, |
}, |
{ label => N_("Console Tools"), |
descr => N_("Editors, shells, file tools, terminals"), |
flags => [ qw(EDITORS TERMINALS TEXT_TOOLS SHELLS FILE_TOOLS) ], |
default_selected => 1, |
}, |
{ label => N_("Development"), |
descr => N_("C and C++ development libraries, programs and include files"), |
flags => [ qw(DEVELOPMENT EDITORS) ], |
required => [ 'make' ], |
}, |
{ label => N_("Documentation"), |
descr => N_("Books and Howto's on Linux and Free Software"), |
flags => [ qw(BOOKS) ], |
default_selected => !$light_desktop, |
}, |
{ label => N_("LSB"), |
descr => N_("Linux Standard Base. Third party applications support"), |
flags => [ qw(LSB) ], |
required => [ 'lsb-core' ], |
}, |
), |
], |
N_("Server") => |
[ |
$server ? ( |
{ label => N_("Web Server"), |
descr => N_("Apache"), |
flags => [ qw(NETWORKING_WWW_SERVER) ], |
required => [ qw(apache lftp mirrordir rsync) ], |
}, |
{ label => N_("Groupware"), |
descr => N_("Kolab Server"), |
flags => [ qw(NETWORKING_GROUPWARE_SERVER) ], |
}, |
{ label => N_("Firewall/Router"), |
descr => N_("Internet gateway"), |
flags => [ qw(NETWORKING_FIREWALLING_SERVER) ], |
}, |
{ label => N_("Mail/News"), |
descr => N_("Postfix mail server, Inn news server"), |
flags => [ qw(NETWORKING_MAIL_SERVER NETWORKING_NEWS_SERVER) ], |
required => [ 'postfix' ], |
}, |
{ label => N_("Directory Server"), |
descr => N_("LDAP Server"), |
flags => [ qw(NETWORKING_LDAP_SERVER) ], |
required => [ 'openldap-servers' ], |
}, |
{ label => N_("FTP Server"), |
descr => N_("ProFTPd"), |
flags => [ qw(NETWORKING_FILE_TRANSFER_SERVER) ], |
required => [ 'proftpd' ], |
}, |
{ label => N_("DNS/NIS"), |
descr => N_("Domain Name and Network Information Server"), |
flags => [ qw(NIS_SERVER NETWORKING_DNS_SERVER) ], |
required => [ 'bind' ], |
}, |
{ label => N_("File and Printer Sharing Server"), |
descr => N_("NFS Server, Samba server"), |
flags => [ qw(NETWORKING_FILE_SERVER PRINTER) ], |
required => [ qw(nfs-utils cups samba-server) ], |
}, |
{ label => N_("Database"), |
descr => N_("PostgreSQL and MariaDB Database Server"), |
flags => [ qw(DATABASES DATABASES_SERVER) ], |
required => [ qw(postgresql9.1 postgresql9.2 mariadb) ], |
}, |
) : ( |
{ label => N_("Web/FTP"), |
descr => N_("Apache, Pro-ftpd"), |
flags => [ qw(NETWORKING_WWW_SERVER NETWORKING_FILE_TRANSFER_SERVER) ], |
required => [ qw(apache proftpd rsync) ], |
}, |
{ label => N_("Mail"), |
descr => N_("Postfix mail server"), |
flags => [ qw(NETWORKING_MAIL_SERVER) ], |
required => [ 'postfix' ], |
}, |
{ label => N_("Database"), |
descr => N_("PostgreSQL or MariaDB database server"), |
flags => [ qw(DATABASES DATABASES_SERVER) ], |
required => [ qw(postgresql9.1 postgresql9.2 mariadb) ], |
}, |
{ label => N_("Firewall/Router"), |
descr => N_("Internet gateway"), |
flags => [ qw(NETWORKING_FIREWALLING_SERVER) ], |
}, |
{ label => N_("Network Computer server"), |
descr => N_("NFS server, SMB server, Proxy server, ssh server"), |
flags => [ qw(NETWORKING_FILE_SERVER NETWORKING_REMOTE_ACCESS_SERVER) ], |
required => [ qw(nfs-utils cups samba-server openssh-server) ], |
}, |
), |
], |
N_("Graphical Environment") => |
[ |
{ label => N_("KDE Workstation"), |
descr => N_("The K Desktop Environment, the basic graphical environment with a collection of accompanying tools"), |
flags => [ qw(KDE X ACCESSIBILITY THEMES) ], |
default_selected => !$light_desktop, |
required => [ 'task-kde4-minimal' ], |
}, |
{ label => N_("GNOME Workstation"), |
descr => N_("A graphical environment with user-friendly set of applications and desktop tools"), |
flags => [ qw(GNOME X THEMES), if_(!$light_desktop, qw(ACCESSIBILITY)) ], |
default_selected => $netbook_desktop, |
required => [ 'task-gnome-minimal' ], |
}, |
{ label => N_("XFCE Workstation"), |
descr => N_("A lighter graphical environment with user-friendly set of applications and desktop tools"), |
flags => [ qw(XFCE X THEMES ACCESSIBILITY) ], |
required => [ 'task-xfce-minimal' ], |
}, |
{ label => N_("MATE Workstation"), |
descr => N_("A graphical environment with user-friendly set of applications and desktop tools"), |
flags => [ qw(MATE X THEMES ACCESSIBILITY) ], |
required => [ 'task-mate-minimal' ], |
}, |
{ label => N_("Cinnamon Workstation"), |
descr => N_("A graphical environment based on GNOME"), |
flags => [ qw(CINNAMON X THEMES ACCESSIBILITY) ], |
required => [ 'task-cinnamon-minimal' ], |
}, |
{ label => N_("LXQT Desktop"), |
flags => [ qw(LXQT X ACCESSIBILITY) ], |
descr => N_("A next generation QT port of the lightweight desktop environment"), |
required => [ 'task-lxqt' ], |
}, |
{ label => N_("Enlightenment e17 Desktop"), |
flags => [ qw(E17 X ACCESSIBILITY) ], |
descr => N_("A lightweight fast graphical environment with a dedicated following"), |
required => [ 'task-e17' ], |
}, |
{ label => N_("LXDE Desktop"), |
flags => [ qw(LXDE X ACCESSIBILITY) ], |
descr => N_("A lightweight fast graphical environment"), |
required => [ 'task-lxde' ], |
}, |
{ label => N_("Other Graphical Desktops"), |
descr => N_("Window Maker, Fvwm, etc"), |
flags => [ qw(GRAPHICAL_DESKTOP X ACCESSIBILITY) ], |
}, |
], |
if_($server, |
N_("Development") => |
[ |
{ label => N_("Development"), |
descr => N_("C and C++ development libraries, programs and include files"), |
flags => [ qw(DEVELOPMENT EDITORS) ], |
default_selected => 1, |
}, |
{ label => N_("Documentation"), |
descr => N_("Books and Howto's on Linux and Free Software"), |
flags => [ qw(BOOKS) ], |
}, |
{ label => N_("LSB"), |
descr => N_("Linux Standard Base. Third party applications support"), |
flags => [ qw(LSB) ], |
}, |
], |
N_("Utilities") => |
[ |
{ label => N_("SSH Server"), |
descr => N_("SSH Server"), |
flags => [ qw(NETWORKING_REMOTE_ACCESS_SERVER) ], |
default_selected => 1, |
}, |
{ label => N_("Webmin"), |
descr => N_("Webmin Remote Configuration Server"), |
flags => [ qw(WEBMIN) ], |
default_selected => 1, |
}, |
{ label => N_("Network Utilities/Monitoring"), |
descr => N_("Monitoring tools, processes accounting, tcpdump, nmap, ..."), |
flags => [ qw(MONITORING NETWORKING_FILE) ], |
default_selected => 1, |
}, |
{ label => N_("Mageia Wizards"), |
descr => N_("Wizards to configure server"), |
flags => [ qw(WIZARDS) ], |
default_selected => 1, |
}, |
], |
), |
}; |
foreach my $path (keys %$h) { |
foreach (@{$h->{$path}}) { |
$_->{path} = $path; |
$_->{uid} = join('|', $path, $_->{label}); |
} |
} |
sub _filter { |
grep { $_->{required} ? (any { install::pkgs::packageByName($::o->{packages}, $_) } @{$_->{required}}) : 1 } map { @$_ } @_; |
} |
my $compssUsers = [ _filter(values %$h) ]; |
my $gtk_display_compssUsers = sub { |
my ($entry) = @_; |
require ugtk3; |
ugtk3->import(qw(:helpers :wrappers :create)); |
require mygtk3; |
mygtk3->import(qw(gtknew)); |
my $entries_in_path = sub { |
my ($path) = @_; |
my @items = map { $entry->($_) } _filter($h->{$path}); |
# ensure we have an even number of items: |
if (@items % 2) { |
my @last_items = (pop @items, gtknew('Label')); |
# RTL support: |
@last_items = reverse @last_items if lang::text_direction_rtl(); |
push @items, @last_items; |
} |
gtknew('Expander', use_markup => 1, text => mygtk3::title1_to_markup(translate($path)), child => |
gtknew('Table', children => [ group_by2(@items) ], homogeneous => 1)), |
Gtk3::HSeparator->new; |
}; |
gtkpack__(Gtk3::VBox->new, |
$entries_in_path->('Workstation'), |
$entries_in_path->('Server'), |
$entries_in_path->('Graphical Environment'), |
$server ? ( |
$entries_in_path->('Development'), |
$entries_in_path->('Utilities'), |
) : ( |
), |
); |
}; |
$compssUsers, $gtk_display_compssUsers; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/iso/old/config/first_login |
---|
0,0 → 1,17 |
#!/bin/bash |
# |
# Author: Hamza ESSAYEGH (Querdos) |
# |
# Changing root and sysadmin password |
echo && passwd root |
echo && passwd sysadmin |
# Executing alcasar main script |
cd alcasar-* && sh alcasar.sh -i |
# Removing the line from bashrc |
sed -i /"[[ -f first_login ]] && bash first_login"/d /root/.bashrc |
# Removing this file |
rm /root/first_login |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/iso/old/config/isolinux-x86_64.cfg |
---|
0,0 → 1,31 |
default linux |
prompt 1 |
timeout 150 |
display help.msg |
implicit 1 |
ui gfxboot.c32 bootlogo |
label harddisk |
com32 chain.c32 hd0 exit |
label linux |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz kickstart=install/alcasar/auto_inst-x86_64.cfg.pl automatic=method:cdrom noiswmd vga=788 splash quiet |
label vgalo |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz automatic=method:cdrom noiswmd vga=785 |
label vgahi |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz automatic=method:cdrom noiswmd vga=791 |
label text |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz automatic=method:cdrom noiswmd text |
label rescue |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz automatic=method:cdrom noiswmd audit=0 rescue |
label noacpi |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz automatic=method:cdrom vga=788 splash quiet noiswmd acpi=off |
label x86_64 |
kernel x86_64/vmlinuz |
append initrd=x86_64/all.rdz vga=788 splash quiet noiswmd |
label memtest |
kernel memtest |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/iso/old/config/media-x86_64.cfg |
---|
0,0 → 1,15 |
[media_info] |
version=5.1 |
arch=x86_64 |
[core] |
synthesis=core/media_info/synthesis.hdlist.cz |
pubkey=core/media_info/pubkey |
hdlist=core/media_info/hdlist.cz |
name=Core Release |
[nonfree] |
synthesis=nonfree/media_info/synthesis.hdlist.cz |
pubkey=nonfree/media_info/pubkey |
hdlist=nonfree/media_info/hdlist.cz |
name=Nonfree Release |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/readme.txt |
---|
1,20 → 1,22 |
$Id: readme-2.0.txt 581 2011-04-21 16:59:59Z richard $ |
Alcasar-3.3.2 |
Alcasar-3.3.3 |
*********** English ********** |
- New installation : Need the DVD of Linux Mageia6 (Mageia-6-x86_64-DVD.iso). |
- New installation : Need the DVD of Linux Mageia6 (Mageia-6-x86_64-DVD.iso) or the ISO file of ALCASAR (Mageiar). |
--> Follow ALCASAR installation documentation. |
- Update a 3.2 and higher |
--> On your running ALCASAR, run the installation of the new version & choose "update" |
- Update a 3.2 or higher |
--> On your running ALCASAR, retrieve the last version of ALCASAR archive file (lftp http://ftp.alcasar.net) |
--> Run the installation of the new version & choose "update" |
- Update an older version |
--> Write network parameters of your running ALCASAR. Save the users database |
--> Write network parameters of your running ALCASAR. Save the users database |
--> Install the new version & import the old users database |
*********** Français ******** |
- Nouvelle installation : elle s'effectue sur la base du DVD de Linux Mageia6 (Mageia-6-x86_64-DVD.iso). |
- Nouvelle installation : elle s'effectue sur la base du DVD de Linux Mageia6 (Mageia-6-x86_64-DVD.iso) ou de l'image ISO d'ALCASAR (Mageiar). |
--> Suivez la procédure d'installation d'ALCASAR. |
- Mise à jour d'une version 3.2 et supérieure |
--> Sur votre ALCASAR en fonctionnement, lancez l'installation de la nouvelle version et choisissez "mise à jour" |
- Mise à jour d'une version 3.2 ou supérieure |
--> Sur votre ALCASAR en fonctionnement, récupérez la dernière version du fichier archive d'ALCASAR (lftp http://ftp.alcasar.net) |
--> Lancez l'installation de la nouvelle version et choisissez "mise à jour" |
- Mise à jour d'une version plus ancienne |
--> Notez les paramètres réseau de votre ALCASAR en fonctionnement. Sauvegardez la base des utilisateurs |
--> Installez la nouvelle version et importez l'ancienne base des utilisateurs |
/rpms/ipt-netflow-2.3.spec |
---|
1,6 → 1,6 |
Name: ipt-netflow |
Version: 2.3 |
Release: %mkrel 5 |
Release: %mkrel 6 |
Summary: Netflow iptables module for Linux kernel |
License: GPLv2 |
Packager: Richard REY (Rexy) |
8,7 → 8,7 |
URL: https://github.com/aabc/ipt-netflow |
BuildRequires: iptables-devel |
Source0: %name-%version.tgz |
%define kversion 4.14.78-server-1.mga6 |
%define kversion 4.14.89-server-1.mga6 |
%description |
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel. |
44,6 → 44,8 |
/lib/modules/%kversion/extra/ipt_NETFLOW.ko |
%changelog |
* Wed Jan 02 2019 Richard REY <Rexy> |
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3) |
* Sun Nov 04 2018 Richard REY <Rexy> |
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2) |
* Sun Aug 19 2018 Richard REY <Rexy> |
/rpms/rpm-build-howto |
---|
39,8 → 39,8 |
- Must be complied on a system which runs the target kernel. So install manually the targeted kernel and reboot (ipt_NETFLOW will not load during this reboot) |
- install the RPMs "kernel-server-devel" (choose the targeted kernel), "lib64iptables-devel (or libiptables-devel in 32b arch)" |
- download, uncompress and test the compilation of the last version of ipt-netflow (./configure, make all install). The module is compiled in the same directory. The libs are copied in the /lib64/iptables (libip6t_NETFLOW.so & libipt_NETFLOW.so) |
- test the module : go to the directory of source and try to load it (depmod + modprobe ipt_NETFLOW), "lsmod|grep ipt_NETFLOW" to verify that it's loaded, "alcasar-iptables.sh" to to reload netfilter rules (no errors should appear) |
- if all is ok, copy the tarball in rpmbuild/SOURCES. Copy the .spec in rpmbuild/SPECS. In this file, adapt the kernel number and the version. |
- test the module : go to the directory of sources and try to load it (depmod + modprobe ipt_NETFLOW), run "lsmod|grep ipt_NETFLOW" to verify if it's loaded. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear) |
- if all is ok, copy the tarball in rpmbuild/SOURCES. Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm). |
- change to the directory ~/pmbuild/SPEC and run "rpmbuild -bb ****.spec" |
- install the fresh rpm (urpmi) and load ALCASAR iptables rules (alcasar-iptables.sh). Great job ;-) |
/rpms/x86_64/ipt-netflow-2.3-5.mga6.x86_64.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/rpms/x86_64/ipt-netflow-2.3-6.mga6.x86_64.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/scripts/alcasar-rpm-download.sh |
---|
11,7 → 11,7 |
VERSION="6" |
ARCH="x86_64" |
# The kernel version we compile netflow for |
KERNEL="kernel-server-4.14.78-1.mga6-1-1.mga6" |
KERNEL="kernel-server-4.14.89-1.mga6-1-1.mga6" |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ****** |
PACKAGES="arp-scan vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm e2guardian postfix mariadb ntp bind-utils openssh-server php-xml php-ldap php-mysqli php-mbstring php-sockets php-cli php-curl php-pdo_sqlite php-json rng-utils rsync clamav perl-rrdtool perl-MailTools perl-Socket6 fail2ban gnupg ulogd pm-fallback-policy ipset cronie-anacron usbutils locales-en usb_modeswitch tinyproxy vnstat php-gd sudo iftop man dos2unix p7zip bc msec kernel-userspace-headers dnsmasq netcat-traditional" |
/scripts/alcasar-urpmi.sh |
---|
12,7 → 12,7 |
VERSION="6" |
ARCH="x86_64" |
# The kernel version we compile netflow for |
KERNEL="kernel-server-4.14.78-1.mga6-1-1.mga6" |
KERNEL="kernel-server-4.14.89-1.mga6-1-1.mga6" |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ****** |
PACKAGES="arp-scan vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm e2guardian postfix mariadb ntp bind-utils openssh-server php-xml php-ldap php-mysqli php-mbstring php-sockets php-cli php-curl php-pdo_sqlite php-json rng-utils rsync clamav perl-rrdtool perl-MailTools perl-Socket6 fail2ban gnupg ulogd pm-fallback-policy ipset cronie-anacron usbutils locales-en usb_modeswitch tinyproxy vnstat php-gd sudo iftop man dos2unix p7zip bc msec kernel-userspace-headers dnsmasq netcat-traditional" |