Tareas #92
Descargar e instalar fuentes
| Status: | Resuelta | Start date: | 12/17/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | 12/18/2009 | |
| Assignee: | % Done: | 100% |
||
| Category: | Instalación | |||
| Target version: | 1.0.6 |
Description
$ su - makerpm < contraseña >
History
Updated by Guillermo Gómez about 2 years ago
Tres posibilidades
$ wget http://cipherdyne.org/fwsnort/download/fwsnort-1.0.6.tar.gz $ wget http://cipherdyne.org/fwsnort/download/fwsnort-nodeps-1.0.6.tar.gz (nodeps) $ wget http://cipherdyne.org/fwsnort/download/fwsnort-1.0.6-1.src.rpm (srpm)
Preguntas:
- ¿Qué quiere decir "nodeps" en este contexto?
- ¿El SRPM es el equivalente a nodeps o al otro?
Updated by Guillermo Gómez about 2 years ago
- % Done changed from 0 to 10
Updated by Guillermo Gómez about 2 years ago
En este escenario voy aprovecharme de que existe el SRPM para ajustarlo y partir de un .spec ya hecho.
[makerpm@fricky ~]$ rpm -Uvh fwsnort-1.0.6-1.src.rpm 1:fwsnort ########################################### [100%]
Esto instala el .spec y un fuente:
[makerpm@fricky rpmbuild]$ ls -R .: BUILD RPMS SOURCES SPECS SRPMS ./BUILD: ./RPMS: ./SOURCES: fwsnort-1.0.6.tar.gz ./SPECS: fwsnort.spec ./SRPMS:
A ojo simple el fuente utilizado no es el "nodeps", por lo que me interesa averiguar bien estas diferencias primero.
Updated by Guillermo Gómez about 2 years ago
- % Done changed from 10 to 20
Instalando los fuentes nodeps en un directorio temporal y revisando los documentos encuentro lo siguiente como "dependencias" y que aclara la diferencia entre ambas versiones de los fuentes, una incorpora las dependencias, los otros no:
DEPENDENCIES: iptables String Matching: fwsnort requires the iptables string match extensions in order to be able to detect application layer attacks. Most Linux distributions include iptables compiled in, and the string match extension is commonly included as well, so if you are running a recent Linux distro you may already have string matching available. If not, you will need to enable the CONFIG_NETFILTER_XT_MATCH_STRING variable in the kernel config file (for 2.6 series kernels) and recompile. Perl modules: fwsnort requires two perl modules in order to run properly: IPTables::Parse Net-IPv4Addr These two modules are bundled with fwsnort within the deps/ directory, unless you have downloaded the fwsnort-nodeps tarball, in which case these two modules need to be installed in the perl library tree.
Updated by Guillermo Gómez about 2 years ago
- Status changed from En Progreso to Resuelta
- % Done changed from 20 to 100
Llego a la conclusión que se debe trabajar con los fuentes nodeps y usar los paquetes perl de dependencias. De ahi que voy a tomar el .spec pero voy a cambiar los fuentes.
[makerpm@fricky SOURCES]$ pwd /home/makerpm/rpmbuild/SOURCES [makerpm@fricky SOURCES]$ rm fwsnort-1.0.6.tar.gz [makerpm@fricky SOURCES]$ wget http://cipherdyne.org/fwsnort/download/fwsnort-nodeps-1.0.6.tar.gz
Primer ajuste en el .spec:
Source: %name-nodeps-%version.tar.gz
Updated by Guillermo Gómez about 2 years ago
- Due date set to 12/18/2009