/rpms/rpm-build-howto |
---|
16,7 → 16,7 |
- retrieve the last tarball of coova-chilli (or the svn archive). |
- Untar it and test the compilation process ("sh ./bootstrap", "./configure --enable-json --enable-libjson", "make", "make install"). |
- all is in the /usr/local". Remove the instaled files ("make uninstall") and the binaries ("make clean"). |
- Compress the directory (ie : coova-chilli-1.3.1.tar.gz). Copy this tarball in the directory ~/rpmbuild/SOURCES/. |
- compress the directory (ie : tar -cvzf coova-chilli-1.3.1.4.tar.gz coova-chilli-1.3.1.4). Copy this tarball in the directory ~/rpmbuild/SOURCES/. |
- copy the SPEC file from the ALCASAR archive to the directory ~/rpmbuild/SPEC |
- change to the directory ~/pmbuild/SPEC and run the RPM build process excluding 'ssl' : "rpmbuild -bb coova-chilli.spec --without ssl" (or rpmbuild -ba to create also the SRPMS) |
/rpms/x86_64/coova-chilli-1.3.1-4.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/coova-chilli-1.3.1.4-2.mga5.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-urpmi.sh |
---|
12,8 → 12,7 |
VERSION="5" |
ARCH="i586" |
# The kernel version we compile netflow for |
KERNEL="kernel-server-4.1.15-2.mga5-1-1.mga5" |
ModuleTree="kernel-server-4.1.15-2.mga5" |
KERNEL="kernel-server-4.4.13-1.mga5-1-1.mga5" |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ****** |
PACKAGES="vim-enhanced 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" |
65,7 → 64,7 |
IFS="$old" |
# We prefer wget than curl |
urpmi --no-verify-rpm --auto conf/rpms/$ARCH/wget*.rpm |
urpmi --no-verify-rpm --auto rpms/$ARCH/wget*.rpm |
# Set the RPM repository (if not already set) |
ACTIVE_REPO=`cat /etc/urpmi/urpmi.cfg|grep "mageia.org"|wc -l` |
123,6 → 122,7 |
else |
echo "Download the Linux kernel used by ALCASAR. Please wait ..." |
fi |
rm -f /etc/urpmi/skip.list |
urpmi --auto --quiet $KERNEL |
echo "/^kernel/" > /etc/urpmi/skip.list |