RFS: sagan -- Real-time System & Event Log Monitoring System

Herbert Fortes (hpfn) <[email protected]>
Newsgroups gmane.linux.debian.devel.portuguese
Message-ID <[email protected]>
Olá,

Estou procurando um sponsor para o pacote sagan[0], é um trabalho de NMU.

 * Nome do pacote     : sagan
 * Versão             : 1.0.1-0.3
 * Upstream Author    : Softwink, Inc. - Champ Clark III
 * URL                : https://quadrantsec.com/sagan_log_analysis_engine/
 * License            : GPL-2
   Section            : admin

[0] - https://packages.qa.debian.org/s/sagan.html


Produz os seguintes binários:

 - sagan -- Real-time System & Event Log Monitoring System

Já fiz dois NMU para esse pacote[1], mas um 
erro ainda persiste.

[1] - http://metadata.ftp-master.debian.org/changelogs/main/s/sagan/unstable_changelog

Para compilar em *i386 é preciso passar uma
informação na hora de executar o 'configure'.
Então fiz:

DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

ifeq ($(DEB_HOST_ARCH),i386)
     ...
else
     ...
endif

Desta forma não são reconhecidas 'hurd-i386'
e 'kfreebsd-i386'. Vi na manpage do dpkg-architecture  
que tem a opção '--match-wildcard'. Ou não é
o caso de ser usada nesta essa situação, ou
não estou sabendo usar.

Alguma das seguintes maneiras vai funcionar ?

 - ifeq ($(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386)

 - o uso do filter:
   ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))
 
 - o uso de findstring: 
   ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),i386 kfreebsd-i386 hurd-i386))


abraços,
-- 
Herbert Parentes Fortes Neto (hpfn)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.