/VERSION |
---|
1,0 → 0,0 |
3.4 |
3.5b |
/alcasar.sh |
---|
160,7 → 160,7 |
exit 1 |
fi |
IFS="$old" |
if [[ ( $unknown_os != 3 ) || ("$DISTRIBUTION" != "Mageia" ) || ( "$CURRENT_VERSION" != "6" ) ]] |
if [[ ( $unknown_os != 3 ) || ("$DISTRIBUTION" != "Mageia" ) || ( "$CURRENT_VERSION" != "7" ) ]] |
then |
if [ -e /var/tmp/alcasar-conf.tar.gz ] # update |
then |
169,12 → 169,12 |
then |
echo "La mise à jour automatique d'ALCASAR ne peut pas être réalisée." |
echo "1 - Effectuez une sauvegarde des fichiers de traçabilité et de la base des usagers via l'ACC" |
echo "2 - Installez Linux-Mageia 6.0 (64bits) et ALCASAR (cf. doc d'installation)" |
echo "2 - Installez Linux-Mageia 7.1 (64bits) et ALCASAR (cf. doc d'installation)" |
echo "3 - Importez votre base des usagers" |
else |
echo "The automatic update of ALCASAR can't be performed." |
echo "1 - Save your traceability files and the user database" |
echo "2 - Install Linux-Mageia 6 (64bits) & ALCASAR (cf. installation doc)" |
echo "2 - Install Linux-Mageia 7.1 (64bits) & ALCASAR (cf. installation doc)" |
echo "3 - Import your users database" |
fi |
else |
185,8 → 185,8 |
fi |
echo |
if [ $Lang == "fr" ] |
then echo "Le système d'exploitation doit être remplacé (Mageia6-64bits)" |
else echo "The OS must be replaced (Mageia6-64bits)" |
then echo "Le système d'exploitation doit être remplacé (Mageia7.1-64bits)" |
else echo "The OS must be replaced (Mageia7.1-64bits)" |
fi |
exit 1 |
fi |
/rpms/rpm-build-howto |
---|
44,11 → 44,12 |
- 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 ;-) |
**** For wkhtmltopdf **** |
**** For wkhtmltopdf --> no longer need (included in Mageia7) **** |
- download the archive of the binaries of the last version (https://wkhtmltopdf.org/downloads.html) in ~/rpmbuild/SOURCES/wkhtmltox-%{version}_linux-generic-amd64.tar.xz. |
- build with: rpmbuild -bb --clean wkhtmltopdf-%{version}-%{release}.spec |
**** For nfdump **** |
- install lib64rrdtool-devel, bison, flex |
**** For gammu (if new version needed) |
**** For gammu --> only if new version is needed |
- see .spec or SRPMS and adapt. !! long time compilation |
/rpms/x86_64/lib64unbound8-1.8.3-2.mga6.x86_64.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-rpm |
Property changes: |
Deleted: svn:mime-type |
-application/x-rpm |
\ No newline at end of property |
/rpms/x86_64/lib64gammu8-1.39.0-1.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/fuse-exfat-1.2.6-1.mga6.tainted.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/unbound-1.8.3-2.mga6.x86_64.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-rpm |
Property changes: |
Deleted: svn:mime-type |
-application/x-rpm |
\ No newline at end of property |
/rpms/x86_64/wget-1.20.3-1.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/gammu-1.39.0-1.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/wkhtmltopdf-0.12.3-2.mga5.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/exfat-utils-1.2.6-1.mga6.tainted.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/exfat-utils-1.3.0-1.mga7.tainted.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 |
/rpms/x86_64/fuse-exfat-1.3.0-1.mga7.tainted.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 |
/rpms/x86_64/wget-1.20.3-1.mga7.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 |
---|
8,10 → 8,10 |
# récupération des RPM nécessaires dans un fichier tarball |
# retrieve needed RPM in a tarball file |
VERSION="6" |
VERSION="7" |
ARCH="x86_64" |
# The kernel version we compile netflow for |
KERNEL="kernel-server-4.14.131-1.mga6-1-1.mga6" |
KERNEL="kernel-server-5.3.7-4.mga7-1-1.mga7" |
# ****** 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 kernel-firmware-nonfree dnsmasq dhcp-server netcat-traditional" |
/scripts/alcasar-urpmi.sh |
---|
9,12 → 9,12 |
# configure the RPM repository |
Lang=`echo $LANG|cut -c 1-2` |
VERSION="6" |
VERSION="7" |
ARCH="x86_64" |
# The kernel version we compile netflow for |
KERNEL="kernel-server-4.14.131-1.mga6-1-1.mga6" |
KERNEL="kernel-server-5.3.7-4.mga7-1-1.mga7" |
# ****** 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 kernel-firmware-nonfree dnsmasq dhcp-server netcat-traditional" |
PACKAGES="arp-scan vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm unbound 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 kernel-firmware-nonfree dnsmasq dhcp-server netcat-traditional gammu wkhtmltopdf" |
rpm_repository_sync () |
{ |